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.



3042
3043
3044
# File 'lib/svc.rb', line 3042

def initialize(secret_stores)
  @secret_stores = secret_stores
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one SecretStore by ID.



3047
3048
3049
3050
3051
3052
3053
3054
3055
# File 'lib/svc.rb', line 3047

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.



3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
# File 'lib/svc.rb', line 3058

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