MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / testByID

Function testByID

frontend/src/api/modules/terminal.ts:34–36  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

32 return http.postLocalNode<boolean>(`/hosts/test/byinfo`, request);
33};
34export const testByID = (id: number) => {
35 return http.postLocalNode<boolean>(`/hosts/test/byid`, { id: id });
36};
37export const editHost = (params: Host.HostOperate) => {
38 let request = deepCopy(params) as Host.HostOperate;
39 encodeBase64Fields(request, ['password', 'privateKey']);

Callers

nothing calls this directly

Calls 1

postLocalNodeMethod · 0.80

Tested by

no test coverage detected