Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the adminer v1 API group +kubebuilder:object:generate=true +groupName=adminer.db.sealos.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "adminer.db.sealos.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 Adminer ¶
type Adminer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AdminerSpec `json:"spec,omitempty"` Status AdminerStatus `json:"status,omitempty"` }
Adminer is the Schema for the adminers API
func (*Adminer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Adminer.
func (*Adminer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Adminer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdminerList ¶
type AdminerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Adminer `json:"items"` }
AdminerList contains a list of Adminer
func (*AdminerList) DeepCopy ¶
func (in *AdminerList) DeepCopy() *AdminerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminerList.
func (*AdminerList) DeepCopyInto ¶
func (in *AdminerList) DeepCopyInto(out *AdminerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdminerList) DeepCopyObject ¶
func (in *AdminerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdminerSpec ¶
type AdminerSpec struct { //+kubebuilder:validation:Required Connections []string `json:"connections"` //+kubebuilder:validation:Required Keepalived string `json:"keepalived"` //+kubebuilder:validation:Optional //+kubebuilder:default=nginx IngressType IngressType `json:"ingressType"` }
AdminerSpec defines the desired state of Adminer
func (*AdminerSpec) DeepCopy ¶
func (in *AdminerSpec) DeepCopy() *AdminerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminerSpec.
func (*AdminerSpec) DeepCopyInto ¶
func (in *AdminerSpec) DeepCopyInto(out *AdminerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdminerStatus ¶
type AdminerStatus struct { AvailableReplicas int32 `json:"availableReplicas"` Domain string `json:"domain"` }
AdminerStatus defines the observed state of Adminer
func (*AdminerStatus) DeepCopy ¶
func (in *AdminerStatus) DeepCopy() *AdminerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminerStatus.
func (*AdminerStatus) DeepCopyInto ¶
func (in *AdminerStatus) DeepCopyInto(out *AdminerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressType ¶
type IngressType string
+kubebuilder:validation:Enum=nginx
const (
Nginx IngressType = "nginx"
)