struct Swarmy::Task

Defined in:

swarmy/models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_docker_json(raw : String) : Task #

def self.new(id : String, name : String, node : String, desired_state : String, current_state : String, error : String) #

Instance Method Detail

def current_state : String #

def desired_state : String #

def error : String #

def failed? : Bool #

def id : String #

def name : String #

def node : String #