rkecli

package
v0.0.0-...-38b8b32 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func (*MgmtCluster) Spec

func (c *MgmtCluster) Spec() engine.MgmtCluster

Spec returns the Spec

Jump to

Keyboard shortcuts

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