Documentation ¶
Overview ¶
Package install ...
Index ¶
Constants ¶
View Source
const ( // SystemNamespace is the namespace where everest is installed. SystemNamespace = "everest-system" // MonitoringNamespace is the namespace where the monitoring stack is installed. MonitoringNamespace = "everest-monitoring" // EverestMonitoringNamespaceEnvVar is the name of the environment variable that holds the monitoring namespace. EverestMonitoringNamespaceEnvVar = "MONITORING_NAMESPACE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.5.0
type Config struct { // Namespaces defines comma-separated list of namespaces that everest can operate in. Namespaces string `mapstructure:"namespaces"` // SkipWizard skips wizard during installation. SkipWizard bool `mapstructure:"skip-wizard"` // KubeconfigPath is a path to a kubeconfig KubeconfigPath string `mapstructure:"kubeconfig"` Operator OperatorConfig }
Config stores configuration for the operators.
func (Config) NamespacesList ¶ added in v0.8.0
NamespacesList returns list of the namespaces that everest can operate in.
type Install ¶ added in v0.5.0
type Install struct {
// contains filtered or unexported fields
}
Install implements the main logic for commands.
func NewInstall ¶ added in v0.5.0
func NewInstall(c Config, l *zap.SugaredLogger) (*Install, error)
NewInstall returns a new Install struct.
type OperatorConfig ¶
type OperatorConfig struct { // PG stores if PostgresSQL shall be installed. PG bool `mapstructure:"postgresql"` // PSMDB stores if MongoDB shall be installed. PSMDB bool `mapstructure:"mongodb"` // PXC stores if XtraDB Cluster shall be installed. PXC bool `mapstructure:"xtradb-cluster"` }
OperatorConfig identifies which operators shall be installed.
Click to show internal directories.
Click to hide internal directories.