Module: Flotte
- Defined in:
- lib/flotte.rb,
lib/flotte/cli.rb,
lib/flotte/host.rb,
lib/flotte/role.rb,
lib/flotte/command.rb,
lib/flotte/service.rb,
lib/flotte/version.rb,
lib/flotte/cli/host.rb,
lib/flotte/cli/main.rb,
lib/flotte/registry.rb,
lib/flotte/cli/service.rb,
lib/flotte/command/ssh.rb,
lib/flotte/configuration.rb,
lib/flotte/registry/base.rb,
lib/flotte/registry/host.rb,
lib/flotte/registry/role.rb,
lib/flotte/initialization.rb,
lib/flotte/registry/service.rb,
lib/flotte/configuration/hosts.rb,
lib/flotte/configuration/service.rb,
lib/flotte/command/docker/container/run.rb
Defined Under Namespace
Modules: CLI, Command, Configuration
Classes: Error, Host, Initialization, Registry, Role, Service
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.init(config:) ⇒ Object
31
32
33
34
|
# File 'lib/flotte.rb', line 31
def self.init(config:)
@registry = nil
Initialization.new(config, registry).perform
end
|
.output ⇒ Object
27
28
29
|
# File 'lib/flotte.rb', line 27
def self.output
@output || $stdout
end
|
.output=(output) ⇒ Object
23
24
25
|
# File 'lib/flotte.rb', line 23
def self.output=(output)
@output = output
end
|
.registry ⇒ Object
36
37
38
|
# File 'lib/flotte.rb', line 36
def self.registry
@registry ||= Registry.new
end
|