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

Method UpdateController

database/common/store.go:147–147  ·  view source on GitHub ↗
(info params.UpdateControllerParams)

Source from the content-addressed store, hash-verified

145 ControllerInfo() (params.ControllerInfo, error)
146 InitController() (params.ControllerInfo, error)
147 UpdateController(info params.UpdateControllerParams) (params.ControllerInfo, error)
148 HasEntitiesWithAgentModeEnabled() (bool, error)
149 UpdateCachedGARMAgentRelease(releaseData []byte, fetchedAt time.Time) error
150}

Callers 4

UpdateControllerMethod · 0.65
TestControllerWatcherMethod · 0.65
setControllerURLsFunction · 0.65

Implementers 3

sqlDatabasedatabase/sql/sql.go
Storedatabase/common/mocks/Store.go
Store_Expecterdatabase/common/mocks/Store.go

Calls

no outgoing calls

Tested by 1

TestControllerWatcherMethod · 0.52