Class: Kuby::KubeDB::DSL::API::V1::ServiceTemplateSpec

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/kube-db/dsl/api/v1/service_template_spec.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



16
17
18
# File 'lib/kuby/kube-db/dsl/api/v1/service_template_spec.rb', line 16

def kind_sym
  :service_template_spec
end

#serializeObject



9
10
11
12
13
14
# File 'lib/kuby/kube-db/dsl/api/v1/service_template_spec.rb', line 9

def serialize
  {}.tap do |result|
    result[:spec] = spec.serialize
    result[:metadata] = .serialize
  end
end