PolicyControllerHubConfig class
Configuration for Policy Controller
Constructors
-
PolicyControllerHubConfig({String? auditIntervalSeconds, String? constraintViolationLimit, Map<
String, PolicyControllerPolicyControllerDeploymentConfig> ? deploymentConfigs, List<String> ? exemptableNamespaces, String? installSpec, bool? logDeniesEnabled, PolicyControllerMonitoringConfig? monitoring, bool? mutationEnabled, PolicyControllerPolicyContentSpec? policyContent, bool? referentialRulesEnabled}) - PolicyControllerHubConfig.fromJson(Map json_)
Properties
- auditIntervalSeconds ↔ String?
-
Sets the interval for Policy Controller Audit Scans (in seconds).
getter/setter pair
- constraintViolationLimit ↔ String?
-
The maximum number of audit violations to be stored in a constraint.
getter/setter pair
-
deploymentConfigs
↔ Map<
String, PolicyControllerPolicyControllerDeploymentConfig> ? -
Map of deployment configs to deployments ("admission", "audit",
"mutation').
getter/setter pair
-
exemptableNamespaces
↔ List<
String> ? -
The set of namespaces that are excluded from Policy Controller checks.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- installSpec ↔ String?
-
The install_spec represents the intended state specified by the latest
request that mutated install_spec in the feature spec, not the lifecycle
state of the feature observed by the Hub feature controller that is
reported in the feature state.
Possible string values are:
getter/setter pair
- logDeniesEnabled ↔ bool?
-
Logs all denies and dry run failures.
getter/setter pair
- monitoring ↔ PolicyControllerMonitoringConfig?
-
Monitoring specifies the configuration of monitoring.
getter/setter pair
- mutationEnabled ↔ bool?
-
Enables the ability to mutate resources using Policy Controller.
getter/setter pair
- policyContent ↔ PolicyControllerPolicyContentSpec?
-
Specifies the desired policy content on the cluster
getter/setter pair
- referentialRulesEnabled ↔ bool?
-
Enables the ability to use Constraint Templates that reference to objects
other than the object currently being evaluated.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited