# Functions

Add creates a new HostPathProvisioner Controller and adds it to the Manager.
AddFinalizer adds a finalizer to a resource.
GetNamespace returns the namespace the pod is executing in.
HasFinalizer returns true if a resource has a specific finalizer.
IsCrHealthy returns true if the application is healthy.
IsHppAvailable returns whether the HPP installation is available for use.
IsHppProgressing returns whether the HPP installation is still doing progress of some sort.
MarkCrDeploying marks the passed CR as currently deploying.
MarkCrFailed marks the passed CR as failed and requiring human intervention.
MarkCrFailedHealing marks the passed CR as failed and healing.
MarkCrHealthyMessage marks the passed in CR as healthy.
MarkCrUpgradeHealingDegraded marks the passed CR as upgrading and degraded.
RemoveFinalizer removes a finalizer from a resource.

# Constants

AppKubernetesComponentLabel is the Kubernetes recommended component label.
AppKubernetesManagedByLabel is the Kubernetes recommended managed-by label.
AppKubernetesPartOfLabel is the Kubernetes recommended part-of label.
AppKubernetesVersionLabel is the Kubernetes recommended version label.
CsiNodeDriverRegistrationImageDefault is the default value of the sig storage csi node registration side car container image name.
CsiProvisionerImageDefault is the default value of the hostpath provisioner csi container image name.
CsiSigStorageProvisionerImageDefault is the default value of the sig storage csi provisioner side car container image name.
LivenessProbeImageDefault is the default value of the liveness probe side car container image name.
MultiPurposeHostPathProvisionerName is the name used for the DaemonSet, ClusterRole/Binding, SCC and k8s-app label value.
OperatorImageDefault is the default value of the operator container image name.
OperatorServiceAccountName is the name of Service Account used to run the operator.
PartOfLabelEnvVarName is the environment variable name for the part-of label value.
PrometheusLabelKey provides the label to indicate prometheus metrics are available in the pods.
PrometheusLabelValue provides the label value which shouldn't be empty to avoid a prometheus WIP issue.
PrometheusServiceName is the name of the prometheus service created by the operator.
ProvisionerImageDefault is the default value of the provisioner container image name.
ProvisionerServiceAccountName is the name of Service Account used to run the controller.
ProvisionerServiceAccountNameCsi is the name of Service Account used to run the csi driver.
SnapshotterImageDefault is the default value of the csi snapshotter side car container image name.
VersionLabelEnvVarName is the environment variable name for the version label value.

# Structs

ReconcileHostPathProvisioner reconciles a HostPathProvisioner object.
StoragePoolInfo contains the name and path of a hostpath storage pool.