Documentation
¶
Overview ¶
Package install ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEverestAlreadyinstalled ¶ added in v1.5.0
func CheckEverestAlreadyinstalled(ctx context.Context, l *zap.SugaredLogger, kubeConfig string) error
CheckEverestAlreadyinstalled checks if Everest is already installed.
Types ¶
type InstallConfig ¶ added in v1.5.0
type InstallConfig struct {
// KubeconfigPath is the path to the kubeconfig file.
KubeconfigPath string
// VersionMetadataURL Version service URL to retrieve version metadata information from.
VersionMetadataURL string
// Version defines Everest version to be installed. If empty, the latest version is installed.
Version string
// DisableTelemetry disables telemetry.
DisableTelemetry bool
// ClusterType is the type of the Kubernetes environment.
// If it is not set, the environment will be detected.
ClusterType kubernetes.ClusterType
// SkipEnvDetection skips detecting the Kubernetes environment.
// If it is set, the environment will not be detected.
// Set ClusterType if the environment is known and set this flag to avoid detection duplication.
SkipEnvDetection bool
// Pretty if set print the output in pretty mode.
Pretty bool
// SkipDBNamespace is set if the installation should skip provisioning database.
SkipDBNamespace bool
// Options related to Helm.
HelmConfig helm.CLIOptions
// NamespaceAddConfig is the configuration for the namespace add operation.
NamespaceAddConfig namespaces.NamespaceAddConfig
}
InstallConfig holds the configuration for the `install` command.
func NewInstallConfig ¶ added in v1.5.0
func NewInstallConfig() InstallConfig
NewInstallConfig returns a new InstallConfig.
type Installer ¶ added in v1.5.0
type Installer struct {
// contains filtered or unexported fields
}
Installer provides the functionality to install Everest.
func NewInstall ¶
func NewInstall(c InstallConfig, l *zap.SugaredLogger) (*Installer, error)
NewInstall returns a new Installer struct.
Click to show internal directories.
Click to hide internal directories.