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

Method UseKeyringWithGlobalConfig

cli/root.go:913–915  ·  view source on GitHub ↗

UseKeyringWithGlobalConfig enables the use of the keyring storage backend when the --global-config directory is set. This is only intended as an override for tests, which require specifying the global config directory for test isolation.

()

Source from the content-addressed store, hash-verified

911// when the --global-config directory is set. This is only intended as an override
912// for tests, which require specifying the global config directory for test isolation.
913func (r *RootCmd) UseKeyringWithGlobalConfig() {
914 r.useKeyringWithGlobalConfig = true
915}
916
917type AgentAuth struct {
918 // Agent Client config

Callers 2

setupKeyringTestEnvFunction · 0.95
TestUseKeyringFunction · 0.95

Calls

no outgoing calls

Tested by 2

setupKeyringTestEnvFunction · 0.76
TestUseKeyringFunction · 0.76