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

Method CreateUserWorkspace

scaletest/taskstatus/client.go:27–27  ·  view source on GitHub ↗

CreateUserWorkspace creates a workspace for a user.

(ctx context.Context, userID string, req codersdk.CreateWorkspaceRequest)

Source from the content-addressed store, hash-verified

25type client interface {
26 // CreateUserWorkspace creates a workspace for a user.
27 CreateUserWorkspace(ctx context.Context, userID string, req codersdk.CreateWorkspaceRequest) (codersdk.Workspace, error)
28
29 // WorkspaceByOwnerAndName retrieves a workspace by owner and name.
30 WorkspaceByOwnerAndName(ctx context.Context, owner string, name string, params codersdk.WorkspaceOptions) (codersdk.Workspace, error)

Callers 15

TestWorkspaceFunction · 0.65
TestWorkspaceListTasksFunction · 0.65
CreateWorkspaceFunction · 0.65
toolsdk.goFile · 0.65
CreateMethod · 0.65
TestReinitializeAgentFunction · 0.65
TestDynamicWorkspaceTagsFunction · 0.65

Implementers 2

fakeClientscaletest/taskstatus/run_internal_test
sdkClientscaletest/taskstatus/client.go

Calls

no outgoing calls

Tested by 15

TestWorkspaceFunction · 0.52
TestWorkspaceListTasksFunction · 0.52
TestReinitializeAgentFunction · 0.52
TestDynamicWorkspaceTagsFunction · 0.52
TestCreateWorkspaceFunction · 0.52
TestCreateUserWorkspaceFunction · 0.52
TestPrebuildsAutobuildFunction · 0.52