uninstall

package
v2.0.400-0...-14731b4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUninstall

func NewCmdUninstall(commonOpts *opts.CommonOptions) *cobra.Command

Types

type UninstallOptions

type UninstallOptions struct {
	*opts.CommonOptions

	Namespace        string
	Context          string
	Force            bool // Force uninstallation - programmatic use only - do not expose to the user
	KeepEnvironments bool
	KeepNamespaces   bool
}

func (*UninstallOptions) DeleteReleaseIfPresent

func (o *UninstallOptions) DeleteReleaseIfPresent(ns string, releaseName string, errors []error, force bool) []error

DeleteReleaseIfPresent deletes the given chart in the given namespace and adds any erro to the passed errors slice as it checks if the release is present before deleting, it can be forced to delete in case it doesn't find it because of an unrelated error

func (*UninstallOptions) Run

func (o *UninstallOptions) Run() error

Jump to

Keyboard shortcuts

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