Documentation ¶
Index ¶
- func DeleteAllReleaseVersions(retOpts RetrieveOptions, kubeConfig common.KubeConfig, dryRun bool) error
- func DeleteReleaseVersions(retOpts RetrieveOptions, delOpts DeleteOptions, kubeConfig common.KubeConfig) error
- func GetReleaseVersionName(releaseName string, releaseVersion int32) string
- func GetReleaseVersions(retOpts RetrieveOptions, kubeConfig common.KubeConfig) ([]*rls.Release, error)
- func HomeDir() string
- func RemoveHomeFolder(dryRun bool) error
- func RemoveTiller(tillerNamespace string, dryRun bool) error
- type ByReleaseVersion
- type DeleteOptions
- type RetrieveOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAllReleaseVersions ¶
func DeleteAllReleaseVersions(retOpts RetrieveOptions, kubeConfig common.KubeConfig, 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, kubeConfig common.KubeConfig) 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 ¶
GetReleaseVersionName returns release version name
func GetReleaseVersions ¶
func GetReleaseVersions(retOpts RetrieveOptions, kubeConfig common.KubeConfig) ([]*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 RemoveHomeFolder ¶
RemoveHomeFolder removes the v2 Helm home folder
func RemoveTiller ¶
RemoveTiller removes Tiller service in a particular namespace from the cluster
Types ¶
type ByReleaseVersion ¶ added in v0.1.10
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)