class ServiceRunner::Service

Defined in:

service_runner/service.cr

Constant Summary

DockerErr = ::Log.for("docker-logs.stderr")
DockerLogs = ::Log.for("docker-logs.stdout")
Log = ::Log.for("service-runner")

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name = nil, image = nil) #

[View source]

Class Method Detail

def self.start #

[View source]

Instance Method Detail

def docker : Docker #

[View source]
def docker=(docker : Docker) #

[View source]
def done_stopping : Channel(Done) #

[View source]
def fatal(msg) #

[View source]
def image : String #

[View source]
def image=(image : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def notify #

[View source]
def pipe_logs(process, io, logchannel) #

[View source]
def pipe_logs #

[View source]
def start(create_args = ARGV) #

[View source]
def stop #

[View source]
def stopping? : Bool #

[View source]