Interface BinaryAuthorizationOrBuilder (2.5.0)

public interface BinaryAuthorizationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getEvaluationMode()

public abstract BinaryAuthorization.EvaluationMode getEvaluationMode()

Mode of operation for binauthz policy evaluation. Currently the only options are equivalent to enable/disable. If unspecified, defaults to DISABLED.

.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;

Returns
TypeDescription
BinaryAuthorization.EvaluationMode

The evaluationMode.

getEvaluationModeValue()

public abstract int getEvaluationModeValue()

Mode of operation for binauthz policy evaluation. Currently the only options are equivalent to enable/disable. If unspecified, defaults to DISABLED.

.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for evaluationMode.