Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OctopusDeploy/cli
/ New
Function
New
pkg/config/provider.go:20–24 ·
view source on GitHub ↗
(viper *viper.Viper)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
New(viper *viper.Viper) IConfigProvider {
21
return
&FileConfigProvider{
22
viper: viper,
23
}
24
}
25
26
func
(accessToken *FileConfigProvider) Get(key string) string {
27
return
viper.GetString(key)
Callers
2
main
Function · 0.92
run
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected