struct

Swarmy::Service

Inherits Struct < Value < Object

Constructors

from_docker_json(raw : String) : Service
Source
new(id : String, name : String, mode : String, image : String, ports : String, running : Int32, desired : Int32)
Source

Class methods

parse_replicas(text : String) : Tuple(Int32, Int32)
Source

Instance methods

desired
Source
health
Source
image
Source
mode
Source
name
Source
ports
Source
replicas
Source
running
Source

Nested types