Class: Kuby::KubeDB::DSL::Kubedb::V1alpha1::PostgresWALSourceSpec

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_wal_source_spec.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



40
41
42
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_wal_source_spec.rb', line 40

def kind_sym
  :postgres_wal_source_spec
end

#serializeObject



25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_wal_source_spec.rb', line 25

def serialize
  {}.tap do |result|
    result[:storageSecretName] = storage_secret_name
    result[:backupName] = backup_name
    result[:s3] = s3.serialize
    result[:swift] = swift.serialize
    result[:pitr] = pitr.serialize
    result[:rest] = rest.serialize
    result[:gcs] = gcs.serialize
    result[:b2] = b2.serialize
    result[:azure] = azure.serialize
    result[:local] = local.serialize
  end
end