# Functions

No description provided by the author
No description provided by the author
DaemonSetName returns a friendly name for the AIDE daemonSet.
No description provided by the author
GenerateServiceMonitor generates a prometheus-operator ServiceMonitor object based on the passed Service object.
GetAddedNodeHoldoffAnnotation returns the annotation value for the added node holdoff annotation, and a boolean indicating whether the annotation was changed.
GetAddedNodeReinitAnnotation returns the annotation value for the added node reinit annotation, and a boolean indicating whether the annotation was changed.
No description provided by the author
No description provided by the author
GetComponentImage returns a full image pull spec for a given component based on the component type, if override is set then we always use that.
GetConfigMapNodeName gets the name of the node where the config map was generated from.
GetConfigMapOwnerName gets the name of the FileIntegrity that owns the config map from the Labels.
GetOperatorNamespace returns the namespace the operator should be running in from the associated service account secret.
GetRemovedNodeHoldoffAnnotation returns the annotation value for the removed node holdoff annotation, and a boolean indicating whether the annotation was changed.
GetRemovedNodeReinitAnnotation returns the annotation value for the removed node reinit annotation, and a boolean indicating whether the annotation was changed.
GetScriptName returns the name of a configMap for a FI object with a given name.
GetWatchNamespace returns the Namespace the operator should be watching for changes.
HasReinitAnnotation returns the list of nodes that are in reinit or empty list if all nodes are in reinit.
IgnoreAlreadyExists will not return an error if the error is that the resource already exists.
IsAideConfig returns whether the given map contains a label that indicates that this is an AIDE config.
IsIntegrityLog returns whether the given map contains a log from the integrity check.
IsIntegrityLogAFailure returns whether the given map coming from an integrity check logcollector contains an failure.
IsIntegrityLogAnError returns whether the given map coming from an integrity check logcollector contains an error.
IsNodeIn returns whether the given node is in the annotation provided.
IsNodeInHoldoff returns whether the given node is in holdoff.
IsNodeInReinit returns whether the given node is in reinit.
LengthName creates a string of maximum defined length.
ReinitDaemonSetName returns a friendly name for the re-init daemonSet.
ReinitDaemonSetNodeName returns a friendly name for the re-init daemonSet for one node.
ResourceExists returns true if the given resource kind exists in the given api groupversion.
RestartFileIntegrityDs restarts all pods that belong to a given DaemonSet.

# Constants

No description provided by the author
No description provided by the author
AideConfigLabelKey tells us if a specific ConfigMap is an AIDE config.
AideConfigUpdatedAnnotationKey tells us if an aide config needs updating.
AideDatabaseReinitAnnotationKey tells us if an aide config needs updating.
AideDatabaseReinitOnFailedAnnotationKey tells us to re-init failed nodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CompressedLogsIndicatorLabelKey indicates the log has been compressed.
No description provided by the author
No description provided by the author
No description provided by the author
The default gracePeriod.
IntegrityCheckHoldoffFilePath specified the path to the file that tells the AIDE check to hold off.
IntegrityCMLabelKey tells us that a ConfigMap is owned by the file integrity operator.
IntegrityConfigMapNodeLabelKey tells us from which node did the configmap come from.
IntegrityHoldoffAnnotationKey indicates that there is a holdoff on the AIDE check.
IntegrityLogContentKey is the key in the configmap where the logs are stored.
IntegrityLogErrorAnnotationKey indicates that there was an error in the logcollector.
No description provided by the author
No description provided by the author
No description provided by the author
IntegrityLogLabelKey tells us that a log was generated by the log collector.
IntegrityLogResultLabelKey tells us that the configMap represents a result log (a log we decided to keep).
IntegrityOwnerLabelKey tells us what FileIntegrity object owns a specific ConfigMap.
IntegrityPodLabelKey tells us that a pod is owned by the file integrity operator.
IntegrityReinitOwnerLabelKey tells us what FileIntegrity object owns a re-init daemonSet.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrNoNamespace indicates that a namespace could not be found for the current environment.
No description provided by the author
FileIntegrityNamespace defines the namespace in which the operator is active on.

# Type aliases

No description provided by the author
No description provided by the author