MCPcopy 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
20func New(viper *viper.Viper) IConfigProvider {
21 return &FileConfigProvider{
22 viper: viper,
23 }
24}
25
26func (accessToken *FileConfigProvider) Get(key string) string {
27 return viper.GetString(key)

Callers 2

mainFunction · 0.92
runFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected