Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateClusterValues ¶
func GenerateClusterValues(flagInputs ClusterConfig) (string, error)
func GenerateDefaultAppsValues ¶
func GenerateDefaultAppsValues(flagConfig DefaultAppsConfig) (string, error)
Types ¶
type ClusterConfig ¶
type ClusterConfig struct { ClusterDescription string `json:"clusterDescription,omitempty"` ClusterName string `json:"clusterName,omitempty"` Organization string `json:"organization,omitempty"` AWS *AWS `json:"aws,omitempty"` Network *Network `json:"network,omitempty"` Bastion *Bastion `json:"bastion,omitempty"` ControlPlane *ControlPlane `json:"controlPlane,omitempty"` MachinePools *[]MachinePool `json:"machinePools,omitempty"` FlatcarAWSAccount string `json:"flatcarAWSAccount,omitempty"` }
type ControlPlane ¶
type ControlPlane struct { InstanceType string `json:"instanceType,omitempty"` Replicas int `json:"replicas,omitempty"` RootVolumeSizeGB int `json:"rootVolumeSizeGB,omitempty"` EtcdVolumeSizeGB int `json:"etcdVolumeSizeGB,omitempty"` ContainerdVolumeSizeGB int `json:"containerdVolumeSizeGB,omitempty"` KubeletVolumeSizeGB int `json:"kubeletVolumeSizeGB,omitempty"` AvailabilityZones []string `json:"availabilityZones,omitempty"` }
type DefaultAppsConfig ¶
type MachinePool ¶
type MachinePool struct { Name string `json:"name,omitempty"` AvailabilityZones []string `json:"availabilityZones,omitempty"` InstanceType string `json:"instanceType,omitempty"` MinSize int `json:"minSize,omitempty"` MaxSize int `json:"maxSize,omitempty"` RootVolumeSizeGB int `json:"rootVolumeSizeGB,omitempty"` CustomNodeLabels []string `json:"customNodeLabels,omitempty"` }
Click to show internal directories.
Click to hide internal directories.