Skip to main content
Version: 0.6

capact manifest validate

capact manifest validate

Validate OCF manifests

capact manifest validate [flags]

Examples

# Validate interface-group.yaml file with OCF specification in default location
capact manifest validate ocf-spec/0.0.1/examples/interface-group.yaml

# Validate multiple files inside test_manifests directory with additional server-side checks
capact manifest validate --server-side pkg/cli/test_manifests/

# Validate all Hub manifests with additional server-side checks
capact manifest validate --server-side ./manifests/ --recursive

# Validate interface-group.yaml file with custom OCF specification location
capact manifest validate -s my/ocf/spec/directory ocf-spec/0.0.1/examples/interface-group.yaml

Options

      --concurrency int   Maximum number of concurrent workers. (default 5)
-h, --help help for validate
-r, --recursive Search files under each directory, recursively.
-s, --schemas string Path to the local directory with OCF JSONSchemas. If not provided, built-in JSONSchemas are used.
--server-side Executes additional manifests checks against Capact Hub.

Options inherited from parent commands

  -c, --config string                 Path to the YAML config file
-v, --verbose int/string[=simple] Prints more verbose output. Allowed values: 0 - disable, 1 - simple, 2 - trace (default 0 - disable)

SEE ALSO

  • capact manifest - This command consists of multiple subcommands to interact with OCF manifests