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 }
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
Click to show internal directories.
Click to hide internal directories.