Documentation ¶
Index ¶
- type MgmtCluster
- func (c MgmtCluster) CreateBootstrap() error
- func (c *MgmtCluster) CreatePermanent() error
- func (c MgmtCluster) Events() progress.Events
- func (c MgmtCluster) InstallAddons() error
- func (c *MgmtCluster) InstallControlPlane() error
- func (c MgmtCluster) PivotControlPlane() error
- func (c MgmtCluster) RequiredCommands() []string
- func (c *MgmtCluster) Spec() engine.MgmtCluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MgmtCluster ¶
type MgmtCluster struct { engine.MgmtCluster `yaml:",inline" mapstructure:",squash"` vsphere.ProviderVsphere `yaml:",inline" mapstructure:",squash"` RKEConfigPath string `yaml:"RKEConfigPath"` Nodes map[string]string `yaml:"Nodes" json:"nodes"` Hostname string `yaml:"Hostname"` // contains filtered or unexported fields }
MgmtCluster spec for RKE
func NewMgmtClusterCli ¶
func NewMgmtClusterCli() *MgmtCluster
NewMgmtClusterCli creates a new cluster interface with a full config from the client
func (MgmtCluster) CreateBootstrap ¶
func (c MgmtCluster) CreateBootstrap() error
CreateBootstrap is not needed for rkecli
func (*MgmtCluster) CreatePermanent ¶
func (c *MgmtCluster) CreatePermanent() error
CreatePermanent deploys HA RKE cluster to provided nodes
func (MgmtCluster) Events ¶
func (c MgmtCluster) Events() progress.Events
Events returns the channel of progress messages
func (MgmtCluster) InstallAddons ¶
func (c MgmtCluster) InstallAddons() error
InstallAddons to HA RKE cluster
func (*MgmtCluster) InstallControlPlane ¶
func (c *MgmtCluster) InstallControlPlane() error
InstallControlPlane helm installs rancher server
func (MgmtCluster) PivotControlPlane ¶
func (c MgmtCluster) PivotControlPlane() error
PivotControlPlane deploys rancher server via helm chart to HA RKE cluster
func (MgmtCluster) RequiredCommands ¶
func (c MgmtCluster) RequiredCommands() []string
RequiredCommands provides validation for required commands
Click to show internal directories.
Click to hide internal directories.