validate

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandValidate

func CommandValidate(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandValidate creates the 'validate' command that validates solution artifacts and exits non-zero when validation fails.

func CommandValidateSchema added in v0.35.0

func CommandValidateSchema(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandValidateSchema creates the 'validate schema' subcommand. It validates arbitrary data (JSON or YAML) against a JSON Schema (JSON or YAML). It does NOT run lint -- it operates on arbitrary data, not on a scafctl solution.

func CommandValidateSolution added in v0.35.0

func CommandValidateSolution(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandValidateSolution creates the 'validate solution' subcommand -- the primary validation gate. It loads a solution and runs lint: lint errors (and schema violations, which lint reports) fail; lint warnings are surfaced and, with --strict, are also fatal. Schema conformance is covered by lint's built-in schema check, so it is not double-reported here.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL