class Docr::Types::VolumeConfig
- Docr::Types::VolumeConfig
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
docr/types/volume_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String, driver : String = "local", driver_opts : Nil | Hash(String, String) = nil, labels : Nil | Hash(String, String) = nil)
Instance Method Summary
- #driver : String
- #driver=(driver : String)
- #driver_opts : Hash(String, String) | Nil
- #driver_opts=(driver_opts : Hash(String, String) | Nil)
- #labels : Hash(String, String) | Nil
- #labels=(labels : Hash(String, String) | Nil)
- #name : String
- #name=(name : String)
Constructor Detail
def self.new(name : String, driver : String = "local", driver_opts : Nil | Hash(String, String) = nil, labels : Nil | Hash(String, String) = nil)
#