lib/dpl/provider/bluemix_cloud_foundry.rb
# NOTE: Much of this class is duplicated from CloudFoundry.
# This is by design. By duplicating a manageable amount of
# code here, we prevent this provider and its gem `dpl-bluemix_cloud_foundry`
# from having a dependency on `dpl-cloudfoundry`.
# Having less dependency is desirable when we install this gem
# from source.
Much of this class is duplicated from CloudFoundry.
This is by design. By duplicating a manageable amount of
code here, we prevent this provider and its gem `dpl-bluemix_cloud_foundry`
from having a dependency on `dpl-cloudfoundry`.
Having less dependency is desirable when we install this gem
from source.
Much of this class is duplicated from CloudFoundry . This is by design . By duplicating a manageable amount of code here we prevent this provider and its gem ` dpl - bluemix_cloud_foundry ` from having a dependency on ` dpl - cloudfoundry ` . Having less dependency is desirable when we install this gem from source .
def check_auth
        set_api
        initial_go_tools_install
        context.shell "./cf api #{option(:api)} #{'--skip-ssl-validation' if options[:skip_ssl_validation]}"
        context.shell "./cf login -u #{option(:username)} -p #{option(:password)} -o #{option(:organization)} -s #{option(:space)}"
        install_plugins if options[:plugins]
      end
def check_auth set_api initial_go_tools_install context . shell "./cf api #{option(:api)} #{'--skip-ssl-validation' if options[:skip_ssl_validation]}" context . shell "./cf login -u #{option(:username)} -p #{option(:password)} -o #{option(:organization)} -s #{option(:space)}" install_plugins if options [ :plugins ] end
NOTE: Much of this class is duplicated from CloudFoundry.
NOTE : Much of this class is duplicated from CloudFoundry .