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
22 23 24 |
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_node.rb', line 22 def kind_sym :elasticsearch_node end |
#serialize ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_node.rb', line 13 def serialize {}.tap do |result| result[:prefix] = prefix result[:storage] = storage.serialize result[:resources] = resources.serialize result[:replicas] = replicas end end |