Module: TwistlockControl::Collections

Defined in:
lib/twistlock_control/collections.rb

Overview

Collections is an interface for querying the collections

Class Method Summary collapse

Class Method Details

.container_instancesObject



17
18
19
# File 'lib/twistlock_control/collections.rb', line 17

def container_instances
	Entities::ContainerInstance.repository.table
end

.provisionersObject



5
6
7
# File 'lib/twistlock_control/collections.rb', line 5

def provisioners
	Entities::Provisioner.repository.table
end

.service_instancesObject



13
14
15
# File 'lib/twistlock_control/collections.rb', line 13

def service_instances
	Entities::ServiceInstance.repository.table
end

.servicesObject



9
10
11
# File 'lib/twistlock_control/collections.rb', line 9

def services
	Entities::Service.repository.table
end