commands

package
v0.0.74 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid added in v0.0.73

func IsValid(s string) (bool, error)

func NewComponentCommand added in v0.0.68

func NewComponentCommand() *cobra.Command

func NewComponentListCommand added in v0.0.68

func NewComponentListCommand() *cobra.Command

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 NewGitSourceCommand

func NewGitSourceCommand() *cobra.Command

func NewGitSourceCreateCommand

func NewGitSourceCreateCommand() *cobra.Command

func NewGitSourceDeleteCommand

func NewGitSourceDeleteCommand() *cobra.Command

func NewGitSourceEditCommand added in v0.0.67

func NewGitSourceEditCommand() *cobra.Command

func NewGitSourceListCommand added in v0.0.66

func NewGitSourceListCommand() *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 RunComponentList added in v0.0.68

func RunComponentList(ctx context.Context, runtimeName string) error

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 RunGitSourceCreate added in v0.0.68

func RunGitSourceCreate(ctx context.Context, opts *GitSourceCreateOptions) error

func RunGitSourceDelete added in v0.0.68

func RunGitSourceDelete(ctx context.Context, opts *GitSourceDeleteOptions) error

func RunGitSourceEdit added in v0.0.68

func RunGitSourceEdit(ctx context.Context, opts *GitSourceEditOptions) error

func RunGitSourceList added in v0.0.66

func RunGitSourceList(ctx context.Context, runtimeName string) error

func RunRuntimeInstall

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

func RunRuntimeList

func RunRuntimeList(ctx context.Context) error

func RunRuntimeUninstall

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

func RunRuntimeUpgrade

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

Types

type GitSourceCreateOptions

type GitSourceCreateOptions struct {
	// contains filtered or unexported fields
}

type GitSourceDeleteOptions

type GitSourceDeleteOptions struct {
	RuntimeName  string
	GsName       string
	InsCloneOpts *git.CloneOptions
	Timeout      time.Duration
}

type GitSourceEditOptions added in v0.0.67

type GitSourceEditOptions struct {
	RuntimeName  string
	GsName       string
	InsCloneOpts *git.CloneOptions
	GsCloneOpts  *git.CloneOptions
}

type RuntimeInstallOptions

type RuntimeInstallOptions struct {
	RuntimeName  string
	RuntimeToken string
	Insecure     bool
	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
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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