kb-cloud-client-typescript 2.4.0-alpha.155 → 2.4.0-alpha.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/cluster-api.d.ts +72 -0
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +79 -0
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +72 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +79 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-event-item.d.ts +91 -0
- package/dist/adminapi/models/cluster-event-item.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-event-item.js +16 -0
- package/dist/adminapi/models/cluster-event-item.js.map +1 -0
- package/dist/adminapi/models/cluster-event-list.d.ts +32 -0
- package/dist/adminapi/models/cluster-event-list.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-event-list.js +16 -0
- package/dist/adminapi/models/cluster-event-list.js.map +1 -0
- package/dist/adminapi/models/environment.d.ts +6 -0
- package/dist/adminapi/models/environment.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/platform-component-node.d.ts +20 -1
- package/dist/adminapi/models/platform-component-node.d.ts.map +1 -1
- package/dist/adminapi/models/platform-component-overview.d.ts +1 -1
- package/dist/internalapi/api.d.ts +2 -0
- package/dist/internalapi/api.d.ts.map +1 -1
- package/dist/internalapi/api.js +2 -0
- package/dist/internalapi/api.js.map +1 -1
- package/dist/internalapi/apis/environment-api.d.ts +112 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +135 -0
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/internalapi/apis/image-registry-api.d.ts +142 -0
- package/dist/internalapi/apis/image-registry-api.d.ts.map +1 -0
- package/dist/internalapi/apis/image-registry-api.js +192 -0
- package/dist/internalapi/apis/image-registry-api.js.map +1 -0
- package/dist/internalapi/apis/task-api.d.ts +256 -0
- package/dist/internalapi/apis/task-api.d.ts.map +1 -0
- package/dist/internalapi/apis/task-api.js +290 -0
- package/dist/internalapi/apis/task-api.js.map +1 -0
- package/dist/internalapi/models/autohealing-config.d.ts +55 -0
- package/dist/internalapi/models/autohealing-config.d.ts.map +1 -0
- package/dist/internalapi/models/autohealing-config.js +16 -0
- package/dist/internalapi/models/autohealing-config.js.map +1 -0
- package/dist/internalapi/models/cluster-info.d.ts +37 -0
- package/dist/internalapi/models/cluster-info.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-info.js +16 -0
- package/dist/internalapi/models/cluster-info.js.map +1 -0
- package/dist/internalapi/models/cluster-scheduling-policy.d.ts +24 -0
- package/dist/internalapi/models/cluster-scheduling-policy.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-scheduling-policy.js +28 -0
- package/dist/internalapi/models/cluster-scheduling-policy.js.map +1 -0
- package/dist/internalapi/models/cluster-validation-policy.d.ts +23 -0
- package/dist/internalapi/models/cluster-validation-policy.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-validation-policy.js +27 -0
- package/dist/internalapi/models/cluster-validation-policy.js.map +1 -0
- package/dist/internalapi/models/component.d.ts +79 -0
- package/dist/internalapi/models/component.d.ts.map +1 -0
- package/dist/internalapi/models/component.js +16 -0
- package/dist/internalapi/models/component.js.map +1 -0
- package/dist/internalapi/models/dns.d.ts +31 -0
- package/dist/internalapi/models/dns.d.ts.map +1 -0
- package/dist/internalapi/models/dns.js +16 -0
- package/dist/internalapi/models/dns.js.map +1 -0
- package/dist/internalapi/models/environment-architecture.d.ts +23 -0
- package/dist/internalapi/models/environment-architecture.d.ts.map +1 -0
- package/dist/internalapi/models/environment-architecture.js +27 -0
- package/dist/internalapi/models/environment-architecture.js.map +1 -0
- package/dist/internalapi/models/environment-create.d.ts +133 -0
- package/dist/internalapi/models/environment-create.d.ts.map +1 -0
- package/dist/internalapi/models/environment-create.js +16 -0
- package/dist/internalapi/models/environment-create.js.map +1 -0
- package/dist/internalapi/models/environment-delete-policy.d.ts +22 -0
- package/dist/internalapi/models/environment-delete-policy.d.ts.map +1 -0
- package/dist/internalapi/models/environment-delete-policy.js +26 -0
- package/dist/internalapi/models/environment-delete-policy.js.map +1 -0
- package/dist/internalapi/models/environment-module-status.d.ts +34 -0
- package/dist/internalapi/models/environment-module-status.d.ts.map +1 -0
- package/dist/internalapi/models/environment-module-status.js +38 -0
- package/dist/internalapi/models/environment-module-status.js.map +1 -0
- package/dist/internalapi/models/environment-module.d.ts +106 -0
- package/dist/internalapi/models/environment-module.d.ts.map +1 -0
- package/dist/internalapi/models/environment-module.js +16 -0
- package/dist/internalapi/models/environment-module.js.map +1 -0
- package/dist/internalapi/models/environment-register-type.d.ts +21 -0
- package/dist/internalapi/models/environment-register-type.d.ts.map +1 -0
- package/dist/internalapi/models/environment-register-type.js +25 -0
- package/dist/internalapi/models/environment-register-type.js.map +1 -0
- package/dist/internalapi/models/environment-state.d.ts +30 -0
- package/dist/internalapi/models/environment-state.d.ts.map +1 -0
- package/dist/internalapi/models/environment-state.js +34 -0
- package/dist/internalapi/models/environment-state.js.map +1 -0
- package/dist/internalapi/models/environment.d.ts +193 -0
- package/dist/internalapi/models/environment.d.ts.map +1 -0
- package/dist/internalapi/models/environment.js +16 -0
- package/dist/internalapi/models/environment.js.map +1 -0
- package/dist/internalapi/models/index.d.ts +32 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +32 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/internal-image-registry-list.d.ts +26 -0
- package/dist/internalapi/models/internal-image-registry-list.d.ts.map +1 -0
- package/dist/internalapi/models/internal-image-registry-list.js +16 -0
- package/dist/internalapi/models/internal-image-registry-list.js.map +1 -0
- package/dist/internalapi/models/internal-image-registry.d.ts +31 -0
- package/dist/internalapi/models/internal-image-registry.d.ts.map +1 -0
- package/dist/internalapi/models/internal-image-registry.js +16 -0
- package/dist/internalapi/models/internal-image-registry.js.map +1 -0
- package/dist/internalapi/models/internal-task-list.d.ts +33 -0
- package/dist/internalapi/models/internal-task-list.d.ts.map +1 -0
- package/dist/internalapi/models/internal-task-list.js +16 -0
- package/dist/internalapi/models/internal-task-list.js.map +1 -0
- package/dist/internalapi/models/internal-task-steps-inner.d.ts +32 -0
- package/dist/internalapi/models/internal-task-steps-inner.d.ts.map +1 -0
- package/dist/internalapi/models/internal-task-steps-inner.js +16 -0
- package/dist/internalapi/models/internal-task-steps-inner.js.map +1 -0
- package/dist/internalapi/models/internal-task.d.ts +57 -0
- package/dist/internalapi/models/internal-task.d.ts.map +1 -0
- package/dist/internalapi/models/internal-task.js +16 -0
- package/dist/internalapi/models/internal-task.js.map +1 -0
- package/dist/internalapi/models/log-backend-type.d.ts +22 -0
- package/dist/internalapi/models/log-backend-type.d.ts.map +1 -0
- package/dist/internalapi/models/log-backend-type.js +26 -0
- package/dist/internalapi/models/log-backend-type.js.map +1 -0
- package/dist/internalapi/models/network-config.d.ts +50 -0
- package/dist/internalapi/models/network-config.d.ts.map +1 -0
- package/dist/internalapi/models/network-config.js +16 -0
- package/dist/internalapi/models/network-config.js.map +1 -0
- package/dist/internalapi/models/node-pool-node.d.ts +49 -0
- package/dist/internalapi/models/node-pool-node.d.ts.map +1 -0
- package/dist/internalapi/models/node-pool-node.js +16 -0
- package/dist/internalapi/models/node-pool-node.js.map +1 -0
- package/dist/internalapi/models/pagination-result.d.ts +37 -0
- package/dist/internalapi/models/pagination-result.d.ts.map +1 -0
- package/dist/internalapi/models/pagination-result.js +16 -0
- package/dist/internalapi/models/pagination-result.js.map +1 -0
- package/dist/internalapi/models/provision-config.d.ts +68 -0
- package/dist/internalapi/models/provision-config.d.ts.map +1 -0
- package/dist/internalapi/models/provision-config.js +16 -0
- package/dist/internalapi/models/provision-config.js.map +1 -0
- package/dist/internalapi/models/register.d.ts +32 -0
- package/dist/internalapi/models/register.d.ts.map +1 -0
- package/dist/internalapi/models/register.js +16 -0
- package/dist/internalapi/models/register.js.map +1 -0
- package/dist/internalapi/models/scheduling-config.d.ts +53 -0
- package/dist/internalapi/models/scheduling-config.d.ts.map +1 -0
- package/dist/internalapi/models/scheduling-config.js +16 -0
- package/dist/internalapi/models/scheduling-config.js.map +1 -0
- package/dist/internalapi/models/storage-config-backup.d.ts +43 -0
- package/dist/internalapi/models/storage-config-backup.d.ts.map +1 -0
- package/dist/internalapi/models/storage-config-backup.js +16 -0
- package/dist/internalapi/models/storage-config-backup.js.map +1 -0
- package/dist/internalapi/models/storage-config.d.ts +33 -0
- package/dist/internalapi/models/storage-config.d.ts.map +1 -0
- package/dist/internalapi/models/storage-config.js +16 -0
- package/dist/internalapi/models/storage-config.js.map +1 -0
- package/dist/internalapi/models/system-component-scheduler-policy.d.ts +22 -0
- package/dist/internalapi/models/system-component-scheduler-policy.d.ts.map +1 -0
- package/dist/internalapi/models/system-component-scheduler-policy.js +26 -0
- package/dist/internalapi/models/system-component-scheduler-policy.js.map +1 -0
- package/dist/internalapi/models/task-retry-mode.d.ts +22 -0
- package/dist/internalapi/models/task-retry-mode.d.ts.map +1 -0
- package/dist/internalapi/models/task-retry-mode.js +26 -0
- package/dist/internalapi/models/task-retry-mode.js.map +1 -0
- package/dist/internalapi/models/task-status.d.ts +28 -0
- package/dist/internalapi/models/task-status.d.ts.map +1 -0
- package/dist/internalapi/models/task-status.js +32 -0
- package/dist/internalapi/models/task-status.js.map +1 -0
- package/dist/internalapi/models/tolerate-default-taints.d.ts +31 -0
- package/dist/internalapi/models/tolerate-default-taints.d.ts.map +1 -0
- package/dist/internalapi/models/tolerate-default-taints.js +16 -0
- package/dist/internalapi/models/tolerate-default-taints.js.map +1 -0
- package/dist/openapi/apis/cluster-api.d.ts +72 -0
- package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.js +79 -0
- package/dist/openapi/apis/cluster-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +72 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +79 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-event-item.d.ts +91 -0
- package/dist/openapi/models/cluster-event-item.d.ts.map +1 -0
- package/dist/openapi/models/cluster-event-item.js +16 -0
- package/dist/openapi/models/cluster-event-item.js.map +1 -0
- package/dist/openapi/models/cluster-event-list.d.ts +32 -0
- package/dist/openapi/models/cluster-event-list.d.ts.map +1 -0
- package/dist/openapi/models/cluster-event-list.js +16 -0
- package/dist/openapi/models/cluster-event-list.js.map +1 -0
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/apis/cluster-api.ts +127 -0
- package/src/adminapi/apis/shared-api.ts +127 -0
- package/src/adminapi/models/cluster-event-item.ts +96 -0
- package/src/adminapi/models/cluster-event-list.ts +39 -0
- package/src/adminapi/models/environment.ts +6 -0
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/platform-component-node.ts +22 -1
- package/src/adminapi/models/platform-component-overview.ts +1 -1
- package/src/adminapi.yaml +113 -2
- package/src/internalapi/.openapi-generator/FILES +34 -0
- package/src/internalapi/api.ts +2 -0
- package/src/internalapi/apis/environment-api.ts +200 -0
- package/src/internalapi/apis/image-registry-api.ts +246 -0
- package/src/internalapi/apis/task-api.ts +433 -0
- package/src/internalapi/models/autohealing-config.ts +60 -0
- package/src/internalapi/models/cluster-info.ts +42 -0
- package/src/internalapi/models/cluster-scheduling-policy.ts +33 -0
- package/src/internalapi/models/cluster-validation-policy.ts +32 -0
- package/src/internalapi/models/component.ts +84 -0
- package/src/internalapi/models/dns.ts +36 -0
- package/src/internalapi/models/environment-architecture.ts +32 -0
- package/src/internalapi/models/environment-create.ts +152 -0
- package/src/internalapi/models/environment-delete-policy.ts +31 -0
- package/src/internalapi/models/environment-module-status.ts +43 -0
- package/src/internalapi/models/environment-module.ts +119 -0
- package/src/internalapi/models/environment-register-type.ts +30 -0
- package/src/internalapi/models/environment-state.ts +39 -0
- package/src/internalapi/models/environment.ts +224 -0
- package/src/internalapi/models/index.ts +32 -0
- package/src/internalapi/models/internal-image-registry-list.ts +33 -0
- package/src/internalapi/models/internal-image-registry.ts +36 -0
- package/src/internalapi/models/internal-task-list.ts +42 -0
- package/src/internalapi/models/internal-task-steps-inner.ts +41 -0
- package/src/internalapi/models/internal-task.ts +68 -0
- package/src/internalapi/models/log-backend-type.ts +31 -0
- package/src/internalapi/models/network-config.ts +57 -0
- package/src/internalapi/models/node-pool-node.ts +54 -0
- package/src/internalapi/models/pagination-result.ts +42 -0
- package/src/internalapi/models/provision-config.ts +87 -0
- package/src/internalapi/models/register.ts +41 -0
- package/src/internalapi/models/scheduling-config.ts +68 -0
- package/src/internalapi/models/storage-config-backup.ts +48 -0
- package/src/internalapi/models/storage-config.ts +42 -0
- package/src/internalapi/models/system-component-scheduler-policy.ts +31 -0
- package/src/internalapi/models/task-retry-mode.ts +31 -0
- package/src/internalapi/models/task-status.ts +37 -0
- package/src/internalapi/models/tolerate-default-taints.ts +36 -0
- package/src/internalapi.yaml +1039 -193
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/cluster-api.ts +127 -0
- package/src/openapi/apis/shared-api.ts +127 -0
- package/src/openapi/models/cluster-event-item.ts +96 -0
- package/src/openapi/models/cluster-event-list.ts +39 -0
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi.yaml +101 -0
|
@@ -273,6 +273,8 @@ models/cluster-backup.ts
|
|
|
273
273
|
models/cluster-batch-update-data.ts
|
|
274
274
|
models/cluster-batch-update.ts
|
|
275
275
|
models/cluster-create.ts
|
|
276
|
+
models/cluster-event-item.ts
|
|
277
|
+
models/cluster-event-list.ts
|
|
276
278
|
models/cluster-execution-log-aggregate-item.ts
|
|
277
279
|
models/cluster-execution-log-aggregate-response.ts
|
|
278
280
|
models/cluster-execution-log-aggregate-summary.ts
|
|
@@ -30,6 +30,8 @@ import type { ClusterBatchUpdate } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { ClusterCreate } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
+
import type { ClusterEventList } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
33
35
|
import type { ClusterList } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
35
37
|
import type { ClusterMetrics } from '../models';
|
|
@@ -804,6 +806,56 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
804
806
|
|
|
805
807
|
|
|
806
808
|
|
|
809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
812
|
+
|
|
813
|
+
return {
|
|
814
|
+
url: toPathString(localVarUrlObj),
|
|
815
|
+
options: localVarRequestOptions,
|
|
816
|
+
};
|
|
817
|
+
},
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
821
|
+
* @param {string} orgName
|
|
822
|
+
* @param {string} clusterName
|
|
823
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
828
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
829
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
830
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
831
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
832
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
833
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
834
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
836
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
837
|
+
let baseOptions;
|
|
838
|
+
if (configuration) {
|
|
839
|
+
baseOptions = configuration.baseOptions;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
843
|
+
const localVarHeaderParameter = {} as any;
|
|
844
|
+
const localVarQueryParameter = {} as any;
|
|
845
|
+
|
|
846
|
+
// authentication BearerToken required
|
|
847
|
+
// http bearer authentication required
|
|
848
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
849
|
+
|
|
850
|
+
// authentication DigestAuth required
|
|
851
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
852
|
+
|
|
853
|
+
if (limit !== undefined) {
|
|
854
|
+
localVarQueryParameter['limit'] = limit;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
807
859
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
808
860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
809
861
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1600,6 +1652,21 @@ export const ClusterApiFp = function(configuration?: Configuration) {
|
|
|
1600
1652
|
const localVarOperationServerBasePath = operationServerMap['ClusterApi.listCluster']?.[localVarOperationServerIndex]?.url;
|
|
1601
1653
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1602
1654
|
},
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
1658
|
+
* @param {string} orgName
|
|
1659
|
+
* @param {string} clusterName
|
|
1660
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
*/
|
|
1664
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
1665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
1666
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1667
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
1668
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1669
|
+
},
|
|
1603
1670
|
/**
|
|
1604
1671
|
*
|
|
1605
1672
|
* @summary List cluster endpoints
|
|
@@ -1906,6 +1973,16 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
|
|
|
1906
1973
|
listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
|
|
1907
1974
|
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
1908
1975
|
},
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
1979
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
1984
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1985
|
+
},
|
|
1909
1986
|
/**
|
|
1910
1987
|
*
|
|
1911
1988
|
* @summary List cluster endpoints
|
|
@@ -2155,6 +2232,16 @@ export interface ClusterApiInterface {
|
|
|
2155
2232
|
*/
|
|
2156
2233
|
listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
|
|
2157
2234
|
|
|
2235
|
+
/**
|
|
2236
|
+
*
|
|
2237
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
2238
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
2239
|
+
* @param {*} [options] Override http request option.
|
|
2240
|
+
* @throws {RequiredError}
|
|
2241
|
+
* @memberof ClusterApiInterface
|
|
2242
|
+
*/
|
|
2243
|
+
listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
2244
|
+
|
|
2158
2245
|
/**
|
|
2159
2246
|
*
|
|
2160
2247
|
* @summary List cluster endpoints
|
|
@@ -2736,6 +2823,34 @@ export interface ClusterApiListClusterRequest {
|
|
|
2736
2823
|
readonly includeEndpoints?: boolean
|
|
2737
2824
|
}
|
|
2738
2825
|
|
|
2826
|
+
/**
|
|
2827
|
+
* Request parameters for listClusterEvents operation in ClusterApi.
|
|
2828
|
+
* @export
|
|
2829
|
+
* @interface ClusterApiListClusterEventsRequest
|
|
2830
|
+
*/
|
|
2831
|
+
export interface ClusterApiListClusterEventsRequest {
|
|
2832
|
+
/**
|
|
2833
|
+
*
|
|
2834
|
+
* @type {string}
|
|
2835
|
+
* @memberof ClusterApiListClusterEvents
|
|
2836
|
+
*/
|
|
2837
|
+
readonly orgName: string
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
*
|
|
2841
|
+
* @type {string}
|
|
2842
|
+
* @memberof ClusterApiListClusterEvents
|
|
2843
|
+
*/
|
|
2844
|
+
readonly clusterName: string
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Maximum number of recent events to return
|
|
2848
|
+
* @type {number}
|
|
2849
|
+
* @memberof ClusterApiListClusterEvents
|
|
2850
|
+
*/
|
|
2851
|
+
readonly limit?: number
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2739
2854
|
/**
|
|
2740
2855
|
* Request parameters for listEndpoints operation in ClusterApi.
|
|
2741
2856
|
* @export
|
|
@@ -3214,6 +3329,18 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
|
|
|
3214
3329
|
return ClusterApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
3215
3330
|
}
|
|
3216
3331
|
|
|
3332
|
+
/**
|
|
3333
|
+
*
|
|
3334
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
3335
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
* @memberof ClusterApi
|
|
3339
|
+
*/
|
|
3340
|
+
public listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
3341
|
+
return ClusterApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3217
3344
|
/**
|
|
3218
3345
|
*
|
|
3219
3346
|
* @summary List cluster endpoints
|
|
@@ -90,6 +90,8 @@ import type { ClusterBackupMethod } from '../models';
|
|
|
90
90
|
// @ts-ignore
|
|
91
91
|
import type { ClusterCreate } from '../models';
|
|
92
92
|
// @ts-ignore
|
|
93
|
+
import type { ClusterEventList } from '../models';
|
|
94
|
+
// @ts-ignore
|
|
93
95
|
import type { ClusterExecutionLog } from '../models';
|
|
94
96
|
// @ts-ignore
|
|
95
97
|
import type { ClusterExecutionLogAggregateResponse } from '../models';
|
|
@@ -11541,6 +11543,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11541
11543
|
|
|
11542
11544
|
|
|
11543
11545
|
|
|
11546
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11547
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11548
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11549
|
+
|
|
11550
|
+
return {
|
|
11551
|
+
url: toPathString(localVarUrlObj),
|
|
11552
|
+
options: localVarRequestOptions,
|
|
11553
|
+
};
|
|
11554
|
+
},
|
|
11555
|
+
/**
|
|
11556
|
+
*
|
|
11557
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
11558
|
+
* @param {string} orgName
|
|
11559
|
+
* @param {string} clusterName
|
|
11560
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
11561
|
+
* @param {*} [options] Override http request option.
|
|
11562
|
+
* @throws {RequiredError}
|
|
11563
|
+
*/
|
|
11564
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11565
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11566
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
11567
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11568
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
11569
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
11570
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11571
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11574
|
+
let baseOptions;
|
|
11575
|
+
if (configuration) {
|
|
11576
|
+
baseOptions = configuration.baseOptions;
|
|
11577
|
+
}
|
|
11578
|
+
|
|
11579
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11580
|
+
const localVarHeaderParameter = {} as any;
|
|
11581
|
+
const localVarQueryParameter = {} as any;
|
|
11582
|
+
|
|
11583
|
+
// authentication BearerToken required
|
|
11584
|
+
// http bearer authentication required
|
|
11585
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11586
|
+
|
|
11587
|
+
// authentication DigestAuth required
|
|
11588
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11589
|
+
|
|
11590
|
+
if (limit !== undefined) {
|
|
11591
|
+
localVarQueryParameter['limit'] = limit;
|
|
11592
|
+
}
|
|
11593
|
+
|
|
11594
|
+
|
|
11595
|
+
|
|
11544
11596
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11545
11597
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11546
11598
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24374,6 +24426,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24374
24426
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
|
|
24375
24427
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24376
24428
|
},
|
|
24429
|
+
/**
|
|
24430
|
+
*
|
|
24431
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
24432
|
+
* @param {string} orgName
|
|
24433
|
+
* @param {string} clusterName
|
|
24434
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
24435
|
+
* @param {*} [options] Override http request option.
|
|
24436
|
+
* @throws {RequiredError}
|
|
24437
|
+
*/
|
|
24438
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
24439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
24440
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24441
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
24442
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24443
|
+
},
|
|
24377
24444
|
/**
|
|
24378
24445
|
*
|
|
24379
24446
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -29151,6 +29218,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
29151
29218
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
|
|
29152
29219
|
return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
29153
29220
|
},
|
|
29221
|
+
/**
|
|
29222
|
+
*
|
|
29223
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
29224
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
29225
|
+
* @param {*} [options] Override http request option.
|
|
29226
|
+
* @throws {RequiredError}
|
|
29227
|
+
*/
|
|
29228
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
29229
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
29230
|
+
},
|
|
29154
29231
|
/**
|
|
29155
29232
|
*
|
|
29156
29233
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -32875,6 +32952,16 @@ export interface SharedApiInterface {
|
|
|
32875
32952
|
*/
|
|
32876
32953
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
|
|
32877
32954
|
|
|
32955
|
+
/**
|
|
32956
|
+
*
|
|
32957
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
32958
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
32959
|
+
* @param {*} [options] Override http request option.
|
|
32960
|
+
* @throws {RequiredError}
|
|
32961
|
+
* @memberof SharedApiInterface
|
|
32962
|
+
*/
|
|
32963
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
32964
|
+
|
|
32878
32965
|
/**
|
|
32879
32966
|
*
|
|
32880
32967
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -41520,6 +41607,34 @@ export interface SharedApiListClusterAlertRulesRequest {
|
|
|
41520
41607
|
readonly clusterName: string
|
|
41521
41608
|
}
|
|
41522
41609
|
|
|
41610
|
+
/**
|
|
41611
|
+
* Request parameters for listClusterEvents operation in SharedApi.
|
|
41612
|
+
* @export
|
|
41613
|
+
* @interface SharedApiListClusterEventsRequest
|
|
41614
|
+
*/
|
|
41615
|
+
export interface SharedApiListClusterEventsRequest {
|
|
41616
|
+
/**
|
|
41617
|
+
*
|
|
41618
|
+
* @type {string}
|
|
41619
|
+
* @memberof SharedApiListClusterEvents
|
|
41620
|
+
*/
|
|
41621
|
+
readonly orgName: string
|
|
41622
|
+
|
|
41623
|
+
/**
|
|
41624
|
+
*
|
|
41625
|
+
* @type {string}
|
|
41626
|
+
* @memberof SharedApiListClusterEvents
|
|
41627
|
+
*/
|
|
41628
|
+
readonly clusterName: string
|
|
41629
|
+
|
|
41630
|
+
/**
|
|
41631
|
+
* Maximum number of recent events to return
|
|
41632
|
+
* @type {number}
|
|
41633
|
+
* @memberof SharedApiListClusterEvents
|
|
41634
|
+
*/
|
|
41635
|
+
readonly limit?: number
|
|
41636
|
+
}
|
|
41637
|
+
|
|
41523
41638
|
/**
|
|
41524
41639
|
* Request parameters for listClusterJars operation in SharedApi.
|
|
41525
41640
|
* @export
|
|
@@ -50049,6 +50164,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
50049
50164
|
return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
50050
50165
|
}
|
|
50051
50166
|
|
|
50167
|
+
/**
|
|
50168
|
+
*
|
|
50169
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
50170
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
50171
|
+
* @param {*} [options] Override http request option.
|
|
50172
|
+
* @throws {RequiredError}
|
|
50173
|
+
* @memberof SharedApi
|
|
50174
|
+
*/
|
|
50175
|
+
public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
50176
|
+
return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
50177
|
+
}
|
|
50178
|
+
|
|
50052
50179
|
/**
|
|
50053
50180
|
*
|
|
50054
50181
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Kubernetes event for a cluster, component or InstanceSet
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ClusterEventItem
|
|
21
|
+
*/
|
|
22
|
+
export interface ClusterEventItem {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ClusterEventItem
|
|
27
|
+
*/
|
|
28
|
+
'clusterName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Kubernetes kind of the involved object
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ClusterEventItem
|
|
33
|
+
*/
|
|
34
|
+
'objectKind': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ClusterEventItem
|
|
39
|
+
*/
|
|
40
|
+
'objectName': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ClusterEventItem
|
|
45
|
+
*/
|
|
46
|
+
'objectUID': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ClusterEventItem
|
|
51
|
+
*/
|
|
52
|
+
'componentName'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ClusterEventItem
|
|
57
|
+
*/
|
|
58
|
+
'name': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ClusterEventItem
|
|
63
|
+
*/
|
|
64
|
+
'type': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ClusterEventItem
|
|
69
|
+
*/
|
|
70
|
+
'reason': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ClusterEventItem
|
|
75
|
+
*/
|
|
76
|
+
'message': string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ClusterEventItem
|
|
81
|
+
*/
|
|
82
|
+
'source': string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof ClusterEventItem
|
|
87
|
+
*/
|
|
88
|
+
'count': number;
|
|
89
|
+
/**
|
|
90
|
+
* Last observation time, falling back to the event creation time
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ClusterEventItem
|
|
93
|
+
*/
|
|
94
|
+
'eventTime': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ClusterEventItem } from './cluster-event-item';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ClusterEventList
|
|
24
|
+
*/
|
|
25
|
+
export interface ClusterEventList {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ClusterEventItem>}
|
|
29
|
+
* @memberof ClusterEventList
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<ClusterEventItem>;
|
|
32
|
+
/**
|
|
33
|
+
* Whether more matching events exist than the limit
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ClusterEventList
|
|
36
|
+
*/
|
|
37
|
+
'truncated': boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -178,6 +178,8 @@ export * from './cluster-backup-method';
|
|
|
178
178
|
export * from './cluster-batch-update';
|
|
179
179
|
export * from './cluster-batch-update-data';
|
|
180
180
|
export * from './cluster-create';
|
|
181
|
+
export * from './cluster-event-item';
|
|
182
|
+
export * from './cluster-event-list';
|
|
181
183
|
export * from './cluster-execution-log';
|
|
182
184
|
export * from './cluster-execution-log-aggregate-item';
|
|
183
185
|
export * from './cluster-execution-log-aggregate-response';
|
package/src/openapi.yaml
CHANGED
|
@@ -4415,6 +4415,50 @@ paths:
|
|
|
4415
4415
|
tags:
|
|
4416
4416
|
- cluster
|
|
4417
4417
|
- shared
|
|
4418
|
+
/api/v1/organizations/{orgName}/clusters/{clusterName}/events:
|
|
4419
|
+
get:
|
|
4420
|
+
operationId: listClusterEvents
|
|
4421
|
+
tags:
|
|
4422
|
+
- cluster
|
|
4423
|
+
- shared
|
|
4424
|
+
summary: List Kubernetes events for the cluster, its components and InstanceSets
|
|
4425
|
+
parameters:
|
|
4426
|
+
- name: orgName
|
|
4427
|
+
in: path
|
|
4428
|
+
required: true
|
|
4429
|
+
schema:
|
|
4430
|
+
type: string
|
|
4431
|
+
- name: clusterName
|
|
4432
|
+
in: path
|
|
4433
|
+
required: true
|
|
4434
|
+
schema:
|
|
4435
|
+
type: string
|
|
4436
|
+
- name: limit
|
|
4437
|
+
in: query
|
|
4438
|
+
description: Maximum number of recent events to return
|
|
4439
|
+
schema:
|
|
4440
|
+
type: integer
|
|
4441
|
+
format: int32
|
|
4442
|
+
default: 100
|
|
4443
|
+
minimum: 1
|
|
4444
|
+
maximum: 500
|
|
4445
|
+
responses:
|
|
4446
|
+
'200':
|
|
4447
|
+
description: A successful response.
|
|
4448
|
+
content:
|
|
4449
|
+
application/json:
|
|
4450
|
+
schema:
|
|
4451
|
+
$ref: '#/components/schemas/clusterEventList'
|
|
4452
|
+
'400':
|
|
4453
|
+
$ref: '#/components/responses/400'
|
|
4454
|
+
'401':
|
|
4455
|
+
$ref: '#/components/responses/401'
|
|
4456
|
+
'403':
|
|
4457
|
+
$ref: '#/components/responses/403'
|
|
4458
|
+
'404':
|
|
4459
|
+
$ref: '#/components/responses/404'
|
|
4460
|
+
'500':
|
|
4461
|
+
$ref: '#/components/responses/500'
|
|
4418
4462
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/instances/{instanceName}/events:
|
|
4419
4463
|
get:
|
|
4420
4464
|
operationId: listInstanceEvents
|
|
@@ -31383,6 +31427,63 @@ components:
|
|
|
31383
31427
|
required:
|
|
31384
31428
|
- items
|
|
31385
31429
|
type: object
|
|
31430
|
+
clusterEventItem:
|
|
31431
|
+
description: Kubernetes event for a cluster, component or InstanceSet
|
|
31432
|
+
type: object
|
|
31433
|
+
required:
|
|
31434
|
+
- clusterName
|
|
31435
|
+
- objectKind
|
|
31436
|
+
- objectName
|
|
31437
|
+
- objectUID
|
|
31438
|
+
- name
|
|
31439
|
+
- type
|
|
31440
|
+
- reason
|
|
31441
|
+
- message
|
|
31442
|
+
- source
|
|
31443
|
+
- count
|
|
31444
|
+
- eventTime
|
|
31445
|
+
properties:
|
|
31446
|
+
clusterName:
|
|
31447
|
+
type: string
|
|
31448
|
+
objectKind:
|
|
31449
|
+
description: Kubernetes kind of the involved object
|
|
31450
|
+
type: string
|
|
31451
|
+
objectName:
|
|
31452
|
+
type: string
|
|
31453
|
+
objectUID:
|
|
31454
|
+
type: string
|
|
31455
|
+
componentName:
|
|
31456
|
+
type: string
|
|
31457
|
+
name:
|
|
31458
|
+
type: string
|
|
31459
|
+
type:
|
|
31460
|
+
type: string
|
|
31461
|
+
reason:
|
|
31462
|
+
type: string
|
|
31463
|
+
message:
|
|
31464
|
+
type: string
|
|
31465
|
+
source:
|
|
31466
|
+
type: string
|
|
31467
|
+
count:
|
|
31468
|
+
type: integer
|
|
31469
|
+
format: int32
|
|
31470
|
+
eventTime:
|
|
31471
|
+
description: Last observation time, falling back to the event creation time
|
|
31472
|
+
type: string
|
|
31473
|
+
format: date-time
|
|
31474
|
+
clusterEventList:
|
|
31475
|
+
type: object
|
|
31476
|
+
required:
|
|
31477
|
+
- items
|
|
31478
|
+
- truncated
|
|
31479
|
+
properties:
|
|
31480
|
+
items:
|
|
31481
|
+
type: array
|
|
31482
|
+
items:
|
|
31483
|
+
$ref: '#/components/schemas/clusterEventItem'
|
|
31484
|
+
truncated:
|
|
31485
|
+
description: Whether more matching events exist than the limit
|
|
31486
|
+
type: boolean
|
|
31386
31487
|
instanceEventItem:
|
|
31387
31488
|
description: Instance event
|
|
31388
31489
|
properties:
|