external

package
v0.3.23 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

package external defines the types for a generic external provider used for tests

+kubebuilder:object:generate=true +groupName=custom.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: "external.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 GenericExternalObject

type GenericExternalObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

GenericExternalObject is an object which is not actually managed by CAPI, but we wish to move with clusterctl using the "move" label on the resource. +kubebuilder:object:root=true

func (*GenericExternalObject) DeepCopy

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

func (*GenericExternalObject) DeepCopyInto

func (in *GenericExternalObject) DeepCopyInto(out *GenericExternalObject)

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

func (*GenericExternalObject) DeepCopyObject

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

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

type GenericExternalObjectList

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

func (*GenericExternalObjectList) DeepCopy

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

func (*GenericExternalObjectList) DeepCopyInto

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

func (*GenericExternalObjectList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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