Class: KubeDSL::DSL::V1::NodeAddress
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::V1::NodeAddress
- Defined in:
- lib/kube-dsl/dsl/v1/node_address.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
20 21 22 |
# File 'lib/kube-dsl/dsl/v1/node_address.rb', line 20 def kind_sym :node_address end |
#serialize ⇒ Object
13 14 15 16 17 18 |
# File 'lib/kube-dsl/dsl/v1/node_address.rb', line 13 def serialize {}.tap do |result| result[:address] = address result[:type] = type end end |