case class ResourceQuotaStatus(hard: Optional[Map[String, Quantity]] = Optional.Absent, used: Optional[Map[String, Quantity]] = Optional.Absent) extends Product with Serializable
ResourceQuotaStatus defines the enforced hard limits and observed use.
- hard
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- used
Used is the current observed total usage of the resource in the namespace.
- Alphabetic
- By Inheritance
- ResourceQuotaStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResourceQuotaStatus(hard: Optional[Map[String, Quantity]] = Optional.Absent, used: Optional[Map[String, Quantity]] = Optional.Absent)
- hard
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- used
Used is the current observed total usage of the resource in the namespace.
Value Members
-
def
getHard: IO[K8sFailure, Map[String, Quantity]]
Hard is the set of enforced hard limits for each named resource.
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUsed: IO[K8sFailure, Map[String, Quantity]]
Used is the current observed total usage of the resource in the namespace.
Used is the current observed total usage of the resource in the namespace.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val hard: Optional[Map[String, Quantity]]
- val used: Optional[Map[String, Quantity]]