ResourceQuotaSpec

case
class ResourceQuotaSpec(hard: Optional[Map[String, Quantity]], scopeSelector: Optional[ScopeSelector], scopes: Optional[Vector[String]])

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Value Params
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.

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

Value members

Concrete methods

def getHard: IO[K8sFailure, Map[String, Quantity]]

hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

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.

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. If not specified, the quota matches all objects.

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.

Inherited methods

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