ClusterNetworkPolicy constructor
Creates a new ClusterNetworkPolicy.
enabled Whether network policy is enabled on the cluster.
provider The selected network policy provider. Defaults to PROVIDER_UNSPECIFIED.
Implementation
const ClusterNetworkPolicy({
required this.enabled,
this.provider,
});