We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba4edf commit 2a67ef1Copy full SHA for 2a67ef1
credentials/credentials.go
@@ -33,11 +33,12 @@ func (c *Credentials) isValid() (bool, error) {
33
return true, nil
34
}
35
36
-// Docker credentials should be labeled as such in credentials stores that allow labelling.
+// CredsLabel holds the way Docker credentials should be labeled as such in credentials stores that allow labelling.
37
// That label allows to filter out non-Docker credentials too at lookup/search in macOS keychain,
38
// Windows credentials manager and Linux libsecret. Default value is "Docker Credentials"
39
var CredsLabel = "Docker Credentials"
40
41
+// SetCredsLabel is a simple setter for CredsLabel
42
func SetCredsLabel(label string) {
43
CredsLabel = label
44
0 commit comments