v2

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAllReleaseVersions

func DeleteAllReleaseVersions(retOpts RetrieveOptions, dryRun bool) error

DeleteReleaseVersions deletes all release data from Helm v2 storage. It is based on Tiller namespace and labels like owner of storage.

func DeleteReleaseVersions

func DeleteReleaseVersions(retOpts RetrieveOptions, delOpts DeleteOptions) error

DeleteReleaseVersions deletes all release data from Helm v2 storage for a specified release. It is based on Tiller namespace and labels like owner of storage.

func GetReleaseVersionName

func GetReleaseVersionName(releaseName string, releaseVersion int32) string

GetReleaseVersionName returns release version name

func GetReleaseVersions

func GetReleaseVersions(retOpts RetrieveOptions) ([]*rls.Release, error)

GetReleaseVersions returns all release versions from Helm v2 storage for a specified release.. It is based on Tiller namespace and labels like owner of storage.

func HomeDir

func HomeDir() string

HomeDir return the Helm home folder

func RemoveHomeFolder

func RemoveHomeFolder(dryRun bool) error

RemoveHomeFolder removes the v2 Helm home folder

func RemoveTiller

func RemoveTiller(tillerNamespace string, dryRun bool) error

RemoveTiller removes Tiller service in a particular namespace from the cluster

Types

type ByReleaseVersion added in v0.1.10

type ByReleaseVersion []*rls.Release

ByReleaseVersion implements sort.Interface based on the rls.Release Version field

func (ByReleaseVersion) Len added in v0.1.10

func (releases ByReleaseVersion) Len() int

func (ByReleaseVersion) Less added in v0.1.10

func (releases ByReleaseVersion) Less(i, j int) bool

func (ByReleaseVersion) Swap added in v0.1.10

func (releases ByReleaseVersion) Swap(i, j int)

type DeleteOptions

type DeleteOptions struct {
	DryRun   bool
	Versions []int32
}

type RetrieveOptions

type RetrieveOptions struct {
	ReleaseName      string
	StorageType      string
	TillerLabel      string
	TillerNamespace  string
	TillerOutCluster bool
}

Jump to

Keyboard shortcuts

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