Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the iot v1 API group +kubebuilder:object:generate=true +groupName=iot.ctison.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "iot.ctison.dev", 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 )
Functions ¶
This section is empty.
Types ¶
type Fridge ¶
type Fridge struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FridgeSpec `json:"spec,omitempty"` Status FridgeStatus `json:"status,omitempty"` }
Fridge is the Schema for the fridges API +kubebuilder:printcolumn:name="Topic",type=string,JSONPath=`.spec.topic`
func (*Fridge) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fridge.
func (*Fridge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fridge) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FridgeList ¶
type FridgeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Fridge `json:"items"` }
FridgeList contains a list of Fridge
func (*FridgeList) DeepCopy ¶
func (in *FridgeList) DeepCopy() *FridgeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FridgeList.
func (*FridgeList) DeepCopyInto ¶
func (in *FridgeList) DeepCopyInto(out *FridgeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FridgeList) DeepCopyObject ¶
func (in *FridgeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FridgeSpec ¶
type FridgeSpec struct { // MQTT topic of the fridge to monitor. // +kubebuilder:validation:Required Topic string `json:"topic"` }
FridgeSpec defines the desired state of Fridge
func (*FridgeSpec) DeepCopy ¶
func (in *FridgeSpec) DeepCopy() *FridgeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FridgeSpec.
func (*FridgeSpec) DeepCopyInto ¶
func (in *FridgeSpec) DeepCopyInto(out *FridgeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FridgeStatus ¶
type FridgeStatus struct { }
FridgeStatus defines the observed state of Fridge
func (*FridgeStatus) DeepCopy ¶
func (in *FridgeStatus) DeepCopy() *FridgeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FridgeStatus.
func (*FridgeStatus) DeepCopyInto ¶
func (in *FridgeStatus) DeepCopyInto(out *FridgeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.