Documentation
¶
Overview ¶
Package uninstall ...
Index ¶
Constants ¶
View Source
const ( // FlagCatalogNamespace is the name of the catalog namespace flag. FlagCatalogNamespace = "catalog-namespace" // FlagSkipEnvDetection is the name of the skip env detection flag. FlagSkipEnvDetection = "skip-env-detection" // FlagSkipOLM is the name of the skip OLM flag. FlagSkipOLM = "skip-olm" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// KubeconfigPath is a path to a kubeconfig
KubeconfigPath string `mapstructure:"kubeconfig"`
// AssumeYes is true when all questions can be skipped.
AssumeYes bool `mapstructure:"assume-yes"`
// Force is true when we shall not prompt for removal.
Force bool
// SkipEnvDetection skips detecting the Kubernetes environment.
SkipEnvDetection bool `mapstructure:"skip-env-detection"`
// If set, we will print the pretty output.
Pretty bool
}
Config stores configuration for the Uninstall command.
type Uninstall ¶
type Uninstall struct {
// contains filtered or unexported fields
}
Uninstall implements logic for the cluster command.
func NewUninstall ¶
func NewUninstall(c Config, l *zap.SugaredLogger) (*Uninstall, error)
NewUninstall returns a new Uninstall struct.
Click to show internal directories.
Click to hide internal directories.