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

Method Set

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

Set stores the given credential for a service name in the operating system keyring.

(service, credential string)

Source from the content-addressed store, hash-verified

58 // Set stores the given credential for a service name in the operating system
59 // keyring.
60 Set(service, credential string) error
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)

Callers 15

TestGitAskpassFunction · 0.65
TestWorkspaceAgentFunction · 0.65
ServerMethod · 0.65
ConfigureHTTPServersFunction · 0.65
fakeOIDCIssuerDiscoveryFunction · 0.65
newDeploymentValuesFunction · 0.65
TestServerFunction · 0.65
TestLoginFunction · 0.65
TestUseKeyringFunction · 0.65
TestExpChatContextAddFunction · 0.65

Implementers 1

operatingSystemKeyringcli/sessionstore/sessionstore_other.go

Calls

no outgoing calls

Tested by 15

TestGitAskpassFunction · 0.52
TestWorkspaceAgentFunction · 0.52
fakeOIDCIssuerDiscoveryFunction · 0.52
newDeploymentValuesFunction · 0.52
TestServerFunction · 0.52
TestLoginFunction · 0.52
TestUseKeyringFunction · 0.52
TestExpChatContextAddFunction · 0.52
TestSupportBundleFunction · 0.52