validate

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type ValidationError added in v1.68.0

type ValidationError struct {
	Message string `json:"message" yaml:"message"`
}

ValidationError represents a structured validation error

type ValidationResult added in v1.68.0

type ValidationResult struct {
	Passed bool             `json:"passed" yaml:"passed"`
	Error  *ValidationError `json:"error,omitempty" yaml:"error,omitempty"`
}

ValidationResult represents the structured output of validation

Jump to

Keyboard shortcuts

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