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

Method RemoveEndpoint

cache/endpoint_cache.go:55–60  ·  view source on GitHub ↗
(epName string)

Source from the content-addressed store, hash-verified

53}
54
55func (e *EndpointCache) RemoveEndpoint(epName string) {
56 e.mux.Lock()
57 defer e.mux.Unlock()
58
59 delete(e.endpoints, epName)
60}
61
62func SetEndpoint(ep params.ForgeEndpoint) {
63 endpointCache.SetEndpoint(ep)

Callers 1

RemoveEndpointFunction · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected