Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisExporter

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



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

def kind_sym
  :redis_failover_spec_redis_exporter
end

#serializeObject



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

def serialize
  {}.tap do |result|
    result[:image] = image
    result[:args] = args
    result[:enabled] = enabled
    result[:env] = envs.map(&:serialize)
    result[:imagePullPolicy] = image_pull_policy
  end
end