Class: KubeDSL::DSL::V1::ConfigMapKeySelector
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::V1::ConfigMapKeySelector
- Defined in:
- lib/kube-dsl/dsl/v1/config_map_key_selector.rb
Instance Method Summary collapse
Methods inherited from KubeDSL::DSLObject
Methods included from ValueFields
Methods included from Validations
Constructor Details
This class inherits a constructor from KubeDSL::DSLObject
Instance Method Details
#kind_sym ⇒ Object
23 24 25 |
# File 'lib/kube-dsl/dsl/v1/config_map_key_selector.rb', line 23 def kind_sym :config_map_key_selector end |
#serialize ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/kube-dsl/dsl/v1/config_map_key_selector.rb', line 15 def serialize {}.tap do |result| result[:key] = key result[:name] = name result[:optional] = optional end end |