Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

CLI tool for the OpenSLO spec

License

NotificationsYou must be signed in to change notification settings

OpenSLO/oslo

Repository files navigation

OpenSLO light theme

CLI tool for interacting with theOpenSLO specification!

Installation

Prebuilt binaries

Download prebuilt binaries from thepublished release assets.

Go install

go install github.com/OpenSLO/oslo/cmd/oslo@latest

Homebrew

brew install openslo/openslo/oslo

From Docker

For example, if you have an OpenSLO spec file in the current directory calledmy-service.yaml,and you wanted to validate it, the full command would be:

docker run -v"$(pwd):/manifests" ghcr.io/openslo/oslo:latest validate -f /manifests/my-service.yaml# Valid!

From source

  1. Clone this repository.
  2. From the root of the project, runmake install.This will build and install the binary into yourGOPATH.

Usage

Validate

oslo validate will validate the provided OpenSLO YAML/JSON document(s).

Example:

oslo validate -f file1.yaml -f file2.yaml

Format

oslo fmt will format the provided OpenSLO YAML/JSON document(s).

Example:

oslo fmt -f file1.yaml -f file2.yaml

[8]ページ先頭

©2009-2025 Movatter.jp