Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cluster ¶
type Cluster interface { // CreateBootstrap sets up the boostrap cluster CreateBootstrap() error // InstallControlPlane puts the control plane on the boostrap cluster InstallControlPlane() error // CreatePermanent provisions the permanent management cluster CreatePermanent() error // PivotControlPlane moves the control plane from bootstrap to permanent management cluster PivotControlPlane() error // InstallAddons will install any addons into the permanent management cluster InstallAddons() error // RequiredCommands returns the command like binaries need to run the engine RequiredCommands() []string // Events are messages from the implementation Events() progress.Events // Spec returns the spec for the interface Spec() MgmtCluster }
Cluster interface for deploying K8s clusters
type MgmtCluster ¶
type MgmtCluster struct { LogFile string `yaml:"LogFile" json:"logfile"` SSH cluster.SSH `yaml:"SSH" json:"ssh"` Addons cluster.Addons `yaml:"Addons,omitempty" json:"addons,omitempty"` cluster.K8sConfig `yaml:",inline" json:",inline" mapstructure:",squash"` EventStream progress.Events `yaml:"-" json:"-" mapstructure:"-"` ProgressEndpointEnabled bool `yaml:"-" json:"-" mapstructure:"-"` }
MgmtCluster spec for the Engine
Click to show internal directories.
Click to hide internal directories.