v1

package
v0.0.0-...-0e20333 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 4 Imported by: 0

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

View Source
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

func (in *Fridge) DeepCopy() *Fridge

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fridge.

func (*Fridge) DeepCopyInto

func (in *Fridge) DeepCopyInto(out *Fridge)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Fridge) DeepCopyObject

func (in *Fridge) DeepCopyObject() runtime.Object

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL