Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pgadmin v1alpha1 API group +kubebuilder:object:generate=true +groupName=pgadmin.dhope-nagesh.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "pgadmin.dhope-nagesh.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 Pgadmin ¶
type Pgadmin struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PgadminSpec `json:"spec,omitempty"`
Status PgadminStatus `json:"status,omitempty"`
}
Pgadmin is the Schema for the pgadmins API +kubebuilder:printcolumn:name="Replicas",type=integer,JSONPath=`.spec.replicas` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Pgadmin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pgadmin.
func (*Pgadmin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pgadmin) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PgadminList ¶
type PgadminList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Pgadmin `json:"items"`
}
PgadminList contains a list of Pgadmin
func (*PgadminList) DeepCopy ¶
func (in *PgadminList) DeepCopy() *PgadminList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgadminList.
func (*PgadminList) DeepCopyInto ¶
func (in *PgadminList) DeepCopyInto(out *PgadminList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PgadminList) DeepCopyObject ¶
func (in *PgadminList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PgadminSpec ¶
type PgadminSpec struct {
//+kubebuilder:default:=1
//+kubebuilder:validation:Minimum:=1
Replicas int32 `json:"replicas"`
//+kubebuilder:validation:Required
CredsSecretName string `json:"credsSecretName"`
}
PgadminSpec defines the desired state of Pgadmin
func (*PgadminSpec) DeepCopy ¶
func (in *PgadminSpec) DeepCopy() *PgadminSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgadminSpec.
func (*PgadminSpec) DeepCopyInto ¶
func (in *PgadminSpec) DeepCopyInto(out *PgadminSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PgadminStatus ¶
type PgadminStatus struct {
}
PgadminStatus defines the observed state of Pgadmin
func (*PgadminStatus) DeepCopy ¶
func (in *PgadminStatus) DeepCopy() *PgadminStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgadminStatus.
func (*PgadminStatus) DeepCopyInto ¶
func (in *PgadminStatus) DeepCopyInto(out *PgadminStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.