MCPcopy
hub / github.com/spf13/viper / Get

Method Get

remote.go:19–19  ·  view source on GitHub ↗
(rp RemoteProvider)

Source from the content-addressed store, hash-verified

17
18type remoteConfigFactory interface {
19 Get(rp RemoteProvider) (io.Reader, error)
20 Watch(rp RemoteProvider) (io.Reader, error)
21 WatchChannel(rp RemoteProvider) (<-chan *RemoteResponse, chan bool)
22}

Callers 15

TestReadInConfigFunction · 0.65
TestDefaultFunction · 0.65
TestUnmarshalingFunction · 0.65
TestOverridesFunction · 0.65
TestDefaultPostFunction · 0.65
TestAliasesFunction · 0.65
TestAliasInConfigFileFunction · 0.65
TestYMLFunction · 0.65
TestJSONFunction · 0.65
TestTOMLFunction · 0.65
TestDotEnvFunction · 0.65
TestRemotePrecedenceFunction · 0.65

Implementers 1

remoteConfigProviderremote/remote.go

Calls

no outgoing calls

Tested by 15

TestReadInConfigFunction · 0.52
TestDefaultFunction · 0.52
TestUnmarshalingFunction · 0.52
TestOverridesFunction · 0.52
TestDefaultPostFunction · 0.52
TestAliasesFunction · 0.52
TestAliasInConfigFileFunction · 0.52
TestYMLFunction · 0.52
TestJSONFunction · 0.52
TestTOMLFunction · 0.52
TestDotEnvFunction · 0.52
TestRemotePrecedenceFunction · 0.52