Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdFind ¶
func NewCmdFind(streams genericiooptions.IOStreams) *cobra.Command
NewCmdFind provides a cobra command wrapping FindOptions.
Types ¶
type FindOptions ¶
type FindOptions struct {
genericiooptions.IOStreams
// contains filtered or unexported fields
}
FindOptions provides information required to handle the `find` command.
func NewFindOptions ¶
func NewFindOptions(streams genericiooptions.IOStreams) *FindOptions
NewFindOptions provides an instance of FindOptions with default values.
func (*FindOptions) Complete ¶
func (o *FindOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for updating the current context.
func (*FindOptions) Run ¶
func (o *FindOptions) Run() error
Run finds all resources of a specified type matching the provided criteria and optionally performs an action on them.
func (*FindOptions) Validate ¶
func (o *FindOptions) Validate() error
Validate ensures that all required arguments and flag values are provided.
Click to show internal directories.
Click to hide internal directories.