class KubesGoogle::Secrets::Fetcher
Public Class Methods
new(options={})
click to toggle source
# File lib/kubes_google/secrets/fetcher.rb, line 5 def initialize(options={}) @options = options end
Public Instance Methods
fetch(short_name)
click to toggle source
# File lib/kubes_google/secrets/fetcher.rb, line 9 def fetch(short_name) fetcher.fetch(short_name) end
fetcher()
click to toggle source
# File lib/kubes_google/secrets/fetcher.rb, line 13 def fetcher if KubesGoogle.config.secrets.fetcher == "sdk" Sdk.new(@options) else Gcloud.new(@options) end end