Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the urans.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=urans.io.urans.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "urans.io.urans.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 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
type MemcachedList ¶
type MemcachedList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Memcached `json:"items"` }
MemcachedList contains a list of Memcached
type MemcachedSpec ¶
type MemcachedSpec struct { // Size defines the number of Memcached 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=3 // +kubebuilder:validation:ExclusiveMaximum=false Size int32 `json:"size,omitempty"` // Port defines the port that will be used to init the container with the image ContainerPort int32 `json:"containerPort,omitempty"` }
MemcachedSpec defines the desired state of Memcached
type MemcachedStatus ¶
type MemcachedStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
MemcachedStatus defines the observed state of Memcached
Click to show internal directories.
Click to hide internal directories.