ClusterCIDRSpec class

ClusterCIDRSpec defines the desired state of ClusterCIDR.

Constructors

ClusterCIDRSpec({String? ipv4, String? ipv6, NodeSelector? nodeSelector, required int perNodeHostBits})
Default constructor.
const
ClusterCIDRSpec.fromJson(Map<String, dynamic> json)
Creates a ClusterCIDRSpec from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ipv4 String?
ipv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
final
ipv6 String?
ipv6 defines an IPv6 IP block in CIDR notation(e.g. "2001:db8::/64"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
final
nodeSelector NodeSelector?
nodeSelector defines which nodes the config is applicable to. An empty or nil nodeSelector selects all nodes. This field is immutable.
final
perNodeHostBits int
perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.
final
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, Object>
Converts a ClusterCIDRSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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