Documentation ¶
Index ¶
- func GenerateClusterValues(flagInputs ClusterConfig) (string, error)
- func GenerateDefaultAppsValues(flagConfig DefaultAppsConfig) (string, error)
- type Cluster
- type ClusterConfig
- type Connectivity
- type ControlPlane
- type ControlPlaneEndpoint
- type DefaultAppsConfig
- type HelmRelease
- type HelmReleases
- type Image
- type LoadBalancers
- type MTDevice
- type MTNetwork
- type MachineTemplate
- type Network
- type NodePool
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 { Connectivity *Connectivity `json:"connectivity,omitempty"` ControlPlane *ControlPlane `json:"controlPlane,omitempty"` NodeClasses map[string]*MachineTemplate `json:"nodeClasses,omitempty"` NodePools map[string]*NodePool `json:"nodePools,omitempty"` HelmReleases *HelmReleases `json:"helmReleases,omitempty"` BaseDomain string `json:"baseDomain,omitempty"` ClusterDescription string `json:"clusterDescription,omitempty"` Organization string `json:"organization,omitempty"` Cluster *Cluster `json:"cluster,omitempty"` }
type Connectivity ¶
type Connectivity struct {
Network *Network `json:"network,omitempty"`
}
type ControlPlane ¶
type ControlPlane struct { Image *Image `json:"image,omitempty"` Replicas int `json:"replicas,omitempty"` MachineTemplate *MachineTemplate `json:"machineTemplate,omitempty"` }
type ControlPlaneEndpoint ¶
type DefaultAppsConfig ¶
type HelmRelease ¶
type HelmRelease struct {
Interval string `json:"interval,omitempty"`
}
type HelmReleases ¶
type HelmReleases struct { Cilium *HelmRelease `json:"cilium,omitempty"` Cpi *HelmRelease `json:"cpi,omitempty"` Coredns *HelmRelease `json:"coredns,omitempty"` }
type LoadBalancers ¶
type MachineTemplate ¶
type MachineTemplate struct { Network *MTNetwork `json:"network,omitempty"` CloneMode string `json:"cloneMode,omitempty"` DiskGiB int `json:"diskGiB,omitempty"` NumCPUs int `json:"numCPUs,omitempty"` MemoryMiB int `json:"memoryMiB,omitempty"` ResourcePool string `json:"resourcePool,omitempty"` Template string `json:"template,omitempty"` }
type Network ¶
type Network struct { AllowAllEgress bool `json:"allowAllEgress,omitempty"` ControlPlaneEndpoint *ControlPlaneEndpoint `json:"controlPlaneEndpoint,omitempty"` LoadBalancers *LoadBalancers `json:"loadBalancers,omitempty"` }
Click to show internal directories.
Click to hide internal directories.