case class HostPortRange(max: Int, min: Int) extends Product with Serializable
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.
- max
max is the end of the range, inclusive.
- min
min is the start of the range, inclusive.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HostPortRange
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
HostPortRange(max: Int, min: Int)
- max
max is the end of the range, inclusive.
- min
min is the start of the range, inclusive.
Value Members
-
def
getMax: IO[K8sFailure, Int]
max is the end of the range, inclusive.
max is the end of the range, inclusive.
This effect always succeeds, it is safe to use the field max directly.
-
def
getMin: IO[K8sFailure, Int]
min is the start of the range, inclusive.
min is the start of the range, inclusive.
This effect always succeeds, it is safe to use the field min directly.
- val max: Int
- val min: Int