mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-14 05:10:05 +01:00
feat: complete node pool api, sdk and ui
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from "../runtime";
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
@@ -42,7 +41,7 @@ export interface DtoUpdateServerRequest {
|
||||
* @type {string}
|
||||
* @memberof DtoUpdateServerRequest
|
||||
*/
|
||||
role?: string;
|
||||
role?: DtoUpdateServerRequestRoleEnum;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -60,9 +59,32 @@ export interface DtoUpdateServerRequest {
|
||||
* @type {string}
|
||||
* @memberof DtoUpdateServerRequest
|
||||
*/
|
||||
status?: string;
|
||||
status?: DtoUpdateServerRequestStatusEnum;
|
||||
}
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const DtoUpdateServerRequestRoleEnum = {
|
||||
master: "master",
|
||||
worker: "worker",
|
||||
bastion: "bastion",
|
||||
} as const;
|
||||
export type DtoUpdateServerRequestRoleEnum =
|
||||
(typeof DtoUpdateServerRequestRoleEnum)[keyof typeof DtoUpdateServerRequestRoleEnum];
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const DtoUpdateServerRequestStatusEnum = {
|
||||
pending: "pending",
|
||||
provisioning: "provisioning",
|
||||
ready: "ready",
|
||||
failed: "failed",
|
||||
} as const;
|
||||
export type DtoUpdateServerRequestStatusEnum =
|
||||
(typeof DtoUpdateServerRequestStatusEnum)[keyof typeof DtoUpdateServerRequestStatusEnum];
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoUpdateServerRequest interface.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user