controlplane

package
v1.3.7 Latest Latest
Warning

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

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

Documentation

Overview

Package controlplane defines the types for a generic control plane provider used for tests. +kubebuilder:object:generate=true +groupName=controlplane.cluster.x-k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "controlplane.cluster.x-k8s.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type GenericControlPlane added in v0.3.7

type GenericControlPlane struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GenericControlPlaneSpec `json:"spec,omitempty"`
}

GenericControlPlane is a generic representation of a control plane.

func (*GenericControlPlane) DeepCopy added in v0.3.7

func (in *GenericControlPlane) DeepCopy() *GenericControlPlane

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControlPlane.

func (*GenericControlPlane) DeepCopyInto added in v0.3.7

func (in *GenericControlPlane) DeepCopyInto(out *GenericControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GenericControlPlane) DeepCopyObject added in v0.3.7

func (in *GenericControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GenericControlPlaneList added in v0.3.7

type GenericControlPlaneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GenericControlPlane `json:"items"`
}

GenericControlPlaneList is list of generic control planes.

func (*GenericControlPlaneList) DeepCopy added in v0.3.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControlPlaneList.

func (*GenericControlPlaneList) DeepCopyInto added in v0.3.7

func (in *GenericControlPlaneList) DeepCopyInto(out *GenericControlPlaneList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GenericControlPlaneList) DeepCopyObject added in v0.3.7

func (in *GenericControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GenericControlPlaneSpec added in v0.3.7

type GenericControlPlaneSpec struct {
	MachineTemplate GenericMachineTemplate `json:"machineTemplate"`
}

GenericControlPlaneSpec contains a generic control plane spec.

func (*GenericControlPlaneSpec) DeepCopy added in v0.3.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControlPlaneSpec.

func (*GenericControlPlaneSpec) DeepCopyInto added in v0.3.7

func (in *GenericControlPlaneSpec) DeepCopyInto(out *GenericControlPlaneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GenericMachineTemplate added in v1.2.0

type GenericMachineTemplate struct {
	InfrastructureRef corev1.ObjectReference `json:"infrastructureRef"`
}

GenericMachineTemplate contains a generic control plane spec.

func (*GenericMachineTemplate) DeepCopy added in v1.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericMachineTemplate.

func (*GenericMachineTemplate) DeepCopyInto added in v1.2.0

func (in *GenericMachineTemplate) DeepCopyInto(out *GenericMachineTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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