MCPcopy
hub / github.com/hwholiday/learning_tools / DataSource

Interface DataSource

hconfig/hconf/hconfig.go:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8type DataSource interface {
9 Load() ([]*Data, error)
10 Watch() (DataWatcher, error)
11}
12
13type DataWatcher interface {
14 Change() ([]*Data, error)

Callers 8

TestNewEtcdConfigFunction · 0.65
TestNewEtcdConfigFunction · 0.65
TestNewKubernetesConfigFunction · 0.65
TestNewEtcdConfigFunction · 0.65
TestNewEtcdConfigFunction · 0.65
newWatcherFunction · 0.65
TestNewKubernetesConfigFunction · 0.65
newWatcherFunction · 0.65

Implementers 4

confighconfig/hconfig.go
apolloConfighconfig/apollo/config.go
etcdConfighconfig/etcd/config.go
kubernetesConfighconfig/kubernetes/config.go

Calls

no outgoing calls

Tested by

no test coverage detected