class

Swm::Stack

Inherits Reference < Object

Constructors

new(name : String, cluster : Cluster, yml : String = "#{name}.yml")
Source

Instance methods

deploy(replicas = 1, env : Process::Env = {} of String => String)
Source
deployed?
Source
exists?
Source
follow(service_name : String)
Source
name
Source
original_stack_name

name of the non-script stack

Source
postdeploy(command : String, env : Process::Env = {} of String => String)
Source
predeploy(command : String, env : Process::Env = {} of String => String)
Source
remove!
Source
script_stack
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
wait_for_deploy
Source