v1alpha1

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

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
const (
	PhasePending = "PENDING"
	PhaseRunning = "RUNNING"
	PhaseDone    = "DONE"
)

Variables

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

func (in *Coffee) DeepCopy() *Coffee

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

func (*Coffee) DeepCopyInto

func (in *Coffee) DeepCopyInto(out *Coffee)

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

func (*Coffee) DeepCopyObject

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

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

func (in *Tea) DeepCopy() *Tea

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

func (*Tea) DeepCopyInto

func (in *Tea) DeepCopyInto(out *Tea)

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

func (*Tea) DeepCopyObject

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

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

func (in *TeaList) DeepCopy() *TeaList

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

func (*TeaList) DeepCopyInto

func (in *TeaList) DeepCopyInto(out *TeaList)

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

func (*TeaList) DeepCopyObject

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

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

func (in *TeaSpec) DeepCopy() *TeaSpec

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

func (*TeaSpec) DeepCopyInto

func (in *TeaSpec) DeepCopyInto(out *TeaSpec)

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

func (in *TeaStatus) DeepCopy() *TeaStatus

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

func (*TeaStatus) DeepCopyInto

func (in *TeaStatus) DeepCopyInto(out *TeaStatus)

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