Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the webapp v1 API group +kubebuilder:object:generate=true +groupName=webapp.tsutsumi.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "webapp.tsutsumi.io", 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 Guestbook ¶
type Guestbook struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GuestbookSpec `json:"spec,omitempty"`
Status GuestbookStatus `json:"status,omitempty"`
}
Guestbook is the Schema for the guestbooks API
func (*Guestbook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Guestbook.
func (*Guestbook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Guestbook) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GuestbookList ¶
type GuestbookList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Guestbook `json:"items"`
}
GuestbookList contains a list of Guestbook
func (*GuestbookList) DeepCopy ¶
func (in *GuestbookList) DeepCopy() *GuestbookList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestbookList.
func (*GuestbookList) DeepCopyInto ¶
func (in *GuestbookList) DeepCopyInto(out *GuestbookList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GuestbookList) DeepCopyObject ¶
func (in *GuestbookList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GuestbookSpec ¶
type GuestbookSpec struct {
// Foo is an example field of Guestbook. Edit guestbook_types.go to remove/update
Foo string `json:"foo,omitempty"`
// FooRef is a reference to a specific object
FooRef SingleResourceRef `json:"fooRef,omitempty"`
}
GuestbookSpec defines the desired state of Guestbook
func (*GuestbookSpec) DeepCopy ¶
func (in *GuestbookSpec) DeepCopy() *GuestbookSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestbookSpec.
func (*GuestbookSpec) DeepCopyInto ¶
func (in *GuestbookSpec) DeepCopyInto(out *GuestbookSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GuestbookStatus ¶
type GuestbookStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// Important: Run "make" to regenerate code after modifying this file
// +patchMergeKey=type
// +patchStrategy=merge
// +listType=map
// +listMapKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
GuestbookStatus defines the observed state of Guestbook
func (*GuestbookStatus) DeepCopy ¶
func (in *GuestbookStatus) DeepCopy() *GuestbookStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestbookStatus.
func (*GuestbookStatus) DeepCopyInto ¶
func (in *GuestbookStatus) DeepCopyInto(out *GuestbookStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hotel ¶
type Hotel struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec HotelSpec `json:"spec,omitempty"`
Status HotelStatus `json:"status,omitempty"`
}
Hotel is the Schema for the hotels API
func (*Hotel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hotel.
func (*Hotel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hotel) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HotelList ¶
type HotelList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Hotel `json:"items"`
}
HotelList contains a list of Hotel
func (*HotelList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HotelList.
func (*HotelList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HotelList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HotelSpec ¶
type HotelSpec struct {
// ok will be a signal to dependent objects (Guestbook) that the
// object is ready to go
Ok bool `json:"ok"`
}
HotelSpec defines the desired state of Hotel
func (*HotelSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HotelSpec.
func (*HotelSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HotelStatus ¶
type HotelStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +patchMergeKey=type
// +patchStrategy=merge
// +listType=map
// +listMapKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
HotelStatus defines the observed state of Hotel
func (*HotelStatus) DeepCopy ¶
func (in *HotelStatus) DeepCopy() *HotelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HotelStatus.
func (*HotelStatus) DeepCopyInto ¶
func (in *HotelStatus) DeepCopyInto(out *HotelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SingleResourceRef ¶
SingleResourceRef is a struct to contain the information required to reference a single resource type
func (*SingleResourceRef) DeepCopy ¶
func (in *SingleResourceRef) DeepCopy() *SingleResourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleResourceRef.
func (*SingleResourceRef) DeepCopyInto ¶
func (in *SingleResourceRef) DeepCopyInto(out *SingleResourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.