Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpec

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



31
32
33
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec.rb', line 31

def kind_sym
  :redis_failover_spec
end

#serializeObject



21
22
23
24
25
26
27
28
29
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec.rb', line 21

def serialize
  {}.tap do |result|
    result[:sentinel] = sentinel.serialize
    result[:bootstrapNode] = bootstrap_node.serialize
    result[:redis] = redis.serialize
    result[:auth] = auth.serialize
    result[:labelWhitelist] = label_whitelist
  end
end