variables

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 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 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)

Jump to

Keyboard shortcuts

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