Sha256: 05774d7bc34fbd6cb1c6a4910bce9f4c5e14bb372421173f8ac704b67f63c096
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
module Kuby::CRDB::DSL::CRDB::V1alpha1 class SpecDataStorePvc < ::KubeDSL::DSLObject object_field(:source) { Kuby::CRDB::DSL::CRDB::V1alpha1::SpecDataStorePvcSource.new } object_field(:spec) { Kuby::CRDB::DSL::CRDB::V1alpha1::SpecDataStorePvcSpec.new } validates :source, object: { kind_of: Kuby::CRDB::DSL::CRDB::V1alpha1::SpecDataStorePvcSource } validates :spec, object: { kind_of: Kuby::CRDB::DSL::CRDB::V1alpha1::SpecDataStorePvcSpec } def serialize {}.tap do |result| result[:source] = source.serialize result[:spec] = spec.serialize end end def kind_sym :spec_data_store_pvc end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kuby-crdb-0.1.0 | lib/kuby/crdb/dsl/crdb/v1alpha1/spec_data_store_pvc.rb |