ScaleSpec

case class ScaleSpec(replicas: Optional[Int])

ScaleSpec describes the attributes of a scale subresource.

ScaleSpec describes the attributes of a scale subresource.

Value Params
replicas

desired number of instances for the scaled object.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product