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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val scopeSelector: Optional[ScopeSelector]
- val scopes: Optional[Vector[String]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated