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

Struct workspaceClient

pkg/client/clientimplementation/workspace_client.go:48–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48type workspaceClient struct {
49 m sync.Mutex
50
51 workspaceLockOnce sync.Once
52 workspaceLock *flock.Flock
53 machineLock *flock.Flock
54
55 devPodConfig *config.Config
56 config *provider.ProviderConfig
57 workspace *provider.Workspace
58 machine *provider.Machine
59 log log.Logger
60}
61
62func (s *workspaceClient) Provider() string {
63 return s.config.Name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected