Swm::Stack
Inherits Reference < Object
Constructors
new(name : String, cluster : Cluster, yml : String = "#{name}.yml")
SourceInstance methods
deploy(replicas = 1, env : Process::Env = {} of String => String)
Sourcedeployed?
Sourceexists?
Sourcefollow(service_name : String)
Sourcename
Sourcepostdeploy(command : String, env : Process::Env = {} of String => String)
Sourcepredeploy(command : String, env : Process::Env = {} of String => String)
Sourceremove!
Sourcescript_stack
Sourceto_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.
wait_for_deploy
Sourceyml
Source