struct ServiceRunner::Docker

Defined in:

service_runner/docker.cr

Constant Summary

Log = ::Log.for("docker-command-runner")

Constructors

Instance Method Summary

Constructor Detail

def self.new(image : String, name : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def container_exists? : Bool #

[View source]
def container_id #

[View source]
def copy_with(image _image = @image, name _name = @name) #

[View source]
def create(args : Array(String)) #

[View source]
def create(args : Array(String), &on_error : Process::Status -> T) : Bool | T forall T #

[View source]
def create(*args : String, &on_error : Process::Status -> T) : Bool | T forall T #

[View source]
def create(*args : String) #

[View source]
def image : String #

def image_exists? #

[View source]
def image_id : String #

[View source]
def name : String #

def notify #

[View source]
def pull(&) #

[View source]
def pull #

[View source]
def pull? #

[View source]
def remove(&) #

[View source]
def remove #

[View source]
def remove? #

[View source]
def runcmd(args : Array(String), cmd = "docker", &) #

[View source]
def runcmd(*args : String, cmd = "docker", &) #

[View source]
def runcmd(args : Array(String), cmd = "docker") #

[View source]
def runcmd(*args : String, cmd = "docker") #

[View source]
def start(&) #

[View source]
def start #

[View source]
def start? #

[View source]
def stop(&) #

[View source]
def stop #

[View source]
def stop? #

[View source]