MCPcopy Create free account
hub / github.com/eth-easl/dirigent / StopWorkerNode

Method StopWorkerNode

internal/worker_node/worker_node.go:144–147  ·  view source on GitHub ↗
(config config.WorkerNodeConfig, cpApi *proto.CpiInterfaceClient)

Source from the content-addressed store, hash-verified

142}
143
144func (w *WorkerNode) StopWorkerNode(config config.WorkerNodeConfig, cpApi *proto.CpiInterfaceClient) {
145 w.CleanResources()
146 w.DeregisterNodeFromControlPlane(config, cpApi)
147}
148
149func (w *WorkerNode) CleanResources() {
150 keys := make([]string, 0)

Callers

nothing calls this directly

Calls 2

CleanResourcesMethod · 0.95

Tested by

no test coverage detected