describe

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDescribe

func NewCmdDescribe(f util.Factory, parentCommand string, streams genericiooptions.IOStreams) *cobra.Command

NewCmdDescribe new describe command.

Types

type CommandDescribeOptions

type CommandDescribeOptions struct {
	// flags specific to describe
	KubectlDescribeOptions *kubectldescribe.DescribeOptions
	Cluster                string
	OperationScope         options.OperationScope
}

CommandDescribeOptions contains the input to the describe command.

func (*CommandDescribeOptions) Complete

func (o *CommandDescribeOptions) Complete(f util.Factory, args []string, describeFlag *kubectldescribe.DescribeFlags, parentCommand string) error

Complete ensures that options are valid and marshals them if necessary

func (*CommandDescribeOptions) Run

func (o *CommandDescribeOptions) Run() error

Run describe information of resources

func (*CommandDescribeOptions) Validate added in v1.11.0

func (o *CommandDescribeOptions) Validate() error

Validate checks if the parameters are valid

Jump to

Keyboard shortcuts

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