Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { ResourceMeta MasterPool MasterPool ComputePools []ComputePool DNSZone string KubeAPIURL string Status }
Cluster is a representation of a single cluster.
type ComputePool ¶
type ComputePool struct {
NodePool
}
ComputePool is a representation of a compute node pool.
type KubeArgs ¶
type KubeArgs struct { KubeletExtraArgs string APIServerExtraArgs string ControllerManagerExtraArgs string SchedulerExtraArgs string }
KubeArgs represents the optional extra flags for Kubernetes components.
type MasterPool ¶
type MasterPool struct {
NodePool
}
MasterPool is a representation of a master control plane node pool.
type NodeData ¶
type NodeData struct { KubeAPIURL string ClusterName string KubeVersion string KubeArgs Labels Taints }
NodeData contains cloud Node related data.
type NodePool ¶
type NodePool struct { ResourceMeta NodePoolSpec Status }
NodePool is a representation of a single node pool.
type NodePoolSpec ¶
type NodePoolSpec struct { KubeVersion string `json:"kube_version,omitempty"` MachineType string `json:"machine_type,omitempty"` CoreOSVersion string `json:"coreos_version,omitempty"` SSHKey string `json:"ssh_key,omitempty"` DiskSize int `json:"disk_size,omitempty"` Size int `json:"size,omitempty"` Networks []string `json:"networks,omitempty"` UserData []byte `json:"user_data,omitempty"` Taints `json:"taints,omitempty"` KubeArgs `json:"kube_args,omitempty"` }
NodePoolSpec represent a node pool.
type ResourceMeta ¶
type ResourceMeta struct { Name string `json:"name,omitempty"` ID string `json:"id,omitempty"` ClusterName string `json:"cluster_name,omitempty"` Labels `json:"labels,omitempty"` Internal bool `json:"internal,omitempty"` }
ResourceMeta is a resource metadata.
Click to show internal directories.
Click to hide internal directories.