Class: KubesAws::Config
- Inherits:
-
Object
- Object
- KubesAws::Config
- Includes:
- Singleton
- Defined in:
- lib/kubes_aws/config.rb
Constant Summary collapse
- @@config =
nil
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
13 14 15 |
# File 'lib/kubes_aws/config.rb', line 13 def config @@config ||= defaults end |
#configure {|config| ... } ⇒ Object
17 18 19 |
# File 'lib/kubes_aws/config.rb', line 17 def configure yield(config) end |
#defaults ⇒ Object
5 6 7 8 9 10 |
# File 'lib/kubes_aws/config.rb', line 5 def defaults c = ActiveSupport::OrderedOptions.new c.secrets = ActiveSupport::OrderedOptions.new c.secrets.base64 = true c end |