Class: SDM::SnapshotSecretStores

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotSecretStores exposes the read only methods of the SecretStores service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(secret_stores) ⇒ SnapshotSecretStores

Returns a new instance of SnapshotSecretStores.



5667
5668
5669
# File 'lib/svc.rb', line 5667

def initialize(secret_stores)
  @secret_stores = secret_stores
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one SecretStore by ID.



5672
5673
5674
5675
5676
5677
5678
5679
5680
# File 'lib/svc.rb', line 5672

def get(
  id,
  deadline: nil
)
  return @secret_stores.get(
           id,
           deadline: deadline,
         )
end

#list(filter, *args, deadline: nil) ⇒ Object

List gets a list of SecretStores matching a given set of criteria.



5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
# File 'lib/svc.rb', line 5683

def list(
  filter,
  *args,
  deadline: nil
)
  return @secret_stores.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end