NetworkPolicyConfig class

Configuration for NetworkPolicy.

This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

Constructors

NetworkPolicyConfig({bool? disabled})
NetworkPolicyConfig.fromJson(Map json_)

Properties

disabled bool?
Whether NetworkPolicy is enabled for this cluster.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited