Class: Siren::Compose::Volume
- Inherits:
-
Struct
- Object
- Struct
- Siren::Compose::Volume
- Defined in:
- lib/siren/compose/types.rb
Overview
deploy: object( endpoint_mode: string(["vip", "dnsrr"]), labels: hashlike, mode: string(["global", "replicated"]), placement: object( constraints: array(string), preferences: array(object(spread: string)), ), replicas: integer, resources: object( limits: resources, reservations: resources, ),
Instance Attribute Summary collapse
-
#compose ⇒ Object
Returns the value of attribute compose.
-
#driver ⇒ Object
Returns the value of attribute driver.
-
#driver_opts ⇒ Object
Returns the value of attribute driver_opts.
-
#external ⇒ Object
Returns the value of attribute external.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#compose ⇒ Object
Returns the value of attribute compose
104 105 106 |
# File 'lib/siren/compose/types.rb', line 104 def compose @compose end |
#driver ⇒ Object
Returns the value of attribute driver
104 105 106 |
# File 'lib/siren/compose/types.rb', line 104 def driver @driver end |
#driver_opts ⇒ Object
Returns the value of attribute driver_opts
104 105 106 |
# File 'lib/siren/compose/types.rb', line 104 def driver_opts @driver_opts end |
#external ⇒ Object
Returns the value of attribute external
104 105 106 |
# File 'lib/siren/compose/types.rb', line 104 def external @external end |
#labels ⇒ Object
Returns the value of attribute labels
104 105 106 |
# File 'lib/siren/compose/types.rb', line 104 def labels @labels end |
#name ⇒ Object
Returns the value of attribute name
104 105 106 |
# File 'lib/siren/compose/types.rb', line 104 def name @name end |