case class ScaleStatus(replicas: Int, selector: Optional[String] = Optional.Absent) extends Product with Serializable

ScaleStatus represents the current status of a scale subresource.

replicas

actual number of observed instances of the scaled object.

selector

label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScaleStatus
  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 ScaleStatus(replicas: Int, selector: Optional[String] = Optional.Absent)

    replicas

    actual number of observed instances of the scaled object.

    selector

    label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

Value Members

  1. def getReplicas: IO[K8sFailure, Int]

    actual number of observed instances of the scaled object.

    actual number of observed instances of the scaled object.

    This effect always succeeds, it is safe to use the field replicas directly.

  2. def getSelector: IO[K8sFailure, String]

    label query over pods that should match the replicas count.

    label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. val replicas: Int
  4. val selector: Optional[String]