class Swarmy::Docker

Defined in:

swarmy/docker.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(server : Server | Nil = nil) #

Class Method Detail

def self.filter_services(services : Array(Service), filter : String | Nil) : Array(Service) #

def self.parse_services(output : String) : Array(Service) #

def self.parse_tasks(output : String) : Array(Task) #

Instance Method Detail

def container_id(task_id : String) : String #

def env : Hash(String, String) | Nil #

def server : Server | Nil #

def services(filter : String | Nil = nil) : Array(Service) #

def tasks(service_name : String) : Array(Task) #