Class: KubeDSL::DSL::Extensions::V1beta1::Deployment
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::Extensions::V1beta1::Deployment
- Defined in:
- lib/kube-dsl/dsl/extensions/v1beta1/deployment.rb
Instance Method Summary collapse
Methods inherited from KubeDSL::DSLObject
Methods included from ValueFields
#array_field, #object_field, #value_field, #value_fields
Constructor Details
This class inherits a constructor from KubeDSL::DSLObject
Instance Method Details
#kind_sym ⇒ Object
17 18 19 |
# File 'lib/kube-dsl/dsl/extensions/v1beta1/deployment.rb', line 17 def kind_sym :deployment end |
#serialize ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/kube-dsl/dsl/extensions/v1beta1/deployment.rb', line 7 def serialize {}.tap do |result| result[:apiVersion] = "extensions/v1beta1" result[:kind] = "Deployment" result[:metadata] = .serialize result[:spec] = spec.serialize result[:status] = status.serialize end end |