feat: complete node pool api, sdk and ui

Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
allanice001
2025-11-08 10:22:45 +00:00
parent c478a8d10f
commit 334df457ce
130 changed files with 19675 additions and 187 deletions

View File

@@ -1,6 +1,6 @@
# AnnotationsApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ---------------------------------------------------------- | ---------------------------- | --------------------------------- |

View File

@@ -1,6 +1,6 @@
# ArcherAdminApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| -------------------------------------------------------------------- | --------------------------------------- | ------------------------------------------ |

View File

@@ -1,6 +1,6 @@
# AuthApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ------------------------------------------- | --------------------------------- | ----------------------------------------------- |

View File

@@ -0,0 +1,30 @@
# DtoAttachAnnotationsRequest
## Properties
| Name | Type |
| ---------------- | ------------------- |
| `annotation_ids` | Array&lt;string&gt; |
## Example
```typescript
import type { DtoAttachAnnotationsRequest } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
annotation_ids: null,
} satisfies DtoAttachAnnotationsRequest;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoAttachAnnotationsRequest;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,30 @@
# DtoAttachLabelsRequest
## Properties
| Name | Type |
| ----------- | ------------------- |
| `label_ids` | Array&lt;string&gt; |
## Example
```typescript
import type { DtoAttachLabelsRequest } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
label_ids: null,
} satisfies DtoAttachLabelsRequest;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoAttachLabelsRequest;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,30 @@
# DtoAttachServersRequest
## Properties
| Name | Type |
| ------------ | ------------------- |
| `server_ids` | Array&lt;string&gt; |
## Example
```typescript
import type { DtoAttachServersRequest } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
server_ids: null,
} satisfies DtoAttachServersRequest;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoAttachServersRequest;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,30 @@
# DtoAttachTaintsRequest
## Properties
| Name | Type |
| ----------- | ------------------- |
| `taint_ids` | Array&lt;string&gt; |
## Example
```typescript
import type { DtoAttachTaintsRequest } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
taint_ids: null,
} satisfies DtoAttachTaintsRequest;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoAttachTaintsRequest;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,32 @@
# DtoCreateNodePoolRequest
## Properties
| Name | Type |
| ------ | ------ |
| `name` | string |
| `role` | string |
## Example
```typescript
import type { DtoCreateNodePoolRequest } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
name: null,
role: null,
} satisfies DtoCreateNodePoolRequest;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoCreateNodePoolRequest;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,48 @@
# DtoNodePoolResponse
## Properties
| Name | Type |
| ----------------- | -------------------------------------------------------------- |
| `annotations` | [Array&lt;DtoAnnotationResponse&gt;](DtoAnnotationResponse.md) |
| `created_at` | string |
| `id` | string |
| `labels` | [Array&lt;DtoLabelResponse&gt;](DtoLabelResponse.md) |
| `name` | string |
| `organization_id` | string |
| `role` | string |
| `servers` | [Array&lt;DtoServerResponse&gt;](DtoServerResponse.md) |
| `taints` | [Array&lt;DtoTaintResponse&gt;](DtoTaintResponse.md) |
| `updated_at` | string |
## Example
```typescript
import type { DtoNodePoolResponse } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
annotations: null,
created_at: null,
id: null,
labels: null,
name: null,
organization_id: null,
role: null,
servers: null,
taints: null,
updated_at: null,
} satisfies DtoNodePoolResponse;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoNodePoolResponse;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -29,10 +29,10 @@ const example = {
organization_id: null,
private_ip_address: null,
public_ip_address: null,
role: null,
role: master | worker | bastion,
ssh_key_id: null,
ssh_user: null,
status: null,
status: pending | provisioning | ready | failed,
updated_at: null,
} satisfies DtoServerResponse;

View File

@@ -0,0 +1,32 @@
# DtoUpdateNodePoolRequest
## Properties
| Name | Type |
| ------ | ------ |
| `name` | string |
| `role` | string |
## Example
```typescript
import type { DtoUpdateNodePoolRequest } from "@glueops/autoglue-sdk-go";
// TODO: Update the object below with actual values
const example = {
name: null,
role: null,
} satisfies DtoUpdateNodePoolRequest;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DtoUpdateNodePoolRequest;
console.log(exampleParsed);
```
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)

View File

@@ -1,6 +1,6 @@
# HealthApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ----------------------------------------------------------------- | ---------------- | ------------------ |

View File

@@ -1,6 +1,6 @@
# LabelsApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ------------------------------------------- | ----------------------- | ----------------------------- |

View File

@@ -1,6 +1,6 @@
# MeAPIKeysApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| -------------------------------------------------------- | ---------------------------- | ------------------------- |

View File

@@ -1,6 +1,6 @@
# MeApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| --------------------------------- | ------------- | --------------------------- |

1366
sdk/ts/docs/NodePoolsApi.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
# OrgsApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ----------------------------------------------------- | --------------------------------------- | ---------------------------------------- |

View File

@@ -1,6 +1,6 @@
# ServersApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ---------------------------------------------- | ------------------------ | ----------------------------- |

View File

@@ -1,6 +1,6 @@
# SshApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ---------------------------------------------------- | -------------------------- | ----------------------------------------- |

View File

@@ -1,6 +1,6 @@
# TaintsApi
All URIs are relative to _http://localhost:8080/api/v1_
All URIs are relative to _/api/v1_
| Method | HTTP request | Description |
| ------------------------------------------- | ----------------------- | ---------------------------------- |