Documentation ¶
Index ¶
Constants ¶
View Source
const (
OutputFormatWide = "wide"
)
Variables ¶
View Source
var ( NewGetPrintFlags = kubectlget.NewGetPrintFlags NewRuntimeSorter = kubectlget.NewRuntimeSorter )
Functions ¶
func NewCmdList ¶
NewCmdList returns a cobra command for list nebula clusters or there sub resources.
Types ¶
type ListOptions ¶
type ListOptions struct { Namespace string NebulaClusterName string NebulaClusterLabel string ResourceType string LabelSelector string FieldSelector string AllNamespaces bool Sort bool SortBy string IgnoreNotFound bool ServerPrint bool PrintFlags *PrintFlags ToPrinter func(mapping *meta.RESTMapping, withNamespace bool) (printers.ResourcePrinterFunc, error) IsHumanReadablePrinter bool genericclioptions.IOStreams // contains filtered or unexported fields }
ListOptions is a struct to support list command
func NewListOptions ¶
func NewListOptions(streams genericclioptions.IOStreams) *ListOptions
NewListOptions returns initialized Options
func (*ListOptions) AddFlags ¶
func (o *ListOptions) AddFlags(cmd *cobra.Command)
AddFlags add extra list options flags.
type OriginalPositioner ¶
type OriginalPositioner = kubectlget.OriginalPositioner
type PrintFlags ¶
type PrintFlags = kubectlget.PrintFlags
type SortingPrinter ¶
type SortingPrinter = kubectlget.SortingPrinter
type TablePrinter ¶
type TablePrinter = kubectlget.TablePrinter
Click to show internal directories.
Click to hide internal directories.