Skip to content

Commit 2a9ba22

Browse files
author
Mauricio Bonetti
committed
issues/1449 - Refactor keyring interface by removing redundant comments for clarity
1 parent c921966 commit 2a9ba22

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/secrets/keyring/interface.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,15 @@ var ErrNotFound = errors.New("key not found")
77

88
// Provider defines the interface for keyring backends
99
type Provider interface {
10-
// Set stores a key-value pair in the keyring
1110
Set(service, key, value string) error
1211

13-
// Get retrieves a value from the keyring
1412
Get(service, key string) (string, error)
1513

16-
// Delete removes a specific key from the keyring
1714
Delete(service, key string) error
1815

19-
// DeleteAll removes all keys for a service from the keyring
2016
DeleteAll(service string) error
2117

22-
// IsAvailable tests if this keyring backend is functional
2318
IsAvailable() bool
2419

25-
// Name returns a human-readable name for this backend
2620
Name() string
2721
}

0 commit comments

Comments
 (0)