Documentation
¶
Overview ¶
Package version print the client and server version information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdVersion ¶
func NewCmdVersion(ioStreams genericclioptions.IOStreams) *cobra.Command
NewCmdVersion returns a cobra command for fetching versions.
Types ¶
type Options ¶
type Options struct {
ClientOnly bool
Short bool
Output string
Template string
genericclioptions.IOStreams
}
Options is a struct to support version command.
func NewOptions ¶
func NewOptions(ioStreams genericclioptions.IOStreams) *Options
NewOptions returns initialized Options.
Click to show internal directories.
Click to hide internal directories.