Documentation ¶ Index ¶ func NewCommand(factory cmd.Factory) *cobra.Command type Command func (o *Command) Run(ctx context.Context) error 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 Types ¶ type Command ¶ type Command struct { cmd.Factory // Names is the name of the resource we are describing Names []string // Namespace is the namespace of the resource Namespace string } 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 Source Files ¶ View all Source files approve.go Click to show internal directories. Click to hide internal directories.