cli

package
v0.123.11 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertCmd added in v0.123.0

func ConvertCmd() *cobra.Command

func DocsCmd added in v0.123.0

func DocsCmd() *cobra.Command

func InitAndExecute

func InitAndExecute()

func LintCmd added in v0.123.9

func LintCmd() *cobra.Command

func OciFetchCmd added in v0.62.0

func OciFetchCmd() *cobra.Command

func RootCmd

func RootCmd() *cobra.Command

func TemplateCmd added in v0.123.0

func TemplateCmd() *cobra.Command

Types

type PreflightDoc added in v0.123.0

type PreflightDoc struct {
	APIVersion string                 `yaml:"apiVersion"`
	Kind       string                 `yaml:"kind"`
	Metadata   map[string]interface{} `yaml:"metadata"`
	Spec       struct {
		Analyzers []map[string]interface{} `yaml:"analyzers"`
	} `yaml:"spec"`
	// Legacy (pre-beta3 drafts)
	Requirements []Requirement `yaml:"requirements"`
}

PreflightDoc supports both legacy (requirements) and beta3 (spec.analyzers)

type Requirement added in v0.123.0

type Requirement struct {
	Name      string                   `yaml:"name"`
	DocString string                   `yaml:"docString"`
	Checks    []map[string]interface{} `yaml:"checks,omitempty"`
}

Jump to

Keyboard shortcuts

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