cmd

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(cleanupOptions CleanupOptions) error

Cleanup will delete all release data for in specified namespace and owner label. It will remove the Tiller server deployed as per namespace and owner label. It is also delete the Helm gv2 home directory which contains the Helm configuration. Helm v2 will be unusable after this operation.

func Convert

func Convert(convertOptions ConvertOptions) error

Convert converts Helm 2 release into Helm 3 release. It maps the Helm v2 release versions of the release into Helm v3 equivalent and stores the release versions. The underlying Kubernetes resources are untouched. Note: The namespaces of each release version need to exist in the Kubernetes cluster. The Helm 2 release is retained by default, unless the '--delete-v2-releases' flag is set.

func Move

func Move(dryRun bool) error

Moves/copies v2 configuration to v2 configuration. It copies repository config, plugins and starters. It does not copy cache.

func NewRootCmd

func NewRootCmd(out io.Writer, args []string) *cobra.Command

Types

type CleanupOptions

type CleanupOptions struct {
	ConfigCleanup    bool
	DryRun           bool
	ReleaseCleanup   bool
	StorageType      string
	TillerCleanup    bool
	TillerLabel      string
	TillerNamespace  string
	TillerOutCluster bool
}

type ConvertOptions

type ConvertOptions struct {
	DeleteRelease      bool
	DryRun             bool
	MaxReleaseVersions int
	ReleaseName        string
	StorageType        string
	TillerLabel        string
	TillerNamespace    string
	TillerOutCluster   bool
}

type EnvSettings

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

func New

func New() *EnvSettings

func (*EnvSettings) AddBaseFlags

func (s *EnvSettings) AddBaseFlags(fs *pflag.FlagSet)

AddBaseFlags binds base flags to the given flagset.

func (*EnvSettings) AddFlags

func (s *EnvSettings) AddFlags(fs *pflag.FlagSet)

AddFlags binds flags to the given flagset.

Jump to

Keyboard shortcuts

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