class Ptero::Models::Limits

Included Modules

Defined in:

models/servers.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(*, memory : Int32, swap : Int32, disk : Int32, cpu : Int32, io : Int32 | Nil = nil, threads : String | Nil = nil, oom_disabled : Bool | Nil = nil) #

[View source]

Instance Method Detail

def cpu : Int32 #

[View source]
def cpu=(cpu : Int32) #

[View source]
def disk : Int32 #

[View source]
def disk=(disk : Int32) #

[View source]
def io : Int32 | Nil #

[View source]
def io=(io : Int32 | Nil) #

[View source]
def memory : Int32 #

[View source]
def memory=(memory : Int32) #

[View source]
def oom_disabled=(oom_disabled : Bool | Nil) #

[View source]
def oom_disabled? : Bool | Nil #

[View source]
def swap : Int32 #

[View source]
def swap=(swap : Int32) #

[View source]
def threads : String | Nil #

[View source]
def threads=(threads : String | Nil) #

[View source]