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

Method UpdateWorkspaceProxy

coderd/database/dbauthz/dbauthz.go:7946–7951  ·  view source on GitHub ↗
(ctx context.Context, arg database.UpdateWorkspaceProxyParams)

Source from the content-addressed store, hash-verified

7944}
7945
7946func (q *querier) UpdateWorkspaceProxy(ctx context.Context, arg database.UpdateWorkspaceProxyParams) (database.WorkspaceProxy, error) {
7947 fetch := func(ctx context.Context, arg database.UpdateWorkspaceProxyParams) (database.WorkspaceProxy, error) {
7948 return q.db.GetWorkspaceProxyByID(ctx, arg.ID)
7949 }
7950 return updateWithReturn(q.log, q.auth, fetch, q.db.UpdateWorkspaceProxy)(ctx, arg)
7951}
7952
7953func (q *querier) UpdateWorkspaceProxyDeleted(ctx context.Context, arg database.UpdateWorkspaceProxyDeletedParams) error {
7954 fetch := func(ctx context.Context, arg database.UpdateWorkspaceProxyDeletedParams) (database.WorkspaceProxy, error) {

Callers

nothing calls this directly

Calls 2

updateWithReturnFunction · 0.85
GetWorkspaceProxyByIDMethod · 0.65

Tested by

no test coverage detected