Documentation
¶
Index ¶
- func GetClusterVariableByName(name string, clusterVariables []clusterv1.ClusterVariable) *clusterv1.ClusterVariable
- func MarshalToClusterVariable[T any](name string, obj T) (*clusterv1.ClusterVariable, error)
- func UnmarshalClusterVariable[T any](clusterVariable *clusterv1.ClusterVariable, obj *T) error
- type Addons
- type CSI
- type ClusterConfigSpec
- type ControlPlaneNodeConfigSpec
- type WorkerNodeConfigSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterVariableByName ¶ added in v0.9.0
func GetClusterVariableByName( name string, clusterVariables []clusterv1.ClusterVariable, ) *clusterv1.ClusterVariable
func MarshalToClusterVariable ¶ added in v0.9.0
func MarshalToClusterVariable[T any](name string, obj T) (*clusterv1.ClusterVariable, error)
func UnmarshalClusterVariable ¶ added in v0.9.0
func UnmarshalClusterVariable[T any](clusterVariable *clusterv1.ClusterVariable, obj *T) error
Types ¶
type Addons ¶ added in v0.10.0
type Addons struct { carenv1.GenericAddons `json:",inline"` CSI *CSI `json:"csi,omitempty"` }
type CSI ¶ added in v0.10.0
type CSI struct { carenv1.GenericCSI `json:",inline"` Providers map[string]carenv1.CSIProvider `json:"providers"` }
type ClusterConfigSpec ¶ added in v0.9.0
type ClusterConfigSpec struct { AWS *carenv1.AWSSpec `json:"aws,omitempty"` Docker *carenv1.DockerSpec `json:"docker,omitempty"` Nutanix *carenv1.NutanixSpec `json:"nutanix,omitempty"` carenv1.GenericClusterConfigSpec `json:",inline"` Addons *Addons `json:"addons,omitempty"` ControlPlane *ControlPlaneNodeConfigSpec `json:"controlPlane,omitempty"` ExtraAPIServerCertSANs []string `json:"extraAPIServerCertSANs,omitempty"` }
func UnmarshalClusterConfigVariable ¶ added in v0.9.0
func UnmarshalClusterConfigVariable( clusterVariables []clusterv1.ClusterVariable, ) (*ClusterConfigSpec, error)
type ControlPlaneNodeConfigSpec ¶ added in v0.9.0
type ControlPlaneNodeConfigSpec struct { AWS *carenv1.AWSControlPlaneNodeSpec `json:"aws,omitempty"` Docker *carenv1.DockerNodeSpec `json:"docker,omitempty"` Nutanix *carenv1.NutanixNodeSpec `json:"nutanix,omitempty"` }
type WorkerNodeConfigSpec ¶ added in v0.9.0
type WorkerNodeConfigSpec struct { AWS *carenv1.AWSWorkerNodeSpec `json:"aws,omitempty"` Docker *carenv1.DockerNodeSpec `json:"docker,omitempty"` Nutanix *carenv1.NutanixNodeSpec `json:"nutanix,omitempty"` }
func UnmarshalWorkerConfigVariable ¶ added in v0.9.0
func UnmarshalWorkerConfigVariable( clusterVariables []clusterv1.ClusterVariable, ) (*WorkerNodeConfigSpec, error)
Click to show internal directories.
Click to hide internal directories.