install

package
v1.4.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 28 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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