class Docr::Types::Volume

Included Modules

Defined in:

docr/types/volume.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def created_at : String #

Date/Time the volume was created.


[View source]
def created_at=(created_at : String) #

Date/Time the volume was created.


[View source]
def driver : String #

Name of the volume driver used by the volume.


[View source]
def driver=(driver : String) #

Name of the volume driver used by the volume.


[View source]
def labels : Hash(String, String) | Nil #

User-defined key/value metadata.


[View source]
def labels=(labels : Hash(String, String) | Nil) #

User-defined key/value metadata.


[View source]
def mountpoint : String #

Mount path of the volume on the host.


[View source]
def mountpoint=(mountpoint : String) #

Mount path of the volume on the host.


[View source]
def name : String #

Name of the volume.


[View source]
def name=(name : String) #

Name of the volume.


[View source]
def options : Hash(String, String) | Nil #

The driver specific options used when creating the volume.


[View source]
def options=(options : Hash(String, String) | Nil) #

The driver specific options used when creating the volume.


[View source]
def scope : String #

The level at which the volume exists. Either global for cluster-wide, or local for machine level.


[View source]
def scope=(scope : String) #

The level at which the volume exists. Either global for cluster-wide, or local for machine level.


[View source]
def status : Hash(String, Hash(String, String)) | Nil #

Low-level details about the volume, provided by the volume driver.


[View source]
def status=(status : Hash(String, Hash(String, String)) | Nil) #

Low-level details about the volume, provided by the volume driver.


[View source]
def usage_data : Docr::Types::UsageData | Nil #

[View source]
def usage_data=(usage_data : Docr::Types::UsageData | Nil) #

[View source]