MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / delete

Function delete

pkg/cmd/worker/delete/delete.go:90–92  ·  view source on GitHub ↗
(client *client.Client, itemToDelete *machines.Worker)

Source from the content-addressed store, hash-verified

88}
89
90func delete(client *client.Client, itemToDelete *machines.Worker) error {
91 return client.Workers.DeleteByID(itemToDelete.GetID())
92}

Callers 2

NewCmdDeleteFunction · 0.70
deleteRunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected