# Functions

EffectiveRunAsNonRoot determines if the container is effectively enforcing non-root containers.
EffectiveRunAsUser determines the effective run as user id.
GetAnnotation gets an annotation from a resource in a manner that will not panic with a nil pointer dereference error.
GetContainerNames returns the container names for an array of containers.
GetPodSpec returns the pod specification for a given set of objects.nolint:cyclop TODO: we can improve the massive case statement logic.
GetSecurityContext returns the security context for a container.nolint:gocritic TODO: pass container as pointer.
HasRequiredCapability returns true if a required capability is found.
SkipViaAnnotations determines if a resource needs to be skipped due to the annotations that it possesses.
SkipViaOwnerReferences determines if a resource needs to be skipped due to the owner references that it possesses.
ToString converts an object to a string which is useful while producing consistent logs.

# Variables

No description provided by the author