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

# Constants

Compliant is an ComplianceState.
Enforce is an remediationAction to make changes.
Inform is an remediationAction to only inform.
MustHave is an enforcement state to include a resource.
MustNotHave is an enforcement state to exclude a resource.
MustOnlyHave is an enforcement state to exclusively include a resource.
NonCompliant is an ComplianceState.
UnknownCompliancy is an ComplianceState.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
No description provided by the author
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

CompliancePerClusterStatus contains aggregate status of other policies in cluster.
Condition is the base struct for representing resource conditions.
ConfigurationPolicy is the Schema for the configurationpolicies API.
ConfigurationPolicyList contains a list of ConfigurationPolicy.
ConfigurationPolicySpec defines the desired state of ConfigurationPolicy.
ConfigurationPolicyStatus defines the observed state of ConfigurationPolicy.
Configures the minimum elapsed time before a ConfigurationPolicy is reevaluated.
ObjectMetadata contains the resource metadata for an object being processed by the policy.
ObjectResource is an object identified by the policy as a resource that needs to be validated.
ObjectTemplate describes how an object should look.
RelatedObject is the list of objects matched by this Policy resource.
Target defines the list of namespaces to include/exclude.
TemplateStatus hold the status result.
Validity describes if it is valid or not.

# Type aliases

ComplianceMap map to hold CompliancePerClusterStatus objects.
ComplianceState shows the state of enforcement.
ComplianceType describes whether we must or must not have a given resource +kubebuilder:validation:Enum=MustHave;Musthave;musthave;MustOnlyHave;Mustonlyhave;mustonlyhave;MustNotHave;Mustnothave;mustnothave.
MetadataComplianceType describes how to check compliance for the labels/annotations of a given object +kubebuilder:validation:Enum=MustHave;Musthave;musthave;MustOnlyHave;Mustonlyhave;mustonlyhave.
+kubebuilder:validation:MinLength=1.
RemediationAction : enforce or inform +kubebuilder:validation:Enum=Inform;inform;Enforce;enforce.
ResourceState genric description of a state.
Severity : low, medium, high, or critical +kubebuilder:validation:Enum=low;Low;medium;Medium;high;High;critical;Critical.