class Ptero::Models::Limits
- Ptero::Models::Limits
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
models/servers.crConstructors
- .new(pull : JSON::PullParser)
- .new(*, memory : Int32, swap : Int32, disk : Int32, cpu : Int32, io : Int32 | Nil = nil, threads : String | Nil = nil, oom_disabled : Bool | Nil = nil)
Instance Method Summary
- #cpu : Int32
- #cpu=(cpu : Int32)
- #disk : Int32
- #disk=(disk : Int32)
- #io : Int32 | Nil
- #io=(io : Int32 | Nil)
- #memory : Int32
- #memory=(memory : Int32)
- #oom_disabled=(oom_disabled : Bool | Nil)
- #oom_disabled? : Bool | Nil
- #swap : Int32
- #swap=(swap : Int32)
- #threads : String | Nil
- #threads=(threads : String | Nil)
Constructor Detail
def self.new(*, memory : Int32, swap : Int32, disk : Int32, cpu : Int32, io : Int32 | Nil = nil, threads : String | Nil = nil, oom_disabled : Bool | Nil = nil)
#