Module: Knife::Clc::ServerLaunch

Included in:
Chef::Knife::ClcServerCreate
Defined in:
lib/knife-clc/server_launch.rb,
lib/knife-clc/server_launch/mapper.rb,
lib/knife-clc/server_launch/validator.rb,
lib/knife-clc/server_launch/config_options.rb,
lib/knife-clc/server_launch/server_launcher.rb

Defined Under Namespace

Classes: ConfigOptions, Mapper, ServerLauncher, Validator

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(command_class) ⇒ Object



7
8
9
# File 'lib/knife-clc/server_launch.rb', line 7

def self.included(command_class)
  ConfigOptions.attach(command_class)
end

Instance Method Details

#server_launcherObject



11
12
13
14
15
16
17
18
# File 'lib/knife-clc/server_launch.rb', line 11

def server_launcher
  @server_launcher ||= ServerLauncher.new(
    :config => config,
    :ui => ui,
    :connection => connection,
    :errors => errors
  )
end