Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVersionCmd ¶
func NewVersionCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
NewVersionCmd returns a new cobra.Command for fetching version
Types ¶
type VersionOptions ¶
type VersionOptions struct { K8sClientset k8s.Interface genericiooptions.IOStreams }
VersionOptions is a struct to support version command
func NewOptions ¶
func NewOptions(streams genericiooptions.IOStreams) *VersionOptions
NewOptions returns initialized Options
func (*VersionOptions) Complete ¶
func (o *VersionOptions) Complete(clientGetter util.ClientGetter) error
Click to show internal directories.
Click to hide internal directories.