commands

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: Apache-2.0 Imports: 32 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 NewRuntimeInstallCommand

func NewRuntimeInstallCommand() *cobra.Command

func NewRuntimeListCommand

func NewRuntimeListCommand() *cobra.Command

func NewRuntimeUninsatllCommand

func NewRuntimeUninsatllCommand() *cobra.Command

func NewRuntimeUpgradeCommand

func NewRuntimeUpgradeCommand() *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 RunRuntimeInstall

func RunRuntimeInstall(ctx context.Context, opts *RuntimeInstallOptions) error

func RunRuntimeList

func RunRuntimeList() error

func RunRuntimeUninstall

func RunRuntimeUninstall(ctx context.Context, opts *RuntimeUninstallOptions) error

func RunRuntimeUpgrade

func RunRuntimeUpgrade(ctx context.Context, opts *RuntimeUpgradeOptions) error

Types

type RuntimeInstallOptions

type RuntimeInstallOptions struct {
	RuntimeName string
	Version     *semver.Version

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

type RuntimeUninstallOptions

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

type RuntimeUpgradeOptions

type RuntimeUpgradeOptions struct {
	RuntimeName string
	Version     *semver.Version
	CloneOpts   *git.CloneOptions
}

Jump to

Keyboard shortcuts

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