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

Function getHostTree

frontend/src/api/modules/terminal.ts:12–14  ·  view source on GitHub ↗
(params: Host.ReqSearch)

Source from the content-addressed store, hash-verified

10 return http.postLocalNode<Host.Host>(`/hosts/info`, { id: id });
11};
12export const getHostTree = (params: Host.ReqSearch) => {
13 return http.postLocalNode<Array<Host.HostTree>>(`/hosts/tree`, params);
14};
15export const updateLocalConn = (param: { withReset: boolean; defaultConn: string }) => {
16 return http.post(`/settings/ssh/default`, param);
17};

Callers

nothing calls this directly

Calls 1

postLocalNodeMethod · 0.80

Tested by

no test coverage detected