Interface WorkloadPolicyConfigOrBuilder (2.38.0)

public interface WorkloadPolicyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowNetAdmin()

public abstract boolean getAllowNetAdmin()

If true, workloads can use NET_ADMIN capability.

optional bool allow_net_admin = 1;

Returns
TypeDescription
boolean

The allowNetAdmin.

hasAllowNetAdmin()

public abstract boolean hasAllowNetAdmin()

If true, workloads can use NET_ADMIN capability.

optional bool allow_net_admin = 1;

Returns
TypeDescription
boolean

Whether the allowNetAdmin field is set.