class K8S::Api::Core::V1::ResourceQuotaSpec

Overview

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Included Modules

Defined in:

versions/v1.15/api/core/v1/resource_quota_spec.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, hard : Hash(String, Int32 | String)? = nil, scope_selector : Api::Core::V1::ScopeSelector? = nil, scopes : Array(String)? = nil) #

[View source]

Instance Method Detail

def hard : Hash(String, Int32 | String)? #

[View source]
def hard=(hard : Hash(String, Int32 | String)?) #

[View source]
def scope_selector : Api::Core::V1::ScopeSelector? #

[View source]
def scope_selector=(scope_selector : Api::Core::V1::ScopeSelector?) #

[View source]
def scopes : Array(String)? #

[View source]
def scopes=(scopes : Array(String)?) #

[View source]