MCPcopy
hub / github.com/loft-sh/devpod / BaseClient

Interface BaseClient

pkg/client/client.go:12–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type BaseClient interface {
13 // Provider returns the name of the provider
14 Provider() string
15
16 // Context returns the context of the provider
17 Context() string
18
19 // RefreshOptions updates the options
20 RefreshOptions(ctx context.Context, userOptions []string, reconfigure bool) error
21
22 // Status retrieves the workspace status
23 Status(ctx context.Context, options StatusOptions) (Status, error)
24
25 // Stop stops the workspace
26 Stop(ctx context.Context, options StopOptions) error
27
28 // Delete deletes the workspace
29 Delete(ctx context.Context, options DeleteOptions) error
30}
31
32type Client interface {
33 BaseClient

Callers 27

RecordCLIMethod · 0.65
deleteSingleMachineFunction · 0.65
stopSingleMachineMethod · 0.65
prepareClientMethod · 0.65
RunMethod · 0.65
RunMethod · 0.65
RunMethod · 0.65
deleteSingleMachineFunction · 0.65
RunMethod · 0.65
NewStopCmdFunction · 0.65
NewUpCmdFunction · 0.65
setupBackhaulFunction · 0.65

Implementers 3

proxyClientpkg/client/clientimplementation/proxy_
workspaceClientpkg/client/clientimplementation/worksp
machineClientpkg/client/clientimplementation/machin

Calls

no outgoing calls

Tested by

no test coverage detected