# Functions

AssignIP assigns an IP using a range and a reserve list.
BigIntToIP converts a big.Int to a net.IP.
CreateOrGetCustomConfigMap -.
CreateOrGetHostname -.
CreateOrUpdatePvc -.
CreateOrUpdateSecret -.
DeleteJob func kclient required to properly cleanup the job depending pods with DeleteOptions.
DeletePodsWithLabel - Delete all pods in namespace of the obj matching label selector.
DeleteReplicasetsWithLabel - Delete all replicasets in namespace of the obj matching label selector.
DeleteSecretsWithLabel - Delete all secrets in namespace of the obj matching label selector.
DeleteSecretsWithName - Delete names secret object in namespace .
DeleteServicesWithLabel - Delete all services in namespace of the obj matching label selector.
EncodePrivateKeyToPEM encodes Private Key from RSA to PEM format.
EnsureConfigMaps - get all configmaps required, verify they exist and add the hash to env and status.
EnsureSecrets - get all secrets required, verify they exist and add the hash to env and status.
EnvDownwardAPI - set env from FieldRef->FieldPath, e.g.
EnvValue -.
ExecuteTemplate creates a template from the file and execute it with the specified data.
ExecuteTemplateData creates a template from string and execute it with the specified data.
ExecuteTemplateFile creates a template from the file and execute it with the specified data Note: mschuppert - can be removed when all operators switched to the above ones.
GeneratePasswords creates the passwords for a tripleo deployment.
GeneratePrivateKey creates a RSA Private Key of specified byte size.
GeneratePublicKey take a rsa.PublicKey and return bytes suitable for writing to .pub file returns in the format "ssh-rsa ...".
GetAllNetworkAttachmentDefinitions - get all NetworkAttachmentDefinition.
GetAllPodsWithLabel - get all pods from namespace with a specific label.
GetAllTemplates get all files from a templates sub folder.
GetBmhHosts -.
GetCidrParts - returns addr and cidr suffix .
GetConfigMap - Get config map if the config map is not found, requeue after requeueTimeout in seconds.
GetConfigMapAndHashWithName -.
GetConfigMaps - get all configmaps required, verify they exist and add the hash to env and status.
GetControlPlane -.
GetCustomFencingRoles - return a list of any custom roles included in custom tarball that require fencing support.
GetDataFromSecret - Get data from Secret if the secret or data is not found, requeue after requeueTimeout in seconds.
GetDeletionAnnotatedBmhHosts -.
GetFencingRoles - roles that normally require fencing.
GetIPRange returns the first and last IP in a range.
GetLabels - get labelselector for CR.
GetOr returns the value of m[key] if it exists, fallback otherwise.
GetSecret -.
GetSecrets -.
GetServicesListWithLabel - Get all services in namespace of the obj matching label selector.
GetTemplateData -.
GetTemplatesPath get path to templates, either running local or deployed as container.
GetVirtualMachineInstances -.
GetVirtualMachines -.
InitMap - Inititialise a map to an empty map if it is nil.
IPToBigInt converts a net.IP to a big.Int.
IsIPv4 checks if an IP is v4.
IsIPv6 checks if an IP is v6.
IsJSON check if string is json format.
IsSet returns the value of m[key] if key exists, otherwise false Different from getOr because it will return zero values.
IterateForAssignment iterates given an IP/IPNet and a list of reserved IPs.
LogErrorForObject -.
LogForObject -.
MergeEnvs - merge envs.
MergeMaps - merge two or more maps.
MergeStringMaps - merge two or more string->map maps.
ObjectHash creates a deep object hash and return it as a safe encoded string.
OpenStackBackupOverridesReconcile - Should a controller pause reconciliation for a particular resource given potential backup operations?.
RemoveIndex - remove int from slice.
SortMapByValue -.
SSHKeySecret - func.
StringInSlice - is string in slice.
WaitOnJob func.
WrapErrorForObject -.

# Constants

BITSIZE -.
FinalizerName -.
GroupLabel -.
HostRemovalAnnotation - Annotation key placed on VM or BMH resources to target them for scale-down.
MustGatherSecret - Label placed on secrets that are safe to collect with must-gater.
OSPHostnameLabelSelector - Tripleo Hostname.
OwnerControllerNameLabelSelector -.
OwnerLabel -.
OwnerNameLabelSelector -.
OwnerNameSpaceLabelSelector -.
OwnerUIDLabelSelector -.
ServiceAccountAnnotationName -.
TemplateTypeConfig - config type.
TemplateTypeCustom - custom config type.
TemplateTypeNone - none type, don't add configs from a directory, only files from AdditionalData.
TemplateTypeScripts - config type.
TripleOPacemakerServiceName -.
TripleORolesDataFile -.
TripleOServicesDefaultKeyName -.

# Structs

AssignIPDetails -.
AssignmentError defines an IP assignment error.
Hostname - details.
Pair -.
Pvc - pvc details.
Template - config map and secret details.

# Interfaces

HostnameStore -.
InstanceCommon - common OSP-D resource instance interface.
ReconcilerCommon - common reconciler interface.

# Type aliases

EnvSetter -.
EnvSetterMap -.
List -.
TType - TemplateType.