Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisExporterEnvValueFromSecretKeyRef

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



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

def kind_sym
  :redis_failover_spec_redis_exporter_env_value_from_secret_key_ref
end

#serializeObject



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

def serialize
  {}.tap do |result|
    result[:optional] = optional
    result[:name] = name
    result[:key] = key
  end
end