ValidatingAdmissionPolicyBindingSpec class

ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.

Constructors

ValidatingAdmissionPolicyBindingSpec({MatchResources? matchResources, ParamRef? paramRef, String? policyName, List<String>? validationActions})
Default constructor.
const
ValidatingAdmissionPolicyBindingSpec.fromJson(Map<String, dynamic> json)
Creates a ValidatingAdmissionPolicyBindingSpec from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
matchResources MatchResources?
MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
final
paramRef ParamRef?
ParamRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
final
policyName String?
PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationActions List<String>?
validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ValidatingAdmissionPolicyBindingSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited