validate

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCmd

func ValidateCmd(ch *cmdutil.Helper) *cobra.Command

ValidateCmd validates and reconciles a project without starting the UI.

Types

type ParseError

type ParseError struct {
	Message   string `json:"message" header:"message"`
	FilePath  string `json:"file_path" header:"file_path"`
	StartLine uint32 `json:"start_line,omitempty" header:"start_line"`
}

ParseError represents a parse error (serializable version of runtimev1.ParseError)

type ResourceStatus

type ResourceStatus struct {
	Kind     string `json:"kind" header:"kind"`
	Name     string `json:"name" header:"name"`
	Status   string `json:"status" header:"status"`
	Error    string `json:"error" header:"error"`
	FilePath string `json:"file_path" header:"file_path"`
	Timeout  bool   `json:"timeout" header:"timeout"`
}

type ValidationResult

type ValidationResult struct {
	Summary     ValidationSummary `json:"summary"`
	ParseErrors []ParseError      `json:"parse_errors"`
	Resources   []ResourceStatus  `json:"resources"`
}

ValidationResult represents the complete validation output

type ValidationSummary

type ValidationSummary struct {
	TotalResources  int `json:"total_resources"`
	ParseErrors     int `json:"parse_errors"`
	ReconcileErrors int `json:"reconcile_errors"`
}

Jump to

Keyboard shortcuts

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