mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-21 01:09:17 +08:00
47 lines
1021 B
Go
47 lines
1021 B
Go
import { CommonModel } from '.';
|
|
|
|
export namespace Host {
|
|
export interface HostTree {
|
|
id: number;
|
|
label: string;
|
|
children: Array<TreeNode>;
|
|
}
|
|
export interface TreeNode {
|
|
id: number;
|
|
label: string;
|
|
}
|
|
export interface Host extends CommonModel {
|
|
name: string;
|
|
groupBelong: string;
|
|
addr: string;
|
|
port: number;
|
|
user: string;
|
|
authMode: string;
|
|
description: string;
|
|
}
|
|
export interface HostOperate {
|
|
id: number;
|
|
name: string;
|
|
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 {
|
|
info?: string;
|
|
}
|
|
}
|