Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the examples v1alpha1 API group +kubebuilder:object:generate=true +groupName=examples.brus.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "examples.brus.dev", Version: "v1alpha1"} // 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 HelloWorld ¶
type HelloWorld struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelloWorldSpec `json:"spec,omitempty"` Status HelloWorldStatus `json:"status,omitempty"` }
HelloWorld is the Schema for the helloworlds API
func (*HelloWorld) DeepCopy ¶
func (in *HelloWorld) DeepCopy() *HelloWorld
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloWorld.
func (*HelloWorld) DeepCopyInto ¶
func (in *HelloWorld) DeepCopyInto(out *HelloWorld)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelloWorld) DeepCopyObject ¶
func (in *HelloWorld) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelloWorldList ¶
type HelloWorldList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HelloWorld `json:"items"` }
HelloWorldList contains a list of HelloWorld
func (*HelloWorldList) DeepCopy ¶
func (in *HelloWorldList) DeepCopy() *HelloWorldList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloWorldList.
func (*HelloWorldList) DeepCopyInto ¶
func (in *HelloWorldList) DeepCopyInto(out *HelloWorldList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelloWorldList) DeepCopyObject ¶
func (in *HelloWorldList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelloWorldSpec ¶
type HelloWorldSpec struct { // Size defines the number of HelloWorld instances // The following markers will use OpenAPI v3 schema to validate the value // More info: https://book.kubebuilder.io/reference/markers/crd-validation.html // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=3 // +kubebuilder:validation:ExclusiveMaximum=false Size int32 `json:"size,omitempty"` Text string `json:"text,omitempty"` }
HelloWorldSpec defines the desired state of HelloWorld
func (*HelloWorldSpec) DeepCopy ¶
func (in *HelloWorldSpec) DeepCopy() *HelloWorldSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloWorldSpec.
func (*HelloWorldSpec) DeepCopyInto ¶
func (in *HelloWorldSpec) DeepCopyInto(out *HelloWorldSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelloWorldStatus ¶
type HelloWorldStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
HelloWorldStatus defines the observed state of HelloWorld
func (*HelloWorldStatus) DeepCopy ¶
func (in *HelloWorldStatus) DeepCopy() *HelloWorldStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloWorldStatus.
func (*HelloWorldStatus) DeepCopyInto ¶
func (in *HelloWorldStatus) DeepCopyInto(out *HelloWorldStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.