variables

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL