workspaceProxiesFetchUpdater implements healthcheck.WorkspaceProxyFetchUpdater in an actually useful and meaningful way.
| 1022 | // workspaceProxiesFetchUpdater implements healthcheck.WorkspaceProxyFetchUpdater |
| 1023 | // in an actually useful and meaningful way. |
| 1024 | type workspaceProxiesFetchUpdater struct { |
| 1025 | fetchFunc func(context.Context) (codersdk.RegionsResponse[codersdk.WorkspaceProxy], error) |
| 1026 | updateFunc func(context.Context) error |
| 1027 | } |
| 1028 | |
| 1029 | func (w *workspaceProxiesFetchUpdater) Fetch(ctx context.Context) (codersdk.RegionsResponse[codersdk.WorkspaceProxy], error) { |
| 1030 | //nolint:gocritic // Need perms to read all workspace proxies. |
nothing calls this directly
no outgoing calls
no test coverage detected