struct

Kubernetes::ResourceQuotaStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

ResourceQuotaStatus defines the enforced hard limits and observed use.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

hard

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

Source
hard=(hard : Hash(String, Quantity) | Nil)

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

Source
used

Used is the current observed total usage of the resource in the namespace.

Source
used=(used : Hash(String, Quantity) | Nil)

Used is the current observed total usage of the resource in the namespace.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source