Enum AdmissionRule.EvaluationMode (1.41.0)

public enum AdmissionRule.EvaluationMode extends Enum<AdmissionRule.EvaluationMode> implements ProtocolMessageEnum

Protobuf enum google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALWAYS_ALLOW

This rule allows all all pod creations.

ALWAYS_ALLOW = 1;

ALWAYS_ALLOW_VALUE

This rule allows all all pod creations.

ALWAYS_ALLOW = 1;

ALWAYS_DENY

This rule denies all pod creations.

ALWAYS_DENY = 3;

ALWAYS_DENY_VALUE

This rule denies all pod creations.

ALWAYS_DENY = 3;

EVALUATION_MODE_UNSPECIFIED

Do not use.

EVALUATION_MODE_UNSPECIFIED = 0;

EVALUATION_MODE_UNSPECIFIED_VALUE

Do not use.

EVALUATION_MODE_UNSPECIFIED = 0;

REQUIRE_ATTESTATION

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.

REQUIRE_ATTESTATION = 2;

REQUIRE_ATTESTATION_VALUE

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.

REQUIRE_ATTESTATION = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()