v1

package
v0.0.0-...-e191437 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *Adminer) DeepCopy() *Adminer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Adminer.

func (*Adminer) DeepCopyInto

func (in *Adminer) DeepCopyInto(out *Adminer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Adminer) DeepCopyObject

func (in *Adminer) DeepCopyObject() runtime.Object

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL