Documentation ¶
Overview ¶
Package upgrade implements upgrade logic for the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Namespaces is a user-defined string represents raw non-validated comma-separated list of namespaces for everest to operate in. Namespaces string `mapstructure:"namespaces"` // NamespacesList validated list of namespaces that everest can operate in. NamespacesList []string `mapstructure:"namespaces-map"` // KubeconfigPath is a path to a kubeconfig KubeconfigPath string `mapstructure:"kubeconfig"` // UpgradeOLM defines do we need to upgrade OLM or not. UpgradeOLM bool `mapstructure:"upgrade-olm"` // SkipWizard skips wizard during installation. SkipWizard bool `mapstructure:"skip-wizard"` }
Config defines configuration required for upgrade command.
type Upgrade ¶
type Upgrade struct {
// contains filtered or unexported fields
}
Upgrade struct implements upgrade command.
func NewUpgrade ¶
func NewUpgrade(c Config, l *zap.SugaredLogger) (*Upgrade, error)
NewUpgrade returns a new Upgrade struct.
Click to show internal directories.
Click to hide internal directories.