describe

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(factory cmd.Factory) *cobra.Command

NewCommand returns a new instance of the get command

func NewDescribeCloudResourceCommand added in v0.4.0

func NewDescribeCloudResourceCommand(factory cmd.Factory) *cobra.Command

NewDescribeCloudResourceCommand returns a new instance of the get command

func NewDescribeConfigurationCommand added in v0.4.0

func NewDescribeConfigurationCommand(factory cmd.Factory) *cobra.Command

NewDescribeConfigurationCommand returns a new instance of the get command

Types

type CloudResourceCommand added in v0.4.0

type CloudResourceCommand struct {
	cmd.Factory
	// Name is the name of the resource we are describing
	Name string
	// Namespace is the namespace of the resource
	Namespace string
	// ShowPassedChecks is a flag to show passed checks
	ShowPassedChecks bool
}

CloudResourceCommand describes a cloud resource

func (*CloudResourceCommand) Run added in v0.4.0

Run is called to run the command

type Command

type Command struct {
	cmd.Factory
	// Name is the name of the resource we are describing
	Name string
	// Namespace is the namespace of the resource
	Namespace string
	// ShowPassedChecks is a flag to show passed checks
	ShowPassedChecks bool
}

Command represents the available get command options

func (*Command) Run

func (o *Command) Run(ctx context.Context) error

Run is called to execute the get command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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