Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +kubebuilder:object:generate=true +groupName=cache.app.com
Index ¶
- Variables
- type Memcached
- func (in *Memcached) DeepCopy() *Memcached
- func (in *Memcached) DeepCopyInto(out *Memcached)
- func (in *Memcached) DeepCopyObject() runtime.Object
- func (r *Memcached) Default()
- func (r *Memcached) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Memcached) ValidateCreate() error
- func (r *Memcached) ValidateDelete() error
- func (r *Memcached) ValidateUpdate(old runtime.Object) error
- type MemcachedList
- type MemcachedSpec
- type MemcachedStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cache.app.com", 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 Memcached ¶
type Memcached struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MemcachedSpec `json:"spec,omitempty"` Status MemcachedStatus `json:"status,omitempty"` }
Memcached is the Schema for the memcacheds API
func (*Memcached) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memcached.
func (*Memcached) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Memcached) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Memcached) Default ¶
func (r *Memcached) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Memcached) SetupWebhookWithManager ¶
func (*Memcached) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Memcached) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type MemcachedList ¶
type MemcachedList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Memcached `json:"items"` }
MemcachedList contains a list of Memcached
func (*MemcachedList) DeepCopy ¶
func (in *MemcachedList) DeepCopy() *MemcachedList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedList.
func (*MemcachedList) DeepCopyInto ¶
func (in *MemcachedList) DeepCopyInto(out *MemcachedList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcachedList) DeepCopyObject ¶
func (in *MemcachedList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcachedSpec ¶
type MemcachedSpec struct {
Size int32 `json:"size"`
}
MemcachedSpec defines the desired state of Memcached
func (*MemcachedSpec) DeepCopy ¶
func (in *MemcachedSpec) DeepCopy() *MemcachedSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedSpec.
func (*MemcachedSpec) DeepCopyInto ¶
func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcachedStatus ¶
type MemcachedStatus struct {
Nodes []string `json:"nodes"`
}
MemcachedStatus defines the observed state of Memcached
func (*MemcachedStatus) DeepCopy ¶
func (in *MemcachedStatus) DeepCopy() *MemcachedStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedStatus.
func (*MemcachedStatus) DeepCopyInto ¶
func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.