qovery-typescript-axios 1.1.1044 → 1.1.1046
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 +304 -46
- package/dist/api.d.ts +298 -46
- package/dist/api.js +20 -20
- package/dist/esm/api.d.ts +298 -46
- package/dist/esm/api.js +20 -20
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4242,7 +4242,7 @@ export interface BaseJobResponse {
|
|
|
4242
4242
|
* @type BaseJobResponseAllOfSource
|
|
4243
4243
|
* @export
|
|
4244
4244
|
*/
|
|
4245
|
-
export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf |
|
|
4245
|
+
export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf | ContainerSourceResponseOneOf;
|
|
4246
4246
|
|
|
4247
4247
|
/**
|
|
4248
4248
|
*
|
|
@@ -4250,23 +4250,10 @@ export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf | BaseJ
|
|
|
4250
4250
|
* @interface BaseJobResponseAllOfSourceOneOf
|
|
4251
4251
|
*/
|
|
4252
4252
|
export interface BaseJobResponseAllOfSourceOneOf {
|
|
4253
|
-
/**
|
|
4254
|
-
*
|
|
4255
|
-
* @type {ContainerSource}
|
|
4256
|
-
* @memberof BaseJobResponseAllOfSourceOneOf
|
|
4257
|
-
*/
|
|
4258
|
-
'image': ContainerSource;
|
|
4259
|
-
}
|
|
4260
|
-
/**
|
|
4261
|
-
*
|
|
4262
|
-
* @export
|
|
4263
|
-
* @interface BaseJobResponseAllOfSourceOneOf1
|
|
4264
|
-
*/
|
|
4265
|
-
export interface BaseJobResponseAllOfSourceOneOf1 {
|
|
4266
4253
|
/**
|
|
4267
4254
|
*
|
|
4268
4255
|
* @type {JobSourceDockerResponse}
|
|
4269
|
-
* @memberof
|
|
4256
|
+
* @memberof BaseJobResponseAllOfSourceOneOf
|
|
4270
4257
|
*/
|
|
4271
4258
|
'docker': JobSourceDockerResponse;
|
|
4272
4259
|
}
|
|
@@ -10457,12 +10444,168 @@ export interface ContainerDeployRequest {
|
|
|
10457
10444
|
*/
|
|
10458
10445
|
'id'?: string | null;
|
|
10459
10446
|
/**
|
|
10460
|
-
* Image tag to deploy
|
|
10447
|
+
* Image tag to deploy, for a container with an image source. Sending it for a container with a Git repository source returns 400. A `null` value counts as not sent.
|
|
10461
10448
|
* @type {string}
|
|
10462
10449
|
* @memberof ContainerDeployRequest
|
|
10463
10450
|
*/
|
|
10464
10451
|
'image_tag'?: string | null;
|
|
10452
|
+
/**
|
|
10453
|
+
* Commit to deploy, for a container with a Git repository source. When not specified, the container\'s stored commit is deployed. Sending it for a container with an image source returns 400. A `null` value counts as not sent.
|
|
10454
|
+
* @type {string}
|
|
10455
|
+
* @memberof ContainerDeployRequest
|
|
10456
|
+
*/
|
|
10457
|
+
'git_commit_id'?: string | null;
|
|
10458
|
+
}
|
|
10459
|
+
/**
|
|
10460
|
+
* The Git repository and the Dockerfile that Qovery builds into the container image.
|
|
10461
|
+
* @export
|
|
10462
|
+
* @interface ContainerGitRepositorySourceRequest
|
|
10463
|
+
*/
|
|
10464
|
+
export interface ContainerGitRepositorySourceRequest {
|
|
10465
|
+
/**
|
|
10466
|
+
* application git repository URL
|
|
10467
|
+
* @type {string}
|
|
10468
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10469
|
+
*/
|
|
10470
|
+
'url': string;
|
|
10471
|
+
/**
|
|
10472
|
+
* Name of the branch to use. This is optional If not specified, then the branch used is the `main` or `master` one
|
|
10473
|
+
* @type {string}
|
|
10474
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10475
|
+
*/
|
|
10476
|
+
'branch'?: string;
|
|
10477
|
+
/**
|
|
10478
|
+
* indicates the root path of the application.
|
|
10479
|
+
* @type {string}
|
|
10480
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10481
|
+
*/
|
|
10482
|
+
'root_path'?: string;
|
|
10483
|
+
/**
|
|
10484
|
+
* The git token id on Qovery side
|
|
10485
|
+
* @type {string}
|
|
10486
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10487
|
+
*/
|
|
10488
|
+
'git_token_id'?: string | null;
|
|
10489
|
+
/**
|
|
10490
|
+
*
|
|
10491
|
+
* @type {GitProviderEnum}
|
|
10492
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10493
|
+
*/
|
|
10494
|
+
'provider': GitProviderEnum;
|
|
10495
|
+
/**
|
|
10496
|
+
* The path of the associated Dockerfile
|
|
10497
|
+
* @type {string}
|
|
10498
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10499
|
+
*/
|
|
10500
|
+
'dockerfile_path': string;
|
|
10501
|
+
/**
|
|
10502
|
+
* The target build stage in the Dockerfile to build. If null, the last stage of the Dockerfile is built.
|
|
10503
|
+
* @type {string}
|
|
10504
|
+
* @memberof ContainerGitRepositorySourceRequest
|
|
10505
|
+
*/
|
|
10506
|
+
'docker_target_build_stage'?: string | null;
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
|
|
10510
|
+
/**
|
|
10511
|
+
* The Git repository and the Dockerfile that Qovery builds into the container image.
|
|
10512
|
+
* @export
|
|
10513
|
+
* @interface ContainerGitRepositorySourceResponse
|
|
10514
|
+
*/
|
|
10515
|
+
export interface ContainerGitRepositorySourceResponse {
|
|
10516
|
+
/**
|
|
10517
|
+
*
|
|
10518
|
+
* @type {boolean}
|
|
10519
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10520
|
+
*/
|
|
10521
|
+
'has_access'?: boolean;
|
|
10522
|
+
/**
|
|
10523
|
+
*
|
|
10524
|
+
* @type {GitProviderEnum}
|
|
10525
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10526
|
+
*/
|
|
10527
|
+
'provider': GitProviderEnum;
|
|
10528
|
+
/**
|
|
10529
|
+
*
|
|
10530
|
+
* @type {string}
|
|
10531
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10532
|
+
*/
|
|
10533
|
+
'owner': string;
|
|
10534
|
+
/**
|
|
10535
|
+
*
|
|
10536
|
+
* @type {string}
|
|
10537
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10538
|
+
*/
|
|
10539
|
+
'url': string;
|
|
10540
|
+
/**
|
|
10541
|
+
* repository name
|
|
10542
|
+
* @type {string}
|
|
10543
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10544
|
+
*/
|
|
10545
|
+
'name': string;
|
|
10546
|
+
/**
|
|
10547
|
+
*
|
|
10548
|
+
* @type {string}
|
|
10549
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10550
|
+
*/
|
|
10551
|
+
'branch'?: string;
|
|
10552
|
+
/**
|
|
10553
|
+
*
|
|
10554
|
+
* @type {string}
|
|
10555
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10556
|
+
*/
|
|
10557
|
+
'root_path'?: string;
|
|
10558
|
+
/**
|
|
10559
|
+
* Git commit ID corresponding to the deployed version of the app
|
|
10560
|
+
* @type {string}
|
|
10561
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10562
|
+
*/
|
|
10563
|
+
'deployed_commit_id'?: string;
|
|
10564
|
+
/**
|
|
10565
|
+
* Git commit date corresponding to the deployed version of the app
|
|
10566
|
+
* @type {string}
|
|
10567
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10568
|
+
*/
|
|
10569
|
+
'deployed_commit_date'?: string;
|
|
10570
|
+
/**
|
|
10571
|
+
* Git commit user corresponding to the deployed version of the app
|
|
10572
|
+
* @type {string}
|
|
10573
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10574
|
+
*/
|
|
10575
|
+
'deployed_commit_contributor'?: string;
|
|
10576
|
+
/**
|
|
10577
|
+
*
|
|
10578
|
+
* @type {string}
|
|
10579
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10580
|
+
*/
|
|
10581
|
+
'deployed_commit_tag'?: string;
|
|
10582
|
+
/**
|
|
10583
|
+
*
|
|
10584
|
+
* @type {string}
|
|
10585
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10586
|
+
*/
|
|
10587
|
+
'git_token_id'?: string | null;
|
|
10588
|
+
/**
|
|
10589
|
+
*
|
|
10590
|
+
* @type {string}
|
|
10591
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10592
|
+
*/
|
|
10593
|
+
'git_token_name'?: string | null;
|
|
10594
|
+
/**
|
|
10595
|
+
* The path of the associated Dockerfile
|
|
10596
|
+
* @type {string}
|
|
10597
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10598
|
+
*/
|
|
10599
|
+
'dockerfile_path': string;
|
|
10600
|
+
/**
|
|
10601
|
+
* The target build stage in the Dockerfile to build. If null, the last stage of the Dockerfile is built.
|
|
10602
|
+
* @type {string}
|
|
10603
|
+
* @memberof ContainerGitRepositorySourceResponse
|
|
10604
|
+
*/
|
|
10605
|
+
'docker_target_build_stage'?: string | null;
|
|
10465
10606
|
}
|
|
10607
|
+
|
|
10608
|
+
|
|
10466
10609
|
/**
|
|
10467
10610
|
*
|
|
10468
10611
|
* @export
|
|
@@ -11040,23 +11183,29 @@ export interface ContainerRequest {
|
|
|
11040
11183
|
*/
|
|
11041
11184
|
'description'?: string;
|
|
11042
11185
|
/**
|
|
11043
|
-
* id of the linked registry
|
|
11186
|
+
* id of the linked registry. Required on create unless `source` is sent. See `source` for the rules on update.
|
|
11044
11187
|
* @type {string}
|
|
11045
11188
|
* @memberof ContainerRequest
|
|
11046
11189
|
*/
|
|
11047
|
-
'registry_id'
|
|
11190
|
+
'registry_id'?: string;
|
|
11048
11191
|
/**
|
|
11049
|
-
* The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository`
|
|
11192
|
+
* The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository` Required on create unless `source` is sent. See `source` for the rules on update.
|
|
11050
11193
|
* @type {string}
|
|
11051
11194
|
* @memberof ContainerRequest
|
|
11052
11195
|
*/
|
|
11053
|
-
'image_name'
|
|
11196
|
+
'image_name'?: string;
|
|
11054
11197
|
/**
|
|
11055
|
-
* tag of the image container
|
|
11198
|
+
* tag of the image container. Required on create unless `source` is sent. See `source` for the rules on update.
|
|
11056
11199
|
* @type {string}
|
|
11057
11200
|
* @memberof ContainerRequest
|
|
11058
11201
|
*/
|
|
11059
|
-
'tag'
|
|
11202
|
+
'tag'?: string;
|
|
11203
|
+
/**
|
|
11204
|
+
*
|
|
11205
|
+
* @type {ContainerSourceRequest}
|
|
11206
|
+
* @memberof ContainerRequest
|
|
11207
|
+
*/
|
|
11208
|
+
'source'?: ContainerSourceRequest;
|
|
11060
11209
|
/**
|
|
11061
11210
|
*
|
|
11062
11211
|
* @type {Array<string>}
|
|
@@ -11118,13 +11267,13 @@ export interface ContainerRequest {
|
|
|
11118
11267
|
*/
|
|
11119
11268
|
'healthchecks': Healthcheck;
|
|
11120
11269
|
/**
|
|
11121
|
-
* Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
|
|
11270
|
+
* Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment. On a container with a Git repository source, it must be false or not specified: `true` returns 400. When not specified on a switch to `git_repository`, it is set to false.
|
|
11122
11271
|
* @type {boolean}
|
|
11123
11272
|
* @memberof ContainerRequest
|
|
11124
11273
|
*/
|
|
11125
11274
|
'auto_preview'?: boolean;
|
|
11126
11275
|
/**
|
|
11127
|
-
* Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the \"Auto Deploy container\" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments
|
|
11276
|
+
* Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the \"Auto Deploy container\" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments On a container with a Git repository source, it must be false or not specified: `true` returns 400. When not specified on a switch to `git_repository`, it is set to false.
|
|
11128
11277
|
* @type {boolean}
|
|
11129
11278
|
* @memberof ContainerRequest
|
|
11130
11279
|
*/
|
|
@@ -11153,11 +11302,17 @@ export interface ContainerRequest {
|
|
|
11153
11302
|
* @memberof ContainerRequest
|
|
11154
11303
|
*/
|
|
11155
11304
|
'autoscaling'?: AutoscalingPolicyRequest;
|
|
11305
|
+
/**
|
|
11306
|
+
* Build settings of a container with a Git repository source (`source.git_repository`). They apply only to the build of its image. - When sent, it replaces all stored values: omitted properties take their defaults, they are not merged. - On update, when not sent, the stored values are kept. - On a switch to `git_repository` without it, the defaults of a new application are used. - Sending it when the container keeps, or switches to, an image source returns 400. This includes create.
|
|
11307
|
+
* @type {BuildSettings}
|
|
11308
|
+
* @memberof ContainerRequest
|
|
11309
|
+
*/
|
|
11310
|
+
'build_settings'?: BuildSettings;
|
|
11156
11311
|
}
|
|
11157
11312
|
|
|
11158
11313
|
|
|
11159
11314
|
/**
|
|
11160
|
-
*
|
|
11315
|
+
* `registry`, `image_name` and `tag` always hold the image this container runs: - with an image source, the configured image; - with a Git repository source, the image last deployed. Until the first successful deployment from Git, this is the image from before the switch to Git. After it, this is the built image in the cluster\'s registry, with its build tag. `source` says where the image comes from.
|
|
11161
11316
|
* @export
|
|
11162
11317
|
* @interface ContainerResponse
|
|
11163
11318
|
*/
|
|
@@ -11348,6 +11503,18 @@ export interface ContainerResponse {
|
|
|
11348
11503
|
* @memberof ContainerResponse
|
|
11349
11504
|
*/
|
|
11350
11505
|
'autoscaling'?: AutoscalingPolicyResponse;
|
|
11506
|
+
/**
|
|
11507
|
+
*
|
|
11508
|
+
* @type {ContainerSourceResponse}
|
|
11509
|
+
* @memberof ContainerResponse
|
|
11510
|
+
*/
|
|
11511
|
+
'source'?: ContainerSourceResponse;
|
|
11512
|
+
/**
|
|
11513
|
+
* Build settings of a container with a Git repository source. Absent for a container with an image source.
|
|
11514
|
+
* @type {BuildSettings}
|
|
11515
|
+
* @memberof ContainerResponse
|
|
11516
|
+
*/
|
|
11517
|
+
'build_settings'?: BuildSettings;
|
|
11351
11518
|
}
|
|
11352
11519
|
|
|
11353
11520
|
|
|
@@ -11389,6 +11556,97 @@ export interface ContainerSource {
|
|
|
11389
11556
|
*/
|
|
11390
11557
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
11391
11558
|
}
|
|
11559
|
+
/**
|
|
11560
|
+
* @type ContainerSourceRequest
|
|
11561
|
+
* Where the container image comes from. Send exactly one of `image` or `git_repository`; both, or neither, returns 400. A `null` `image` or `git_repository` counts as not sent. - `image`: an image from a container registry, like the flat `registry_id`, `image_name` and `tag` fields. - `git_repository`: a Git repository with a Dockerfile. Qovery builds the image from the deployed commit. Accepted on update (`PUT /container/{containerId}`) only: sending it on create returns 400. Switching the source keeps the same container: its id, Kubernetes names, volumes and built-in variables. The switch does not deploy; the next deployment uses the new source. Rules: - On update (`PUT /container/{containerId}`), `source` is ignored when it repeats the stored source, and the flat `registry_id`, `image_name` and `tag` fields are ignored when every one sent equals the image the container runs (the `registry.id`, `image_name` and `tag` that GET returns). A body built from the GET response is accepted as is; only the side the client changed is applied. - On update, `source` and the flat fields both asking for a change returns 400, unless both name the same image. This includes a `source.git_repository` change sent with changed flat fields. On create, sending `source` together with the flat fields still returns 400. - On update of a container with an image source, `source.image.registry_id` may be omitted: the stored registry is kept. Switching a container with a Git repository source back to an image, and create, require it. - When `source` is not sent, the stored source is kept. Flat fields never switch the source. - On a container with a Git repository source, flat fields equal to the `registry.id`, `image_name` and `tag` that GET returns are accepted and change nothing; different values return 400 unless `source.image` asks for the same image. A deployment that finishes between the GET and the PUT changes these values: get the container again and retry. Send `source.image` to switch back to an image. - A `git_repository` source requires `auto_deploy` and `auto_preview` to be false or not specified: 400 otherwise. When not specified on a switch to `git_repository`, both are set to false.
|
|
11562
|
+
* @export
|
|
11563
|
+
*/
|
|
11564
|
+
export type ContainerSourceRequest = ContainerSourceRequestOneOf | ContainerSourceRequestOneOf1;
|
|
11565
|
+
|
|
11566
|
+
/**
|
|
11567
|
+
*
|
|
11568
|
+
* @export
|
|
11569
|
+
* @interface ContainerSourceRequestOneOf
|
|
11570
|
+
*/
|
|
11571
|
+
export interface ContainerSourceRequestOneOf {
|
|
11572
|
+
/**
|
|
11573
|
+
*
|
|
11574
|
+
* @type {ContainerSourceRequestOneOfImage}
|
|
11575
|
+
* @memberof ContainerSourceRequestOneOf
|
|
11576
|
+
*/
|
|
11577
|
+
'image': ContainerSourceRequestOneOfImage;
|
|
11578
|
+
}
|
|
11579
|
+
/**
|
|
11580
|
+
*
|
|
11581
|
+
* @export
|
|
11582
|
+
* @interface ContainerSourceRequestOneOf1
|
|
11583
|
+
*/
|
|
11584
|
+
export interface ContainerSourceRequestOneOf1 {
|
|
11585
|
+
/**
|
|
11586
|
+
*
|
|
11587
|
+
* @type {ContainerGitRepositorySourceRequest}
|
|
11588
|
+
* @memberof ContainerSourceRequestOneOf1
|
|
11589
|
+
*/
|
|
11590
|
+
'git_repository': ContainerGitRepositorySourceRequest;
|
|
11591
|
+
}
|
|
11592
|
+
/**
|
|
11593
|
+
*
|
|
11594
|
+
* @export
|
|
11595
|
+
* @interface ContainerSourceRequestOneOfImage
|
|
11596
|
+
*/
|
|
11597
|
+
export interface ContainerSourceRequestOneOfImage {
|
|
11598
|
+
/**
|
|
11599
|
+
* id of the linked registry
|
|
11600
|
+
* @type {string}
|
|
11601
|
+
* @memberof ContainerSourceRequestOneOfImage
|
|
11602
|
+
*/
|
|
11603
|
+
'registry_id': string;
|
|
11604
|
+
/**
|
|
11605
|
+
* The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository`
|
|
11606
|
+
* @type {string}
|
|
11607
|
+
* @memberof ContainerSourceRequestOneOfImage
|
|
11608
|
+
*/
|
|
11609
|
+
'image_name': string;
|
|
11610
|
+
/**
|
|
11611
|
+
* tag of the image container
|
|
11612
|
+
* @type {string}
|
|
11613
|
+
* @memberof ContainerSourceRequestOneOfImage
|
|
11614
|
+
*/
|
|
11615
|
+
'tag': string;
|
|
11616
|
+
}
|
|
11617
|
+
/**
|
|
11618
|
+
* @type ContainerSourceResponse
|
|
11619
|
+
* Where the container image comes from: - `image`: an image from a container registry; - `git_repository`: a Git repository with a Dockerfile, that Qovery builds. Only the key of the current source is returned. The other key is omitted, never sent as `null`. Always returned by API servers that support container sources; absent on older servers.
|
|
11620
|
+
* @export
|
|
11621
|
+
*/
|
|
11622
|
+
export type ContainerSourceResponse = ContainerSourceResponseOneOf | ContainerSourceResponseOneOf1;
|
|
11623
|
+
|
|
11624
|
+
/**
|
|
11625
|
+
*
|
|
11626
|
+
* @export
|
|
11627
|
+
* @interface ContainerSourceResponseOneOf
|
|
11628
|
+
*/
|
|
11629
|
+
export interface ContainerSourceResponseOneOf {
|
|
11630
|
+
/**
|
|
11631
|
+
*
|
|
11632
|
+
* @type {ContainerSource}
|
|
11633
|
+
* @memberof ContainerSourceResponseOneOf
|
|
11634
|
+
*/
|
|
11635
|
+
'image': ContainerSource;
|
|
11636
|
+
}
|
|
11637
|
+
/**
|
|
11638
|
+
*
|
|
11639
|
+
* @export
|
|
11640
|
+
* @interface ContainerSourceResponseOneOf1
|
|
11641
|
+
*/
|
|
11642
|
+
export interface ContainerSourceResponseOneOf1 {
|
|
11643
|
+
/**
|
|
11644
|
+
*
|
|
11645
|
+
* @type {ContainerGitRepositorySourceResponse}
|
|
11646
|
+
* @memberof ContainerSourceResponseOneOf1
|
|
11647
|
+
*/
|
|
11648
|
+
'git_repository': ContainerGitRepositorySourceResponse;
|
|
11649
|
+
}
|
|
11392
11650
|
/**
|
|
11393
11651
|
*
|
|
11394
11652
|
* @export
|
|
@@ -12776,7 +13034,7 @@ export interface DeployAllRequestContainersInner {
|
|
|
12776
13034
|
*/
|
|
12777
13035
|
'id': string;
|
|
12778
13036
|
/**
|
|
12779
|
-
* new tag for the container. Can be empty only if the service has been already deployed (in this case the service version won\'t be changed)
|
|
13037
|
+
* new tag for the container. Can be empty only if the service has been already deployed (in this case the service version won\'t be changed) For a container with a Git repository source: - an absent or empty `image_tag`, or one equal to the `tag` that `GET /container/{containerId}` returns, deploys the container at its stored commit; - a different `image_tag` returns 400.
|
|
12780
13038
|
* @type {string}
|
|
12781
13039
|
* @memberof DeployAllRequestContainersInner
|
|
12782
13040
|
*/
|
|
@@ -47975,7 +48233,7 @@ export class ClustersApi extends BaseAPI {
|
|
|
47975
48233
|
export const ContainerActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
47976
48234
|
return {
|
|
47977
48235
|
/**
|
|
47978
|
-
*
|
|
48236
|
+
* For a container with an image source, you must provide a container image tag in `image_tag`. For a container with a Git repository source, you can provide a commit in `git_commit_id`. Returns 400 when: - `image_tag` is sent for a container with a Git repository source, or `git_commit_id` for a container with an image source.
|
|
47979
48237
|
* @summary Deploy container
|
|
47980
48238
|
* @param {string} containerId Container ID
|
|
47981
48239
|
* @param {ContainerDeployRequest} [containerDeployRequest]
|
|
@@ -48198,7 +48456,7 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
48198
48456
|
const localVarAxiosParamCreator = ContainerActionsApiAxiosParamCreator(configuration)
|
|
48199
48457
|
return {
|
|
48200
48458
|
/**
|
|
48201
|
-
*
|
|
48459
|
+
* For a container with an image source, you must provide a container image tag in `image_tag`. For a container with a Git repository source, you can provide a commit in `git_commit_id`. Returns 400 when: - `image_tag` is sent for a container with a Git repository source, or `git_commit_id` for a container with an image source.
|
|
48202
48460
|
* @summary Deploy container
|
|
48203
48461
|
* @param {string} containerId Container ID
|
|
48204
48462
|
* @param {ContainerDeployRequest} [containerDeployRequest]
|
|
@@ -48275,7 +48533,7 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
48275
48533
|
const localVarFp = ContainerActionsApiFp(configuration)
|
|
48276
48534
|
return {
|
|
48277
48535
|
/**
|
|
48278
|
-
*
|
|
48536
|
+
* For a container with an image source, you must provide a container image tag in `image_tag`. For a container with a Git repository source, you can provide a commit in `git_commit_id`. Returns 400 when: - `image_tag` is sent for a container with a Git repository source, or `git_commit_id` for a container with an image source.
|
|
48279
48537
|
* @summary Deploy container
|
|
48280
48538
|
* @param {string} containerId Container ID
|
|
48281
48539
|
* @param {ContainerDeployRequest} [containerDeployRequest]
|
|
@@ -48337,7 +48595,7 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
48337
48595
|
*/
|
|
48338
48596
|
export class ContainerActionsApi extends BaseAPI {
|
|
48339
48597
|
/**
|
|
48340
|
-
*
|
|
48598
|
+
* For a container with an image source, you must provide a container image tag in `image_tag`. For a container with a Git repository source, you can provide a commit in `git_commit_id`. Returns 400 when: - `image_tag` is sent for a container with a Git repository source, or `git_commit_id` for a container with an image source.
|
|
48341
48599
|
* @summary Deploy container
|
|
48342
48600
|
* @param {string} containerId Container ID
|
|
48343
48601
|
* @param {ContainerDeployRequest} [containerDeployRequest]
|
|
@@ -50176,7 +50434,7 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
50176
50434
|
};
|
|
50177
50435
|
},
|
|
50178
50436
|
/**
|
|
50179
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
50437
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
50180
50438
|
* @summary Edit container
|
|
50181
50439
|
* @param {string} containerId Container ID
|
|
50182
50440
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -50368,7 +50626,7 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
50368
50626
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50369
50627
|
},
|
|
50370
50628
|
/**
|
|
50371
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
50629
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
50372
50630
|
* @summary Edit container
|
|
50373
50631
|
* @param {string} containerId Container ID
|
|
50374
50632
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -50442,7 +50700,7 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
|
|
|
50442
50700
|
return localVarFp.deleteContainer(containerId, skipReconcile, options).then((request) => request(axios, basePath));
|
|
50443
50701
|
},
|
|
50444
50702
|
/**
|
|
50445
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
50703
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
50446
50704
|
* @summary Edit container
|
|
50447
50705
|
* @param {string} containerId Container ID
|
|
50448
50706
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -50506,7 +50764,7 @@ export class ContainerMainCallsApi extends BaseAPI {
|
|
|
50506
50764
|
}
|
|
50507
50765
|
|
|
50508
50766
|
/**
|
|
50509
|
-
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
50767
|
+
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
|
|
50510
50768
|
* @summary Edit container
|
|
50511
50769
|
* @param {string} containerId Container ID
|
|
50512
50770
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -51739,7 +51997,7 @@ export class ContainerSecretApi extends BaseAPI {
|
|
|
51739
51997
|
export const ContainersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
51740
51998
|
return {
|
|
51741
51999
|
/**
|
|
51742
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
52000
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
51743
52001
|
* @summary Auto deploy containers
|
|
51744
52002
|
* @param {string} organizationId Organization ID
|
|
51745
52003
|
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
@@ -51829,7 +52087,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
51829
52087
|
};
|
|
51830
52088
|
},
|
|
51831
52089
|
/**
|
|
51832
|
-
*
|
|
52090
|
+
* A container is created from an image: send `registry_id`, `image_name` and `tag`, or `source.image`. Returns 400 when: - `source.git_repository` is sent: a Git repository source can only be set on update, with `PUT /container/{containerId}`; - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent.
|
|
51833
52091
|
* @summary Create a container
|
|
51834
52092
|
* @param {string} environmentId Environment ID
|
|
51835
52093
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -52038,7 +52296,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
52038
52296
|
};
|
|
52039
52297
|
},
|
|
52040
52298
|
/**
|
|
52041
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
52299
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52042
52300
|
* @summary Preview container environments
|
|
52043
52301
|
* @param {string} organizationId Organization ID
|
|
52044
52302
|
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
@@ -52093,7 +52351,7 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
52093
52351
|
const localVarAxiosParamCreator = ContainersApiAxiosParamCreator(configuration)
|
|
52094
52352
|
return {
|
|
52095
52353
|
/**
|
|
52096
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
52354
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52097
52355
|
* @summary Auto deploy containers
|
|
52098
52356
|
* @param {string} organizationId Organization ID
|
|
52099
52357
|
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
@@ -52121,7 +52379,7 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
52121
52379
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52122
52380
|
},
|
|
52123
52381
|
/**
|
|
52124
|
-
*
|
|
52382
|
+
* A container is created from an image: send `registry_id`, `image_name` and `tag`, or `source.image`. Returns 400 when: - `source.git_repository` is sent: a Git repository source can only be set on update, with `PUT /container/{containerId}`; - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent.
|
|
52125
52383
|
* @summary Create a container
|
|
52126
52384
|
* @param {string} environmentId Environment ID
|
|
52127
52385
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -52187,7 +52445,7 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
52187
52445
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52188
52446
|
},
|
|
52189
52447
|
/**
|
|
52190
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
52448
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52191
52449
|
* @summary Preview container environments
|
|
52192
52450
|
* @param {string} organizationId Organization ID
|
|
52193
52451
|
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
@@ -52211,7 +52469,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
52211
52469
|
const localVarFp = ContainersApiFp(configuration)
|
|
52212
52470
|
return {
|
|
52213
52471
|
/**
|
|
52214
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
52472
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52215
52473
|
* @summary Auto deploy containers
|
|
52216
52474
|
* @param {string} organizationId Organization ID
|
|
52217
52475
|
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
@@ -52233,7 +52491,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
52233
52491
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
52234
52492
|
},
|
|
52235
52493
|
/**
|
|
52236
|
-
*
|
|
52494
|
+
* A container is created from an image: send `registry_id`, `image_name` and `tag`, or `source.image`. Returns 400 when: - `source.git_repository` is sent: a Git repository source can only be set on update, with `PUT /container/{containerId}`; - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent.
|
|
52237
52495
|
* @summary Create a container
|
|
52238
52496
|
* @param {string} environmentId Environment ID
|
|
52239
52497
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -52284,7 +52542,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
52284
52542
|
return localVarFp.listContainer(environmentId, options).then((request) => request(axios, basePath));
|
|
52285
52543
|
},
|
|
52286
52544
|
/**
|
|
52287
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
52545
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52288
52546
|
* @summary Preview container environments
|
|
52289
52547
|
* @param {string} organizationId Organization ID
|
|
52290
52548
|
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
@@ -52305,7 +52563,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
52305
52563
|
*/
|
|
52306
52564
|
export class ContainersApi extends BaseAPI {
|
|
52307
52565
|
/**
|
|
52308
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
52566
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52309
52567
|
* @summary Auto deploy containers
|
|
52310
52568
|
* @param {string} organizationId Organization ID
|
|
52311
52569
|
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
@@ -52331,7 +52589,7 @@ export class ContainersApi extends BaseAPI {
|
|
|
52331
52589
|
}
|
|
52332
52590
|
|
|
52333
52591
|
/**
|
|
52334
|
-
*
|
|
52592
|
+
* A container is created from an image: send `registry_id`, `image_name` and `tag`, or `source.image`. Returns 400 when: - `source.git_repository` is sent: a Git repository source can only be set on update, with `PUT /container/{containerId}`; - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent.
|
|
52335
52593
|
* @summary Create a container
|
|
52336
52594
|
* @param {string} environmentId Environment ID
|
|
52337
52595
|
* @param {ContainerRequest} [containerRequest]
|
|
@@ -52392,7 +52650,7 @@ export class ContainersApi extends BaseAPI {
|
|
|
52392
52650
|
}
|
|
52393
52651
|
|
|
52394
52652
|
/**
|
|
52395
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
52653
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag - the container should have an image source: containers with a Git repository source are skipped
|
|
52396
52654
|
* @summary Preview container environments
|
|
52397
52655
|
* @param {string} organizationId Organization ID
|
|
52398
52656
|
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|