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: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplicationCommand

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

func NewApplicationCreateCommand

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

func NewApplicationDeleteCommand

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

func NewApplicationListCommand

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

func NewApplicationStatusCommand

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

func NewApplicationTailCommand

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

func NewContainerCommand

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

func NewContainerCreateCommand

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

func NewContainerDeleteCommand

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

func NewContainerListCommand

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

func NewContainerStatusCommand

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

func NewCredentialApplyCommand

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

func NewCredentialCommand

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

func NewCredentialDeleteCommand

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

func NewCredentialListCommand

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

func NewFunctionCommand

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

func NewFunctionCreateCommand

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

func NewFunctionDeleteCommand

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

func NewFunctionListCommand

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

func NewFunctionStatusCommand

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

func NewFunctionTailCommand

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

Types

type ApplicationCreateOptions

type ApplicationCreateOptions struct {
	options.ResourceOptions

	Image     string
	CacheSize string

	LocalPath   string
	GitRepo     string
	GitRevision string
	SubPath     string

	Env []string

	LimitCPU    string
	LimitMemory string

	Tail        bool
	WaitTimeout string

	DryRun bool
}

func (*ApplicationCreateOptions) Exec

func (*ApplicationCreateOptions) IsDryRun

func (opts *ApplicationCreateOptions) IsDryRun() bool

func (*ApplicationCreateOptions) Validate

type ApplicationDeleteOptions

type ApplicationDeleteOptions struct {
	options.DeleteOptions
}

func (*ApplicationDeleteOptions) Exec

func (*ApplicationDeleteOptions) Validate

type ApplicationListOptions

type ApplicationListOptions struct {
	options.ListOptions
}

func (*ApplicationListOptions) Exec

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

func (*ApplicationListOptions) Validate

type ApplicationStatusOptions

type ApplicationStatusOptions struct {
	options.ResourceOptions
}

func (*ApplicationStatusOptions) Exec

func (*ApplicationStatusOptions) Validate

type ApplicationTailOptions

type ApplicationTailOptions struct {
	options.ResourceOptions

	Since string
}

func (*ApplicationTailOptions) Exec

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

func (*ApplicationTailOptions) Validate

type ContainerCreateOptions

type ContainerCreateOptions struct {
	options.ResourceOptions

	Image string

	Tail        bool
	WaitTimeout string

	DryRun bool
}

func (*ContainerCreateOptions) Exec

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

func (*ContainerCreateOptions) IsDryRun

func (opts *ContainerCreateOptions) IsDryRun() bool

func (*ContainerCreateOptions) Validate

type ContainerDeleteOptions

type ContainerDeleteOptions struct {
	options.DeleteOptions
}

func (*ContainerDeleteOptions) Exec

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

func (*ContainerDeleteOptions) Validate

type ContainerListOptions

type ContainerListOptions struct {
	options.ListOptions
}

func (*ContainerListOptions) Exec

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

func (*ContainerListOptions) Validate

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

type ContainerStatusOptions

type ContainerStatusOptions struct {
	options.ResourceOptions
}

func (*ContainerStatusOptions) Exec

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

func (*ContainerStatusOptions) Validate

type CredentialApplyOptions

type CredentialApplyOptions struct {
	options.ResourceOptions

	DockerHubId       string
	DockerHubPassword []byte

	GcrTokenPath string

	Registry         string
	RegistryUser     string
	RegistryPassword []byte

	DefaultImagePrefix    string
	SetDefaultImagePrefix bool

	DryRun bool
}

func (*CredentialApplyOptions) Exec

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

func (*CredentialApplyOptions) IsDryRun

func (opts *CredentialApplyOptions) IsDryRun() bool

func (*CredentialApplyOptions) Validate

type CredentialDeleteOptions

type CredentialDeleteOptions struct {
	options.DeleteOptions
}

func (*CredentialDeleteOptions) Exec

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

func (*CredentialDeleteOptions) Validate

type CredentialListOptions

type CredentialListOptions struct {
	options.ListOptions
}

func (*CredentialListOptions) Exec

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

func (*CredentialListOptions) Validate

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

type FunctionCreateOptions

type FunctionCreateOptions struct {
	options.ResourceOptions

	Image     string
	CacheSize string

	Artifact string
	Handler  string
	Invoker  string

	LocalPath   string
	GitRepo     string
	GitRevision string
	SubPath     string

	Env []string

	LimitCPU    string
	LimitMemory string

	Tail        bool
	WaitTimeout string

	DryRun bool
}

func (*FunctionCreateOptions) Exec

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

func (*FunctionCreateOptions) IsDryRun

func (opts *FunctionCreateOptions) IsDryRun() bool

func (*FunctionCreateOptions) Validate

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

type FunctionDeleteOptions

type FunctionDeleteOptions struct {
	options.DeleteOptions
}

func (*FunctionDeleteOptions) Exec

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

func (*FunctionDeleteOptions) Validate

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

type FunctionListOptions

type FunctionListOptions struct {
	options.ListOptions
}

func (*FunctionListOptions) Exec

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

func (*FunctionListOptions) Validate

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

type FunctionStatusOptions

type FunctionStatusOptions struct {
	options.ResourceOptions
}

func (*FunctionStatusOptions) Exec

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

func (*FunctionStatusOptions) Validate

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

type FunctionTailOptions

type FunctionTailOptions struct {
	options.ResourceOptions

	Since string
}

func (*FunctionTailOptions) Exec

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

func (*FunctionTailOptions) Validate

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

Jump to

Keyboard shortcuts

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