MCPcopy Index your code
hub / github.com/coder/coder / Get

Method Get

cli/sessionstore/sessionstore.go:63–63  ·  view source on GitHub ↗

Get retrieves the credential from the keyring. It must return os.ErrNotExist if the credential is not found.

(service string)

Source from the content-addressed store, hash-verified

61 // Get retrieves the credential from the keyring. It must return os.ErrNotExist
62 // if the credential is not found.
63 Get(service string) ([]byte, error)
64 // Delete deletes the credential from the keyring. It must return os.ErrNotExist
65 // if the credential is not found.
66 Delete(service string) error

Callers 15

gitAskpassFunction · 0.65
TestWorkspaceAgentFunction · 0.65
configureGithubOAuth2Function · 0.65
redirectToAccessURLFunction · 0.65
isReplicaRelayRequestFunction · 0.65
TestServerFunction · 0.65
mockTelemetryServerFunction · 0.65
loginMethod · 0.65

Implementers 1

operatingSystemKeyringcli/sessionstore/sessionstore_other.go

Calls

no outgoing calls

Tested by 15

TestWorkspaceAgentFunction · 0.52
TestServerFunction · 0.52
mockTelemetryServerFunction · 0.52
TestRootFunction · 0.52
TestDERPHeadersFunction · 0.52
TestExpTaskDeleteFunction · 0.52
TestOpenVSCodeFunction · 0.52