Enum AdmissionRule.EnforcementMode (1.0.6)

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

Defines the possible actions when a pod creation is denied by an admission rule.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DRYRUN_AUDIT_LOG_ONLY

Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass.

DRYRUN_AUDIT_LOG_ONLY = 2;

DRYRUN_AUDIT_LOG_ONLY_VALUE

Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass.

DRYRUN_AUDIT_LOG_ONLY = 2;

ENFORCED_BLOCK_AND_AUDIT_LOG

Enforce the admission rule by blocking the pod creation.

ENFORCED_BLOCK_AND_AUDIT_LOG = 1;

ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE

Enforce the admission rule by blocking the pod creation.

ENFORCED_BLOCK_AND_AUDIT_LOG = 1;

ENFORCEMENT_MODE_UNSPECIFIED

Do not use.

ENFORCEMENT_MODE_UNSPECIFIED = 0;

ENFORCEMENT_MODE_UNSPECIFIED_VALUE

Do not use.

ENFORCEMENT_MODE_UNSPECIFIED = 0;

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()