Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct {
Cores int `json:"cores"`
}
CPU configures the machine CPU.
func DefaultCPU ¶
func DefaultCPU() CPU
DefaultCPU provides a default CPU configuration by best effort.
type Master ¶
type Master struct {
AWS aws.Master `json:"aws"`
Azure azure.Master `json:"azure"`
CPU CPU `json:"cpu"`
ID string `json:"id"`
Memory Memory `json:"memory"`
Storage Storage `json:"storage"`
}
Master configures the Kubernetes master nodes.
func DefaultMaster ¶
func DefaultMaster() Master
DefaultMaster provides a default master configuration by best effort.
type Memory ¶
type Memory struct {
SizeGB float64 `json:"size_gb"`
}
Memory configures the machine memory.
func DefaultMemory ¶
func DefaultMemory() Memory
DefaultMemory provides a default ram configuration by best effort.
type Storage ¶
type Storage struct {
SizeGB float64 `json:"size_gb"`
}
Storage configures the machine storage.
func DefaultStorage ¶
func DefaultStorage() Storage
DefaultStorage provides a default storage configuration by best effort.
type Worker ¶
type Worker struct {
AWS aws.Worker `json:"aws"`
Azure azure.Worker `json:"azure"`
CPU CPU `json:"cpu"`
ID string `json:"id"`
Labels map[string]string `json:"labels"`
Memory Memory `json:"memory"`
Storage Storage `json:"storage"`
}
Worker configures the Kubernetes worker nodes.
func DefaultWorker ¶
func DefaultWorker() Worker
DefaultWorker provides a default worker configuration by best effort.
Click to show internal directories.
Click to hide internal directories.