Interface WorkloadPolicyConfigOrBuilder (2.46.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
Type Description
boolean

The allowNetAdmin.

hasAllowNetAdmin()

public abstract boolean hasAllowNetAdmin()

If true, workloads can use NET_ADMIN capability.

optional bool allow_net_admin = 1;

Returns
Type Description
boolean

Whether the allowNetAdmin field is set.