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