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

Method deleteWorkspace

scaletest/taskstatus/run_internal_test.go:112–116  ·  view source on GitHub ↗
(ctx context.Context, workspaceID uuid.UUID)

Source from the content-addressed store, hash-verified

110}
111
112func (m *fakeClient) deleteWorkspace(ctx context.Context, workspaceID uuid.UUID) error {
113 m.logger.Debug(ctx, "called fake DeleteWorkspace", slog.F("workspace_id", workspaceID.String()))
114 // Simulate successful deletion in tests
115 return nil
116}
117
118// fakeAppStatusUpdater implements the appStatusUpdater interface for testing.
119type fakeAppStatusUpdater struct {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected