Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisExporterEnvValueFrom

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



28
29
30
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_exporter_env_value_from.rb', line 28

def kind_sym
  :redis_failover_spec_redis_exporter_env_value_from
end

#serializeObject



19
20
21
22
23
24
25
26
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_exporter_env_value_from.rb', line 19

def serialize
  {}.tap do |result|
    result[:secretKeyRef] = secret_key_ref.serialize
    result[:fieldRef] = field_ref.serialize
    result[:resourceFieldRef] = resource_field_ref.serialize
    result[:configMapKeyRef] = config_map_key_ref.serialize
  end
end