struct Lester::Server::Storage::Disk

Included Modules

Defined in:

lester/server/storage/disk.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def block_size : Int32 | Nil #

[View source]
def device : String | Nil #

[View source]
def device_id : String | Nil #

[View source]
def device_path : String | Nil #

[View source]
def firmware_version : String | Nil #

[View source]
def id : String | Nil #

[View source]
def model : String | Nil #

[View source]
def numa_node : Int32 | Nil #

[View source]
def partitions : Array(Partition) | Nil #

[View source]
def pci_address : String | Nil #

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

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

[View source]
def rpm : Int32 | Nil #

[View source]
def serial : String | Nil #

[View source]
def size : Int64 | Nil #

[View source]
def type : String | Nil #

[View source]
def usb_address : String | Nil #

[View source]
def wwn : String | Nil #

[View source]