class K8S::Api::Core::V1::ResourceQuotaSpec
- K8S::Api::Core::V1::ResourceQuotaSpec
- Reference
- Object
Overview
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/core/v1/resource_quota_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, hard : Hash(String, String)? = nil, scope_selector : Api::Core::V1::ScopeSelector? = nil, scopes : Array? = nil)
Instance Method Summary
- #hard : Hash(String, Int32 | String)?
- #hard=(hard : Hash(String, Int32 | String)?)
- #scope_selector : Api::Core::V1::ScopeSelector?
- #scope_selector=(scope_selector : Api::Core::V1::ScopeSelector?)
- #scopes : Array(String)?
- #scopes=(scopes : Array(String)?)
Constructor Detail
def self.new(*, hard : Hash(String, String)? = nil, scope_selector : Api::Core::V1::ScopeSelector? = nil, scopes : Array? = nil)
#