Class: TwistlockControl::Entities::ProvisioningConfiguration
- Inherits:
-
TwistlockControl::Entity
- Object
- TwistlockControl::Entity
- TwistlockControl::Entities::ProvisioningConfiguration
- Defined in:
- lib/twistlock_control/entities/provisioning_configuration.rb
Overview
ProvisioningConfiguration holds service instance configuration that pertains to the provisioning of containers.
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from TwistlockControl::Entity
Class Method Details
.new(attrs) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/twistlock_control/entities/provisioning_configuration.rb', line 8 def self.new(attrs) if attrs['configurations'] || attrs[:configurations] obj = CompositeConfiguration.allocate else obj = ContainerConfiguration.allocate end obj.send :initialize, attrs end |