Class: Kuby::KubeDB::DSL::Kubedb::V1alpha1::ElasticsearchNode
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::KubeDB::DSL::Kubedb::V1alpha1::ElasticsearchNode
- Defined in:
- lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_node.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
16 17 18 |
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_node.rb', line 16 def kind_sym :elasticsearch_node end |
#serialize ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_node.rb', line 7 def serialize {}.tap do |result| result[:prefix] = prefix result[:replicas] = replicas result[:storage] = storage.serialize result[:resources] = resources.serialize end end |