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
 - JSON::Serializable::Unmapped
 - YAML::Serializable
 - YAML::Serializable::Unmapped
 
Defined in:
versions/v1.18/api/core/v1/resource_quota_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
 - .new(pull : JSON::PullParser)
 - .new(*, hard : Hash(String, Int32 | String)? = nil, scope_selector : Api::Core::V1::ScopeSelector? = nil, scopes : Array(String)? = 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, Int32 | String)? = nil, scope_selector : Api::Core::V1::ScopeSelector? = nil, scopes : Array(String)? = nil)
        #