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