Function
deleteInstance
(apiCli *client.GarmAPI, apiAuthToken runtime.ClientAuthInfoWriter, instanceID string, forceRemove, bypassGHUnauthorized bool)
Source from the content-addressed store, hash-verified
| 501 | } |
| 502 | |
| 503 | func deleteInstance(apiCli *client.GarmAPI, apiAuthToken runtime.ClientAuthInfoWriter, instanceID string, forceRemove, bypassGHUnauthorized bool) error { |
| 504 | return apiCli.Instances.DeleteInstance( |
| 505 | clientInstances.NewDeleteInstanceParams().WithInstanceName(instanceID).WithForceRemove(&forceRemove).WithBypassGHUnauthorized(&bypassGHUnauthorized), |
| 506 | apiAuthToken) |
| 507 | } |
| 508 | |
| 509 | // //////// |
| 510 | // Pools // |