Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the demo v1alpha1 API group +kubebuilder:object:generate=true +groupName=demo.c930.net
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "demo.c930.net", 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 Sleep ¶
type Sleep struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SleepSpec `json:"spec,omitempty"` Status SleepStatus `json:"status,omitempty"` }
Sleep is the Schema for the sleeps API
func (*Sleep) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sleep.
func (*Sleep) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Sleep) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SleepList ¶
type SleepList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Sleep `json:"items"` }
SleepList contains a list of Sleep
func (*SleepList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SleepList.
func (*SleepList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SleepList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SleepSpec ¶
type SleepSpec struct { // Duration in seconds for which the operator should sleep Duration int `json:"duration,omitempty"` }
SleepSpec defines the desired state of Sleep
func (*SleepSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SleepSpec.
func (*SleepSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SleepStatus ¶
type SleepStatus struct { }
SleepStatus defines the observed state of Sleep
func (*SleepStatus) DeepCopy ¶
func (in *SleepStatus) DeepCopy() *SleepStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SleepStatus.
func (*SleepStatus) DeepCopyInto ¶
func (in *SleepStatus) DeepCopyInto(out *SleepStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.