Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_node_affinity_required_during_scheduling_ignored_duri_7f2feab2.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



19
20
21
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_node_affinity_required_during_scheduling_ignored_duri_7f2feab2.rb', line 19

def kind_sym
  :redis_failover_spec_redis_affinity_node_affinity_required_during_scheduling_ignored_during_execution
end

#serializeObject



13
14
15
16
17
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_node_affinity_required_during_scheduling_ignored_duri_7f2feab2.rb', line 13

def serialize
  {}.tap do |result|
    result[:nodeSelectorTerms] = node_selector_terms.map(&:serialize)
  end
end