NetworkPolicy constructor
const
NetworkPolicy({
- String? apiVersion,
- String? kind,
- ObjectMeta? metadata,
- NetworkPolicySpec? spec,
- NetworkPolicyStatus? status,
Default constructor.
Implementation
const NetworkPolicy({
this.apiVersion,
this.kind,
this.metadata,
this.spec,
this.status,
});