qovery-typescript-axios 1.1.673 → 1.1.675
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/api.ts +154 -152
- package/dist/api.d.ts +71 -69
- package/dist/api.js +140 -138
- package/dist/esm/api.d.ts +71 -69
- package/dist/esm/api.js +140 -138
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -16442,6 +16442,7 @@ export const ServiceActionStatusEnum = {
|
|
|
16442
16442
|
ONGOING: 'ONGOING',
|
|
16443
16443
|
SUCCESS: 'SUCCESS',
|
|
16444
16444
|
ERROR: 'ERROR',
|
|
16445
|
+
EXECUTING: 'EXECUTING',
|
|
16445
16446
|
CANCELED: 'CANCELED',
|
|
16446
16447
|
CANCELING: 'CANCELING',
|
|
16447
16448
|
NEVER: 'NEVER'
|
|
@@ -17221,6 +17222,7 @@ export const StateEnum = {
|
|
|
17221
17222
|
DEPLOYING: 'DEPLOYING',
|
|
17222
17223
|
DEPLOYMENT_ERROR: 'DEPLOYMENT_ERROR',
|
|
17223
17224
|
DEPLOYMENT_QUEUED: 'DEPLOYMENT_QUEUED',
|
|
17225
|
+
EXECUTING: 'EXECUTING',
|
|
17224
17226
|
QUEUED: 'QUEUED',
|
|
17225
17227
|
READY: 'READY',
|
|
17226
17228
|
RECAP: 'RECAP',
|
|
@@ -28648,6 +28650,96 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
28648
28650
|
|
|
28649
28651
|
|
|
28650
28652
|
|
|
28653
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28655
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28656
|
+
|
|
28657
|
+
return {
|
|
28658
|
+
url: toPathString(localVarUrlObj),
|
|
28659
|
+
options: localVarRequestOptions,
|
|
28660
|
+
};
|
|
28661
|
+
},
|
|
28662
|
+
/**
|
|
28663
|
+
* Fetch cluster logs
|
|
28664
|
+
* @summary Fetch cluster logs
|
|
28665
|
+
* @param {string} clusterId
|
|
28666
|
+
* @param {string} endpoint
|
|
28667
|
+
* @param {string} query
|
|
28668
|
+
* @param {string} [start]
|
|
28669
|
+
* @param {string} [end]
|
|
28670
|
+
* @param {string} [limit]
|
|
28671
|
+
* @param {string} [since]
|
|
28672
|
+
* @param {string} [step]
|
|
28673
|
+
* @param {string} [interval]
|
|
28674
|
+
* @param {string} [direction]
|
|
28675
|
+
* @param {*} [options] Override http request option.
|
|
28676
|
+
* @throws {RequiredError}
|
|
28677
|
+
*/
|
|
28678
|
+
getClusterLogs: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28679
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
28680
|
+
assertParamExists('getClusterLogs', 'clusterId', clusterId)
|
|
28681
|
+
// verify required parameter 'endpoint' is not null or undefined
|
|
28682
|
+
assertParamExists('getClusterLogs', 'endpoint', endpoint)
|
|
28683
|
+
// verify required parameter 'query' is not null or undefined
|
|
28684
|
+
assertParamExists('getClusterLogs', 'query', query)
|
|
28685
|
+
const localVarPath = `/cluster/{clusterId}/logs`
|
|
28686
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
28687
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28688
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28689
|
+
let baseOptions;
|
|
28690
|
+
if (configuration) {
|
|
28691
|
+
baseOptions = configuration.baseOptions;
|
|
28692
|
+
}
|
|
28693
|
+
|
|
28694
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28695
|
+
const localVarHeaderParameter = {} as any;
|
|
28696
|
+
const localVarQueryParameter = {} as any;
|
|
28697
|
+
|
|
28698
|
+
// authentication ApiKeyAuth required
|
|
28699
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28700
|
+
|
|
28701
|
+
// authentication bearerAuth required
|
|
28702
|
+
// http bearer authentication required
|
|
28703
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28704
|
+
|
|
28705
|
+
if (endpoint !== undefined) {
|
|
28706
|
+
localVarQueryParameter['endpoint'] = endpoint;
|
|
28707
|
+
}
|
|
28708
|
+
|
|
28709
|
+
if (query !== undefined) {
|
|
28710
|
+
localVarQueryParameter['query'] = query;
|
|
28711
|
+
}
|
|
28712
|
+
|
|
28713
|
+
if (start !== undefined) {
|
|
28714
|
+
localVarQueryParameter['start'] = start;
|
|
28715
|
+
}
|
|
28716
|
+
|
|
28717
|
+
if (end !== undefined) {
|
|
28718
|
+
localVarQueryParameter['end'] = end;
|
|
28719
|
+
}
|
|
28720
|
+
|
|
28721
|
+
if (limit !== undefined) {
|
|
28722
|
+
localVarQueryParameter['limit'] = limit;
|
|
28723
|
+
}
|
|
28724
|
+
|
|
28725
|
+
if (since !== undefined) {
|
|
28726
|
+
localVarQueryParameter['since'] = since;
|
|
28727
|
+
}
|
|
28728
|
+
|
|
28729
|
+
if (step !== undefined) {
|
|
28730
|
+
localVarQueryParameter['step'] = step;
|
|
28731
|
+
}
|
|
28732
|
+
|
|
28733
|
+
if (interval !== undefined) {
|
|
28734
|
+
localVarQueryParameter['interval'] = interval;
|
|
28735
|
+
}
|
|
28736
|
+
|
|
28737
|
+
if (direction !== undefined) {
|
|
28738
|
+
localVarQueryParameter['direction'] = direction;
|
|
28739
|
+
}
|
|
28740
|
+
|
|
28741
|
+
|
|
28742
|
+
|
|
28651
28743
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28652
28744
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28653
28745
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29582,6 +29674,28 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
29582
29674
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterKubernetesEvents']?.[localVarOperationServerIndex]?.url;
|
|
29583
29675
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29584
29676
|
},
|
|
29677
|
+
/**
|
|
29678
|
+
* Fetch cluster logs
|
|
29679
|
+
* @summary Fetch cluster logs
|
|
29680
|
+
* @param {string} clusterId
|
|
29681
|
+
* @param {string} endpoint
|
|
29682
|
+
* @param {string} query
|
|
29683
|
+
* @param {string} [start]
|
|
29684
|
+
* @param {string} [end]
|
|
29685
|
+
* @param {string} [limit]
|
|
29686
|
+
* @param {string} [since]
|
|
29687
|
+
* @param {string} [step]
|
|
29688
|
+
* @param {string} [interval]
|
|
29689
|
+
* @param {string} [direction]
|
|
29690
|
+
* @param {*} [options] Override http request option.
|
|
29691
|
+
* @throws {RequiredError}
|
|
29692
|
+
*/
|
|
29693
|
+
async getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>> {
|
|
29694
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
|
|
29695
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29696
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterLogs']?.[localVarOperationServerIndex]?.url;
|
|
29697
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29698
|
+
},
|
|
29585
29699
|
/**
|
|
29586
29700
|
* Fetch cluster metrics
|
|
29587
29701
|
* @summary Fetch cluster metrics
|
|
@@ -29944,6 +30058,25 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
29944
30058
|
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetClusterKubernetesEvents200Response> {
|
|
29945
30059
|
return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options).then((request) => request(axios, basePath));
|
|
29946
30060
|
},
|
|
30061
|
+
/**
|
|
30062
|
+
* Fetch cluster logs
|
|
30063
|
+
* @summary Fetch cluster logs
|
|
30064
|
+
* @param {string} clusterId
|
|
30065
|
+
* @param {string} endpoint
|
|
30066
|
+
* @param {string} query
|
|
30067
|
+
* @param {string} [start]
|
|
30068
|
+
* @param {string} [end]
|
|
30069
|
+
* @param {string} [limit]
|
|
30070
|
+
* @param {string} [since]
|
|
30071
|
+
* @param {string} [step]
|
|
30072
|
+
* @param {string} [interval]
|
|
30073
|
+
* @param {string} [direction]
|
|
30074
|
+
* @param {*} [options] Override http request option.
|
|
30075
|
+
* @throws {RequiredError}
|
|
30076
|
+
*/
|
|
30077
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse> {
|
|
30078
|
+
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
30079
|
+
},
|
|
29947
30080
|
/**
|
|
29948
30081
|
* Fetch cluster metrics
|
|
29949
30082
|
* @summary Fetch cluster metrics
|
|
@@ -30278,6 +30411,27 @@ export class ClustersApi extends BaseAPI {
|
|
|
30278
30411
|
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options).then((request) => request(this.axios, this.basePath));
|
|
30279
30412
|
}
|
|
30280
30413
|
|
|
30414
|
+
/**
|
|
30415
|
+
* Fetch cluster logs
|
|
30416
|
+
* @summary Fetch cluster logs
|
|
30417
|
+
* @param {string} clusterId
|
|
30418
|
+
* @param {string} endpoint
|
|
30419
|
+
* @param {string} query
|
|
30420
|
+
* @param {string} [start]
|
|
30421
|
+
* @param {string} [end]
|
|
30422
|
+
* @param {string} [limit]
|
|
30423
|
+
* @param {string} [since]
|
|
30424
|
+
* @param {string} [step]
|
|
30425
|
+
* @param {string} [interval]
|
|
30426
|
+
* @param {string} [direction]
|
|
30427
|
+
* @param {*} [options] Override http request option.
|
|
30428
|
+
* @throws {RequiredError}
|
|
30429
|
+
* @memberof ClustersApi
|
|
30430
|
+
*/
|
|
30431
|
+
public getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) {
|
|
30432
|
+
return ClustersApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
|
|
30433
|
+
}
|
|
30434
|
+
|
|
30281
30435
|
/**
|
|
30282
30436
|
* Fetch cluster metrics
|
|
30283
30437
|
* @summary Fetch cluster metrics
|
|
@@ -36897,96 +37051,6 @@ export class DatabasesApi extends BaseAPI {
|
|
|
36897
37051
|
*/
|
|
36898
37052
|
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36899
37053
|
return {
|
|
36900
|
-
/**
|
|
36901
|
-
* Fetch cluster logs
|
|
36902
|
-
* @summary Fetch cluster logs
|
|
36903
|
-
* @param {string} clusterId
|
|
36904
|
-
* @param {string} endpoint
|
|
36905
|
-
* @param {string} query
|
|
36906
|
-
* @param {string} [start]
|
|
36907
|
-
* @param {string} [end]
|
|
36908
|
-
* @param {string} [limit]
|
|
36909
|
-
* @param {string} [since]
|
|
36910
|
-
* @param {string} [step]
|
|
36911
|
-
* @param {string} [interval]
|
|
36912
|
-
* @param {string} [direction]
|
|
36913
|
-
* @param {*} [options] Override http request option.
|
|
36914
|
-
* @throws {RequiredError}
|
|
36915
|
-
*/
|
|
36916
|
-
getClusterLogs: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36917
|
-
// verify required parameter 'clusterId' is not null or undefined
|
|
36918
|
-
assertParamExists('getClusterLogs', 'clusterId', clusterId)
|
|
36919
|
-
// verify required parameter 'endpoint' is not null or undefined
|
|
36920
|
-
assertParamExists('getClusterLogs', 'endpoint', endpoint)
|
|
36921
|
-
// verify required parameter 'query' is not null or undefined
|
|
36922
|
-
assertParamExists('getClusterLogs', 'query', query)
|
|
36923
|
-
const localVarPath = `/cluster/{clusterId}/logs`
|
|
36924
|
-
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
36925
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36926
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36927
|
-
let baseOptions;
|
|
36928
|
-
if (configuration) {
|
|
36929
|
-
baseOptions = configuration.baseOptions;
|
|
36930
|
-
}
|
|
36931
|
-
|
|
36932
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36933
|
-
const localVarHeaderParameter = {} as any;
|
|
36934
|
-
const localVarQueryParameter = {} as any;
|
|
36935
|
-
|
|
36936
|
-
// authentication ApiKeyAuth required
|
|
36937
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36938
|
-
|
|
36939
|
-
// authentication bearerAuth required
|
|
36940
|
-
// http bearer authentication required
|
|
36941
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36942
|
-
|
|
36943
|
-
if (endpoint !== undefined) {
|
|
36944
|
-
localVarQueryParameter['endpoint'] = endpoint;
|
|
36945
|
-
}
|
|
36946
|
-
|
|
36947
|
-
if (query !== undefined) {
|
|
36948
|
-
localVarQueryParameter['query'] = query;
|
|
36949
|
-
}
|
|
36950
|
-
|
|
36951
|
-
if (start !== undefined) {
|
|
36952
|
-
localVarQueryParameter['start'] = start;
|
|
36953
|
-
}
|
|
36954
|
-
|
|
36955
|
-
if (end !== undefined) {
|
|
36956
|
-
localVarQueryParameter['end'] = end;
|
|
36957
|
-
}
|
|
36958
|
-
|
|
36959
|
-
if (limit !== undefined) {
|
|
36960
|
-
localVarQueryParameter['limit'] = limit;
|
|
36961
|
-
}
|
|
36962
|
-
|
|
36963
|
-
if (since !== undefined) {
|
|
36964
|
-
localVarQueryParameter['since'] = since;
|
|
36965
|
-
}
|
|
36966
|
-
|
|
36967
|
-
if (step !== undefined) {
|
|
36968
|
-
localVarQueryParameter['step'] = step;
|
|
36969
|
-
}
|
|
36970
|
-
|
|
36971
|
-
if (interval !== undefined) {
|
|
36972
|
-
localVarQueryParameter['interval'] = interval;
|
|
36973
|
-
}
|
|
36974
|
-
|
|
36975
|
-
if (direction !== undefined) {
|
|
36976
|
-
localVarQueryParameter['direction'] = direction;
|
|
36977
|
-
}
|
|
36978
|
-
|
|
36979
|
-
|
|
36980
|
-
|
|
36981
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36982
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36983
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36984
|
-
|
|
36985
|
-
return {
|
|
36986
|
-
url: toPathString(localVarUrlObj),
|
|
36987
|
-
options: localVarRequestOptions,
|
|
36988
|
-
};
|
|
36989
|
-
},
|
|
36990
37054
|
/**
|
|
36991
37055
|
*
|
|
36992
37056
|
* @summary Get cluster token by clusterId
|
|
@@ -37082,28 +37146,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
37082
37146
|
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
37083
37147
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
37084
37148
|
return {
|
|
37085
|
-
/**
|
|
37086
|
-
* Fetch cluster logs
|
|
37087
|
-
* @summary Fetch cluster logs
|
|
37088
|
-
* @param {string} clusterId
|
|
37089
|
-
* @param {string} endpoint
|
|
37090
|
-
* @param {string} query
|
|
37091
|
-
* @param {string} [start]
|
|
37092
|
-
* @param {string} [end]
|
|
37093
|
-
* @param {string} [limit]
|
|
37094
|
-
* @param {string} [since]
|
|
37095
|
-
* @param {string} [step]
|
|
37096
|
-
* @param {string} [interval]
|
|
37097
|
-
* @param {string} [direction]
|
|
37098
|
-
* @param {*} [options] Override http request option.
|
|
37099
|
-
* @throws {RequiredError}
|
|
37100
|
-
*/
|
|
37101
|
-
async getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>> {
|
|
37102
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
|
|
37103
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37104
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.getClusterLogs']?.[localVarOperationServerIndex]?.url;
|
|
37105
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37106
|
-
},
|
|
37107
37149
|
/**
|
|
37108
37150
|
*
|
|
37109
37151
|
* @summary Get cluster token by clusterId
|
|
@@ -37140,25 +37182,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
37140
37182
|
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37141
37183
|
const localVarFp = DefaultApiFp(configuration)
|
|
37142
37184
|
return {
|
|
37143
|
-
/**
|
|
37144
|
-
* Fetch cluster logs
|
|
37145
|
-
* @summary Fetch cluster logs
|
|
37146
|
-
* @param {string} clusterId
|
|
37147
|
-
* @param {string} endpoint
|
|
37148
|
-
* @param {string} query
|
|
37149
|
-
* @param {string} [start]
|
|
37150
|
-
* @param {string} [end]
|
|
37151
|
-
* @param {string} [limit]
|
|
37152
|
-
* @param {string} [since]
|
|
37153
|
-
* @param {string} [step]
|
|
37154
|
-
* @param {string} [interval]
|
|
37155
|
-
* @param {string} [direction]
|
|
37156
|
-
* @param {*} [options] Override http request option.
|
|
37157
|
-
* @throws {RequiredError}
|
|
37158
|
-
*/
|
|
37159
|
-
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse> {
|
|
37160
|
-
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
37161
|
-
},
|
|
37162
37185
|
/**
|
|
37163
37186
|
*
|
|
37164
37187
|
* @summary Get cluster token by clusterId
|
|
@@ -37189,27 +37212,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
37189
37212
|
* @extends {BaseAPI}
|
|
37190
37213
|
*/
|
|
37191
37214
|
export class DefaultApi extends BaseAPI {
|
|
37192
|
-
/**
|
|
37193
|
-
* Fetch cluster logs
|
|
37194
|
-
* @summary Fetch cluster logs
|
|
37195
|
-
* @param {string} clusterId
|
|
37196
|
-
* @param {string} endpoint
|
|
37197
|
-
* @param {string} query
|
|
37198
|
-
* @param {string} [start]
|
|
37199
|
-
* @param {string} [end]
|
|
37200
|
-
* @param {string} [limit]
|
|
37201
|
-
* @param {string} [since]
|
|
37202
|
-
* @param {string} [step]
|
|
37203
|
-
* @param {string} [interval]
|
|
37204
|
-
* @param {string} [direction]
|
|
37205
|
-
* @param {*} [options] Override http request option.
|
|
37206
|
-
* @throws {RequiredError}
|
|
37207
|
-
* @memberof DefaultApi
|
|
37208
|
-
*/
|
|
37209
|
-
public getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) {
|
|
37210
|
-
return DefaultApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
|
|
37211
|
-
}
|
|
37212
|
-
|
|
37213
37215
|
/**
|
|
37214
37216
|
*
|
|
37215
37217
|
* @summary Get cluster token by clusterId
|
package/dist/api.d.ts
CHANGED
|
@@ -15944,6 +15944,7 @@ export declare const ServiceActionStatusEnum: {
|
|
|
15944
15944
|
readonly ONGOING: "ONGOING";
|
|
15945
15945
|
readonly SUCCESS: "SUCCESS";
|
|
15946
15946
|
readonly ERROR: "ERROR";
|
|
15947
|
+
readonly EXECUTING: "EXECUTING";
|
|
15947
15948
|
readonly CANCELED: "CANCELED";
|
|
15948
15949
|
readonly CANCELING: "CANCELING";
|
|
15949
15950
|
readonly NEVER: "NEVER";
|
|
@@ -16674,6 +16675,7 @@ export declare const StateEnum: {
|
|
|
16674
16675
|
readonly DEPLOYING: "DEPLOYING";
|
|
16675
16676
|
readonly DEPLOYMENT_ERROR: "DEPLOYMENT_ERROR";
|
|
16676
16677
|
readonly DEPLOYMENT_QUEUED: "DEPLOYMENT_QUEUED";
|
|
16678
|
+
readonly EXECUTING: "EXECUTING";
|
|
16677
16679
|
readonly QUEUED: "QUEUED";
|
|
16678
16680
|
readonly READY: "READY";
|
|
16679
16681
|
readonly RECAP: "RECAP";
|
|
@@ -22477,6 +22479,23 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22477
22479
|
* @throws {RequiredError}
|
|
22478
22480
|
*/
|
|
22479
22481
|
getClusterKubernetesEvents: (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22482
|
+
/**
|
|
22483
|
+
* Fetch cluster logs
|
|
22484
|
+
* @summary Fetch cluster logs
|
|
22485
|
+
* @param {string} clusterId
|
|
22486
|
+
* @param {string} endpoint
|
|
22487
|
+
* @param {string} query
|
|
22488
|
+
* @param {string} [start]
|
|
22489
|
+
* @param {string} [end]
|
|
22490
|
+
* @param {string} [limit]
|
|
22491
|
+
* @param {string} [since]
|
|
22492
|
+
* @param {string} [step]
|
|
22493
|
+
* @param {string} [interval]
|
|
22494
|
+
* @param {string} [direction]
|
|
22495
|
+
* @param {*} [options] Override http request option.
|
|
22496
|
+
* @throws {RequiredError}
|
|
22497
|
+
*/
|
|
22498
|
+
getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22480
22499
|
/**
|
|
22481
22500
|
* Fetch cluster metrics
|
|
22482
22501
|
* @summary Fetch cluster metrics
|
|
@@ -22735,6 +22754,23 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
22735
22754
|
* @throws {RequiredError}
|
|
22736
22755
|
*/
|
|
22737
22756
|
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>>;
|
|
22757
|
+
/**
|
|
22758
|
+
* Fetch cluster logs
|
|
22759
|
+
* @summary Fetch cluster logs
|
|
22760
|
+
* @param {string} clusterId
|
|
22761
|
+
* @param {string} endpoint
|
|
22762
|
+
* @param {string} query
|
|
22763
|
+
* @param {string} [start]
|
|
22764
|
+
* @param {string} [end]
|
|
22765
|
+
* @param {string} [limit]
|
|
22766
|
+
* @param {string} [since]
|
|
22767
|
+
* @param {string} [step]
|
|
22768
|
+
* @param {string} [interval]
|
|
22769
|
+
* @param {string} [direction]
|
|
22770
|
+
* @param {*} [options] Override http request option.
|
|
22771
|
+
* @throws {RequiredError}
|
|
22772
|
+
*/
|
|
22773
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
|
|
22738
22774
|
/**
|
|
22739
22775
|
* Fetch cluster metrics
|
|
22740
22776
|
* @summary Fetch cluster metrics
|
|
@@ -22993,6 +23029,23 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
22993
23029
|
* @throws {RequiredError}
|
|
22994
23030
|
*/
|
|
22995
23031
|
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetClusterKubernetesEvents200Response>;
|
|
23032
|
+
/**
|
|
23033
|
+
* Fetch cluster logs
|
|
23034
|
+
* @summary Fetch cluster logs
|
|
23035
|
+
* @param {string} clusterId
|
|
23036
|
+
* @param {string} endpoint
|
|
23037
|
+
* @param {string} query
|
|
23038
|
+
* @param {string} [start]
|
|
23039
|
+
* @param {string} [end]
|
|
23040
|
+
* @param {string} [limit]
|
|
23041
|
+
* @param {string} [since]
|
|
23042
|
+
* @param {string} [step]
|
|
23043
|
+
* @param {string} [interval]
|
|
23044
|
+
* @param {string} [direction]
|
|
23045
|
+
* @param {*} [options] Override http request option.
|
|
23046
|
+
* @throws {RequiredError}
|
|
23047
|
+
*/
|
|
23048
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
|
|
22996
23049
|
/**
|
|
22997
23050
|
* Fetch cluster metrics
|
|
22998
23051
|
* @summary Fetch cluster metrics
|
|
@@ -23263,6 +23316,24 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
23263
23316
|
* @memberof ClustersApi
|
|
23264
23317
|
*/
|
|
23265
23318
|
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterKubernetesEvents200Response, any>>;
|
|
23319
|
+
/**
|
|
23320
|
+
* Fetch cluster logs
|
|
23321
|
+
* @summary Fetch cluster logs
|
|
23322
|
+
* @param {string} clusterId
|
|
23323
|
+
* @param {string} endpoint
|
|
23324
|
+
* @param {string} query
|
|
23325
|
+
* @param {string} [start]
|
|
23326
|
+
* @param {string} [end]
|
|
23327
|
+
* @param {string} [limit]
|
|
23328
|
+
* @param {string} [since]
|
|
23329
|
+
* @param {string} [step]
|
|
23330
|
+
* @param {string} [interval]
|
|
23331
|
+
* @param {string} [direction]
|
|
23332
|
+
* @param {*} [options] Override http request option.
|
|
23333
|
+
* @throws {RequiredError}
|
|
23334
|
+
* @memberof ClustersApi
|
|
23335
|
+
*/
|
|
23336
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any>>;
|
|
23266
23337
|
/**
|
|
23267
23338
|
* Fetch cluster metrics
|
|
23268
23339
|
* @summary Fetch cluster metrics
|
|
@@ -26390,23 +26461,6 @@ export declare class DatabasesApi extends BaseAPI {
|
|
|
26390
26461
|
* @export
|
|
26391
26462
|
*/
|
|
26392
26463
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26393
|
-
/**
|
|
26394
|
-
* Fetch cluster logs
|
|
26395
|
-
* @summary Fetch cluster logs
|
|
26396
|
-
* @param {string} clusterId
|
|
26397
|
-
* @param {string} endpoint
|
|
26398
|
-
* @param {string} query
|
|
26399
|
-
* @param {string} [start]
|
|
26400
|
-
* @param {string} [end]
|
|
26401
|
-
* @param {string} [limit]
|
|
26402
|
-
* @param {string} [since]
|
|
26403
|
-
* @param {string} [step]
|
|
26404
|
-
* @param {string} [interval]
|
|
26405
|
-
* @param {string} [direction]
|
|
26406
|
-
* @param {*} [options] Override http request option.
|
|
26407
|
-
* @throws {RequiredError}
|
|
26408
|
-
*/
|
|
26409
|
-
getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26410
26464
|
/**
|
|
26411
26465
|
*
|
|
26412
26466
|
* @summary Get cluster token by clusterId
|
|
@@ -26429,23 +26483,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
26429
26483
|
* @export
|
|
26430
26484
|
*/
|
|
26431
26485
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
26432
|
-
/**
|
|
26433
|
-
* Fetch cluster logs
|
|
26434
|
-
* @summary Fetch cluster logs
|
|
26435
|
-
* @param {string} clusterId
|
|
26436
|
-
* @param {string} endpoint
|
|
26437
|
-
* @param {string} query
|
|
26438
|
-
* @param {string} [start]
|
|
26439
|
-
* @param {string} [end]
|
|
26440
|
-
* @param {string} [limit]
|
|
26441
|
-
* @param {string} [since]
|
|
26442
|
-
* @param {string} [step]
|
|
26443
|
-
* @param {string} [interval]
|
|
26444
|
-
* @param {string} [direction]
|
|
26445
|
-
* @param {*} [options] Override http request option.
|
|
26446
|
-
* @throws {RequiredError}
|
|
26447
|
-
*/
|
|
26448
|
-
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
|
|
26449
26486
|
/**
|
|
26450
26487
|
*
|
|
26451
26488
|
* @summary Get cluster token by clusterId
|
|
@@ -26468,23 +26505,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
26468
26505
|
* @export
|
|
26469
26506
|
*/
|
|
26470
26507
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26471
|
-
/**
|
|
26472
|
-
* Fetch cluster logs
|
|
26473
|
-
* @summary Fetch cluster logs
|
|
26474
|
-
* @param {string} clusterId
|
|
26475
|
-
* @param {string} endpoint
|
|
26476
|
-
* @param {string} query
|
|
26477
|
-
* @param {string} [start]
|
|
26478
|
-
* @param {string} [end]
|
|
26479
|
-
* @param {string} [limit]
|
|
26480
|
-
* @param {string} [since]
|
|
26481
|
-
* @param {string} [step]
|
|
26482
|
-
* @param {string} [interval]
|
|
26483
|
-
* @param {string} [direction]
|
|
26484
|
-
* @param {*} [options] Override http request option.
|
|
26485
|
-
* @throws {RequiredError}
|
|
26486
|
-
*/
|
|
26487
|
-
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
|
|
26488
26508
|
/**
|
|
26489
26509
|
*
|
|
26490
26510
|
* @summary Get cluster token by clusterId
|
|
@@ -26509,24 +26529,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
26509
26529
|
* @extends {BaseAPI}
|
|
26510
26530
|
*/
|
|
26511
26531
|
export declare class DefaultApi extends BaseAPI {
|
|
26512
|
-
/**
|
|
26513
|
-
* Fetch cluster logs
|
|
26514
|
-
* @summary Fetch cluster logs
|
|
26515
|
-
* @param {string} clusterId
|
|
26516
|
-
* @param {string} endpoint
|
|
26517
|
-
* @param {string} query
|
|
26518
|
-
* @param {string} [start]
|
|
26519
|
-
* @param {string} [end]
|
|
26520
|
-
* @param {string} [limit]
|
|
26521
|
-
* @param {string} [since]
|
|
26522
|
-
* @param {string} [step]
|
|
26523
|
-
* @param {string} [interval]
|
|
26524
|
-
* @param {string} [direction]
|
|
26525
|
-
* @param {*} [options] Override http request option.
|
|
26526
|
-
* @throws {RequiredError}
|
|
26527
|
-
* @memberof DefaultApi
|
|
26528
|
-
*/
|
|
26529
|
-
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any>>;
|
|
26530
26532
|
/**
|
|
26531
26533
|
*
|
|
26532
26534
|
* @summary Get cluster token by clusterId
|