Documentation
¶
Index ¶
- func NewDefaultCommand(cmd func(f util.Factory, ioStreams util.IOStreams) *cobra.Command) *cobra.Command
- func NewDefaultRedskyctlCommand() *cobra.Command
- func NewRedskyctlCommand(in io.Reader, out, err io.Writer) *cobra.Command
- func NewVersionCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultCommand ¶
func NewDefaultCommand(cmd func(f util.Factory, ioStreams util.IOStreams) *cobra.Command) *cobra.Command
NewDefaultCommand is used for creating commands from the standard NewXCommand functions
func NewRedskyctlCommand ¶
Types ¶
type VersionOptions ¶
type VersionOptions struct {
SetupToolsImage bool
cmdutil.IOStreams
// contains filtered or unexported fields
}
func NewVersionOptions ¶
func NewVersionOptions(ioStreams cmdutil.IOStreams) *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
Click to show internal directories.
Click to hide internal directories.