class K8S::Api::Core::V1::ResourceRequirements

Overview

ResourceRequirements describes the compute resource requirements.

Included Modules

Defined in:

versions/v1.18/api/core/v1/resource_requirements.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(*, limits : Hash(String, String)? = nil, requests : Hash(String, String)? = nil) #

[View source]

Instance Method Detail

def limits : Hash(String, String)? #

[View source]
def limits=(limits : Hash(String, String)?) #

[View source]
def requests : Hash(String, String)? #

[View source]
def requests=(requests : Hash(String, String)?) #

[View source]