package
2.5.0-ACM+incompatible
Repository: https://github.com/stolostron/config-policy-controller.git
Documentation: pkg.go.dev

# Functions

GetClusterLevelWithTimeout keeps polling to get the object for timeout seconds until wantFound is met (true for found, false for not found).
GetComplianceState parses status field of configurationPolicy to get compliance.
GetFieldFromSecret parses data field of secrets for the specified field.
GetLastEvaluated parses the configuration policy and returns the status.lastEvaluated and status.lastEvaluatedGeneration fields.
No description provided by the author
GetStatusMessage parses status field to get message.
GetWithTimeout keeps polling to get the object for timeout seconds until wantFound is met (true for found, false for not found).
Kubectl executes kubectl commands.
ListWithTimeout keeps polling to get the object for timeout seconds until wantFound is met (true for found, false for not found).
ParseYaml read given yaml file and unmarshal it to &unstructured.Unstructured{}.
Pause sleep for given seconds.