Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelectorMatchExpressions

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



25
26
27
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_pod_affinity_preferred_during_scheduling_ignored_duri_72161698.rb', line 25

def kind_sym
  :redis_failover_spec_redis_affinity_pod_affinity_preferred_during_scheduling_ignored_during_execution_pod_affinity_term_namespace_selector_match_expressions
end

#serializeObject



17
18
19
20
21
22
23
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_affinity_pod_affinity_preferred_during_scheduling_ignored_duri_72161698.rb', line 17

def serialize
  {}.tap do |result|
    result[:operator] = operator
    result[:values] = values
    result[:key] = key
  end
end