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



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

def kind_sym
  :elasticsearch_cluster_topology
end

#serializeObject



7
8
9
10
11
12
13
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_cluster_topology.rb', line 7

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