Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecSentinelAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecSentinelAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm
- Defined in:
- lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_affinity_pod_anti_affinity_preferred_during_scheduling_igno_38a65fc5.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
28 29 30 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_affinity_pod_anti_affinity_preferred_during_scheduling_igno_38a65fc5.rb', line 28 def kind_sym :redis_failover_spec_sentinel_affinity_pod_anti_affinity_preferred_during_scheduling_ignored_during_execution_pod_affinity_term end |
#serialize ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_affinity_pod_anti_affinity_preferred_during_scheduling_igno_38a65fc5.rb', line 19 def serialize {}.tap do |result| result[:namespaceSelector] = namespace_selector.serialize result[:labelSelector] = label_selector.serialize result[:namespaces] = namespaces result[:topologyKey] = topology_key end end |