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 defines comma-separated list of namespaces that everest can operate in.
Namespaces string `mapstructure:"namespaces"`
// 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.
func (Config) NamespacesList ¶ added in v0.8.0
NamespacesList returns list of the namespaces that everest can operate in.
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.