public static enum Resources.AdmissionRule.EvaluationMode extends Enum<Resources.AdmissionRule.EvaluationMode> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode| Enum Constant and Description |
|---|
ALWAYS_ALLOW
This rule allows all all pod creations.
|
ALWAYS_DENY
This rule denies all pod creations.
|
EVALUATION_MODE_UNSPECIFIED
Do not use.
|
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.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS_ALLOW_VALUE
This rule allows all all pod creations.
|
static int |
ALWAYS_DENY_VALUE
This rule denies all pod creations.
|
static int |
EVALUATION_MODE_UNSPECIFIED_VALUE
Do not use.
|
static int |
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Resources.AdmissionRule.EvaluationMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Resources.AdmissionRule.EvaluationMode> |
internalGetValueMap() |
static Resources.AdmissionRule.EvaluationMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Resources.AdmissionRule.EvaluationMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Resources.AdmissionRule.EvaluationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resources.AdmissionRule.EvaluationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resources.AdmissionRule.EvaluationMode EVALUATION_MODE_UNSPECIFIED
Do not use.
EVALUATION_MODE_UNSPECIFIED = 0;public static final Resources.AdmissionRule.EvaluationMode ALWAYS_ALLOW
This rule allows all all pod creations.
ALWAYS_ALLOW = 1;public static final Resources.AdmissionRule.EvaluationMode 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;public static final Resources.AdmissionRule.EvaluationMode ALWAYS_DENY
This rule denies all pod creations.
ALWAYS_DENY = 3;public static final Resources.AdmissionRule.EvaluationMode UNRECOGNIZED
public static final int EVALUATION_MODE_UNSPECIFIED_VALUE
Do not use.
EVALUATION_MODE_UNSPECIFIED = 0;public static final int ALWAYS_ALLOW_VALUE
This rule allows all all pod creations.
ALWAYS_ALLOW = 1;public static final int 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;public static final int ALWAYS_DENY_VALUE
This rule denies all pod creations.
ALWAYS_DENY = 3;public static Resources.AdmissionRule.EvaluationMode[] values()
for (Resources.AdmissionRule.EvaluationMode c : Resources.AdmissionRule.EvaluationMode.values()) System.out.println(c);
public static Resources.AdmissionRule.EvaluationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Resources.AdmissionRule.EvaluationMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Resources.AdmissionRule.EvaluationMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Resources.AdmissionRule.EvaluationMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Resources.AdmissionRule.EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.