Documentation
¶
Index ¶
- func GetClusterVariableByName(name string, clusterVariables []clusterv1.ClusterVariable) *clusterv1.ClusterVariable
- func MarshalToClusterVariable[T any](name string, obj T) (*clusterv1.ClusterVariable, error)
- func MustMarshal(val any) *apiextensionsv1.JSON
- func MustMarshalValuesToEnumJSON[T any](vals ...T) []apiextensionsv1.JSON
- func UnmarshalClusterVariable[T any](clusterVariable *clusterv1.ClusterVariable, obj *T) error
- 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 MustMarshal ¶
func MustMarshal(val any) *apiextensionsv1.JSON
func MustMarshalValuesToEnumJSON ¶
func MustMarshalValuesToEnumJSON[T any](vals ...T) []apiextensionsv1.JSON
func UnmarshalClusterVariable ¶ added in v0.9.0
func UnmarshalClusterVariable[T any](clusterVariable *clusterv1.ClusterVariable, obj *T) error
Types ¶
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"` 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.