case class IDRange(max: Long, min: Long) extends Product with Serializable
IDRange provides a min/max of an allowed range of IDs.
- 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
- IDRange
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
IDRange(max: Long, min: Long)
- max
max is the end of the range, inclusive.
- min
min is the start of the range, inclusive.
Value Members
-
def
getMax: IO[K8sFailure, Long]
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, Long]
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: Long
- val min: Long