MCPcopy Create free account
hub / github.com/cloudbase/garm / DeleteInstance

Method DeleteInstance

runner/common/provider.go:29–29  ·  view source on GitHub ↗

Delete instance will delete the instance in a provider.

(ctx context.Context, instance string, deleteInstanceParams DeleteInstanceParams)

Source from the content-addressed store, hash-verified

27 CreateInstance(ctx context.Context, bootstrapParams commonParams.BootstrapInstance, createInstanceParams CreateInstanceParams) (commonParams.ProviderInstance, error)
28 // Delete instance will delete the instance in a provider.
29 DeleteInstance(ctx context.Context, instance string, deleteInstanceParams DeleteInstanceParams) error
30 // GetInstance will return details about one instance.
31 GetInstance(ctx context.Context, instance string, getInstanceParams GetInstanceParams) (commonParams.ProviderInstance, error)
32 // ListInstances will list all instances for a provider.

Implementers 4

externalrunner/providers/v0.1.0/external.go
externalrunner/providers/v0.1.1/external.go
Providerrunner/common/mocks/Provider.go
Provider_Expecterrunner/common/mocks/Provider.go

Calls

no outgoing calls