package
4.1.0-rc3+incompatible
Repository: https://github.com/jmccormick2001/postgres-operator.git
Documentation: pkg.go.dev

# Functions

CopySecrets will copy a secret to another secret.
CreateBackrestPVCSnippet.
CreateBackupPVCSnippet generates the PVC definition fragment.
CreatePVCSnippet generates the PVC json snippet.
CreateSecContext will generate the JSON security context fragment for a storage type.
CreateSecret create the secret, user, and primary secrets.
CreateUserSecret will create a new secret holding a user credential.
DrainDeployment will drain a deployment to 0 pods.
ExecPolicy execute a sql policy against a cluster.
GeneratePassword generate a password of a given length.
GenerateRandString generate a rand lowercase string of a given length.
GetBestTarget.
GetLabels ...
Generates an Md5Hash.
GetPasswordFromSecret will fetch the username, password from a user secret.
GetPod determines the best target to fail to.
GetPolicySQL returns the SQL string from a policy.
No description provided by the author
No description provided by the author
No description provided by the author
GetSecretPassword ...
NewClient gets a REST connection to Kube.
Patch will patch a particular resource.
PatchClusterCRD patches the pgcluster CRD.
RandStringBytesRmndr ...
RunPsql runs a psql statement.
ScaleDeployment will increase the number of pods in a deployment.
UpdatePolicyLabels ...
UpdateUserSecret updates a user secret with a new password.
ValidatePolicy tests to see if a policy exists.
WaitUntilDeploymentIsDeleted timeout := time.Minute.
WaitUntilPod ...podPhase is v1.PodRunningtimeout := time.Minute.
WaitUntilPodIsDeleted timeout := time.Minute.

# Structs

No description provided by the author
ThingSpec is a json patch structure.