Sha256: 81da76145b6b89615fbb6c3a20eadb062d1e98b2cdf8c35141478d5b614a5a32
Contents?: true
Size: 889 Bytes
Versions: 16
Compression:
Stored size: 889 Bytes
Contents
require 'mccloud/provider/core/lb' require 'mccloud/provider/aws/lb/associate' require 'mccloud/provider/aws/lb/sorry' module Mccloud::Provider module Aws class Lb < ::Mccloud::Provider::Core::Lb #Inherits :name # :provider attr_accessor :members attr_accessor :sorry_members include Mccloud::Provider::Aws::LbCommand def initialize(env) members=Array.new sorry_members=Array.new super(env) end def raw if @raw.nil? rawname="#{@name}" #rawname="#{@provider.filter}#{@name}" ::Fog.credential=@provider.credential @raw=::Fog::AWS::ELB.new({:region => provider.region}.merge(provider.options)).load_balancers.get(@name) env.logger.info("LB found #{@raw}") end return @raw end end end end #Module Mccloud
Version data entries
16 entries across 16 versions & 1 rubygems