Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisAffinityPodAffinity
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisAffinityPodAffinity
- Defined in:
- lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_pod_affinity.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
22 23 24 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_pod_affinity.rb', line 22 def kind_sym :redis_failover_spec_redis_affinity_pod_affinity end |
#serialize ⇒ Object
15 16 17 18 19 20 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_pod_affinity.rb', line 15 def serialize {}.tap do |result| result[:requiredDuringSchedulingIgnoredDuringExecution] = required_during_scheduling_ignored_during_executions.map(&:serialize) result[:preferredDuringSchedulingIgnoredDuringExecution] = preferred_during_scheduling_ignored_during_executions.map(&:serialize) end end |