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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScaleSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScaleSpec(replicas: Optional[Int] = Optional.Absent)

    replicas

    desired number of instances for the scaled object.

Value Members

  1. 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.

  2. val replicas: Optional[Int]