Class: KubeDSL::DSL::Policy::V1beta1::AllowedFlexVolume
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::Policy::V1beta1::AllowedFlexVolume
- Defined in:
- lib/kube-dsl/dsl/policy/v1beta1/allowed_flex_volume.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
13 14 15 |
# File 'lib/kube-dsl/dsl/policy/v1beta1/allowed_flex_volume.rb', line 13 def kind_sym :allowed_flex_volume end |
#serialize ⇒ Object
7 8 9 10 11 |
# File 'lib/kube-dsl/dsl/policy/v1beta1/allowed_flex_volume.rb', line 7 def serialize {}.tap do |result| result[:driver] = driver end end |