MCPcopy
hub / github.com/zalando/skipper / DataClient

Interface DataClient

routing/routing.go:53–56  ·  view source on GitHub ↗

DataClient instances provide data sources for route definitions.

Source from the content-addressed store, hash-verified

51// DataClient instances provide data sources for
52// route definitions.
53type DataClient interface {
54 LoadAll() ([]*eskip.Route, error)
55 LoadUpdate() ([]*eskip.Route, []string, error)
56}
57
58// NamedDataClient is like DataClient but has a name, which can be
59// used to EnsureDataClient or -ensure-dataclients.

Callers 16

runFunction · 0.65
TestReceivesErrorFunction · 0.65
TestAllEndpointsFailedFunction · 0.65
TestValidatesDocumentFunction · 0.65
TestReceivesInitialFunction · 0.65
TestReceivesUpdatesFunction · 0.65
TestReceiveInsertFunction · 0.65
TestReceivesUpdatesFunction · 0.65
TestReceiveInsertFunction · 0.65
TestReceiveExpireFunction · 0.65
TestReceiveDeleteFunction · 0.65

Implementers 9

Clientetcd/etcd.go
Clienteskipfile/file.go
WatchClienteskipfile/watch.go
remoteEskipFileeskipfile/remote.go
fadeInDataClientproxy/fadeintesting_test.go
valueDataClientrouting/routing_test.go
Clientrouting/testdataclient/dataclient.go
routesdataclients/routestring/string.go
Clientdataclients/kubernetes/kube.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…