MCPcopy Create free account
hub / github.com/cloudbase/garm / Watch

Method Watch

database/common/watcher.go:55–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54type Consumer interface {
55 Watch() <-chan ChangePayload
56 IsClosed() bool
57 Close()
58 SetFilters(filters ...PayloadFilterFunc)

Callers 15

runWatcherMethod · 0.65
TestJobWatcherMethod · 0.65
TestInstanceWatcherMethod · 0.65
TestPoolWatcherMethod · 0.65
TestScaleSetWatcherMethod · 0.65
TestControllerWatcherMethod · 0.65
TestEnterpriseWatcherMethod · 0.65
TestOrgWatcherMethod · 0.65
TestRepoWatcherMethod · 0.65

Implementers 2

consumerdatabase/watcher/consumer.go
MockConsumerinternal/testing/mock_watcher.go

Calls

no outgoing calls

Tested by 15

TestJobWatcherMethod · 0.52
TestInstanceWatcherMethod · 0.52
TestPoolWatcherMethod · 0.52
TestScaleSetWatcherMethod · 0.52
TestControllerWatcherMethod · 0.52
TestEnterpriseWatcherMethod · 0.52
TestOrgWatcherMethod · 0.52
TestRepoWatcherMethod · 0.52