NetworkPolicySpec constructor
const
NetworkPolicySpec({
- List<
NetworkPolicyEgressRule> ? egress, - List<
NetworkPolicyIngressRule> ? ingress, - required LabelSelector podSelector,
- List<
String> ? policyTypes,
Default constructor.
Implementation
const NetworkPolicySpec({
this.egress,
this.ingress,
required this.podSelector,
this.policyTypes,
});