Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisStoragePersistentVolumeClaim

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



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

def kind_sym
  :redis_failover_spec_redis_storage_persistent_volume_claim
end

#serializeObject



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

def serialize
  {}.tap do |result|
    result[:status] = status.serialize
    result[:kind] = kind
    result[:spec] = spec.serialize
    result[:apiVersion] = api_version
    result[:metadata] = .serialize
  end
end