Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=unagex.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "unagex.com", 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 HostsStatus ¶
type HostsStatus struct { // +kubebuilder:validation:Required HTTP string `json:"HTTP"` // +kubebuilder:validation:Required Metrics string `json:"Metrics"` // +kubebuilder:validation:Required GRPC string `json:"GRPC"` }
func (*HostsStatus) DeepCopy ¶
func (in *HostsStatus) DeepCopy() *HostsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostsStatus.
func (*HostsStatus) DeepCopyInto ¶
func (in *HostsStatus) DeepCopyInto(out *HostsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Immudb ¶
type Immudb struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImmudbSpec `json:"spec"` Status ImmudbStatus `json:"status,omitempty"` }
Immudb is the Schema for the immudbs API
func (*Immudb) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Immudb.
func (*Immudb) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Immudb) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImmudbIngressSpec ¶
type ImmudbIngressSpec struct { // +kubebuilder:validation:Required Enabled bool `json:"enabled"` // +kubebuilder:validation:Optional // +kubebuilder:default=nginx IngressClassName *string `json:"ingressClassName"` // +kubebuilder:validation:Optional TLS []knetworkingv1.IngressTLS `json:"tls"` // +kubebuilder:validation:Optional Host string `json:"host"` }
func (*ImmudbIngressSpec) DeepCopy ¶
func (in *ImmudbIngressSpec) DeepCopy() *ImmudbIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImmudbIngressSpec.
func (*ImmudbIngressSpec) DeepCopyInto ¶
func (in *ImmudbIngressSpec) DeepCopyInto(out *ImmudbIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImmudbList ¶
type ImmudbList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Immudb `json:"items"` }
ImmudbList contains a list of Immudb
func (*ImmudbList) DeepCopy ¶
func (in *ImmudbList) DeepCopy() *ImmudbList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImmudbList.
func (*ImmudbList) DeepCopyInto ¶
func (in *ImmudbList) DeepCopyInto(out *ImmudbList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImmudbList) DeepCopyObject ¶
func (in *ImmudbList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImmudbServiceMonitorSpec ¶
type ImmudbServiceMonitorSpec struct { // +kubebuilder:validation:Required Enabled bool `json:"enabled"` // Labels Prometheus should be configured to watch. // +kubebuilder:validation:Optional Labels map[string]string `json:"labels"` }
func (*ImmudbServiceMonitorSpec) DeepCopy ¶
func (in *ImmudbServiceMonitorSpec) DeepCopy() *ImmudbServiceMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImmudbServiceMonitorSpec.
func (*ImmudbServiceMonitorSpec) DeepCopyInto ¶
func (in *ImmudbServiceMonitorSpec) DeepCopyInto(out *ImmudbServiceMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImmudbSpec ¶
type ImmudbSpec struct { // The image name to use for PostgreSQL containers. // +kubebuilder:default="codenotary/immudb:latest" // +kubebuilder:validation:Optional Image string `json:"image,omitempty"` // ImagePullPolicy is used to determine when Kubernetes will attempt to // pull (download) container images. // +kubebuilder:validation:Enum={Always,Never,IfNotPresent} // +kubebuilder:default="IfNotPresent" // +kubebuilder:validation:Optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` // Number of desired immudb pods. At the moment, you can just have 1 replica of immudb. We are working to raise that limit. // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=1 // +kubebuilder:default=1 // +kubebuilder:validation:Optional Replicas *int32 `json:"replicas"` // +kubebuilder:validation:Required Volume ImmudbVolumeSpec `json:"volume"` // +kubebuilder:validation:Required Ingress ImmudbIngressSpec `json:"ingress"` // +kubebuilder:validation:Required ServiceMonitor ImmudbServiceMonitorSpec `json:"serviceMonitor"` }
ImmudbSpec defines the desired state of Immudb
func (*ImmudbSpec) DeepCopy ¶
func (in *ImmudbSpec) DeepCopy() *ImmudbSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImmudbSpec.
func (*ImmudbSpec) DeepCopyInto ¶
func (in *ImmudbSpec) DeepCopyInto(out *ImmudbSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImmudbStatus ¶
type ImmudbStatus struct { // Number of ready replicas. ReadyReplicas int32 `json:"readyReplicas"` // Instance ready to accept connections. Ready bool `json:"ready"` // Hosts to connect to the database. // +kubebuilder:validation:Optional Hosts *HostsStatus `json:"hosts"` }
ImmudbStatus defines the observed state of Immudb
func (*ImmudbStatus) DeepCopy ¶
func (in *ImmudbStatus) DeepCopy() *ImmudbStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImmudbStatus.
func (*ImmudbStatus) DeepCopyInto ¶
func (in *ImmudbStatus) DeepCopyInto(out *ImmudbStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImmudbVolumeSpec ¶
type ImmudbVolumeSpec struct { // StorageClassName defined for the volume. // +kubebuilder:validation:Optional StorageClassName *string `json:"storageClassName,omitempty"` // Size of the volume. // +kubebuilder:validation:Required // +kubebuilder:validation:Pattern=`^\d+(Gi|Gb|Ki|)$` // +kubebuilder:validation:Pattern=`^\d+(Ki|Mi|Gi|Ti|Pi|Ei|m|k|M|G|T|P|E)$` Size string `json:"size"` }
func (*ImmudbVolumeSpec) DeepCopy ¶
func (in *ImmudbVolumeSpec) DeepCopy() *ImmudbVolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImmudbVolumeSpec.
func (*ImmudbVolumeSpec) DeepCopyInto ¶
func (in *ImmudbVolumeSpec) DeepCopyInto(out *ImmudbVolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.