Class: KubeDSL::DSL::V1::ConfigMap
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
28
29
30
|
# File 'lib/kube-dsl/dsl/v1/config_map.rb', line 28
def kind_sym
:config_map
end
|
#serialize ⇒ Object
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/kube-dsl/dsl/v1/config_map.rb', line 17
def serialize
{}.tap do |result|
result[:apiVersion] = "v1"
result[:binaryData] = binary_data.serialize
result[:data] = data.serialize
result[:immutable] = immutable
result[:kind] = "ConfigMap"
result[:metadata] = metadata.serialize
end
end
|