module TwistlockControl::Collections

Collections is an interface for querying the collections

Public Class Methods

container_instances() click to toggle source
# File lib/twistlock_control/collections.rb, line 17
def container_instances
        Entities::ContainerInstance.repository.table
end
provisioners() click to toggle source
# File lib/twistlock_control/collections.rb, line 5
def provisioners
        Entities::Provisioner.repository.table
end
service_instances() click to toggle source
# File lib/twistlock_control/collections.rb, line 13
def service_instances
        Entities::ServiceInstance.repository.table
end
services() click to toggle source
# File lib/twistlock_control/collections.rb, line 9
def services
        Entities::Service.repository.table
end