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.



4695
4696
4697
# File 'lib/svc.rb', line 4695

def initialize(secret_stores)
  @secret_stores = secret_stores
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one SecretStore by ID.



4700
4701
4702
4703
4704
4705
4706
4707
4708
# File 'lib/svc.rb', line 4700

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.



4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
# File 'lib/svc.rb', line 4711

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