install

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package install implements the install command in liqoctl.

Index

Constants

View Source
const (

	// LiqoReleaseName indicates the default release name when installing the Liqo chart.
	LiqoReleaseName = "liqo"

	// DefaultDumpValuesPath is the default path where the helm values file is written.
	DefaultDumpValuesPath = "./values.yaml"
)

Variables

This section is empty.

Functions

func ValuesWarning added in v0.9.0

func ValuesWarning(values map[string]interface{}) ([]string, error)

ValuesWarning checks the values map and returns a list of warnings.

Types

type CommonOptions

type CommonOptions struct {
	*factory.Factory
	CommandName string

	Version   string
	RepoURL   string
	ChartPath string

	OverrideValues       []string
	OverrideStringValues []string
	OverrideValuesFiles  []string

	DryRun           bool
	OnlyOutputValues bool
	ValuesPath       string

	Timeout time.Duration

	ClusterID     liqov1beta1.ClusterID
	ClusterLabels map[string]string

	EnableHA         bool
	EnableMetrics    bool
	DisableTelemetry bool

	ReservedSubnets []string

	DisableAPIServerSanityChecks bool
	DisableAPIServerDefaulting   bool
	SkipValidation               bool

	DisableKernelVersionCheck bool
	// contains filtered or unexported fields
}

CommonOptions encapsulates common arguments (not modified by providers) of the install command.

type Options added in v0.5.0

type Options struct {
	*CommonOptions

	APIServer   string
	PodCIDR     string
	ServiceCIDR string
}

Options encapsulates the arguments of the install command.

func NewOptions added in v0.8.2

func NewOptions(f *factory.Factory, commandName string) *Options

NewOptions returns a new Options struct.

func (*Options) Run added in v0.5.0

func (o *Options) Run(ctx context.Context, provider Provider) error

Run implements the install command.

type Provider added in v0.5.0

type Provider interface {
	// Name returns the name of the given provider.
	Name() string
	// Examples returns the examples string for the given provider.
	Examples() string

	// RegisterFlags registers the flags for the given provider.
	RegisterFlags(cmd *cobra.Command)

	// Initialize performs the initialization tasks to retrieve the provider-specific parameters.
	Initialize(ctx context.Context) error
	// Values returns the customized provider-specifc values file parameters.
	Values() map[string]interface{}
}

Provider defines the interface for an install provider.

Directories

Path Synopsis
Package aks implements the logic to install Liqo on a AKS-based cluster
Package aks implements the logic to install Liqo on a AKS-based cluster
Package eks implements the logic to install Liqo on a EKS-based cluster
Package eks implements the logic to install Liqo on a EKS-based cluster
Package generic implements the logic to install Liqo on a generic cluster
Package generic implements the logic to install Liqo on a generic cluster
Package gke implements the logic to install Liqo on a GKE-based cluster
Package gke implements the logic to install Liqo on a GKE-based cluster
Package k3s implements the logic to install Liqo on a K3S-based cluster
Package k3s implements the logic to install Liqo on a K3S-based cluster
Package kind implements the logic to install Liqo on a kind-based cluster
Package kind implements the logic to install Liqo on a kind-based cluster
Package kubeadm implements the logic to install Liqo on a kubeadm-based cluster
Package kubeadm implements the logic to install Liqo on a kubeadm-based cluster
Package openshift implements the logic to install Liqo on a OpenShift-based cluster
Package openshift implements the logic to install Liqo on a OpenShift-based cluster
Package util implements utility functions for the liqo install providers
Package util implements utility functions for the liqo install providers

Jump to

Keyboard shortcuts

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