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