Class: OsCtld::Devices::V2::ContainerConfigurator
- Inherits:
-
Configurator
- Object
- Devices::Configurator
- Configurator
- OsCtld::Devices::V2::ContainerConfigurator
- Defined in:
- lib/osctld/devices/v2/container_configurator.rb
Instance Attribute Summary
Attributes inherited from Configurator
Instance Method Summary collapse
- #abs_cgroup_path ⇒ Object protected
- #cgroup_path ⇒ Object protected
- #init(devices) ⇒ Object
- #reconfigure(devices) ⇒ Object
Methods inherited from Configurator
Instance Method Details
#abs_cgroup_path ⇒ Object (protected)
24 25 26 |
# File 'lib/osctld/devices/v2/container_configurator.rb', line 24 def abs_cgroup_path owner.abs_apply_cgroup_path('devices') end |
#cgroup_path ⇒ Object (protected)
20 21 22 |
# File 'lib/osctld/devices/v2/container_configurator.rb', line 20 def cgroup_path owner.base_cgroup_path end |
#init(devices) ⇒ Object
5 6 7 8 9 |
# File 'lib/osctld/devices/v2/container_configurator.rb', line 5 def init(devices) # Container cgroups need not be initialized, they'll be created & configured # on-demand when the container is starting from the ct_pre_start hook. get_prog(devices) end |