diff options
Diffstat (limited to 'repository/keyring.go')
-rw-r--r-- | repository/keyring.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/repository/keyring.go b/repository/keyring.go index 6cba303e..8ae7b1ef 100644 --- a/repository/keyring.go +++ b/repository/keyring.go @@ -13,13 +13,13 @@ var ErrKeyringKeyNotFound = keyring.ErrKeyNotFound // Keyring provides the uniform interface over the underlying backends type Keyring interface { - // Returns an Item matching the key or ErrKeyringKeyNotFound + // Get returns an Item matching the key or ErrKeyringKeyNotFound Get(key string) (Item, error) - // Stores an Item on the keyring. Set is idempotent. + // Set stores an Item on the keyring. Set is idempotent. Set(item Item) error - // Removes the item with matching key + // Remove removes the item with matching key Remove(key string) error - // Provides a slice of all keys stored on the keyring + // Keys provides a slice of all keys stored on the keyring Keys() ([]string, error) } |