package
1.10.0
Repository: https://github.com/kloeckner-i/db-operator.git
Documentation: pkg.go.dev

# Variables

AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

BackendServer defines backend database server.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=db +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`,description="current db phase" +kubebuilder:printcolumn:name="Status",type=boolean,JSONPath=`.status.status`,description="current db status" +kubebuilder:printcolumn:name="Protected",type=boolean,JSONPath=`.spec.deletionProtected`,description="If database is protected to not get deleted." +kubebuilder:printcolumn:name="DBInstance",type=string,JSONPath=`.spec.instance`,description="instance reference" +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="time since creation of resource" +kubebuilder:storageversion Database is the Schema for the databases API.
DatabaseBackup defines the desired state of backup and schedule.
DatabaseList contains a list of Database.
DatabaseProxyStatus defines whether proxy for database is enabled or not if so, provide information.
DatabaseSpec defines the desired state of Database.
DatabaseStatus defines the observed state of Database.
DbInstance is the Schema for the dbinstances API.
DbInstanceBackup defines name of google bucket to use for storing database dumps for backup when backup is enabled.
DbInstanceList contains a list of DbInstance.
DbInstanceMonitoring defines if exporter.
DbInstanceSource represents the source of a instance.
DbInstanceSpec defines the desired state of DbInstance.
DbInstanceSSLConnection defines weather connection from db-operator to instance has to be ssl or not.
DbInstanceStatus defines the observed state of DbInstance.
GenericInstance is used when instance type is generic and describes necessary informations to use instance generic instance can be any backend, it must be reachable by described address and port.
GoogleInstance is used when instance type is Google Cloud SQL and describes necessary informations to use google API to create sql instances.
NamespacedName is a fork of the kubernetes api type of the same name.
Postgres struct should be used to provide resource that only applicable to postgres.