CreateUserWorkspace creates a workspace for a user.
(ctx context.Context, userID string, req codersdk.CreateWorkspaceRequest)
| 25 | type 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) |
no outgoing calls