qovery-typescript-axios 1.1.885 → 1.1.887
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 +255 -3
- package/dist/api.d.ts +206 -1
- package/dist/api.js +96 -12
- package/dist/esm/api.d.ts +206 -1
- package/dist/esm/api.js +85 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2264,6 +2264,38 @@ export interface ArgoCdUnlinkedClusterDetails {
|
|
|
2264
2264
|
*/
|
|
2265
2265
|
'applications_count': number;
|
|
2266
2266
|
}
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @export
|
|
2270
|
+
* @interface ArgocdAppManifestResponse
|
|
2271
|
+
*/
|
|
2272
|
+
export interface ArgocdAppManifestResponse {
|
|
2273
|
+
/**
|
|
2274
|
+
* Git revision the app is currently synced to
|
|
2275
|
+
* @type {string}
|
|
2276
|
+
* @memberof ArgocdAppManifestResponse
|
|
2277
|
+
*/
|
|
2278
|
+
'manifest_revision'?: string | null;
|
|
2279
|
+
/**
|
|
2280
|
+
*
|
|
2281
|
+
* @type {ArgocdAppManifestResponseManifestMetadata}
|
|
2282
|
+
* @memberof ArgocdAppManifestResponse
|
|
2283
|
+
*/
|
|
2284
|
+
'manifest_metadata': ArgocdAppManifestResponseManifestMetadata;
|
|
2285
|
+
}
|
|
2286
|
+
/**
|
|
2287
|
+
* Raw enrichment data fetched from the ArgoCD managed-resources API
|
|
2288
|
+
* @export
|
|
2289
|
+
* @interface ArgocdAppManifestResponseManifestMetadata
|
|
2290
|
+
*/
|
|
2291
|
+
export interface ArgocdAppManifestResponseManifestMetadata {
|
|
2292
|
+
/**
|
|
2293
|
+
*
|
|
2294
|
+
* @type {Array<ArgocdManagedResource>}
|
|
2295
|
+
* @memberof ArgocdAppManifestResponseManifestMetadata
|
|
2296
|
+
*/
|
|
2297
|
+
'managed_resources'?: Array<ArgocdManagedResource>;
|
|
2298
|
+
}
|
|
2267
2299
|
/**
|
|
2268
2300
|
* An ArgoCD service
|
|
2269
2301
|
* @export
|
|
@@ -2357,6 +2389,43 @@ export interface ArgocdAppResponse {
|
|
|
2357
2389
|
}
|
|
2358
2390
|
|
|
2359
2391
|
|
|
2392
|
+
/**
|
|
2393
|
+
*
|
|
2394
|
+
* @export
|
|
2395
|
+
* @interface ArgocdManagedResource
|
|
2396
|
+
*/
|
|
2397
|
+
export interface ArgocdManagedResource {
|
|
2398
|
+
/**
|
|
2399
|
+
* Kubernetes resource kind (e.g. Deployment, Service)
|
|
2400
|
+
* @type {string}
|
|
2401
|
+
* @memberof ArgocdManagedResource
|
|
2402
|
+
*/
|
|
2403
|
+
'kind'?: string;
|
|
2404
|
+
/**
|
|
2405
|
+
*
|
|
2406
|
+
* @type {string}
|
|
2407
|
+
* @memberof ArgocdManagedResource
|
|
2408
|
+
*/
|
|
2409
|
+
'name'?: string;
|
|
2410
|
+
/**
|
|
2411
|
+
*
|
|
2412
|
+
* @type {string}
|
|
2413
|
+
* @memberof ArgocdManagedResource
|
|
2414
|
+
*/
|
|
2415
|
+
'namespace'?: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* JSON-encoded desired Kubernetes manifest
|
|
2418
|
+
* @type {string}
|
|
2419
|
+
* @memberof ArgocdManagedResource
|
|
2420
|
+
*/
|
|
2421
|
+
'targetState'?: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* JSON-encoded live Kubernetes manifest
|
|
2424
|
+
* @type {string}
|
|
2425
|
+
* @memberof ArgocdManagedResource
|
|
2426
|
+
*/
|
|
2427
|
+
'liveState'?: string;
|
|
2428
|
+
}
|
|
2360
2429
|
/**
|
|
2361
2430
|
*
|
|
2362
2431
|
* @export
|
|
@@ -4856,6 +4925,112 @@ export interface ClusterFeatureKarpenterParametersResponse {
|
|
|
4856
4925
|
}
|
|
4857
4926
|
|
|
4858
4927
|
|
|
4928
|
+
/**
|
|
4929
|
+
*
|
|
4930
|
+
* @export
|
|
4931
|
+
* @interface ClusterFeatureNatGatewayParameters
|
|
4932
|
+
*/
|
|
4933
|
+
export interface ClusterFeatureNatGatewayParameters {
|
|
4934
|
+
/**
|
|
4935
|
+
*
|
|
4936
|
+
* @type {ClusterFeatureNatGatewayParametersNatGatewayType}
|
|
4937
|
+
* @memberof ClusterFeatureNatGatewayParameters
|
|
4938
|
+
*/
|
|
4939
|
+
'nat_gateway_type'?: ClusterFeatureNatGatewayParametersNatGatewayType | null;
|
|
4940
|
+
}
|
|
4941
|
+
/**
|
|
4942
|
+
* @type ClusterFeatureNatGatewayParametersNatGatewayType
|
|
4943
|
+
* @export
|
|
4944
|
+
*/
|
|
4945
|
+
export type ClusterFeatureNatGatewayParametersNatGatewayType = { provider: 'gcp' } & ClusterFeatureNatGatewayTypeGcp | { provider: 'scaleway' } & ClusterFeatureNatGatewayTypeScaleway;
|
|
4946
|
+
|
|
4947
|
+
/**
|
|
4948
|
+
*
|
|
4949
|
+
* @export
|
|
4950
|
+
* @interface ClusterFeatureNatGatewayParametersResponse
|
|
4951
|
+
*/
|
|
4952
|
+
export interface ClusterFeatureNatGatewayParametersResponse {
|
|
4953
|
+
/**
|
|
4954
|
+
*
|
|
4955
|
+
* @type {ClusterFeatureResponseTypeEnum}
|
|
4956
|
+
* @memberof ClusterFeatureNatGatewayParametersResponse
|
|
4957
|
+
*/
|
|
4958
|
+
'type': ClusterFeatureResponseTypeEnum;
|
|
4959
|
+
/**
|
|
4960
|
+
*
|
|
4961
|
+
* @type {ClusterFeatureNatGatewayParameters}
|
|
4962
|
+
* @memberof ClusterFeatureNatGatewayParametersResponse
|
|
4963
|
+
*/
|
|
4964
|
+
'value': ClusterFeatureNatGatewayParameters | null;
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
|
|
4968
|
+
/**
|
|
4969
|
+
*
|
|
4970
|
+
* @export
|
|
4971
|
+
* @interface ClusterFeatureNatGatewayTypeGcp
|
|
4972
|
+
*/
|
|
4973
|
+
export interface ClusterFeatureNatGatewayTypeGcp {
|
|
4974
|
+
/**
|
|
4975
|
+
*
|
|
4976
|
+
* @type {string}
|
|
4977
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4978
|
+
*/
|
|
4979
|
+
'provider': ClusterFeatureNatGatewayTypeGcpProviderEnum;
|
|
4980
|
+
/**
|
|
4981
|
+
*
|
|
4982
|
+
* @type {boolean}
|
|
4983
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4984
|
+
*/
|
|
4985
|
+
'static_ips_enabled': boolean;
|
|
4986
|
+
/**
|
|
4987
|
+
* Number of static IPs to allocate. Must be >= 1 when static_ips_enabled is true.
|
|
4988
|
+
* @type {number}
|
|
4989
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4990
|
+
*/
|
|
4991
|
+
'static_ips_count': number;
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4994
|
+
export const ClusterFeatureNatGatewayTypeGcpProviderEnum = {
|
|
4995
|
+
GCP: 'gcp'
|
|
4996
|
+
} as const;
|
|
4997
|
+
|
|
4998
|
+
export type ClusterFeatureNatGatewayTypeGcpProviderEnum = typeof ClusterFeatureNatGatewayTypeGcpProviderEnum[keyof typeof ClusterFeatureNatGatewayTypeGcpProviderEnum];
|
|
4999
|
+
|
|
5000
|
+
/**
|
|
5001
|
+
*
|
|
5002
|
+
* @export
|
|
5003
|
+
* @interface ClusterFeatureNatGatewayTypeScaleway
|
|
5004
|
+
*/
|
|
5005
|
+
export interface ClusterFeatureNatGatewayTypeScaleway {
|
|
5006
|
+
/**
|
|
5007
|
+
*
|
|
5008
|
+
* @type {string}
|
|
5009
|
+
* @memberof ClusterFeatureNatGatewayTypeScaleway
|
|
5010
|
+
*/
|
|
5011
|
+
'provider': ClusterFeatureNatGatewayTypeScalewayProviderEnum;
|
|
5012
|
+
/**
|
|
5013
|
+
*
|
|
5014
|
+
* @type {string}
|
|
5015
|
+
* @memberof ClusterFeatureNatGatewayTypeScaleway
|
|
5016
|
+
*/
|
|
5017
|
+
'type': ClusterFeatureNatGatewayTypeScalewayTypeEnum;
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
export const ClusterFeatureNatGatewayTypeScalewayProviderEnum = {
|
|
5021
|
+
SCALEWAY: 'scaleway'
|
|
5022
|
+
} as const;
|
|
5023
|
+
|
|
5024
|
+
export type ClusterFeatureNatGatewayTypeScalewayProviderEnum = typeof ClusterFeatureNatGatewayTypeScalewayProviderEnum[keyof typeof ClusterFeatureNatGatewayTypeScalewayProviderEnum];
|
|
5025
|
+
export const ClusterFeatureNatGatewayTypeScalewayTypeEnum = {
|
|
5026
|
+
S: 'VPC-GW-S',
|
|
5027
|
+
M: 'VPC-GW-M',
|
|
5028
|
+
L: 'VPC-GW-L',
|
|
5029
|
+
XL: 'VPC-GW-XL'
|
|
5030
|
+
} as const;
|
|
5031
|
+
|
|
5032
|
+
export type ClusterFeatureNatGatewayTypeScalewayTypeEnum = typeof ClusterFeatureNatGatewayTypeScalewayTypeEnum[keyof typeof ClusterFeatureNatGatewayTypeScalewayTypeEnum];
|
|
5033
|
+
|
|
4859
5034
|
/**
|
|
4860
5035
|
*
|
|
4861
5036
|
* @export
|
|
@@ -4987,7 +5162,8 @@ export const ClusterFeatureResponseTypeEnum = {
|
|
|
4987
5162
|
BOOLEAN: 'BOOLEAN',
|
|
4988
5163
|
AWS_USER_PROVIDED_NETWORK: 'AWS_USER_PROVIDED_NETWORK',
|
|
4989
5164
|
GCP_USER_PROVIDED_NETWORK: 'GCP_USER_PROVIDED_NETWORK',
|
|
4990
|
-
KARPENTER: 'KARPENTER'
|
|
5165
|
+
KARPENTER: 'KARPENTER',
|
|
5166
|
+
NAT_GATEWAY: 'NAT_GATEWAY'
|
|
4991
5167
|
} as const;
|
|
4992
5168
|
|
|
4993
5169
|
export type ClusterFeatureResponseTypeEnum = typeof ClusterFeatureResponseTypeEnum[keyof typeof ClusterFeatureResponseTypeEnum];
|
|
@@ -4997,7 +5173,7 @@ export type ClusterFeatureResponseTypeEnum = typeof ClusterFeatureResponseTypeEn
|
|
|
4997
5173
|
* @type ClusterFeatureResponseValueObject
|
|
4998
5174
|
* @export
|
|
4999
5175
|
*/
|
|
5000
|
-
export type ClusterFeatureResponseValueObject = { type: 'AWS_USER_PROVIDED_NETWORK' } & ClusterFeatureAwsExistingVpcResponse | { type: 'BOOLEAN' } & ClusterFeatureBooleanResponse | { type: 'GCP_USER_PROVIDED_NETWORK' } & ClusterFeatureGcpExistingVpcResponse | { type: 'KARPENTER' } & ClusterFeatureKarpenterParametersResponse | { type: 'STRING' } & ClusterFeatureStringResponse;
|
|
5176
|
+
export type ClusterFeatureResponseValueObject = { type: 'AWS_USER_PROVIDED_NETWORK' } & ClusterFeatureAwsExistingVpcResponse | { type: 'BOOLEAN' } & ClusterFeatureBooleanResponse | { type: 'GCP_USER_PROVIDED_NETWORK' } & ClusterFeatureGcpExistingVpcResponse | { type: 'KARPENTER' } & ClusterFeatureKarpenterParametersResponse | { type: 'NAT_GATEWAY' } & ClusterFeatureNatGatewayParametersResponse | { type: 'STRING' } & ClusterFeatureStringResponse;
|
|
5001
5177
|
|
|
5002
5178
|
/**
|
|
5003
5179
|
*
|
|
@@ -5958,7 +6134,7 @@ export interface ClusterRequestFeaturesInner {
|
|
|
5958
6134
|
* @type ClusterRequestFeaturesInnerValue
|
|
5959
6135
|
* @export
|
|
5960
6136
|
*/
|
|
5961
|
-
export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | ClusterFeatureKarpenterParameters | boolean | string;
|
|
6137
|
+
export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | ClusterFeatureKarpenterParameters | ClusterFeatureNatGatewayParameters | boolean | string;
|
|
5962
6138
|
|
|
5963
6139
|
/**
|
|
5964
6140
|
*
|
|
@@ -29161,6 +29337,47 @@ export const ArgoCDApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29161
29337
|
|
|
29162
29338
|
|
|
29163
29339
|
|
|
29340
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29341
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29342
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29343
|
+
|
|
29344
|
+
return {
|
|
29345
|
+
url: toPathString(localVarUrlObj),
|
|
29346
|
+
options: localVarRequestOptions,
|
|
29347
|
+
};
|
|
29348
|
+
},
|
|
29349
|
+
/**
|
|
29350
|
+
*
|
|
29351
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
29352
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
29353
|
+
* @param {*} [options] Override http request option.
|
|
29354
|
+
* @throws {RequiredError}
|
|
29355
|
+
*/
|
|
29356
|
+
getArgoCdAppManifest: async (argocdAppId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29357
|
+
// verify required parameter 'argocdAppId' is not null or undefined
|
|
29358
|
+
assertParamExists('getArgoCdAppManifest', 'argocdAppId', argocdAppId)
|
|
29359
|
+
const localVarPath = `/argocdApp/{argocdAppId}/manifest`
|
|
29360
|
+
.replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
|
|
29361
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29362
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29363
|
+
let baseOptions;
|
|
29364
|
+
if (configuration) {
|
|
29365
|
+
baseOptions = configuration.baseOptions;
|
|
29366
|
+
}
|
|
29367
|
+
|
|
29368
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29369
|
+
const localVarHeaderParameter = {} as any;
|
|
29370
|
+
const localVarQueryParameter = {} as any;
|
|
29371
|
+
|
|
29372
|
+
// authentication ApiKeyAuth required
|
|
29373
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29374
|
+
|
|
29375
|
+
// authentication bearerAuth required
|
|
29376
|
+
// http bearer authentication required
|
|
29377
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29378
|
+
|
|
29379
|
+
|
|
29380
|
+
|
|
29164
29381
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29165
29382
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29166
29383
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29396,6 +29613,19 @@ export const ArgoCDApiFp = function(configuration?: Configuration) {
|
|
|
29396
29613
|
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdApp']?.[localVarOperationServerIndex]?.url;
|
|
29397
29614
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29398
29615
|
},
|
|
29616
|
+
/**
|
|
29617
|
+
*
|
|
29618
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
29619
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
29620
|
+
* @param {*} [options] Override http request option.
|
|
29621
|
+
* @throws {RequiredError}
|
|
29622
|
+
*/
|
|
29623
|
+
async getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>> {
|
|
29624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArgoCdAppManifest(argocdAppId, options);
|
|
29625
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29626
|
+
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdAppManifest']?.[localVarOperationServerIndex]?.url;
|
|
29627
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29628
|
+
},
|
|
29399
29629
|
/**
|
|
29400
29630
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
29401
29631
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -29491,6 +29721,16 @@ export const ArgoCDApiFactory = function (configuration?: Configuration, basePat
|
|
|
29491
29721
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse> {
|
|
29492
29722
|
return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
|
|
29493
29723
|
},
|
|
29724
|
+
/**
|
|
29725
|
+
*
|
|
29726
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
29727
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
29728
|
+
* @param {*} [options] Override http request option.
|
|
29729
|
+
* @throws {RequiredError}
|
|
29730
|
+
*/
|
|
29731
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse> {
|
|
29732
|
+
return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
|
|
29733
|
+
},
|
|
29494
29734
|
/**
|
|
29495
29735
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
29496
29736
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -29580,6 +29820,18 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
29580
29820
|
return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
29581
29821
|
}
|
|
29582
29822
|
|
|
29823
|
+
/**
|
|
29824
|
+
*
|
|
29825
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
29826
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
29827
|
+
* @param {*} [options] Override http request option.
|
|
29828
|
+
* @throws {RequiredError}
|
|
29829
|
+
* @memberof ArgoCDApi
|
|
29830
|
+
*/
|
|
29831
|
+
public getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig) {
|
|
29832
|
+
return ArgoCDApiFp(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
29833
|
+
}
|
|
29834
|
+
|
|
29583
29835
|
/**
|
|
29584
29836
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
29585
29837
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/api.d.ts
CHANGED
|
@@ -2177,6 +2177,38 @@ export interface ArgoCdUnlinkedClusterDetails {
|
|
|
2177
2177
|
*/
|
|
2178
2178
|
'applications_count': number;
|
|
2179
2179
|
}
|
|
2180
|
+
/**
|
|
2181
|
+
*
|
|
2182
|
+
* @export
|
|
2183
|
+
* @interface ArgocdAppManifestResponse
|
|
2184
|
+
*/
|
|
2185
|
+
export interface ArgocdAppManifestResponse {
|
|
2186
|
+
/**
|
|
2187
|
+
* Git revision the app is currently synced to
|
|
2188
|
+
* @type {string}
|
|
2189
|
+
* @memberof ArgocdAppManifestResponse
|
|
2190
|
+
*/
|
|
2191
|
+
'manifest_revision'?: string | null;
|
|
2192
|
+
/**
|
|
2193
|
+
*
|
|
2194
|
+
* @type {ArgocdAppManifestResponseManifestMetadata}
|
|
2195
|
+
* @memberof ArgocdAppManifestResponse
|
|
2196
|
+
*/
|
|
2197
|
+
'manifest_metadata': ArgocdAppManifestResponseManifestMetadata;
|
|
2198
|
+
}
|
|
2199
|
+
/**
|
|
2200
|
+
* Raw enrichment data fetched from the ArgoCD managed-resources API
|
|
2201
|
+
* @export
|
|
2202
|
+
* @interface ArgocdAppManifestResponseManifestMetadata
|
|
2203
|
+
*/
|
|
2204
|
+
export interface ArgocdAppManifestResponseManifestMetadata {
|
|
2205
|
+
/**
|
|
2206
|
+
*
|
|
2207
|
+
* @type {Array<ArgocdManagedResource>}
|
|
2208
|
+
* @memberof ArgocdAppManifestResponseManifestMetadata
|
|
2209
|
+
*/
|
|
2210
|
+
'managed_resources'?: Array<ArgocdManagedResource>;
|
|
2211
|
+
}
|
|
2180
2212
|
/**
|
|
2181
2213
|
* An ArgoCD service
|
|
2182
2214
|
* @export
|
|
@@ -2268,6 +2300,43 @@ export interface ArgocdAppResponse {
|
|
|
2268
2300
|
*/
|
|
2269
2301
|
'source_target_revision'?: string | null;
|
|
2270
2302
|
}
|
|
2303
|
+
/**
|
|
2304
|
+
*
|
|
2305
|
+
* @export
|
|
2306
|
+
* @interface ArgocdManagedResource
|
|
2307
|
+
*/
|
|
2308
|
+
export interface ArgocdManagedResource {
|
|
2309
|
+
/**
|
|
2310
|
+
* Kubernetes resource kind (e.g. Deployment, Service)
|
|
2311
|
+
* @type {string}
|
|
2312
|
+
* @memberof ArgocdManagedResource
|
|
2313
|
+
*/
|
|
2314
|
+
'kind'?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
*
|
|
2317
|
+
* @type {string}
|
|
2318
|
+
* @memberof ArgocdManagedResource
|
|
2319
|
+
*/
|
|
2320
|
+
'name'?: string;
|
|
2321
|
+
/**
|
|
2322
|
+
*
|
|
2323
|
+
* @type {string}
|
|
2324
|
+
* @memberof ArgocdManagedResource
|
|
2325
|
+
*/
|
|
2326
|
+
'namespace'?: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* JSON-encoded desired Kubernetes manifest
|
|
2329
|
+
* @type {string}
|
|
2330
|
+
* @memberof ArgocdManagedResource
|
|
2331
|
+
*/
|
|
2332
|
+
'targetState'?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* JSON-encoded live Kubernetes manifest
|
|
2335
|
+
* @type {string}
|
|
2336
|
+
* @memberof ArgocdManagedResource
|
|
2337
|
+
*/
|
|
2338
|
+
'liveState'?: string;
|
|
2339
|
+
}
|
|
2271
2340
|
/**
|
|
2272
2341
|
*
|
|
2273
2342
|
* @export
|
|
@@ -4703,6 +4772,106 @@ export interface ClusterFeatureKarpenterParametersResponse {
|
|
|
4703
4772
|
*/
|
|
4704
4773
|
'value': ClusterFeatureKarpenterParameters;
|
|
4705
4774
|
}
|
|
4775
|
+
/**
|
|
4776
|
+
*
|
|
4777
|
+
* @export
|
|
4778
|
+
* @interface ClusterFeatureNatGatewayParameters
|
|
4779
|
+
*/
|
|
4780
|
+
export interface ClusterFeatureNatGatewayParameters {
|
|
4781
|
+
/**
|
|
4782
|
+
*
|
|
4783
|
+
* @type {ClusterFeatureNatGatewayParametersNatGatewayType}
|
|
4784
|
+
* @memberof ClusterFeatureNatGatewayParameters
|
|
4785
|
+
*/
|
|
4786
|
+
'nat_gateway_type'?: ClusterFeatureNatGatewayParametersNatGatewayType | null;
|
|
4787
|
+
}
|
|
4788
|
+
/**
|
|
4789
|
+
* @type ClusterFeatureNatGatewayParametersNatGatewayType
|
|
4790
|
+
* @export
|
|
4791
|
+
*/
|
|
4792
|
+
export type ClusterFeatureNatGatewayParametersNatGatewayType = {
|
|
4793
|
+
provider: 'gcp';
|
|
4794
|
+
} & ClusterFeatureNatGatewayTypeGcp | {
|
|
4795
|
+
provider: 'scaleway';
|
|
4796
|
+
} & ClusterFeatureNatGatewayTypeScaleway;
|
|
4797
|
+
/**
|
|
4798
|
+
*
|
|
4799
|
+
* @export
|
|
4800
|
+
* @interface ClusterFeatureNatGatewayParametersResponse
|
|
4801
|
+
*/
|
|
4802
|
+
export interface ClusterFeatureNatGatewayParametersResponse {
|
|
4803
|
+
/**
|
|
4804
|
+
*
|
|
4805
|
+
* @type {ClusterFeatureResponseTypeEnum}
|
|
4806
|
+
* @memberof ClusterFeatureNatGatewayParametersResponse
|
|
4807
|
+
*/
|
|
4808
|
+
'type': ClusterFeatureResponseTypeEnum;
|
|
4809
|
+
/**
|
|
4810
|
+
*
|
|
4811
|
+
* @type {ClusterFeatureNatGatewayParameters}
|
|
4812
|
+
* @memberof ClusterFeatureNatGatewayParametersResponse
|
|
4813
|
+
*/
|
|
4814
|
+
'value': ClusterFeatureNatGatewayParameters | null;
|
|
4815
|
+
}
|
|
4816
|
+
/**
|
|
4817
|
+
*
|
|
4818
|
+
* @export
|
|
4819
|
+
* @interface ClusterFeatureNatGatewayTypeGcp
|
|
4820
|
+
*/
|
|
4821
|
+
export interface ClusterFeatureNatGatewayTypeGcp {
|
|
4822
|
+
/**
|
|
4823
|
+
*
|
|
4824
|
+
* @type {string}
|
|
4825
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4826
|
+
*/
|
|
4827
|
+
'provider': ClusterFeatureNatGatewayTypeGcpProviderEnum;
|
|
4828
|
+
/**
|
|
4829
|
+
*
|
|
4830
|
+
* @type {boolean}
|
|
4831
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4832
|
+
*/
|
|
4833
|
+
'static_ips_enabled': boolean;
|
|
4834
|
+
/**
|
|
4835
|
+
* Number of static IPs to allocate. Must be >= 1 when static_ips_enabled is true.
|
|
4836
|
+
* @type {number}
|
|
4837
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4838
|
+
*/
|
|
4839
|
+
'static_ips_count': number;
|
|
4840
|
+
}
|
|
4841
|
+
export declare const ClusterFeatureNatGatewayTypeGcpProviderEnum: {
|
|
4842
|
+
readonly GCP: "gcp";
|
|
4843
|
+
};
|
|
4844
|
+
export type ClusterFeatureNatGatewayTypeGcpProviderEnum = typeof ClusterFeatureNatGatewayTypeGcpProviderEnum[keyof typeof ClusterFeatureNatGatewayTypeGcpProviderEnum];
|
|
4845
|
+
/**
|
|
4846
|
+
*
|
|
4847
|
+
* @export
|
|
4848
|
+
* @interface ClusterFeatureNatGatewayTypeScaleway
|
|
4849
|
+
*/
|
|
4850
|
+
export interface ClusterFeatureNatGatewayTypeScaleway {
|
|
4851
|
+
/**
|
|
4852
|
+
*
|
|
4853
|
+
* @type {string}
|
|
4854
|
+
* @memberof ClusterFeatureNatGatewayTypeScaleway
|
|
4855
|
+
*/
|
|
4856
|
+
'provider': ClusterFeatureNatGatewayTypeScalewayProviderEnum;
|
|
4857
|
+
/**
|
|
4858
|
+
*
|
|
4859
|
+
* @type {string}
|
|
4860
|
+
* @memberof ClusterFeatureNatGatewayTypeScaleway
|
|
4861
|
+
*/
|
|
4862
|
+
'type': ClusterFeatureNatGatewayTypeScalewayTypeEnum;
|
|
4863
|
+
}
|
|
4864
|
+
export declare const ClusterFeatureNatGatewayTypeScalewayProviderEnum: {
|
|
4865
|
+
readonly SCALEWAY: "scaleway";
|
|
4866
|
+
};
|
|
4867
|
+
export type ClusterFeatureNatGatewayTypeScalewayProviderEnum = typeof ClusterFeatureNatGatewayTypeScalewayProviderEnum[keyof typeof ClusterFeatureNatGatewayTypeScalewayProviderEnum];
|
|
4868
|
+
export declare const ClusterFeatureNatGatewayTypeScalewayTypeEnum: {
|
|
4869
|
+
readonly S: "VPC-GW-S";
|
|
4870
|
+
readonly M: "VPC-GW-M";
|
|
4871
|
+
readonly L: "VPC-GW-L";
|
|
4872
|
+
readonly XL: "VPC-GW-XL";
|
|
4873
|
+
};
|
|
4874
|
+
export type ClusterFeatureNatGatewayTypeScalewayTypeEnum = typeof ClusterFeatureNatGatewayTypeScalewayTypeEnum[keyof typeof ClusterFeatureNatGatewayTypeScalewayTypeEnum];
|
|
4706
4875
|
/**
|
|
4707
4876
|
*
|
|
4708
4877
|
* @export
|
|
@@ -4830,6 +4999,7 @@ export declare const ClusterFeatureResponseTypeEnum: {
|
|
|
4830
4999
|
readonly AWS_USER_PROVIDED_NETWORK: "AWS_USER_PROVIDED_NETWORK";
|
|
4831
5000
|
readonly GCP_USER_PROVIDED_NETWORK: "GCP_USER_PROVIDED_NETWORK";
|
|
4832
5001
|
readonly KARPENTER: "KARPENTER";
|
|
5002
|
+
readonly NAT_GATEWAY: "NAT_GATEWAY";
|
|
4833
5003
|
};
|
|
4834
5004
|
export type ClusterFeatureResponseTypeEnum = typeof ClusterFeatureResponseTypeEnum[keyof typeof ClusterFeatureResponseTypeEnum];
|
|
4835
5005
|
/**
|
|
@@ -4845,6 +5015,8 @@ export type ClusterFeatureResponseValueObject = {
|
|
|
4845
5015
|
} & ClusterFeatureGcpExistingVpcResponse | {
|
|
4846
5016
|
type: 'KARPENTER';
|
|
4847
5017
|
} & ClusterFeatureKarpenterParametersResponse | {
|
|
5018
|
+
type: 'NAT_GATEWAY';
|
|
5019
|
+
} & ClusterFeatureNatGatewayParametersResponse | {
|
|
4848
5020
|
type: 'STRING';
|
|
4849
5021
|
} & ClusterFeatureStringResponse;
|
|
4850
5022
|
/**
|
|
@@ -5797,7 +5969,7 @@ export interface ClusterRequestFeaturesInner {
|
|
|
5797
5969
|
* @type ClusterRequestFeaturesInnerValue
|
|
5798
5970
|
* @export
|
|
5799
5971
|
*/
|
|
5800
|
-
export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | ClusterFeatureKarpenterParameters | boolean | string;
|
|
5972
|
+
export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | ClusterFeatureKarpenterParameters | ClusterFeatureNatGatewayParameters | boolean | string;
|
|
5801
5973
|
/**
|
|
5802
5974
|
*
|
|
5803
5975
|
* @export
|
|
@@ -25401,6 +25573,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25401
25573
|
* @throws {RequiredError}
|
|
25402
25574
|
*/
|
|
25403
25575
|
getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25576
|
+
/**
|
|
25577
|
+
*
|
|
25578
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25579
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25580
|
+
* @param {*} [options] Override http request option.
|
|
25581
|
+
* @throws {RequiredError}
|
|
25582
|
+
*/
|
|
25583
|
+
getArgoCdAppManifest: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25404
25584
|
/**
|
|
25405
25585
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25406
25586
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25466,6 +25646,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
25466
25646
|
* @throws {RequiredError}
|
|
25467
25647
|
*/
|
|
25468
25648
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
|
|
25649
|
+
/**
|
|
25650
|
+
*
|
|
25651
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25652
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25653
|
+
* @param {*} [options] Override http request option.
|
|
25654
|
+
* @throws {RequiredError}
|
|
25655
|
+
*/
|
|
25656
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>>;
|
|
25469
25657
|
/**
|
|
25470
25658
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25471
25659
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25531,6 +25719,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
25531
25719
|
* @throws {RequiredError}
|
|
25532
25720
|
*/
|
|
25533
25721
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
|
|
25722
|
+
/**
|
|
25723
|
+
*
|
|
25724
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25725
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25726
|
+
* @param {*} [options] Override http request option.
|
|
25727
|
+
* @throws {RequiredError}
|
|
25728
|
+
*/
|
|
25729
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse>;
|
|
25534
25730
|
/**
|
|
25535
25731
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25536
25732
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25601,6 +25797,15 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
25601
25797
|
* @memberof ArgoCDApi
|
|
25602
25798
|
*/
|
|
25603
25799
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
|
|
25800
|
+
/**
|
|
25801
|
+
*
|
|
25802
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25803
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25804
|
+
* @param {*} [options] Override http request option.
|
|
25805
|
+
* @throws {RequiredError}
|
|
25806
|
+
* @memberof ArgoCDApi
|
|
25807
|
+
*/
|
|
25808
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppManifestResponse, any, {}>>;
|
|
25604
25809
|
/**
|
|
25605
25810
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25606
25811
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/api.js
CHANGED
|
@@ -22,17 +22,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformResourcesApi = exports.TerraformResourcesApiFactory = exports.TerraformResourcesApiFp = exports.TerraformResourcesApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = void 0;
|
|
25
|
+
exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterFeatureNatGatewayTypeScalewayTypeEnum = exports.ClusterFeatureNatGatewayTypeScalewayProviderEnum = exports.ClusterFeatureNatGatewayTypeGcpProviderEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.ClusterAdvancedSettingsAwsEksEfsTransitionToIaEnum = exports.ClusterAdvancedSettingsAwsEksEfsPerformanceModeEnum = exports.ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum = exports.ClusterAdvancedSettingsLokiDeploymentModeEnum = exports.CloudflareDnsProviderResponseProviderEnum = exports.CloudflareDnsProviderRequestProviderEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticCredentialsRequestTypeEnum = exports.AwsStaticCredentialsAuthDtoModeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsSecretManagerEndpointDtoModeEnum = exports.AwsRoleCredentialsRequestTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.AwsRoleArnAuthDtoModeEnum = exports.AwsParameterStoreEndpointDtoModeEnum = exports.AutoscalingMode = exports.AutomaticallyConfiguredAuthDtoModeEnum = exports.ArgoCdConnectionStatusEnum = exports.ArgoCdConnectionCheckResponseReasonEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentTopologySpreadZoneEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertRuleSource = exports.AlertRuleConditionOperator = exports.AlertRuleConditionKind = exports.AlertRuleConditionFunction = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitWebhookStatusResponseProviderEnum = exports.GitWebhookStatusResponseStatusEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.GcpSecretManagerEndpointDtoModeEnum = exports.GcpJsonCredentialsAuthDtoModeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.EksAnywhereVsphereStaticCredentialsRequestTypeEnum = exports.EksAnywhereVsphereRoleCredentialsRequestTypeEnum = exports.EksAnywhereVsphereClusterCredentialsObjectTypeEnum = exports.DockerfileFragmentInlineTypeEnum = exports.DockerfileFragmentFileTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseEditRequestDiskTypeEnum = exports.DatabaseAccessibilityEnum = exports.DatabaseDiskTypeEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentTopologySpreadZoneEnum = void 0;
|
|
27
|
+
exports.TerraformResourceResponseModeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.TerraformAutoDeployConfigTerraformActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServicesOverviewResponseManagedByEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.Route53StaticCredentialsResponseTypeEnum = exports.Route53StaticCredentialsRequestTypeEnum = exports.Route53DnsProviderResponseProviderEnum = exports.Route53DnsProviderRequestProviderEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.QoveryDnsProviderResponseProviderEnum = exports.QoveryDnsProviderRequestProviderEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventTargetLevel = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.ObservabilityResourceProfile = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KedaScalerRole = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = void 0;
|
|
28
|
+
exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TfVarsDiscoveryModeSpecificPathsTypeEnum = exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = void 0;
|
|
29
|
+
exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ArgoCDApi = exports.ArgoCDApiFactory = exports.ArgoCDApiFp = exports.ArgoCDApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = void 0;
|
|
30
|
+
exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = void 0;
|
|
31
|
+
exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = void 0;
|
|
32
|
+
exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = void 0;
|
|
33
|
+
exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = void 0;
|
|
34
|
+
exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMainCallsApi = exports.ServiceMainCallsApiFactory = exports.ServiceMainCallsApiFp = exports.ServiceMainCallsApiAxiosParamCreator = exports.SecretManagerAccessApi = exports.SecretManagerAccessApiFactory = exports.SecretManagerAccessApiFp = exports.SecretManagerAccessApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = void 0;
|
|
35
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformResourcesApi = exports.TerraformResourcesApiFactory = exports.TerraformResourcesApiFp = exports.TerraformResourcesApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = void 0;
|
|
36
36
|
const axios_1 = require("axios");
|
|
37
37
|
// Some imports not used depending on template conditions
|
|
38
38
|
// @ts-ignore
|
|
@@ -344,6 +344,18 @@ exports.ClusterDeploymentStatusEnum = {
|
|
|
344
344
|
OUT_OF_DATE: 'OUT_OF_DATE',
|
|
345
345
|
UP_TO_DATE: 'UP_TO_DATE'
|
|
346
346
|
};
|
|
347
|
+
exports.ClusterFeatureNatGatewayTypeGcpProviderEnum = {
|
|
348
|
+
GCP: 'gcp'
|
|
349
|
+
};
|
|
350
|
+
exports.ClusterFeatureNatGatewayTypeScalewayProviderEnum = {
|
|
351
|
+
SCALEWAY: 'scaleway'
|
|
352
|
+
};
|
|
353
|
+
exports.ClusterFeatureNatGatewayTypeScalewayTypeEnum = {
|
|
354
|
+
S: 'VPC-GW-S',
|
|
355
|
+
M: 'VPC-GW-M',
|
|
356
|
+
L: 'VPC-GW-L',
|
|
357
|
+
XL: 'VPC-GW-XL'
|
|
358
|
+
};
|
|
347
359
|
exports.ClusterFeatureResponseValueTypeEnum = {
|
|
348
360
|
BOOLEAN: 'BOOLEAN'
|
|
349
361
|
};
|
|
@@ -357,7 +369,8 @@ exports.ClusterFeatureResponseTypeEnum = {
|
|
|
357
369
|
BOOLEAN: 'BOOLEAN',
|
|
358
370
|
AWS_USER_PROVIDED_NETWORK: 'AWS_USER_PROVIDED_NETWORK',
|
|
359
371
|
GCP_USER_PROVIDED_NETWORK: 'GCP_USER_PROVIDED_NETWORK',
|
|
360
|
-
KARPENTER: 'KARPENTER'
|
|
372
|
+
KARPENTER: 'KARPENTER',
|
|
373
|
+
NAT_GATEWAY: 'NAT_GATEWAY'
|
|
361
374
|
};
|
|
362
375
|
exports.ClusterLogsStepEnum = {
|
|
363
376
|
LOAD_CONFIGURATION: 'LoadConfiguration',
|
|
@@ -6609,6 +6622,40 @@ const ArgoCDApiAxiosParamCreator = function (configuration) {
|
|
|
6609
6622
|
options: localVarRequestOptions,
|
|
6610
6623
|
};
|
|
6611
6624
|
}),
|
|
6625
|
+
/**
|
|
6626
|
+
*
|
|
6627
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
6628
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6629
|
+
* @param {*} [options] Override http request option.
|
|
6630
|
+
* @throws {RequiredError}
|
|
6631
|
+
*/
|
|
6632
|
+
getArgoCdAppManifest: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
|
|
6633
|
+
// verify required parameter 'argocdAppId' is not null or undefined
|
|
6634
|
+
(0, common_1.assertParamExists)('getArgoCdAppManifest', 'argocdAppId', argocdAppId);
|
|
6635
|
+
const localVarPath = `/argocdApp/{argocdAppId}/manifest`
|
|
6636
|
+
.replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
|
|
6637
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6638
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6639
|
+
let baseOptions;
|
|
6640
|
+
if (configuration) {
|
|
6641
|
+
baseOptions = configuration.baseOptions;
|
|
6642
|
+
}
|
|
6643
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6644
|
+
const localVarHeaderParameter = {};
|
|
6645
|
+
const localVarQueryParameter = {};
|
|
6646
|
+
// authentication ApiKeyAuth required
|
|
6647
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6648
|
+
// authentication bearerAuth required
|
|
6649
|
+
// http bearer authentication required
|
|
6650
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6651
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6652
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6653
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6654
|
+
return {
|
|
6655
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6656
|
+
options: localVarRequestOptions,
|
|
6657
|
+
};
|
|
6658
|
+
}),
|
|
6612
6659
|
/**
|
|
6613
6660
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6614
6661
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6814,6 +6861,22 @@ const ArgoCDApiFp = function (configuration) {
|
|
|
6814
6861
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6815
6862
|
});
|
|
6816
6863
|
},
|
|
6864
|
+
/**
|
|
6865
|
+
*
|
|
6866
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
6867
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6868
|
+
* @param {*} [options] Override http request option.
|
|
6869
|
+
* @throws {RequiredError}
|
|
6870
|
+
*/
|
|
6871
|
+
getArgoCdAppManifest(argocdAppId, options) {
|
|
6872
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6873
|
+
var _a, _b, _c;
|
|
6874
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdAppManifest(argocdAppId, options);
|
|
6875
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6876
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ArgoCDApi.getArgoCdAppManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6877
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6878
|
+
});
|
|
6879
|
+
},
|
|
6817
6880
|
/**
|
|
6818
6881
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6819
6882
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6921,6 +6984,16 @@ const ArgoCDApiFactory = function (configuration, basePath, axios) {
|
|
|
6921
6984
|
getArgoCdApp(argocdAppId, options) {
|
|
6922
6985
|
return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
|
|
6923
6986
|
},
|
|
6987
|
+
/**
|
|
6988
|
+
*
|
|
6989
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
6990
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6991
|
+
* @param {*} [options] Override http request option.
|
|
6992
|
+
* @throws {RequiredError}
|
|
6993
|
+
*/
|
|
6994
|
+
getArgoCdAppManifest(argocdAppId, options) {
|
|
6995
|
+
return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
|
|
6996
|
+
},
|
|
6924
6997
|
/**
|
|
6925
6998
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6926
6999
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -7007,6 +7080,17 @@ class ArgoCDApi extends base_1.BaseAPI {
|
|
|
7007
7080
|
getArgoCdApp(argocdAppId, options) {
|
|
7008
7081
|
return (0, exports.ArgoCDApiFp)(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
7009
7082
|
}
|
|
7083
|
+
/**
|
|
7084
|
+
*
|
|
7085
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
7086
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
7087
|
+
* @param {*} [options] Override http request option.
|
|
7088
|
+
* @throws {RequiredError}
|
|
7089
|
+
* @memberof ArgoCDApi
|
|
7090
|
+
*/
|
|
7091
|
+
getArgoCdAppManifest(argocdAppId, options) {
|
|
7092
|
+
return (0, exports.ArgoCDApiFp)(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
7093
|
+
}
|
|
7010
7094
|
/**
|
|
7011
7095
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
7012
7096
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2177,6 +2177,38 @@ export interface ArgoCdUnlinkedClusterDetails {
|
|
|
2177
2177
|
*/
|
|
2178
2178
|
'applications_count': number;
|
|
2179
2179
|
}
|
|
2180
|
+
/**
|
|
2181
|
+
*
|
|
2182
|
+
* @export
|
|
2183
|
+
* @interface ArgocdAppManifestResponse
|
|
2184
|
+
*/
|
|
2185
|
+
export interface ArgocdAppManifestResponse {
|
|
2186
|
+
/**
|
|
2187
|
+
* Git revision the app is currently synced to
|
|
2188
|
+
* @type {string}
|
|
2189
|
+
* @memberof ArgocdAppManifestResponse
|
|
2190
|
+
*/
|
|
2191
|
+
'manifest_revision'?: string | null;
|
|
2192
|
+
/**
|
|
2193
|
+
*
|
|
2194
|
+
* @type {ArgocdAppManifestResponseManifestMetadata}
|
|
2195
|
+
* @memberof ArgocdAppManifestResponse
|
|
2196
|
+
*/
|
|
2197
|
+
'manifest_metadata': ArgocdAppManifestResponseManifestMetadata;
|
|
2198
|
+
}
|
|
2199
|
+
/**
|
|
2200
|
+
* Raw enrichment data fetched from the ArgoCD managed-resources API
|
|
2201
|
+
* @export
|
|
2202
|
+
* @interface ArgocdAppManifestResponseManifestMetadata
|
|
2203
|
+
*/
|
|
2204
|
+
export interface ArgocdAppManifestResponseManifestMetadata {
|
|
2205
|
+
/**
|
|
2206
|
+
*
|
|
2207
|
+
* @type {Array<ArgocdManagedResource>}
|
|
2208
|
+
* @memberof ArgocdAppManifestResponseManifestMetadata
|
|
2209
|
+
*/
|
|
2210
|
+
'managed_resources'?: Array<ArgocdManagedResource>;
|
|
2211
|
+
}
|
|
2180
2212
|
/**
|
|
2181
2213
|
* An ArgoCD service
|
|
2182
2214
|
* @export
|
|
@@ -2268,6 +2300,43 @@ export interface ArgocdAppResponse {
|
|
|
2268
2300
|
*/
|
|
2269
2301
|
'source_target_revision'?: string | null;
|
|
2270
2302
|
}
|
|
2303
|
+
/**
|
|
2304
|
+
*
|
|
2305
|
+
* @export
|
|
2306
|
+
* @interface ArgocdManagedResource
|
|
2307
|
+
*/
|
|
2308
|
+
export interface ArgocdManagedResource {
|
|
2309
|
+
/**
|
|
2310
|
+
* Kubernetes resource kind (e.g. Deployment, Service)
|
|
2311
|
+
* @type {string}
|
|
2312
|
+
* @memberof ArgocdManagedResource
|
|
2313
|
+
*/
|
|
2314
|
+
'kind'?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
*
|
|
2317
|
+
* @type {string}
|
|
2318
|
+
* @memberof ArgocdManagedResource
|
|
2319
|
+
*/
|
|
2320
|
+
'name'?: string;
|
|
2321
|
+
/**
|
|
2322
|
+
*
|
|
2323
|
+
* @type {string}
|
|
2324
|
+
* @memberof ArgocdManagedResource
|
|
2325
|
+
*/
|
|
2326
|
+
'namespace'?: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* JSON-encoded desired Kubernetes manifest
|
|
2329
|
+
* @type {string}
|
|
2330
|
+
* @memberof ArgocdManagedResource
|
|
2331
|
+
*/
|
|
2332
|
+
'targetState'?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* JSON-encoded live Kubernetes manifest
|
|
2335
|
+
* @type {string}
|
|
2336
|
+
* @memberof ArgocdManagedResource
|
|
2337
|
+
*/
|
|
2338
|
+
'liveState'?: string;
|
|
2339
|
+
}
|
|
2271
2340
|
/**
|
|
2272
2341
|
*
|
|
2273
2342
|
* @export
|
|
@@ -4703,6 +4772,106 @@ export interface ClusterFeatureKarpenterParametersResponse {
|
|
|
4703
4772
|
*/
|
|
4704
4773
|
'value': ClusterFeatureKarpenterParameters;
|
|
4705
4774
|
}
|
|
4775
|
+
/**
|
|
4776
|
+
*
|
|
4777
|
+
* @export
|
|
4778
|
+
* @interface ClusterFeatureNatGatewayParameters
|
|
4779
|
+
*/
|
|
4780
|
+
export interface ClusterFeatureNatGatewayParameters {
|
|
4781
|
+
/**
|
|
4782
|
+
*
|
|
4783
|
+
* @type {ClusterFeatureNatGatewayParametersNatGatewayType}
|
|
4784
|
+
* @memberof ClusterFeatureNatGatewayParameters
|
|
4785
|
+
*/
|
|
4786
|
+
'nat_gateway_type'?: ClusterFeatureNatGatewayParametersNatGatewayType | null;
|
|
4787
|
+
}
|
|
4788
|
+
/**
|
|
4789
|
+
* @type ClusterFeatureNatGatewayParametersNatGatewayType
|
|
4790
|
+
* @export
|
|
4791
|
+
*/
|
|
4792
|
+
export type ClusterFeatureNatGatewayParametersNatGatewayType = {
|
|
4793
|
+
provider: 'gcp';
|
|
4794
|
+
} & ClusterFeatureNatGatewayTypeGcp | {
|
|
4795
|
+
provider: 'scaleway';
|
|
4796
|
+
} & ClusterFeatureNatGatewayTypeScaleway;
|
|
4797
|
+
/**
|
|
4798
|
+
*
|
|
4799
|
+
* @export
|
|
4800
|
+
* @interface ClusterFeatureNatGatewayParametersResponse
|
|
4801
|
+
*/
|
|
4802
|
+
export interface ClusterFeatureNatGatewayParametersResponse {
|
|
4803
|
+
/**
|
|
4804
|
+
*
|
|
4805
|
+
* @type {ClusterFeatureResponseTypeEnum}
|
|
4806
|
+
* @memberof ClusterFeatureNatGatewayParametersResponse
|
|
4807
|
+
*/
|
|
4808
|
+
'type': ClusterFeatureResponseTypeEnum;
|
|
4809
|
+
/**
|
|
4810
|
+
*
|
|
4811
|
+
* @type {ClusterFeatureNatGatewayParameters}
|
|
4812
|
+
* @memberof ClusterFeatureNatGatewayParametersResponse
|
|
4813
|
+
*/
|
|
4814
|
+
'value': ClusterFeatureNatGatewayParameters | null;
|
|
4815
|
+
}
|
|
4816
|
+
/**
|
|
4817
|
+
*
|
|
4818
|
+
* @export
|
|
4819
|
+
* @interface ClusterFeatureNatGatewayTypeGcp
|
|
4820
|
+
*/
|
|
4821
|
+
export interface ClusterFeatureNatGatewayTypeGcp {
|
|
4822
|
+
/**
|
|
4823
|
+
*
|
|
4824
|
+
* @type {string}
|
|
4825
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4826
|
+
*/
|
|
4827
|
+
'provider': ClusterFeatureNatGatewayTypeGcpProviderEnum;
|
|
4828
|
+
/**
|
|
4829
|
+
*
|
|
4830
|
+
* @type {boolean}
|
|
4831
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4832
|
+
*/
|
|
4833
|
+
'static_ips_enabled': boolean;
|
|
4834
|
+
/**
|
|
4835
|
+
* Number of static IPs to allocate. Must be >= 1 when static_ips_enabled is true.
|
|
4836
|
+
* @type {number}
|
|
4837
|
+
* @memberof ClusterFeatureNatGatewayTypeGcp
|
|
4838
|
+
*/
|
|
4839
|
+
'static_ips_count': number;
|
|
4840
|
+
}
|
|
4841
|
+
export declare const ClusterFeatureNatGatewayTypeGcpProviderEnum: {
|
|
4842
|
+
readonly GCP: "gcp";
|
|
4843
|
+
};
|
|
4844
|
+
export type ClusterFeatureNatGatewayTypeGcpProviderEnum = typeof ClusterFeatureNatGatewayTypeGcpProviderEnum[keyof typeof ClusterFeatureNatGatewayTypeGcpProviderEnum];
|
|
4845
|
+
/**
|
|
4846
|
+
*
|
|
4847
|
+
* @export
|
|
4848
|
+
* @interface ClusterFeatureNatGatewayTypeScaleway
|
|
4849
|
+
*/
|
|
4850
|
+
export interface ClusterFeatureNatGatewayTypeScaleway {
|
|
4851
|
+
/**
|
|
4852
|
+
*
|
|
4853
|
+
* @type {string}
|
|
4854
|
+
* @memberof ClusterFeatureNatGatewayTypeScaleway
|
|
4855
|
+
*/
|
|
4856
|
+
'provider': ClusterFeatureNatGatewayTypeScalewayProviderEnum;
|
|
4857
|
+
/**
|
|
4858
|
+
*
|
|
4859
|
+
* @type {string}
|
|
4860
|
+
* @memberof ClusterFeatureNatGatewayTypeScaleway
|
|
4861
|
+
*/
|
|
4862
|
+
'type': ClusterFeatureNatGatewayTypeScalewayTypeEnum;
|
|
4863
|
+
}
|
|
4864
|
+
export declare const ClusterFeatureNatGatewayTypeScalewayProviderEnum: {
|
|
4865
|
+
readonly SCALEWAY: "scaleway";
|
|
4866
|
+
};
|
|
4867
|
+
export type ClusterFeatureNatGatewayTypeScalewayProviderEnum = typeof ClusterFeatureNatGatewayTypeScalewayProviderEnum[keyof typeof ClusterFeatureNatGatewayTypeScalewayProviderEnum];
|
|
4868
|
+
export declare const ClusterFeatureNatGatewayTypeScalewayTypeEnum: {
|
|
4869
|
+
readonly S: "VPC-GW-S";
|
|
4870
|
+
readonly M: "VPC-GW-M";
|
|
4871
|
+
readonly L: "VPC-GW-L";
|
|
4872
|
+
readonly XL: "VPC-GW-XL";
|
|
4873
|
+
};
|
|
4874
|
+
export type ClusterFeatureNatGatewayTypeScalewayTypeEnum = typeof ClusterFeatureNatGatewayTypeScalewayTypeEnum[keyof typeof ClusterFeatureNatGatewayTypeScalewayTypeEnum];
|
|
4706
4875
|
/**
|
|
4707
4876
|
*
|
|
4708
4877
|
* @export
|
|
@@ -4830,6 +4999,7 @@ export declare const ClusterFeatureResponseTypeEnum: {
|
|
|
4830
4999
|
readonly AWS_USER_PROVIDED_NETWORK: "AWS_USER_PROVIDED_NETWORK";
|
|
4831
5000
|
readonly GCP_USER_PROVIDED_NETWORK: "GCP_USER_PROVIDED_NETWORK";
|
|
4832
5001
|
readonly KARPENTER: "KARPENTER";
|
|
5002
|
+
readonly NAT_GATEWAY: "NAT_GATEWAY";
|
|
4833
5003
|
};
|
|
4834
5004
|
export type ClusterFeatureResponseTypeEnum = typeof ClusterFeatureResponseTypeEnum[keyof typeof ClusterFeatureResponseTypeEnum];
|
|
4835
5005
|
/**
|
|
@@ -4845,6 +5015,8 @@ export type ClusterFeatureResponseValueObject = {
|
|
|
4845
5015
|
} & ClusterFeatureGcpExistingVpcResponse | {
|
|
4846
5016
|
type: 'KARPENTER';
|
|
4847
5017
|
} & ClusterFeatureKarpenterParametersResponse | {
|
|
5018
|
+
type: 'NAT_GATEWAY';
|
|
5019
|
+
} & ClusterFeatureNatGatewayParametersResponse | {
|
|
4848
5020
|
type: 'STRING';
|
|
4849
5021
|
} & ClusterFeatureStringResponse;
|
|
4850
5022
|
/**
|
|
@@ -5797,7 +5969,7 @@ export interface ClusterRequestFeaturesInner {
|
|
|
5797
5969
|
* @type ClusterRequestFeaturesInnerValue
|
|
5798
5970
|
* @export
|
|
5799
5971
|
*/
|
|
5800
|
-
export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | ClusterFeatureKarpenterParameters | boolean | string;
|
|
5972
|
+
export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | ClusterFeatureKarpenterParameters | ClusterFeatureNatGatewayParameters | boolean | string;
|
|
5801
5973
|
/**
|
|
5802
5974
|
*
|
|
5803
5975
|
* @export
|
|
@@ -25401,6 +25573,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25401
25573
|
* @throws {RequiredError}
|
|
25402
25574
|
*/
|
|
25403
25575
|
getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25576
|
+
/**
|
|
25577
|
+
*
|
|
25578
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25579
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25580
|
+
* @param {*} [options] Override http request option.
|
|
25581
|
+
* @throws {RequiredError}
|
|
25582
|
+
*/
|
|
25583
|
+
getArgoCdAppManifest: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25404
25584
|
/**
|
|
25405
25585
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25406
25586
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25466,6 +25646,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
25466
25646
|
* @throws {RequiredError}
|
|
25467
25647
|
*/
|
|
25468
25648
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
|
|
25649
|
+
/**
|
|
25650
|
+
*
|
|
25651
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25652
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25653
|
+
* @param {*} [options] Override http request option.
|
|
25654
|
+
* @throws {RequiredError}
|
|
25655
|
+
*/
|
|
25656
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>>;
|
|
25469
25657
|
/**
|
|
25470
25658
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25471
25659
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25531,6 +25719,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
25531
25719
|
* @throws {RequiredError}
|
|
25532
25720
|
*/
|
|
25533
25721
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
|
|
25722
|
+
/**
|
|
25723
|
+
*
|
|
25724
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25725
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25726
|
+
* @param {*} [options] Override http request option.
|
|
25727
|
+
* @throws {RequiredError}
|
|
25728
|
+
*/
|
|
25729
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse>;
|
|
25534
25730
|
/**
|
|
25535
25731
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25536
25732
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25601,6 +25797,15 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
25601
25797
|
* @memberof ArgoCDApi
|
|
25602
25798
|
*/
|
|
25603
25799
|
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
|
|
25800
|
+
/**
|
|
25801
|
+
*
|
|
25802
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
25803
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
25804
|
+
* @param {*} [options] Override http request option.
|
|
25805
|
+
* @throws {RequiredError}
|
|
25806
|
+
* @memberof ArgoCDApi
|
|
25807
|
+
*/
|
|
25808
|
+
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppManifestResponse, any, {}>>;
|
|
25604
25809
|
/**
|
|
25605
25810
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25606
25811
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/esm/api.js
CHANGED
|
@@ -331,6 +331,18 @@ export const ClusterDeploymentStatusEnum = {
|
|
|
331
331
|
OUT_OF_DATE: 'OUT_OF_DATE',
|
|
332
332
|
UP_TO_DATE: 'UP_TO_DATE'
|
|
333
333
|
};
|
|
334
|
+
export const ClusterFeatureNatGatewayTypeGcpProviderEnum = {
|
|
335
|
+
GCP: 'gcp'
|
|
336
|
+
};
|
|
337
|
+
export const ClusterFeatureNatGatewayTypeScalewayProviderEnum = {
|
|
338
|
+
SCALEWAY: 'scaleway'
|
|
339
|
+
};
|
|
340
|
+
export const ClusterFeatureNatGatewayTypeScalewayTypeEnum = {
|
|
341
|
+
S: 'VPC-GW-S',
|
|
342
|
+
M: 'VPC-GW-M',
|
|
343
|
+
L: 'VPC-GW-L',
|
|
344
|
+
XL: 'VPC-GW-XL'
|
|
345
|
+
};
|
|
334
346
|
export const ClusterFeatureResponseValueTypeEnum = {
|
|
335
347
|
BOOLEAN: 'BOOLEAN'
|
|
336
348
|
};
|
|
@@ -344,7 +356,8 @@ export const ClusterFeatureResponseTypeEnum = {
|
|
|
344
356
|
BOOLEAN: 'BOOLEAN',
|
|
345
357
|
AWS_USER_PROVIDED_NETWORK: 'AWS_USER_PROVIDED_NETWORK',
|
|
346
358
|
GCP_USER_PROVIDED_NETWORK: 'GCP_USER_PROVIDED_NETWORK',
|
|
347
|
-
KARPENTER: 'KARPENTER'
|
|
359
|
+
KARPENTER: 'KARPENTER',
|
|
360
|
+
NAT_GATEWAY: 'NAT_GATEWAY'
|
|
348
361
|
};
|
|
349
362
|
export const ClusterLogsStepEnum = {
|
|
350
363
|
LOAD_CONFIGURATION: 'LoadConfiguration',
|
|
@@ -6544,6 +6557,40 @@ export const ArgoCDApiAxiosParamCreator = function (configuration) {
|
|
|
6544
6557
|
options: localVarRequestOptions,
|
|
6545
6558
|
};
|
|
6546
6559
|
}),
|
|
6560
|
+
/**
|
|
6561
|
+
*
|
|
6562
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
6563
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6564
|
+
* @param {*} [options] Override http request option.
|
|
6565
|
+
* @throws {RequiredError}
|
|
6566
|
+
*/
|
|
6567
|
+
getArgoCdAppManifest: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
|
|
6568
|
+
// verify required parameter 'argocdAppId' is not null or undefined
|
|
6569
|
+
assertParamExists('getArgoCdAppManifest', 'argocdAppId', argocdAppId);
|
|
6570
|
+
const localVarPath = `/argocdApp/{argocdAppId}/manifest`
|
|
6571
|
+
.replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
|
|
6572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6574
|
+
let baseOptions;
|
|
6575
|
+
if (configuration) {
|
|
6576
|
+
baseOptions = configuration.baseOptions;
|
|
6577
|
+
}
|
|
6578
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6579
|
+
const localVarHeaderParameter = {};
|
|
6580
|
+
const localVarQueryParameter = {};
|
|
6581
|
+
// authentication ApiKeyAuth required
|
|
6582
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6583
|
+
// authentication bearerAuth required
|
|
6584
|
+
// http bearer authentication required
|
|
6585
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6586
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6587
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6588
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6589
|
+
return {
|
|
6590
|
+
url: toPathString(localVarUrlObj),
|
|
6591
|
+
options: localVarRequestOptions,
|
|
6592
|
+
};
|
|
6593
|
+
}),
|
|
6547
6594
|
/**
|
|
6548
6595
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6549
6596
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6748,6 +6795,22 @@ export const ArgoCDApiFp = function (configuration) {
|
|
|
6748
6795
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6749
6796
|
});
|
|
6750
6797
|
},
|
|
6798
|
+
/**
|
|
6799
|
+
*
|
|
6800
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
6801
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6802
|
+
* @param {*} [options] Override http request option.
|
|
6803
|
+
* @throws {RequiredError}
|
|
6804
|
+
*/
|
|
6805
|
+
getArgoCdAppManifest(argocdAppId, options) {
|
|
6806
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6807
|
+
var _a, _b, _c;
|
|
6808
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdAppManifest(argocdAppId, options);
|
|
6809
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6810
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ArgoCDApi.getArgoCdAppManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6811
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6812
|
+
});
|
|
6813
|
+
},
|
|
6751
6814
|
/**
|
|
6752
6815
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6753
6816
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6854,6 +6917,16 @@ export const ArgoCDApiFactory = function (configuration, basePath, axios) {
|
|
|
6854
6917
|
getArgoCdApp(argocdAppId, options) {
|
|
6855
6918
|
return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
|
|
6856
6919
|
},
|
|
6920
|
+
/**
|
|
6921
|
+
*
|
|
6922
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
6923
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6924
|
+
* @param {*} [options] Override http request option.
|
|
6925
|
+
* @throws {RequiredError}
|
|
6926
|
+
*/
|
|
6927
|
+
getArgoCdAppManifest(argocdAppId, options) {
|
|
6928
|
+
return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
|
|
6929
|
+
},
|
|
6857
6930
|
/**
|
|
6858
6931
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6859
6932
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6939,6 +7012,17 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
6939
7012
|
getArgoCdApp(argocdAppId, options) {
|
|
6940
7013
|
return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
6941
7014
|
}
|
|
7015
|
+
/**
|
|
7016
|
+
*
|
|
7017
|
+
* @summary Get ArgoCD app manifest enrichment
|
|
7018
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
7019
|
+
* @param {*} [options] Override http request option.
|
|
7020
|
+
* @throws {RequiredError}
|
|
7021
|
+
* @memberof ArgoCDApi
|
|
7022
|
+
*/
|
|
7023
|
+
getArgoCdAppManifest(argocdAppId, options) {
|
|
7024
|
+
return ArgoCDApiFp(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
7025
|
+
}
|
|
6942
7026
|
/**
|
|
6943
7027
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6944
7028
|
* @summary Get ArgoCD credentials for a cluster
|