case class ScaleSpec(replicas: Optional[Int] = Optional.Absent) extends Product with Serializable
ScaleSpec describes the attributes of a scale subresource.
- replicas
desired number of instances for the scaled object.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScaleSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ScaleSpec(replicas: Optional[Int] = Optional.Absent)
- replicas
desired number of instances for the scaled object.
Value Members
-
def
getReplicas: IO[K8sFailure, Int]
desired number of instances for the scaled object.
desired number of instances for the scaled object.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val replicas: Optional[Int]