mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50: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 DtoCreateServerRequest {
|
||||
* @type {string}
|
||||
* @memberof DtoCreateServerRequest
|
||||
*/
|
||||
role?: string;
|
||||
role?: DtoCreateServerRequestRoleEnum;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -60,9 +59,32 @@ export interface DtoCreateServerRequest {
|
||||
* @type {string}
|
||||
* @memberof DtoCreateServerRequest
|
||||
*/
|
||||
status?: string;
|
||||
status?: DtoCreateServerRequestStatusEnum;
|
||||
}
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const DtoCreateServerRequestRoleEnum = {
|
||||
master: "master",
|
||||
worker: "worker",
|
||||
bastion: "bastion",
|
||||
} as const;
|
||||
export type DtoCreateServerRequestRoleEnum =
|
||||
(typeof DtoCreateServerRequestRoleEnum)[keyof typeof DtoCreateServerRequestRoleEnum];
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const DtoCreateServerRequestStatusEnum = {
|
||||
pending: "pending",
|
||||
provisioning: "provisioning",
|
||||
ready: "ready",
|
||||
failed: "failed",
|
||||
} as const;
|
||||
export type DtoCreateServerRequestStatusEnum =
|
||||
(typeof DtoCreateServerRequestStatusEnum)[keyof typeof DtoCreateServerRequestStatusEnum];
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DtoCreateServerRequest interface.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user