Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the bytebase v2 API group +kubebuilder:object:generate=true +groupName=bytebase.db.sealos.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "bytebase.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 Bytebase ¶
type Bytebase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BytebaseSpec `json:"spec,omitempty"` Status BytebaseStatus `json:"status,omitempty"` }
Bytebase is the Schema for the bytebases API
func (*Bytebase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bytebase.
func (*Bytebase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bytebase) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BytebaseList ¶
type BytebaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Bytebase `json:"items"` }
BytebaseList contains a list of Bytebase
func (*BytebaseList) DeepCopy ¶
func (in *BytebaseList) DeepCopy() *BytebaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BytebaseList.
func (*BytebaseList) DeepCopyInto ¶
func (in *BytebaseList) DeepCopyInto(out *BytebaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BytebaseList) DeepCopyObject ¶
func (in *BytebaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BytebaseSpec ¶
type BytebaseSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file // +kubebuilder:validation:Required Image string `json:"image"` // +kubebuilder:validation:Required Replicas *int32 `json:"replicas"` // +kubebuilder:validation:Required Keepalived string `json:"keepalived"` // +kubebuilder:validation:Optional // +kubebuilder:default=nginx IngressType IngressType `json:"ingressType"` // +kubebuilder:validation:Required // +kubebuilder:default=8080 Port intstr.IntOrString `json:"port"` }
BytebaseSpec defines the desired state of Bytebase
func (*BytebaseSpec) DeepCopy ¶
func (in *BytebaseSpec) DeepCopy() *BytebaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BytebaseSpec.
func (*BytebaseSpec) DeepCopyInto ¶
func (in *BytebaseSpec) DeepCopyInto(out *BytebaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BytebaseStatus ¶
type BytebaseStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file AvailableReplicas int32 `json:"availableReplicas"` Domain string `json:"domain"` // +kubebuilder:validation:Optional LoginCookie api.LoginCookie `json:"loginCookie"` // +kubebuilder:validation:Optional RootPassword string `json:"rootPassword"` }
BytebaseStatus defines the observed state of Bytebase
func (*BytebaseStatus) DeepCopy ¶
func (in *BytebaseStatus) DeepCopy() *BytebaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BytebaseStatus.
func (*BytebaseStatus) DeepCopyInto ¶
func (in *BytebaseStatus) DeepCopyInto(out *BytebaseStatus)
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"
)