Class: KubeDSL::DSL::V1::EnvFromSource
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
19
20
21
|
# File 'lib/kube-dsl/dsl/v1/env_from_source.rb', line 19
def kind_sym
:env_from_source
end
|
#serialize ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/kube-dsl/dsl/v1/env_from_source.rb', line 11
def serialize
{}.tap do |result|
result[:configMapRef] = config_map_ref.serialize
result[:prefix] = prefix
result[:secretRef] = secret_ref.serialize
end
end
|