plugin

package
v0.0.0-...-9afe088 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 22 Imported by: 0

Documentation

Index

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) Run

func (o *GetOptions) Run() error

Run use to run 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) Run

func (o *KanaryOptions) Run() error

Run use to run the command

func (*KanaryOptions) Validate

func (o *KanaryOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL