Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "testing.reconciler.runtime", Version: "v1"} // 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 )
var SchemeGroupVersion = GroupVersion
compatibility with k8s.io/code-generator
Functions ¶
This section is empty.
Types ¶
type TestResource ¶
type TestResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestResourceSpec `json:"spec"` }
func (*TestResource) DeepCopy ¶
func (in *TestResource) DeepCopy() *TestResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource.
func (*TestResource) DeepCopyInto ¶
func (in *TestResource) DeepCopyInto(out *TestResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResource) DeepCopyObject ¶
func (in *TestResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestResource) Default ¶
func (r *TestResource) Default()
func (*TestResource) Validate ¶
func (r *TestResource) Validate() validation.FieldErrors
type TestResourceList ¶
type TestResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TestResource `json:"items"` }
+kubebuilder:object:root=true
func (*TestResourceList) DeepCopy ¶
func (in *TestResourceList) DeepCopy() *TestResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceList.
func (*TestResourceList) DeepCopyInto ¶
func (in *TestResourceList) DeepCopyInto(out *TestResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceList) DeepCopyObject ¶
func (in *TestResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestResourceSpec ¶
+kubebuilder:object:generate=true
func (*TestResourceSpec) DeepCopy ¶
func (in *TestResourceSpec) DeepCopy() *TestResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceSpec.
func (*TestResourceSpec) DeepCopyInto ¶
func (in *TestResourceSpec) DeepCopyInto(out *TestResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.