plugin

package
v0.3.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: Apache-2.0 Imports: 15 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 NewCmdCanary

func NewCmdCanary(streams genericclioptions.IOStreams) *cobra.Command

NewCmdCanary provides a cobra command to control canary deployments.

func NewCmdExtendedDaemonset

func NewCmdExtendedDaemonset(streams genericclioptions.IOStreams) *cobra.Command

NewCmdExtendedDaemonset provides a cobra command wrapping ExtendedDaemonsetOptions

func NewCmdFail

func NewCmdFail(streams genericclioptions.IOStreams) *cobra.Command

NewCmdFail provides a cobra command wrapping FailOptions

func NewCmdGet

func NewCmdGet(streams genericclioptions.IOStreams) *cobra.Command

NewCmdGet provides a cobra command wrapping GetOptions

func NewCmdGetERS

func NewCmdGetERS(streams genericclioptions.IOStreams) *cobra.Command

NewCmdGetERS provides a cobra command wrapping GetERSOptions

func NewCmdPause

func NewCmdPause(streams genericclioptions.IOStreams) *cobra.Command

NewCmdPause provides a cobra command wrapping PauseOptions

func NewCmdReset

func NewCmdReset(streams genericclioptions.IOStreams) *cobra.Command

NewCmdReset provides a cobra command wrapping FailOptions

func NewCmdUnpause

func NewCmdUnpause(streams genericclioptions.IOStreams) *cobra.Command

NewCmdUnpause provides a cobra command wrapping PauseOptions

func NewCmdValidate

func NewCmdValidate(streams genericclioptions.IOStreams) *cobra.Command

NewCmdValidate provides a cobra command wrapping ValidateOptions

Types

type ExtendedDaemonsetOptions

type ExtendedDaemonsetOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

ExtendedDaemonsetOptions provides information required to manage ExtendedDaemonset

func NewExtendedDaemonsetOptions

func NewExtendedDaemonsetOptions(streams genericclioptions.IOStreams) *ExtendedDaemonsetOptions

NewExtendedDaemonsetOptions provides an instance of ExtendedDaemonsetOptions with default values

func (*ExtendedDaemonsetOptions) Complete

func (o *ExtendedDaemonsetOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for processing the command

func (*ExtendedDaemonsetOptions) Run

Run use to run the command

func (*ExtendedDaemonsetOptions) Validate

func (o *ExtendedDaemonsetOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

type FailOptions

type FailOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

FailOptions provides information required to manage ExtendedDaemonSet

func NewFailOptions

func NewFailOptions(streams genericclioptions.IOStreams, failStatus bool) *FailOptions

NewFailOptions provides an instance of GetOptions with default values

func (*FailOptions) Complete

func (o *FailOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for processing the command

func (*FailOptions) Run

func (o *FailOptions) Run() error

Run use to run the command

func (*FailOptions) Validate

func (o *FailOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

type GetERSOptions

type GetERSOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

GetERSOptions provides information required to manage Kanary

func NewGetERSOptions

func NewGetERSOptions(streams genericclioptions.IOStreams) *GetERSOptions

NewGetERSOptions provides an instance of GetERSOptions with default values

func (*GetERSOptions) Complete

func (o *GetERSOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for processing the command

func (*GetERSOptions) Run

func (o *GetERSOptions) Run() error

Run use to run the command

func (*GetERSOptions) Validate

func (o *GetERSOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

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 PauseOptions

type PauseOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

PauseOptions provides information required to manage ExtendedDaemonSet

func NewPauseOptions

func NewPauseOptions(streams genericclioptions.IOStreams, pauseStatus bool) *PauseOptions

NewPauseOptions provides an instance of GetOptions with default values

func (*PauseOptions) Complete

func (o *PauseOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for processing the command

func (*PauseOptions) Run

func (o *PauseOptions) Run() error

Run use to run the command

func (*PauseOptions) Validate

func (o *PauseOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

type ValidateOptions

type ValidateOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

ValidateOptions provides information required to manage ExtendedDaemonSet

func NewValidateOptions

func NewValidateOptions(streams genericclioptions.IOStreams) *ValidateOptions

NewValidateOptions provides an instance of GetOptions with default values

func (*ValidateOptions) Complete

func (o *ValidateOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for processing the command

func (*ValidateOptions) Run

func (o *ValidateOptions) Run() error

Run use to run the command

func (*ValidateOptions) Validate

func (o *ValidateOptions) 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