Class: Kuby::KubeDB::DSL::Kubedb::V1alpha1::ElasticsearchClusterTopology

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_cluster_topology.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



19
20
21
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_cluster_topology.rb', line 19

def kind_sym
  :elasticsearch_cluster_topology
end

#serializeObject



11
12
13
14
15
16
17
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_cluster_topology.rb', line 11

def serialize
  {}.tap do |result|
    result[:master] = master.serialize
    result[:client] = client.serialize
    result[:data] = data.serialize
  end
end