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
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 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
NewOptions returns a new Options struct.
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 |
Click to show internal directories.
Click to hide internal directories.