Class: TwistlockControl::Entities::CompositeConfiguration

Inherits:
ProvisioningConfiguration show all
Defined in:
lib/twistlock_control/entities/provisioning_configuration.rb

Overview

Configuration for a composite service

Instance Method Summary collapse

Methods inherited from ProvisioningConfiguration

new

Methods inherited from TwistlockControl::Entity

#==

Instance Method Details

#container_configurationsObject



60
61
62
# File 'lib/twistlock_control/entities/provisioning_configuration.rb', line 60

def container_configurations
	configurations.flat_map(&:container_configurations)
end

#serializeObject



54
55
56
57
58
# File 'lib/twistlock_control/entities/provisioning_configuration.rb', line 54

def serialize
	serialized = super
	serialized[:configurations] = configurations.map(&:serialize)
	serialized
end