yet another implementation of the thing
| 231 | |
| 232 | // yet another implementation of the thing |
| 233 | type fakeWorkspaceProxyFetchUpdater struct { |
| 234 | fetchFunc func(context.Context) (codersdk.RegionsResponse[codersdk.WorkspaceProxy], error) |
| 235 | updateFunc func(context.Context) error |
| 236 | } |
| 237 | |
| 238 | func (u *fakeWorkspaceProxyFetchUpdater) Fetch(ctx context.Context) (codersdk.RegionsResponse[codersdk.WorkspaceProxy], error) { |
| 239 | return u.fetchFunc(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected