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 NewAdapterCommand

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

func NewAdapterCreateCommand

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

func NewAdapterDeleteCommand

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

func NewAdapterListCommand

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

func NewAdapterStatusCommand

func NewAdapterStatusCommand(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

func NewKnativeCommand

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

Types

type AdapterCreateOptions

type AdapterCreateOptions struct {
	options.ResourceOptions

	ApplicationRef string
	ContainerRef   string
	FunctionRef    string

	ConfigurationRef string
	ServiceRef       string

	Tail        bool
	WaitTimeout string

	DryRun bool
}

func (*AdapterCreateOptions) Exec

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

func (*AdapterCreateOptions) IsDryRun

func (opts *AdapterCreateOptions) IsDryRun() bool

func (*AdapterCreateOptions) Validate

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

type AdapterDeleteOptions

type AdapterDeleteOptions struct {
	options.DeleteOptions
}

func (*AdapterDeleteOptions) Exec

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

func (*AdapterDeleteOptions) Validate

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

type AdapterListOptions

type AdapterListOptions struct {
	options.ListOptions
}

func (*AdapterListOptions) Exec

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

func (*AdapterListOptions) Validate

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

type AdapterStatusOptions

type AdapterStatusOptions struct {
	options.ResourceOptions
}

func (*AdapterStatusOptions) Exec

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

func (*AdapterStatusOptions) Validate

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

type DeployerCreateOptions

type DeployerCreateOptions struct {
	options.ResourceOptions

	Image          string
	ApplicationRef string
	ContainerRef   string
	FunctionRef    string

	IngressPolicy string
	TargetPort    int32

	ContainerConcurrency int64

	Env     []string
	EnvFrom []string

	LimitCPU    string
	LimitMemory string

	MaxScale int32
	MinScale int32

	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