Enum Resources.AdmissionRule.EvaluationMode (1.5.0)

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

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()