v1alpha1

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 11 Imported by: 0

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
}

type BaremetalAddNode

type BaremetalAddNode struct {
	Key
	Worker []Machine `yaml:"workers" json:"workers"`
	Master Machine   `yaml:"master" json:"master"`
}

func (*BaremetalAddNode) GetNodes

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

type BaremetalDeleteNode

type BaremetalDeleteNode struct {
	Key
	Worker []Machine `yaml:"worker" json:"worker"`
	Master Machine   `yaml:"master" json:"master"`
}

type Key

type Key struct {
	DefaultPrivateKey         string `yaml:"key" json:"keys"` //TODO
	DefaultPrivateKeyLocation string `yaml:"keyLocation" json:"keyLocation"`
	DefaultUsername           string `yaml:"username" json:"username"`
}

type Machine

type Machine struct {
	Username        string `yaml:"username" json:"username"`
	IP              string `yaml:"ip" json:"ip"`
	PrivateKey      string `yaml:"privateKey" json:"privateKey"`
	PrivateLocation string `yaml:"privateKeyLocation" json:"privateKeyLocation"`
}

type MultiPassAddNode

type MultiPassAddNode struct {
	WorkerCount int      `yaml:"workerCount" json:"workerCount"`
	Master      []string `yaml:"master" json:"master"`
}

func (*MultiPassAddNode) GetNodes

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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