Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the demo v1beta1 API group +kubebuilder:object:generate=true +groupName=demo.operator-demo-go.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "demo.operator-demo-go.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 Demo ¶
type Demo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DemoSpec `json:"spec,omitempty"` Status DemoStatus `json:"status,omitempty"` }
Demo is the Schema for the demoes API
func (*Demo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Demo.
func (*Demo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Demo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoList ¶
type DemoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Demo `json:"items"` }
DemoList contains a list of Demo
func (*DemoList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoList.
func (*DemoList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoSpec ¶
type DemoSpec struct { // Foo is an example field of Demo. Edit Demo_types.go to remove/update Foo string `json:"foo,omitempty"` }
DemoSpec defines the desired state of Demo
func (*DemoSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoSpec.
func (*DemoSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DemoStatus ¶
type DemoStatus struct { }
DemoStatus defines the observed state of Demo
func (*DemoStatus) DeepCopy ¶
func (in *DemoStatus) DeepCopy() *DemoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoStatus.
func (*DemoStatus) DeepCopyInto ¶
func (in *DemoStatus) DeepCopyInto(out *DemoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.