HostPortRange class
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.
Constructors
-
HostPortRange({required Input<
int> max, required Input<int> min}) -
Creates a new HostPortRange.
maxmax is the end of the range, inclusive.minmin is the start of the range, inclusive.const -
HostPortRange.fromMap(Map<
String, dynamic> map) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited