class Squarectl::Config::SetupCommand

Overview

A command run inside a service during setup (via compose exec, docker exec on swarm, or kubectl exec), scoped to one or more targets.

:nodoc:

Included Modules

Defined in:

squarectl/config/setup_command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def command : Array(String) #

[View source]
def command=(command : Array(String)) #

[View source]
def service : String #

[View source]
def service=(service : String) #

[View source]
def target : String | Array(String) #

[View source]
def target=(target : String | Array(String)) #

[View source]
def to_h #

[View source]