Class: Kuby::KubeDB::DSL::Kubedb::V1alpha1::MemcachedSpec
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::KubeDB::DSL::Kubedb::V1alpha1::MemcachedSpec
- Defined in:
- lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached_spec.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
23 24 25 |
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached_spec.rb', line 23 def kind_sym :memcached_spec end |
#serialize ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached_spec.rb', line 10 def serialize {}.tap do |result| result[:replicas] = replicas result[:terminationPolicy] = termination_policy result[:version] = version result[:serviceTemplate] = service_template.serialize result[:monitor] = monitor.serialize result[:podTemplate] = pod_template.serialize result[:configSource] = config_source.serialize result[:strategy] = strategy.serialize end end |