controlplane

package
v0.3.6 Latest Latest
Warning

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

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

Documentation

Overview

package controlplane defines the types for dummy 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: "v1alpha3"}

	// 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 DummyControlPlane

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

func (*DummyControlPlane) DeepCopy

func (in *DummyControlPlane) DeepCopy() *DummyControlPlane

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

func (*DummyControlPlane) DeepCopyInto

func (in *DummyControlPlane) DeepCopyInto(out *DummyControlPlane)

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

func (*DummyControlPlane) DeepCopyObject

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

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

type DummyControlPlaneList

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

func (*DummyControlPlaneList) DeepCopy

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

func (*DummyControlPlaneList) DeepCopyInto

func (in *DummyControlPlaneList) DeepCopyInto(out *DummyControlPlaneList)

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

func (*DummyControlPlaneList) DeepCopyObject

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

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

type DummyControlPlaneSpec

type DummyControlPlaneSpec struct {
	InfrastructureTemplate corev1.ObjectReference `json:"infrastructureTemplate"`
}

func (*DummyControlPlaneSpec) DeepCopy

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

func (*DummyControlPlaneSpec) DeepCopyInto

func (in *DummyControlPlaneSpec) DeepCopyInto(out *DummyControlPlaneSpec)

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