MCPcopy Index your code
hub / github.com/coder/coder / workspaceProxiesFetchUpdater

Struct workspaceProxiesFetchUpdater

enterprise/coderd/workspaceproxy.go:1024–1027  ·  view source on GitHub ↗

workspaceProxiesFetchUpdater implements healthcheck.WorkspaceProxyFetchUpdater in an actually useful and meaningful way.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected