commands

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCoreCommand

func NewCoreCommand(ctx context.Context, c *cli.Config) *cobra.Command

func NewDeployerCommand

func NewDeployerCommand(ctx context.Context, c *cli.Config) *cobra.Command

func NewDeployerCreateCommand

func NewDeployerCreateCommand(ctx context.Context, c *cli.Config) *cobra.Command

func NewDeployerDeleteCommand

func NewDeployerDeleteCommand(ctx context.Context, c *cli.Config) *cobra.Command

func NewDeployerListCommand

func NewDeployerListCommand(ctx context.Context, c *cli.Config) *cobra.Command

func NewDeployerStatusCommand

func NewDeployerStatusCommand(ctx context.Context, c *cli.Config) *cobra.Command

func NewDeployerTailCommand

func NewDeployerTailCommand(ctx context.Context, c *cli.Config) *cobra.Command

Types

type DeployerCreateOptions

type DeployerCreateOptions struct {
	options.ResourceOptions

	Image          string
	ApplicationRef string
	ContainerRef   string
	FunctionRef    string

	IngressPolicy string
	TargetPort    int32

	Env     []string
	EnvFrom []string

	LimitCPU    string
	LimitMemory string

	Tail        bool
	WaitTimeout string

	DryRun bool
}

func (*DeployerCreateOptions) Exec

func (opts *DeployerCreateOptions) Exec(ctx context.Context, c *cli.Config) error

func (*DeployerCreateOptions) IsDryRun

func (opts *DeployerCreateOptions) IsDryRun() bool

func (*DeployerCreateOptions) Validate

func (opts *DeployerCreateOptions) Validate(ctx context.Context) cli.FieldErrors

type DeployerDeleteOptions

type DeployerDeleteOptions struct {
	options.DeleteOptions
}

func (*DeployerDeleteOptions) Exec

func (opts *DeployerDeleteOptions) Exec(ctx context.Context, c *cli.Config) error

func (*DeployerDeleteOptions) Validate

func (opts *DeployerDeleteOptions) Validate(ctx context.Context) cli.FieldErrors

type DeployerListOptions

type DeployerListOptions struct {
	options.ListOptions
}

func (*DeployerListOptions) Exec

func (opts *DeployerListOptions) Exec(ctx context.Context, c *cli.Config) error

func (*DeployerListOptions) Validate

func (opts *DeployerListOptions) Validate(ctx context.Context) cli.FieldErrors

type DeployerStatusOptions

type DeployerStatusOptions struct {
	options.ResourceOptions
}

func (*DeployerStatusOptions) Exec

func (opts *DeployerStatusOptions) Exec(ctx context.Context, c *cli.Config) error

func (*DeployerStatusOptions) Validate

func (opts *DeployerStatusOptions) Validate(ctx context.Context) cli.FieldErrors

type DeployerTailOptions

type DeployerTailOptions struct {
	options.ResourceOptions

	Since string
}

func (*DeployerTailOptions) Exec

func (opts *DeployerTailOptions) Exec(ctx context.Context, c *cli.Config) error

func (*DeployerTailOptions) Validate

func (opts *DeployerTailOptions) Validate(ctx context.Context) cli.FieldErrors

Jump to

Keyboard shortcuts

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