Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/perkeep/perkeep
/ FromEnv
Function
FromEnv
pkg/auth/auth.go:82–84 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
}
81
82
func
FromEnv() (AuthMode, error) {
83
return
FromConfig(os.Getenv(
"CAMLI_AUTH"
))
84
}
85
86
// An AuthConfigParser parses a registered authentication type's option
87
// and returns an AuthMode.
Callers
1
SetupAuth
Method · 0.92
Calls
1
FromConfig
Function · 0.85
Tested by
no test coverage detected