commands

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 29 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 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

Types

type RuntimeCreateOptions

type RuntimeCreateOptions struct {
	RuntimeName string
	KubeContext string
	KubeFactory kube.Factory
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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