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 Cluster ¶
Cluster is the cluster specific configuration.
func DefaultCluster ¶
func DefaultCluster() *Cluster
DefaultCluster provides a default cluster 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 Patch ¶
type Patch struct { ReleaseVersion string `json:"release_version,omitempty"` Scaling Scaling `json:"scaling,omitempty"` VersionBundles []versionbundle.Bundle `json:"version_bundles,omitempty"` Workers []Worker `json:"workers,omitempty"` }
Patch is the cluster specific configuration.
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.