AdmissionRule class

An admission rule specifies either that all container images used in a pod creation request must be attested to by one or more attestors, that all pod creations will be allowed, or that all pod creations will be denied.

Images matching an admission allowlist pattern are exempted from admission rules and will never block a pod creation.

Constructors

AdmissionRule({String? enforcementMode, String? evaluationMode, List<String>? requireAttestationsBy})
AdmissionRule.fromJson(Map json_)

Properties

enforcementMode String?
The action when a pod creation is denied by the admission rule.
getter/setter pair
evaluationMode String?
How this admission rule will be evaluated.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requireAttestationsBy List<String>?
The resource names of the attestors that must attest to a container image, in the format projects / * /attestors / * .
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