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

Function upsertWorkspacePortShare

site/src/api/queries/workspaceportsharing.ts:14–20  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

12};
13
14export const upsertWorkspacePortShare = (workspaceId: string) => {
15 return {
16 mutationFn: async (options: UpsertWorkspaceAgentPortShareRequest) => {
17 await API.upsertWorkspaceAgentSharedPort(workspaceId, options);
18 },
19 };
20};
21
22export const deleteWorkspacePortShare = (workspaceId: string) => {
23 return {

Callers 1

PortForwardPopoverViewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected