Policy class

A policy for container image binary authorization.

Constructors

Policy({List<AdmissionWhitelistPattern>? admissionWhitelistPatterns, Map<String, AdmissionRule>? clusterAdmissionRules, AdmissionRule? defaultAdmissionRule, String? description, String? etag, String? globalPolicyEvaluationMode, Map<String, AdmissionRule>? istioServiceIdentityAdmissionRules, Map<String, AdmissionRule>? kubernetesNamespaceAdmissionRules, Map<String, AdmissionRule>? kubernetesServiceAccountAdmissionRules, String? name, String? updateTime})
Policy.fromJson(Map json_)

Properties

admissionWhitelistPatterns List<AdmissionWhitelistPattern>?
Admission policy allowlisting.
getter/setter pair
clusterAdmissionRules Map<String, AdmissionRule>?
Per-cluster admission rules.
getter/setter pair
defaultAdmissionRule AdmissionRule?
Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
getter/setter pair
description String?
A descriptive comment.
getter/setter pair
etag String?
A checksum, returned by the server, that can be sent on update requests to ensure the policy has an up-to-date value before attempting to update it.
getter/setter pair
globalPolicyEvaluationMode String?
Controls the evaluation of a Google-maintained global admission policy for common system-level images.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
istioServiceIdentityAdmissionRules Map<String, AdmissionRule>?
Per-istio-service-identity admission rules.
getter/setter pair
kubernetesNamespaceAdmissionRules Map<String, AdmissionRule>?
Per-kubernetes-namespace admission rules.
getter/setter pair
kubernetesServiceAccountAdmissionRules Map<String, AdmissionRule>?
Per-kubernetes-service-account admission rules.
getter/setter pair
name String?
The resource name, in the format projects / * /policy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime String?
Time when the policy was last updated.
getter/setter pair

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