Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Baremetal ¶
type Baremetal struct { Master []Machine `yaml:"master" json:"master"` Worker []Machine `yaml:"worker" json:"worker"` HAProxy Machine `yaml:"haproxy" json:"haproxy"` Key }
func (*Baremetal) Provision ¶
func (m *Baremetal) Provision() ([]*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, *kubeadmclient.HaProxyNode, error)
type BaremetalAddNode ¶
type BaremetalAddNode struct { Key Worker []Machine `yaml:"workers" json:"workers"` Master Machine `yaml:"master" json:"master"` }
func (*BaremetalAddNode) GetNodes ¶
func (m *BaremetalAddNode) GetNodes() (*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, error)
func (*BaremetalAddNode) GetNodesForDeletion ¶
func (m *BaremetalAddNode) GetNodesForDeletion() (*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, error)
type BaremetalDeleteCluster ¶
type BaremetalDeleteCluster struct { Key Master []Machine `yaml:"master" json:"master"` Worker []Machine `yaml:"workers" json:"workers"` }
func (*BaremetalDeleteCluster) DeleteInstance ¶
func (m *BaremetalDeleteCluster) DeleteInstance() ([]*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, error)
type BaremetalDeleteNode ¶
type MultiPassAddNode ¶
type MultiPassAddNode struct { WorkerCount int `yaml:"workerCount" json:"workerCount"` Master []string `yaml:"master" json:"master"` }
func (*MultiPassAddNode) GetNodes ¶
func (node *MultiPassAddNode) GetNodes() (*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, error)
type MultiPassDeleteCluster ¶
type MultiPassDeleteCluster struct { OnlyKube bool `yaml:"onlyKube" json:"onlyKube"` MasterIP []string `yaml:"master" json:"master"` WorkerIP []string `yaml:"workers" json:"workers"` }
func (*MultiPassDeleteCluster) DeleteInstances ¶
func (m *MultiPassDeleteCluster) DeleteInstances() ([]*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, error)
type MultiPassDeleteNode ¶
type MultiPassDeleteNode struct { WorkerCount []string `yaml:"workers" json:"workers"` Master []string `yaml:"master" json:"master"` }
func (*MultiPassDeleteNode) GetNodesForDeletion ¶
func (node *MultiPassDeleteNode) GetNodesForDeletion() (*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, error)
type MultipassCreateCluster ¶
type MultipassCreateCluster struct { MasterCount int `yaml:"masterCount" json:"masterCount"` WorkerCount int `yaml:"workerCount" json:"workerCount"` }
func (*MultipassCreateCluster) Provision ¶
func (m *MultipassCreateCluster) Provision() ([]*kubeadmclient.MasterNode, []*kubeadmclient.WorkerNode, *kubeadmclient.HaProxyNode, error)
Click to show internal directories.
Click to hide internal directories.