install

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package install ...

Index

Constants

View Source
const (

	// DefaultDBNamespaceName is the name of the default DB namespace during installation.
	DefaultDBNamespaceName = "everest"
)

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"`
	// VersionMetadataURL stores hostname to retrieve version metadata information from.
	VersionMetadataURL string `mapstructure:"version-metadata-url"`
	// Version defines the version to be installed. If empty, the latest version is installed.
	Version string `mapstructure:"version"`
	// DisableTelemetry disables telemetry.
	DisableTelemetry bool `mapstructure:"disable-telemetry"`
	// SkipEnvDetection skips detecting the Kubernetes environment.
	SkipEnvDetection bool `mapstructure:"skip-env-detection"`
	// If set, we will print the pretty output.
	Pretty bool
	// SkipDBNamespace is set if the installation should skip provisioning database.
	SkipDBNamespace bool `mapstructure:"skip-db-namespace"`

	helm.CLIOptions
	namespaces.NamespaceAddConfig `mapstructure:",squash"`
}

Config holds the configuration for the install command.

type Install

type Install struct {
	// contains filtered or unexported fields
}

Install implements the main logic for commands.

func NewInstall

func NewInstall(c Config, l *zap.SugaredLogger, cmd *cobra.Command) (*Install, error)

NewInstall returns a new Install struct.

func (*Install) Run

func (o *Install) Run(ctx context.Context) error

Run the Everest installation process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL