Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hotdrink v1alpha1 API group +kubebuilder:object:generate=true +groupName=hotdrink.slashpai.github.io
Index ¶
Constants ¶
const ( PhasePending = "PENDING" PhaseRunning = "RUNNING" PhaseDone = "DONE" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hotdrink.slashpai.github.io", 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 Coffee ¶
type Coffee struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CoffeeSpec `json:"spec,omitempty"` Status CoffeeStatus `json:"status,omitempty"` }
Coffee is the Schema for the coffees API
func (*Coffee) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Coffee.
func (*Coffee) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Coffee) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CoffeeList ¶
type CoffeeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Coffee `json:"items"` }
CoffeeList contains a list of Coffee
func (*CoffeeList) DeepCopy ¶
func (in *CoffeeList) DeepCopy() *CoffeeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoffeeList.
func (*CoffeeList) DeepCopyInto ¶
func (in *CoffeeList) DeepCopyInto(out *CoffeeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CoffeeList) DeepCopyObject ¶
func (in *CoffeeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CoffeeSpec ¶
type CoffeeSpec struct { // Coffee Type Type string `json:"type,omitempty"` // Sugar needed? Sugar bool `json:"sugar,omitempty"` // Extra latte? ExtraLatte bool `json:"extralatte,omitempty"` // Recipe Recipe string `json:"recipe,omitempty"` }
CoffeeSpec defines the desired state of Coffee
func (*CoffeeSpec) DeepCopy ¶
func (in *CoffeeSpec) DeepCopy() *CoffeeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoffeeSpec.
func (*CoffeeSpec) DeepCopyInto ¶
func (in *CoffeeSpec) DeepCopyInto(out *CoffeeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoffeeStatus ¶
type CoffeeStatus struct { }
CoffeeStatus defines the observed state of Coffee
func (*CoffeeStatus) DeepCopy ¶
func (in *CoffeeStatus) DeepCopy() *CoffeeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoffeeStatus.
func (*CoffeeStatus) DeepCopyInto ¶
func (in *CoffeeStatus) DeepCopyInto(out *CoffeeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tea ¶
type Tea struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TeaSpec `json:"spec,omitempty"` Status TeaStatus `json:"status,omitempty"` }
Tea is the Schema for the teas API
func (*Tea) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tea.
func (*Tea) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tea) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeaList ¶
type TeaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tea `json:"items"` }
TeaList contains a list of Tea
func (*TeaList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeaList.
func (*TeaList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeaList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeaSpec ¶
type TeaSpec struct { // Tea type Type string `json:"type,omitempty"` // Sugar needed? Sugar bool `json:"sugar,omitempty"` // Recipe Recipe string `json:"recipe,omitempty"` }
TeaSpec defines the desired state of Tea
func (*TeaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeaSpec.
func (*TeaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeaStatus ¶
type TeaStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // Phase represents the state of the schedule: until the recipe is // executed it is PENDING, afterwards it is DONE. Phase string `json:"phase,omitempty"` }
TeaStatus defines the observed state of Tea
func (*TeaStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeaStatus.
func (*TeaStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.