Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandOptions ¶
type CommandOptions struct {
Flags *Flags
Client client.Interface
ClientFlags *client.Flags
Namespace string
ResourceNames []string
genericclioptions.IOStreams
}
CommandOptions represents the options of the command.
func (*CommandOptions) Complete ¶
func (co *CommandOptions) Complete(_ *cobra.Command, _ []string) error
Complete finishes the setup of the command options.
func (*CommandOptions) Execute ¶
func (co *CommandOptions) Execute() error
Execute runs the command.
type Flags ¶
type Flags struct {
AllNamespaces bool
ShowNamespace bool
ShowKind bool
ShowContainers bool
ShowStats bool
NoColors bool
NoHeaders bool
SortOrder sortOrder
SortColumns []string
LabelSelector string
FieldSelector string
Output string
RecommendationType vpa.RecommendationType
// contains filtered or unexported fields
}
Flags represents the common command flags.
Click to show internal directories.
Click to hide internal directories.