Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecSentinelExporterEnvValueFromResourceFieldRef

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



22
23
24
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_exporter_env_value_from_resource_field_ref.rb', line 22

def kind_sym
  :redis_failover_spec_sentinel_exporter_env_value_from_resource_field_ref
end

#serializeObject



15
16
17
18
19
20
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_sentinel_exporter_env_value_from_resource_field_ref.rb', line 15

def serialize
  {}.tap do |result|
    result[:containerName] = container_name
    result[:resource] = resource
  end
end