MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / deleteInstanceCmd

Function deleteInstanceCmd

tui/delete.go:292–297  ·  view source on GitHub ↗
(client *api.Client, instanceID string)

Source from the content-addressed store, hash-verified

290}
291
292func deleteInstanceCmd(client *api.Client, instanceID string) tea.Cmd {
293 return func() tea.Msg {
294 _, err := client.DeleteInstance(instanceID)
295 return deleteResultMsg{err: err}
296 }
297}
298
299func newDeleteProgressModel(client *api.Client, instanceID, message string) deleteProgressModel {
300 s := NewPrimarySpinner()

Callers 1

InitMethod · 0.85

Calls 1

DeleteInstanceMethod · 0.80

Tested by

no test coverage detected