commands

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigCommand

func NewConfigCommand() *cobra.Command

func NewConfigCreateContextCommand

func NewConfigCreateContextCommand() *cobra.Command

func NewConfigCurrentContextCommand

func NewConfigCurrentContextCommand() *cobra.Command

func NewConfigDeleteContextCommand

func NewConfigDeleteContextCommand() *cobra.Command

func NewConfigGetContextsCommand

func NewConfigGetContextsCommand() *cobra.Command

func NewConfigUseContextCommand

func NewConfigUseContextCommand() *cobra.Command

func NewRoot

func NewRoot() *cobra.Command

func NewRuntimeCommand

func NewRuntimeCommand() *cobra.Command

func NewRuntimeCreateCommand

func NewRuntimeCreateCommand() *cobra.Command

func NewRuntimeDeleteCommand

func NewRuntimeDeleteCommand() *cobra.Command

func NewRuntimeListCommand

func NewRuntimeListCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

func RunConfigCreateContext

func RunConfigCreateContext(ctx context.Context, context, apiKey, url string) error

func RunConfigCurrentContext

func RunConfigCurrentContext(ctx context.Context) error

func RunConfigDeleteContext

func RunConfigDeleteContext(ctx context.Context, context string) error

func RunConfigGetContexts

func RunConfigGetContexts(ctx context.Context) error

func RunConfigUseContext

func RunConfigUseContext(ctx context.Context, context string) error

func RunRuntimeCreate

func RunRuntimeCreate(ctx context.Context, opts *RuntimeCreateOptions) error

func RunRuntimeDelete

func RunRuntimeDelete(ctx context.Context, opts *RuntimeDeleteOptions) error

Types

type RuntimeCreateOptions

type RuntimeCreateOptions struct {
	RuntimeName string
	KubeContext string

	KubeFactory kube.Factory
	// contains filtered or unexported fields
}

type RuntimeDeleteOptions

type RuntimeDeleteOptions struct {
	RuntimeName string
	KubeContext string
	Timeout     time.Duration
	CloneOpts   *git.CloneOptions
	KubeFactory kube.Factory
}

Jump to

Keyboard shortcuts

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