Google Cloud Binary Authorization V1 Client - Class EvaluationMode (1.0.0)

Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class EvaluationMode.

Protobuf type google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode

Namespace

Google \ Cloud \ BinaryAuthorization \ V1 \ AdmissionRule

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

EVALUATION_MODE_UNSPECIFIED

Value: 0

Do not use.

Generated from protobuf enum EVALUATION_MODE_UNSPECIFIED = 0;

ALWAYS_ALLOW

Value: 1

This rule allows all all pod creations.

Generated from protobuf enum ALWAYS_ALLOW = 1;

REQUIRE_ATTESTATION

Value: 2

This rule allows a pod creation if all the attestors listed in 'require_attestations_by' have valid attestations for all of the images in the pod spec.

Generated from protobuf enum REQUIRE_ATTESTATION = 2;

ALWAYS_DENY

Value: 3

This rule denies all pod creations.

Generated from protobuf enum ALWAYS_DENY = 3;