| 41 | } |
| 42 | |
| 43 | type proxyClient struct { |
| 44 | m sync.Mutex |
| 45 | |
| 46 | workspaceLockOnce sync.Once |
| 47 | workspaceLock *flock.Flock |
| 48 | |
| 49 | devPodConfig *config.Config |
| 50 | config *provider.ProviderConfig |
| 51 | workspace *provider.Workspace |
| 52 | log log.Logger |
| 53 | } |
| 54 | |
| 55 | func (s *proxyClient) Lock(ctx context.Context) error { |
| 56 | s.initLock() |
nothing calls this directly
no outgoing calls
no test coverage detected