(ctx context.Context, workspaceID string)
| 249 | } |
| 250 | |
| 251 | func (r *Resolver) rollbackDeleteWorkspace(ctx context.Context, workspaceID string) error { |
| 252 | rollbackCtx, cancel := context.WithTimeout(context.WithoutCancel(ctx), rollbackDeleteTimeout) |
| 253 | defer cancel() |
| 254 | |
| 255 | return r.store.DeleteWorkspace(rollbackCtx, workspaceID) |
| 256 | } |
| 257 | |
| 258 | // Invalidate deletes one workspace snapshot from the in-memory cache. |
| 259 | func (r *Resolver) Invalidate(workspaceID string) { |
no test coverage detected