Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecSentinelAffinity
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecSentinelAffinity
- Defined in:
- lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_affinity.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
25 26 27 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_affinity.rb', line 25 def kind_sym :redis_failover_spec_sentinel_affinity end |
#serialize ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_affinity.rb', line 17 def serialize {}.tap do |result| result[:podAffinity] = pod_affinity.serialize result[:nodeAffinity] = node_affinity.serialize result[:podAntiAffinity] = pod_anti_affinity.serialize end end |