class Pyrite::Api::Core::V1::ResourceQuotaSpec

Overview

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Defined in:

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

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.


def self.new(pull : JSON::PullParser) #

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.


def self.new(*, hard : Hash(String, String)? = nil, scope_selector : Api::Core::V1::ScopeSelector? = nil, scopes : Array? = nil) #

Instance Method Detail

def hard : Hash(String, String)? #

def hard=(hard : Hash(String, String)?) #

def scope_selector : Api::Core::V1::ScopeSelector? #

def scope_selector=(scope_selector : Api::Core::V1::ScopeSelector?) #

def scopes : Array(String)? #

def scopes=(scopes : Array(String)?) #