MCPcopy Create free account
hub / github.com/docker/secrets-engine / credentialHelperStore

Struct credentialHelperStore

plugins/credentialhelper/store.go:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51type KeyRewriter func(serverURL, username string) (plugin.ID, error)
52
53type credentialHelperStore struct {
54 client.ProgramFunc
55 plugin.Logger
56 rewriter KeyRewriter
57}
58
59// DefaultKeyRewriter can be used to remove the "https://", "http://" prefix
60// and any trailing forward-slash "/". Additionally it will replace colons ":"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected