Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the postgresql v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=postgresql.dev4devs.com
Package v1alpha1 contains API Schema definitions for the postgresql v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=postgresql.dev4devs.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "postgresql.dev4devs.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Backup ¶
type Backup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BackupSpec `json:"spec,omitempty"`
Status BackupStatus `json:"status,omitempty"`
}
+k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=backups,scope=Namespaced +kubebuilder:subresource:status +operator-sdk:gen-csv:customresourcedefinitions.displayName="Database Backup" +operator-sdk:gen-csv:customresourcedefinitions.resources="CronJob,v1beta1,\"A Kubernetes Deployment\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Service,v1,\"A Kubernetes Service\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="PersistentVolumeClaim,v1,\"A Kubernetes PersistentVolumeClaim\""
func (*Backup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.
func (*Backup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backup) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupList ¶
type BackupList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Backup `json:"items"`
}
BackupList contains a list of Backup
func (*BackupList) DeepCopy ¶
func (in *BackupList) DeepCopy() *BackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList.
func (*BackupList) DeepCopyInto ¶
func (in *BackupList) DeepCopyInto(out *BackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupList) DeepCopyObject ¶
func (in *BackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupSpec ¶
type BackupSpec struct {
// Name of the Database CR applied which this backup will work with
// Default Value: "database"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Name of Database CR"
DatabaseCRName string `json:"databaseCRName,omitempty"`
// Schedule period for the CronJob.
// Default Value: <0 0 * * *> daily at 00:00
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
Schedule string `json:"schedule,omitempty"`
// Image:tag used to do the backup.
// Default Value: <quay.io/integreatly/backup-container:1.0.8>
// More Info: https://github.com/integr8ly/backup-container-image
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Image:tag"
Image string `json:"image,omitempty"`
// Database version. (E.g 9.6).
// Default Value: <9.6>
// IMPORTANT: Just the first 2 digits should be used.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Databaseversion"
DatabaseVersion string `json:"databaseVersion,omitempty"`
// Used to create the directory where the files will be stored
// Default Value: <postgresql>
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="AWS tag name"
ProductName string `json:"productName,omitempty"`
// Name of AWS S3 storage.
// Default Value: nil
// Required to create the Secret with the AWS data to allow send the backup files to AWS S3 storage.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="AWS S3 Bucket name"
AwsS3BucketName string `json:"awsS3BucketName,omitempty"`
// Key ID of AWS S3 storage.
// Default Value: nil
// Required to create the Secret with the data to allow send the backup files to AWS S3 storage.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="AWS S3 accessKey/token ID"
AwsAccessKeyId string `json:"awsAccessKeyId,omitempty"`
// Secret/Token of AWS S3 storage.
// Default Value: nil
// Required to create the Secret with the data to allow send the backup files to AWS S3 storage.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="AWS S3 accessKey/token"
AwsSecretAccessKey string `json:"awsSecretAccessKey,omitempty"`
// Name of the secret with the AWS data credentials pre-existing in the cluster
// Default Value: nil
// See here the template: https://github.com/integr8ly/backup-container-image/blob/master/templates/openshift/sample-config/s3-secret.yaml
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="AWS Secret name:"
AwsSecretName string `json:"awsSecretName,omitempty"`
// Namespace of the secret with the AWS data credentials pre-existing in the cluster
// Default Value: nil
// NOTE: If the namespace be not informed then the operator will try to find it in the same namespace where it is applied
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="AWS Secret namespace:"
AwsSecretNamespace string `json:"awsSecretNamespace,omitempty"`
// Name of the secret with the Encrypt data pre-existing in the cluster
// Default Value: nil
// See here the template: https://github.com/integr8ly/backup-container-image/blob/master/templates/openshift/sample-config/gpg-secret.yaml
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="EncryptKey Secret name:"
EncryptKeySecretName string `json:"encryptKeySecretName,omitempty"`
// Namespace of the secret with the Encrypt data pre-existing in the cluster
// Default Value: nil
// NOTE: If the namespace be not informed then the operator will try to find it in the same namespace where it is applied
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="EncryptKey Secret namespace:"
EncryptKeySecretNamespace string `json:"encryptKeySecretNamespace,omitempty"`
// GPG public key to create the EncryptionKeySecret with this data
// Default Value: nil
// See here how to create this key : https://help.github.com/en/articles/generating-a-new-gpg-key
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Gpg public key:"
GpgPublicKey string `json:"gpgPublicKey,omitempty"`
// GPG email to create the EncryptionKeySecret with this data
// Default Value: nil
// See here how to create this key : https://help.github.com/en/articles/generating-a-new-gpg-key
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Gpg public email:"
GpgEmail string `json:"gpgEmail,omitempty"`
// GPG trust model to create the EncryptionKeySecret with this data. the default value is true when it is empty.
// Default Value: nil
// See here how to create this key : https://help.github.com/en/articles/generating-a-new-gpg-key
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Gpg trust model:"
GpgTrustModel string `json:"gpgTrustModel,omitempty"`
}
BackupSpec defines the desired state of Backup +k8s:openapi-gen=true
func (*BackupSpec) DeepCopy ¶
func (in *BackupSpec) DeepCopy() *BackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
func (*BackupSpec) DeepCopyInto ¶
func (in *BackupSpec) DeepCopyInto(out *BackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupStatus ¶
type BackupStatus struct {
// Will be as "OK when all objects are created successfully
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Backup Status"
BackupStatus string `json:"backupStatus"`
// Name of the CronJob object created and managed by it to schedule the backup job
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="CronJob Name"
CronJobName string `json:"cronJobName"`
// Name of the secret object created with the database data to allow the backup image connect to the database
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Database Secret Name"
DBSecretName string `json:"dbSecretName"`
// Name of the secret object with the Aws data to allow send the backup files to the AWS storage
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="AWS Secret Name"
AWSSecretName string `json:"awsSecretName"`
// Namespace of the secret object with the Aws data to allow send the backup files to the AWS storage
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="AWS Secret Namespace"
AwsCredentialsSecretNamespace string `json:"awsCredentialsSecretNamespace"`
// Name of the secret object with the Encryption GPG Key
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Encryption GPG Secret Name"
EncryptKeySecretName string `json:"encryptKeySecretName"`
// Namespace of the secret object with the Encryption GPG Key
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Encryption GPG Secret Namespace"
EncryptKeySecretNamespace string `json:"encryptKeySecretNamespace"`
// Boolean value which has true when it has an EncryptionKey to be used to send the backup files
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Is Encryption GPG Key configure?"
HasEncryptKey bool `json:"hasEncryptKey"`
// Boolean value which has true when the Database Pod was found in order to create the secret with the database data to allow the backup image connect into it.
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Is the Database Pod found?"
IsDatabasePodFound bool `json:"isDatabasePodFound"`
// Boolean value which has true when the Service Database Pod was found in order to create the secret with the database data to allow the backup image connect into it.
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Is the Database Service found?"
IsDatabaseServiceFound bool `json:"isDatabaseServiceFound"`
// Status of the CronJob object
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="v1beta1.CronJobStatus"
CronJobStatus v1beta1.CronJobStatus `json:"cronJobStatus"`
}
BackupStatus defines the observed state of Backup +k8s:openapi-gen=true
func (*BackupStatus) DeepCopy ¶
func (in *BackupStatus) DeepCopy() *BackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus.
func (*BackupStatus) DeepCopyInto ¶
func (in *BackupStatus) DeepCopyInto(out *BackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Database ¶
type Database struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DatabaseSpec `json:"spec,omitempty"`
Status DatabaseStatus `json:"status,omitempty"`
}
+k8s:openapi-gen=true +kubebuilder:subresource:status +operator-sdk:gen-csv:customresourcedefinitions.displayName="Database Database" +operator-sdk:gen-csv:customresourcedefinitions.resources="Deployment,v1,\"A Kubernetes Deployment\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Service,v1,\"A Kubernetes Service\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="PersistentVolumeClaim,v1,\"A Kubernetes PersistentVolumeClaim\""
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseList ¶
type DatabaseList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Database `json:"items"`
}
DatabaseList contains a list of Database
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSpec ¶
type DatabaseSpec struct {
// Value for the Database Environment Variable (spec.databaseNameKeyEnvVar).
// Default value: example
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database Name"
DatabaseName string `json:"databaseName,omitempty"`
// Value for the Database Environment Variable (spec.databasePasswordKeyEnvVar).
// Default value: postgres
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database Password"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:password"
DatabasePassword string `json:"databasePassword,omitempty"`
// Value for the Database Environment Variable (spec.databaseUserKeyEnvVar).
// Default value: postgres
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database User"
DatabaseUser string `json:"databaseUser,omitempty"`
// Key Value for the Database Environment Variable in order to inform the database mame
// Note that each database version/image can expected a different value for it.
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="EnvVar Key (Database Name)"
DatabaseNameKeyEnvVar string `json:"databaseNameKeyEnvVar,omitempty"`
// Key Value for the Database Environment Variable in order to inform the database password
// Note that each database version/image can expected a different value for it.
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="EnvVar Key (Database Password)"
DatabasePasswordKeyEnvVar string `json:"databasePasswordKeyEnvVar,omitempty"`
// Key Value for the Database Environment Variable in order to inform the database user
// Note that each database version/image can expected a different value for it.
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="EnvVar Key (Database User)"
DatabaseUserKeyEnvVar string `json:"databaseUserKeyEnvVar,omitempty"`
// Value for the Database Environment Variable in order to define the port which it should use. It will be used in its container as well
DatabasePort int32 `json:"databasePort,omitempty"`
// Quantity of instances
// Default value: 1
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
Size int32 `json:"size,omitempty"`
// Database image:tag
// Default value: centos/postgresql-96-centos7
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Image:tag"
Image string `json:"image,omitempty"`
// Name to create the Database container
ContainerName string `json:"containerName,omitempty"`
// Limit of Memory which will be available for the database container
// Default value: 512Mi
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database Memory Limit"
DatabaseMemoryLimit string `json:"databaseMemoryLimit,omitempty"`
// Limit of Memory Request which will be available for the database container
// Default value: 128Mi
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database Memory Request"
DatabaseMemoryRequest string `json:"databaseMemoryRequest,omitempty"`
// Limit of Storage Request which will be available for the database container
// Default value: 1Gi
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database Storage Request"
DatabaseStorageRequest string `json:"databaseStorageRequest,omitempty"`
// CPU resource request which will be available for the database container
// Default value: 10Mi
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database CPU"
DatabaseCpu string `json:"databaseCpu,omitempty"`
// Limit of CPU request which will be available for the database container
// Default value: 20Mi
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Database CPU Limit"
DatabaseCpuLimit string `json:"databaseCpuLimit,omitempty"`
// Policy definition to pull the Database Image
// More info: https://kubernetes.io/docs/concepts/containers/images/
// Default value:
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Container Image Pull Policy"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:imagePullPolicy"
ContainerImagePullPolicy v1.PullPolicy `json:"containerImagePullPolicy,omitempty"`
// Name of the ConfigMap where the operator should looking for the EnvVars keys and/or values only
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap name"
ConfigMapName string `json:"configMapName,omitempty"`
// Name the Storage Class name of the PVC which will be created for the Database
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
// Default value: standard
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap name"
DatabaseStorageClassName string `json:"databaseStorageClassName,omitempty"`
// Name of the configMap key where the operator should looking for the value for the database name for its env var
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap Database Key"
ConfigMapDatabaseNameKey string `json:"configMapDatabaseNameKey,omitempty"`
// Name of the configMap key where the operator should looking for the value for the database user for its env var
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap Password Key"
ConfigMapDatabasePasswordKey string `json:"configMapDatabasePasswordKey,omitempty"`
// Name of the configMap key where the operator should looking for the value for the database password for its env var
// Default value: nil
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap User Key"
ConfigMapDatabaseUserKey string `json:"configMapDatabaseUserKey,omitempty"`
}
DatabaseSpec defines the desired state of Database +k8s:openapi-gen=true
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus struct {
// Name of the PersistentVolumeClaim created and managed by it
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="v1.PersistentVolumeClaimStatus"
PVCStatus v1.PersistentVolumeClaimStatus `json:"pvcStatus"`
// Status of the Database Deployment created and managed by it
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="appsv1.DeploymentStatus"
DeploymentStatus appsv1.DeploymentStatus `json:"deploymentStatus"`
// Status of the Database Service created and managed by it
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="v1.ServiceStatus"
ServiceStatus v1.ServiceStatus `json:"serviceStatus"`
// It will be as "OK when all objects are created successfully
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Database Status"
DatabaseStatus string `json:"databaseStatus"`
}
DatabaseStatus defines the observed state of Database +k8s:openapi-gen=true
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.