Class: KuberKit::ImageCompiler::BuildServerPoolFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/image_compiler/build_server_pool_factory.rb

Instance Method Summary collapse

Instance Method Details

#create(ssh_shell_class: KuberKit::Shell::SshShell) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/kuber_kit/image_compiler/build_server_pool_factory.rb', line 6

def create(ssh_shell_class: KuberKit::Shell::SshShell)
  KuberKit::ImageCompiler::BuildServerPool.new(
    local_shell:      local_shell,
    build_servers:    KuberKit.current_configuration.build_servers,
    ssh_shell_class:  ssh_shell_class,
  )
end