1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 01:09:17 +08:00

47 lines
1021 B
Go
Raw Normal View History

import { CommonModel } from '.';
export namespace Host {
export interface HostTree {
2022-08-31 23:16:10 +08:00
id: number;
label: string;
children: Array<TreeNode>;
}
export interface TreeNode {
id: number;
label: string;
}
export interface Host extends CommonModel {
name: string;
2022-08-31 23:16:10 +08:00
groupBelong: string;
addr: string;
port: number;
user: string;
authMode: string;
description: string;
}
export interface HostOperate {
id: number;
name: string;
2022-08-31 23:16:10 +08:00
groupBelong: string;
addr: string;
port: number;
user: string;
authMode: string;
privateKey: string;
password: string;
description: string;
}
export interface HostConnTest {
addr: string;
port: number;
user: string;
authMode: string;
privateKey: string;
password: string;
}
export interface ReqSearch {
2022-08-29 18:44:35 +08:00
info?: string;
}
}