explain

package
v0.38.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandExplain

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

CommandExplain creates the 'explain' command which provides detailed schema documentation for resource kinds (from Go struct tags). Instance views live under 'inspect' (e.g. 'inspect solution').

func CommandSchema

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

CommandSchema creates the 'explain <kind>' subcommand for schema browsing

Types

type SchemaOptions

type SchemaOptions struct {
	IOStreams *terminal.IOStreams
	CliParams *settings.Run

	// Expression is a CEL-style path to drill into nested fields
	Expression string

	// Recursive shows all nested fields at full depth
	Recursive bool
}

SchemaOptions holds configuration for the explain schema command

func (*SchemaOptions) Run

func (o *SchemaOptions) Run(_ context.Context, args []string) error

Run executes the explain schema command

Jump to

Keyboard shortcuts

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