🔨 执行命令.

This commit is contained in:
lijiahangmax
2024-03-17 21:09:58 +08:00
parent 2abf5bcf08
commit 2819df9c31
22 changed files with 429 additions and 67 deletions

View File

@@ -25,10 +25,22 @@ export interface ExecInterruptRequest {
*/
export interface ExecCommandResponse {
id: number;
hosts: {
id: number;
hostId: number;
};
hosts: Array<ExecCommandHostResponse>;
}
/**
* 执行命令主机响应
*/
export interface ExecCommandHostResponse {
id: number;
hostId: number;
hostName: string;
hostAddress: string;
status: string;
exitStatus: number;
errorMessage: string;
startTime: number;
finishTime: number;
}
/**