Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandGetOptions ¶
type CommandGetOptions struct { Clusters []string PrintFlags *get.PrintFlags ToPrinter func(*meta.RESTMapping, *bool, bool, bool) (printers.ResourcePrinterFunc, error) IsHumanReadablePrinter bool CmdParent string resource.FilenameOptions Watch bool WatchOnly bool ChunkSize int64 OutputWatchEvents bool LabelSelector string FieldSelector string Namespace string AllNamespaces bool ExplicitNamespace bool ServerPrint bool NoHeaders bool Sort bool IgnoreNotFound bool Export bool genericiooptions.IOStreams // contains filtered or unexported fields }
CommandGetOptions contains the input to the get command.
func NewCommandGetOptions ¶
func NewCommandGetOptions(streams genericiooptions.IOStreams) *CommandGetOptions
NewCommandGetOptions returns a CommandGetOptions with default chunk size 500.
func (*CommandGetOptions) Complete ¶
func (g *CommandGetOptions) Complete(f util.Factory) error
Complete takes the command arguments and infers any remaining options.
Click to show internal directories.
Click to hide internal directories.