Class: KubernetesReferences::HostPathVolumeSource
- Defined in:
- lib/kubernetes_references/volume_source/host_path_volume_source.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #_schema ⇒ Object
-
#initialize(obj) ⇒ HostPathVolumeSource
constructor
A new instance of HostPathVolumeSource.
Methods inherited from API
Constructor Details
#initialize(obj) ⇒ HostPathVolumeSource
Returns a new instance of HostPathVolumeSource.
8 9 10 |
# File 'lib/kubernetes_references/volume_source/host_path_volume_source.rb', line 8 def initialize(obj) _set!(obj) end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/kubernetes_references/volume_source/host_path_volume_source.rb', line 4 def path @path end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/kubernetes_references/volume_source/host_path_volume_source.rb', line 6 def type @type end |
Instance Method Details
#_schema ⇒ Object
12 13 14 15 16 17 |
# File 'lib/kubernetes_references/volume_source/host_path_volume_source.rb', line 12 def _schema { path: @path, type: @type } end |