Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
90
func
delete(client *client.Client, itemToDelete *machines.Worker) error {
91
return
client.Workers.DeleteByID(itemToDelete.GetID())
92
}
Callers
2
NewCmdDelete
Function · 0.70
deleteRun
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected