Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +kubebuilder:object:generate=true +groupName=cache.yasensim.net
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cache.yasensim.net", 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 Memcaches ¶
type Memcaches struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MemcachesSpec `json:"spec,omitempty"` Status MemcachesStatus `json:"status,omitempty"` }
Memcaches is the Schema for the memcaches API
func (*Memcaches) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memcaches.
func (*Memcaches) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Memcaches) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcachesList ¶
type MemcachesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Memcaches `json:"items"` }
MemcachesList contains a list of Memcaches
func (*MemcachesList) DeepCopy ¶
func (in *MemcachesList) DeepCopy() *MemcachesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachesList.
func (*MemcachesList) DeepCopyInto ¶
func (in *MemcachesList) DeepCopyInto(out *MemcachesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcachesList) DeepCopyObject ¶
func (in *MemcachesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcachesSpec ¶
type MemcachesSpec struct { // Size defines the number of Memcaches instances // The following markers will use OpenAPI v3 schema to validate the value // More info: https://book.kubebuilder.io/reference/markers/crd-validation.html // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=5 // +kubebuilder:validation:ExclusiveMaximum=false Size int32 `json:"size,omitempty"` }
MemcachesSpec defines the desired state of Memcaches
func (*MemcachesSpec) DeepCopy ¶
func (in *MemcachesSpec) DeepCopy() *MemcachesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachesSpec.
func (*MemcachesSpec) DeepCopyInto ¶
func (in *MemcachesSpec) DeepCopyInto(out *MemcachesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachesStatus ¶
type MemcachesStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
MemcachesStatus defines the observed state of Memcaches
func (*MemcachesStatus) DeepCopy ¶
func (in *MemcachesStatus) DeepCopy() *MemcachesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachesStatus.
func (*MemcachesStatus) DeepCopyInto ¶
func (in *MemcachesStatus) DeepCopyInto(out *MemcachesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.