Documentation ¶
Index ¶
- func NewClient(clientConfig clientcmd.ClientConfig) (client.Client, error)
- func NewCmdGenerate(streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdGet(streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdKanary(streams genericclioptions.IOStreams) *cobra.Command
- type GetOptions
- type KanaryOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(clientConfig clientcmd.ClientConfig) (client.Client, error)
NewClient returns new client instance
func NewCmdGenerate ¶
func NewCmdGenerate(streams genericclioptions.IOStreams) *cobra.Command
NewCmdGenerate provides a cobra command wrapping generateOptions
func NewCmdGet ¶
func NewCmdGet(streams genericclioptions.IOStreams) *cobra.Command
NewCmdGet provides a cobra command wrapping GetOptions
func NewCmdKanary ¶
func NewCmdKanary(streams genericclioptions.IOStreams) *cobra.Command
NewCmdKanary provides a cobra command wrapping KanaryOptions
Types ¶
type GetOptions ¶
type GetOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
GetOptions provides information required to manage Kanary
func NewGetOptions ¶
func NewGetOptions(streams genericclioptions.IOStreams) *GetOptions
NewGetOptions provides an instance of GetOptions with default values
func (*GetOptions) Complete ¶
func (o *GetOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for processing the command
func (*GetOptions) Validate ¶
func (o *GetOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
type KanaryOptions ¶
type KanaryOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
KanaryOptions provides information required to manage Kanary
func NewKanaryOptions ¶
func NewKanaryOptions(streams genericclioptions.IOStreams) *KanaryOptions
NewKanaryOptions provides an instance of KanaryOptions with default values
func (*KanaryOptions) Complete ¶
func (o *KanaryOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for processing the command
func (*KanaryOptions) Validate ¶
func (o *KanaryOptions) Validate() error
Validate ensures that all required arguments and flag values are provided