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

Method RegisterWorkspaceProxy

coderd/database/dbauthz/dbauthz.go:6361–6366  ·  view source on GitHub ↗
(ctx context.Context, arg database.RegisterWorkspaceProxyParams)

Source from the content-addressed store, hash-verified

6359}
6360
6361func (q *querier) RegisterWorkspaceProxy(ctx context.Context, arg database.RegisterWorkspaceProxyParams) (database.WorkspaceProxy, error) {
6362 fetch := func(ctx context.Context, arg database.RegisterWorkspaceProxyParams) (database.WorkspaceProxy, error) {
6363 return q.db.GetWorkspaceProxyByID(ctx, arg.ID)
6364 }
6365 return updateWithReturn(q.log, q.auth, fetch, q.db.RegisterWorkspaceProxy)(ctx, arg)
6366}
6367
6368func (q *querier) RemoveUserFromGroups(ctx context.Context, arg database.RemoveUserFromGroupsParams) ([]uuid.UUID, error) {
6369 // This is a system function to clear user groups in group sync.

Callers

nothing calls this directly

Calls 2

updateWithReturnFunction · 0.85
GetWorkspaceProxyByIDMethod · 0.65

Tested by

no test coverage detected