case class ResourceQuotaSpec(hard: Optional[Map[String, Quantity]] = Optional.Absent, scopeSelector: Optional[ScopeSelector] = Optional.Absent, scopes: Optional[Vector[String]] = Optional.Absent) extends Product with Serializable
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
- hard
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- scopes
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
- Alphabetic
- By Inheritance
- ResourceQuotaSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResourceQuotaSpec(hard: Optional[Map[String, Quantity]] = Optional.Absent, scopeSelector: Optional[ScopeSelector] = Optional.Absent, scopes: Optional[Vector[String]] = Optional.Absent)
- hard
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- scopes
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
Value Members
-
def
getHard: IO[K8sFailure, Map[String, Quantity]]
hard is the set of desired hard limits for each named resource.
hard is the set of desired 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
getScopeSelector: IO[K8sFailure, ScopeSelector]
Gets scopeSelector.
Gets scopeSelector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getScopes: IO[K8sFailure, Vector[String]]
A collection of filters that must match each object tracked by a quota.
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val hard: Optional[Map[String, Quantity]]
- val scopeSelector: Optional[ScopeSelector]
- val scopes: Optional[Vector[String]]