class Bosh::AwsCliPlugin::Bootstrap
Constants
- AWS_JENKINS_BUCKET
Attributes
options[RW]
runner[RW]
Public Class Methods
new(runner, options)
click to toggle source
# File lib/bosh_cli_plugin_aws/bootstrap.rb, line 8 def initialize(runner, options) self.options = options self.runner = runner end
Public Instance Methods
create_user(username, password)
click to toggle source
# File lib/bosh_cli_plugin_aws/bootstrap.rb, line 13 def create_user(username, password) user = Bosh::Cli::Command::User.new(runner) user.options = self.options user.create(username, password) login(username, password) end
login(username, password)
click to toggle source
# File lib/bosh_cli_plugin_aws/bootstrap.rb, line 20 def login(username, password) login_command = Bosh::Cli::Command::Login.new(runner) login_command.options = self.options login_command.login(username, password) end
manifest()
click to toggle source
# File lib/bosh_cli_plugin_aws/bootstrap.rb, line 26 def manifest raise NotImplementedError end