MCPcopy
hub / github.com/grafana/dskit / Read

Method Read

runtimeconfig/provider.go:23–23  ·  view source on GitHub ↗

Read returns the contents of the config source.

(ctx context.Context)

Source from the content-addressed store, hash-verified

21 Name() string
22 // Read returns the contents of the config source.
23 Read(ctx context.Context) ([]byte, error)
24}
25
26// fileProvider reads config from the local filesystem.

Callers 15

ReadMethod · 0.65
generateRandomSuffixFunction · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
ReadMethod · 0.65
generateStringFunction · 0.65
TestHTTPProvider_SuccessFunction · 0.65
TestHTTPProvider_TimeoutFunction · 0.65

Implementers 2

fileProviderruntimeconfig/provider.go
httpProviderruntimeconfig/provider.go

Calls

no outgoing calls

Tested by 10

generateStringFunction · 0.52
TestHTTPProvider_SuccessFunction · 0.52
TestHTTPProvider_TimeoutFunction · 0.52
TestNewLimitsMapFunction · 0.52
TestLimitsMap_updateMapFunction · 0.52