cmd

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

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.

type Title

type Title string

func (Title) Format

func (t Title) Format() string

Jump to

Keyboard shortcuts

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