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 ¶
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 ¶
func (in *GenericExternalObject) DeepCopy() *GenericExternalObject
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 ¶
func (in *GenericExternalObjectList) DeepCopy() *GenericExternalObjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericExternalObjectList.
func (*GenericExternalObjectList) DeepCopyInto ¶
func (in *GenericExternalObjectList) DeepCopyInto(out *GenericExternalObjectList)
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.