Documentation ¶
Index ¶
- Constants
- func KindCluster(p *platform.Platform) error
- func PodStatus(p *platform.Platform, period time.Duration) error
- func RollingRestart(platform *platform.Platform, opts RollingOptions) error
- func RollingUpdate(platform *platform.Platform, opts RollingOptions) error
- func Status(p *platform.Platform) error
- func Terminate(platform *platform.Platform) error
- func TerminateNodes(platform *platform.Platform, nodes []string) error
- func TerminateOrphans(platform *platform.Platform) error
- func Upgrade(platform *platform.Platform) error
- func VM(platform *platform.Platform, vm *types.VM, konfigs ...string) error
- func VsphereCluster(platform *platform.Platform, burninPeriod time.Duration) error
- func WithVmwareCluster(p *platform.Platform) error
- type Cluster
- type NodeMachine
- type NodeMachines
- type RollingOptions
Constants ¶
View Source
const ClusterConfiguration = "ClusterConfiguration"
Variables ¶
This section is empty.
Functions ¶
func KindCluster ¶
KindCluster provisions a new Kind cluster
func RollingRestart ¶
func RollingRestart(platform *platform.Platform, opts RollingOptions) error
Perform a rolling restart of nodes
func RollingUpdate ¶
func RollingUpdate(platform *platform.Platform, opts RollingOptions) error
Perform a rolling update of nodes
func TerminateNodes ¶
TerminateNodes deletes all of the specified nodes stops and deletes all VM's for a cluster;
func TerminateOrphans ¶
TerminateOrphans deletes all vm's that have not yet joined the cluster
func VsphereCluster ¶
VsphereCluster provisions or creates a kubernetes cluster
func WithVmwareCluster ¶
Types ¶
type Cluster ¶
type Cluster struct { *platform.Platform Nodes NodeMachines Orphans []types.Machine Kubernetes kubernetes.Interface }
type NodeMachine ¶
func (NodeMachine) String ¶ added in v0.17.9
func (node NodeMachine) String() string
type NodeMachines ¶
type NodeMachines []NodeMachine
func (NodeMachines) Len ¶
func (n NodeMachines) Len() int
func (NodeMachines) Less ¶
func (n NodeMachines) Less(i, j int) bool
func (*NodeMachines) Pop ¶ added in v0.17.10
func (n *NodeMachines) Pop() NodeMachine
func (*NodeMachines) PopN ¶ added in v0.17.10
func (n *NodeMachines) PopN(count int) *[]NodeMachine
func (*NodeMachines) Push ¶ added in v0.17.10
func (n *NodeMachines) Push(x NodeMachine)
func (NodeMachines) Swap ¶
func (n NodeMachines) Swap(i, j int)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.