Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
type
Consumer
interface
{
55
Watch() <-
chan
ChangePayload
56
IsClosed() bool
57
Close()
58
SetFilters(filters ...PayloadFilterFunc)
Callers
15
runWatcher
Method · 0.65
TestJobWatcher
Method · 0.65
TestInstanceWatcher
Method · 0.65
TestScaleSetInstanceWatcher
Method · 0.65
TestPoolWatcher
Method · 0.65
TestScaleSetWatcher
Method · 0.65
TestControllerWatcher
Method · 0.65
TestEnterpriseWatcher
Method · 0.65
TestOrgWatcher
Method · 0.65
TestRepoWatcher
Method · 0.65
TestGithubCredentialsWatcher
Method · 0.65
TestGiteaCredentialsWatcher
Method · 0.65
Implementers
2
consumer
database/watcher/consumer.go
MockConsumer
internal/testing/mock_watcher.go
Calls
no outgoing calls
Tested by
15
TestJobWatcher
Method · 0.52
TestInstanceWatcher
Method · 0.52
TestScaleSetInstanceWatcher
Method · 0.52
TestPoolWatcher
Method · 0.52
TestScaleSetWatcher
Method · 0.52
TestControllerWatcher
Method · 0.52
TestEnterpriseWatcher
Method · 0.52
TestOrgWatcher
Method · 0.52
TestRepoWatcher
Method · 0.52
TestGithubCredentialsWatcher
Method · 0.52
TestGiteaCredentialsWatcher
Method · 0.52
TestGithubEndpointWatcher
Method · 0.52