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

Function SetEndpoint

cache/endpoint_cache.go:62–64  ·  view source on GitHub ↗
(ep params.ForgeEndpoint)

Source from the content-addressed store, hash-verified

60}
61
62func SetEndpoint(ep params.ForgeEndpoint) {
63 endpointCache.SetEndpoint(ep)
64}
65
66func GetEndpoint(epName string) (params.ForgeEndpoint, bool) {
67 return endpointCache.GetEndpoint(epName)

Callers 2

loadAllEntitiesMethod · 0.92
handleEndpointEventMethod · 0.92

Calls 1

SetEndpointMethod · 0.45

Tested by

no test coverage detected