Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdLabel ¶
Types ¶
type LabelOptions ¶
type LabelOptions struct {
// Filename options
resource.FilenameOptions
RecordFlags *genericclioptions.RecordFlags
PrintFlags *genericclioptions.PrintFlags
ToPrinter func(string) (printers.ResourcePrinter, error)
Recorder genericclioptions.Recorder
// Common shared fields
genericclioptions.IOStreams
// contains filtered or unexported fields
}
LabelOptions have the data required to perform the label operation
func NewLabelOptions ¶
func NewLabelOptions(ioStreams genericclioptions.IOStreams) *LabelOptions
func (*LabelOptions) Complete ¶
Complete adapts from the command line args and factory to the data required.
func (*LabelOptions) Validate ¶
func (o *LabelOptions) Validate() error
Validate checks to the LabelOptions to see if there is sufficient information run the command.
Click to show internal directories.
Click to hide internal directories.