# Functions
annotationsForCluster returns the annotations for all cluster resources.
AppendStringMap will append the map `add` to the given map `src` and return the result.
CombineImageTag will return the combined image and tag in the proper format for tags and digests.
CreateEvent will create a new Kubernetes Event with the given action, message, reason and involved uid.
No description provided by the author
No description provided by the author
DefaultPVCResources will return the default PVC resources.
EncodeCertificatePEM encodes the given certificate pem and returns bytes (base64).
EncodePrivateKeyPEM encodes the given private key pem and returns bytes (base64).
EnvMerge merges two slices of EnvVar entries into a single one.
FetchObject will retrieve the object with the given namespace and name using the Kubernetes API.
FetchSecret will retrieve the object with the given Name using the provided client.
FetchStorageSecretName will return the name of the Secret to use for the export process.
IsAPIRegistered returns true if the API is registered irrespective of whether the API status is available or not.
IsObjectFound will perform a basic check that the given object exists via the Kubernetes API.
LabelsForCluster returns the labels for all cluster resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NameWithSuffix will return a string using the Name from the given ObjectMeta with the provded suffix appended.
NewPersistentVolumeClaim returns a new PersistentVolumeClaim instance for the ObjectMeta resource.
NewPersistentVolumeClaimWithName returns a new PersistentVolumeClaim instance with the given name.
NewPrivateKey returns randomly generated RSA private key.
NewSecret returns a new Secret based on the given metadata.
NewSecretWithName returns a new Secret based on the given metadata with the provided Name.
NewSecretWithSuffix returns a new Secret based on the given metadata with the provided suffix on the Name.
NewSelfSignedCACertificate returns a self-signed CA certificate based on given configuration and private key.
NewSignedCertificate signs a certificate using the given private key, CA and returns a signed certificate.
NewTLSSecret returns a new TLS Secret based on the given metadata with the provided suffix on the Name.
ParsePEMEncodedCert parses a certificate from the given pemdata.
ParsePEMEncodedPrivateKey parses a private key from given pemdata.
VerifyAPI will verify that the given group/version is present in the cluster.