rke

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequiredCommands = cmd.ProvisionerCommands{Name: "required CAPV bootstrap commands"}

RequiredCommands for capv provisioner

Functions

This section is empty.

Types

type MgmtCluster

type MgmtCluster struct {
	engine.MgmtCluster      `yaml:",inline" mapstructure:",squash"`
	vsphere.ProviderVsphere `yaml:",inline" mapstructure:",squash"`

	BootstrapIP string `yaml:"BootstrapIP"`
	// contains filtered or unexported fields
}

MgmtCluster spec for RKE

func NewMgmtClusterFullConfig

func NewMgmtClusterFullConfig() *MgmtCluster

NewMgmtClusterFullConfig creates a new cluster interface with a full config from the client

func (MgmtCluster) CreateBootstrap

func (c MgmtCluster) CreateBootstrap() error

CreateBootstrap deploys a rancher container as single node RKE cluster

func (*MgmtCluster) CreatePermanent

func (c *MgmtCluster) CreatePermanent() error

CreatePermanent deploys HA RKE cluster to vSphere

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 configures a single node RKE cluster

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