class Swm::Stack
- Swm::Stack
- Reference
- Object
Defined in:
docker/stack.crConstructors
Instance Method Summary
- #deploy(replicas = 1, env : Process::Env = {} of String => String)
- #deployed? : Bool
- #exists?
- #follow(service_name : String)
- #name : String
-
#original_stack_name
name of the non-script stack
- #postdeploy(command : String, env : Process::Env = {} of String => String)
- #predeploy(command : String, env : Process::Env = {} of String => String)
- #remove!
- #script_stack
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #wait_for_deploy
- #yml : String
Constructor Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
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
.