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

Method GetInstance

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

GetInstance will return details about one instance.

(ctx context.Context, instance string, getInstanceParams GetInstanceParams)

Source from the content-addressed store, hash-verified

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.
33 ListInstances(ctx context.Context, poolID string, listInstancesParams ListInstancesParams) ([]commonParams.ProviderInstance, error)
34 // RemoveAllInstances will remove all instances created by this provider.

Callers 12

GetInstanceMethod · 0.65
DeleteRunnerMethod · 0.65
shouldRecordJobMethod · 0.65
handleCompletedJobMethod · 0.65
HandleWorkflowJobMethod · 0.65
claimsToContextMethod · 0.65
claimsToContextMethod · 0.65
getInstanceFunction · 0.65
GetInstanceHandlerMethod · 0.65

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