Enum WorkloadConfig.Mode (2.5.0)

public enum WorkloadConfig.Mode extends Enum<WorkloadConfig.Mode> implements ProtocolMessageEnum

Mode defines how to audit the workload configs.

Protobuf enum google.container.v1beta1.WorkloadConfig.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
BASELINE

Surfaces configurations that are not in line with the Pod Security Standard Baseline policy.

BASELINE = 2 [deprecated = true];

BASELINE_VALUE

Surfaces configurations that are not in line with the Pod Security Standard Baseline policy.

BASELINE = 2 [deprecated = true];

BASIC

Applies the default set of policy auditing to a cluster's workloads.

BASIC = 4;

BASIC_VALUE

Applies the default set of policy auditing to a cluster's workloads.

BASIC = 4;

DISABLED

This disables Workload Configuration auditing on the cluster, meaning that nothing is surfaced.

DISABLED = 1;

DISABLED_VALUE

This disables Workload Configuration auditing on the cluster, meaning that nothing is surfaced.

DISABLED = 1;

MODE_UNSPECIFIED

Default value meaning that no mode has been specified.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

Default value meaning that no mode has been specified.

MODE_UNSPECIFIED = 0;

RESTRICTED

Surfaces configurations that are not in line with the Pod Security Standard Restricted policy.

RESTRICTED = 3 [deprecated = true];

RESTRICTED_VALUE

Surfaces configurations that are not in line with the Pod Security Standard Restricted policy.

RESTRICTED = 3 [deprecated = true];

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