qovery-typescript-axios 1.1.253 → 1.1.255
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 +2250 -0
- package/dist/api.d.ts +5590 -4253
- package/dist/api.js +1638 -7
- package/dist/esm/api.d.ts +5590 -4253
- package/dist/esm/api.js +1602 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -817,6 +817,12 @@ export interface ApplicationGitRepository {
|
|
|
817
817
|
* @memberof ApplicationGitRepository
|
|
818
818
|
*/
|
|
819
819
|
'deployed_commit_tag'?: string;
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @type {string}
|
|
823
|
+
* @memberof ApplicationGitRepository
|
|
824
|
+
*/
|
|
825
|
+
'git_token_id'?: string | null;
|
|
820
826
|
}
|
|
821
827
|
|
|
822
828
|
|
|
@@ -4744,6 +4750,25 @@ export interface DeployAllRequestJobsInner {
|
|
|
4744
4750
|
*/
|
|
4745
4751
|
'git_commit_id'?: string;
|
|
4746
4752
|
}
|
|
4753
|
+
/**
|
|
4754
|
+
*
|
|
4755
|
+
* @export
|
|
4756
|
+
* @interface DeployHelmRequest
|
|
4757
|
+
*/
|
|
4758
|
+
export interface DeployHelmRequest {
|
|
4759
|
+
/**
|
|
4760
|
+
* version of the chart to deploy. Cannot be set if `git_commit_id` is defined
|
|
4761
|
+
* @type {string}
|
|
4762
|
+
* @memberof DeployHelmRequest
|
|
4763
|
+
*/
|
|
4764
|
+
'version'?: string;
|
|
4765
|
+
/**
|
|
4766
|
+
* Commit to deploy Cannot be set if `version` is defined
|
|
4767
|
+
* @type {string}
|
|
4768
|
+
* @memberof DeployHelmRequest
|
|
4769
|
+
*/
|
|
4770
|
+
'git_commit_id'?: string;
|
|
4771
|
+
}
|
|
4747
4772
|
/**
|
|
4748
4773
|
*
|
|
4749
4774
|
* @export
|
|
@@ -7264,6 +7289,415 @@ export interface Healthcheck {
|
|
|
7264
7289
|
*/
|
|
7265
7290
|
'liveness_probe'?: Probe | null;
|
|
7266
7291
|
}
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @export
|
|
7295
|
+
* @interface HelmDeploymentRestrictionRequest
|
|
7296
|
+
*/
|
|
7297
|
+
export interface HelmDeploymentRestrictionRequest {
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
7301
|
+
* @memberof HelmDeploymentRestrictionRequest
|
|
7302
|
+
*/
|
|
7303
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
7304
|
+
/**
|
|
7305
|
+
*
|
|
7306
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
7307
|
+
* @memberof HelmDeploymentRestrictionRequest
|
|
7308
|
+
*/
|
|
7309
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
7310
|
+
/**
|
|
7311
|
+
* For `PATH` restrictions, the value must not start with `/`
|
|
7312
|
+
* @type {string}
|
|
7313
|
+
* @memberof HelmDeploymentRestrictionRequest
|
|
7314
|
+
*/
|
|
7315
|
+
'value': string;
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7318
|
+
|
|
7319
|
+
/**
|
|
7320
|
+
*
|
|
7321
|
+
* @export
|
|
7322
|
+
* @interface HelmDeploymentRestrictionResponse
|
|
7323
|
+
*/
|
|
7324
|
+
export interface HelmDeploymentRestrictionResponse {
|
|
7325
|
+
/**
|
|
7326
|
+
*
|
|
7327
|
+
* @type {string}
|
|
7328
|
+
* @memberof HelmDeploymentRestrictionResponse
|
|
7329
|
+
*/
|
|
7330
|
+
'id': string;
|
|
7331
|
+
/**
|
|
7332
|
+
*
|
|
7333
|
+
* @type {string}
|
|
7334
|
+
* @memberof HelmDeploymentRestrictionResponse
|
|
7335
|
+
*/
|
|
7336
|
+
'created_at': string;
|
|
7337
|
+
/**
|
|
7338
|
+
*
|
|
7339
|
+
* @type {string}
|
|
7340
|
+
* @memberof HelmDeploymentRestrictionResponse
|
|
7341
|
+
*/
|
|
7342
|
+
'updated_at'?: string;
|
|
7343
|
+
/**
|
|
7344
|
+
*
|
|
7345
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
7346
|
+
* @memberof HelmDeploymentRestrictionResponse
|
|
7347
|
+
*/
|
|
7348
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
7349
|
+
/**
|
|
7350
|
+
*
|
|
7351
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
7352
|
+
* @memberof HelmDeploymentRestrictionResponse
|
|
7353
|
+
*/
|
|
7354
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
7355
|
+
/**
|
|
7356
|
+
* For `PATH` restrictions, the value must not start with `/`
|
|
7357
|
+
* @type {string}
|
|
7358
|
+
* @memberof HelmDeploymentRestrictionResponse
|
|
7359
|
+
*/
|
|
7360
|
+
'value': string;
|
|
7361
|
+
}
|
|
7362
|
+
|
|
7363
|
+
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @export
|
|
7367
|
+
* @interface HelmDeploymentRestrictionResponseList
|
|
7368
|
+
*/
|
|
7369
|
+
export interface HelmDeploymentRestrictionResponseList {
|
|
7370
|
+
/**
|
|
7371
|
+
*
|
|
7372
|
+
* @type {Array<HelmDeploymentRestrictionResponse>}
|
|
7373
|
+
* @memberof HelmDeploymentRestrictionResponseList
|
|
7374
|
+
*/
|
|
7375
|
+
'results'?: Array<HelmDeploymentRestrictionResponse>;
|
|
7376
|
+
}
|
|
7377
|
+
/**
|
|
7378
|
+
*
|
|
7379
|
+
* @export
|
|
7380
|
+
* @enum {string}
|
|
7381
|
+
*/
|
|
7382
|
+
|
|
7383
|
+
export const HelmForceEvent = {
|
|
7384
|
+
DIFF: 'DIFF'
|
|
7385
|
+
} as const;
|
|
7386
|
+
|
|
7387
|
+
export type HelmForceEvent = typeof HelmForceEvent[keyof typeof HelmForceEvent];
|
|
7388
|
+
|
|
7389
|
+
|
|
7390
|
+
/**
|
|
7391
|
+
*
|
|
7392
|
+
* @export
|
|
7393
|
+
* @interface HelmRequest
|
|
7394
|
+
*/
|
|
7395
|
+
export interface HelmRequest {
|
|
7396
|
+
/**
|
|
7397
|
+
* name is case insensitive
|
|
7398
|
+
* @type {string}
|
|
7399
|
+
* @memberof HelmRequest
|
|
7400
|
+
*/
|
|
7401
|
+
'name': string;
|
|
7402
|
+
/**
|
|
7403
|
+
*
|
|
7404
|
+
* @type {string}
|
|
7405
|
+
* @memberof HelmRequest
|
|
7406
|
+
*/
|
|
7407
|
+
'description'?: string;
|
|
7408
|
+
/**
|
|
7409
|
+
* Maximum number of seconds allowed for helm to run before killing it and mark it as failed
|
|
7410
|
+
* @type {number}
|
|
7411
|
+
* @memberof HelmRequest
|
|
7412
|
+
*/
|
|
7413
|
+
'timeout_sec'?: number;
|
|
7414
|
+
/**
|
|
7415
|
+
* Indicates if the \'environment preview option\' is enabled. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called or when a new commit is updated. If not specified, it takes the value of the `auto_preview` property from the associated environment.
|
|
7416
|
+
* @type {boolean}
|
|
7417
|
+
* @memberof HelmRequest
|
|
7418
|
+
*/
|
|
7419
|
+
'auto_preview'?: boolean | null;
|
|
7420
|
+
/**
|
|
7421
|
+
* Specify if the helm will be automatically updated after receiving a new image tag or a new commit according to the source type.
|
|
7422
|
+
* @type {boolean}
|
|
7423
|
+
* @memberof HelmRequest
|
|
7424
|
+
*/
|
|
7425
|
+
'auto_deploy'?: boolean;
|
|
7426
|
+
/**
|
|
7427
|
+
*
|
|
7428
|
+
* @type {HelmRequestAllOfSource}
|
|
7429
|
+
* @memberof HelmRequest
|
|
7430
|
+
*/
|
|
7431
|
+
'source'?: HelmRequestAllOfSource;
|
|
7432
|
+
/**
|
|
7433
|
+
* The extra arguments to pass to helm
|
|
7434
|
+
* @type {Array<string>}
|
|
7435
|
+
* @memberof HelmRequest
|
|
7436
|
+
*/
|
|
7437
|
+
'arguments'?: Array<string>;
|
|
7438
|
+
/**
|
|
7439
|
+
* If we should allow the chart to deploy object outside his specified namespace. Setting this flag to true, requires special rights
|
|
7440
|
+
* @type {boolean}
|
|
7441
|
+
* @memberof HelmRequest
|
|
7442
|
+
*/
|
|
7443
|
+
'allow_cluster_wide_resources'?: boolean;
|
|
7444
|
+
/**
|
|
7445
|
+
*
|
|
7446
|
+
* @type {HelmRequestAllOfValuesOverride}
|
|
7447
|
+
* @memberof HelmRequest
|
|
7448
|
+
*/
|
|
7449
|
+
'values_override'?: HelmRequestAllOfValuesOverride;
|
|
7450
|
+
}
|
|
7451
|
+
/**
|
|
7452
|
+
*
|
|
7453
|
+
* @export
|
|
7454
|
+
* @interface HelmRequestAllOfSource
|
|
7455
|
+
*/
|
|
7456
|
+
export interface HelmRequestAllOfSource {
|
|
7457
|
+
/**
|
|
7458
|
+
*
|
|
7459
|
+
* @type {HelmRequestAllOfSourceGit}
|
|
7460
|
+
* @memberof HelmRequestAllOfSource
|
|
7461
|
+
*/
|
|
7462
|
+
'git'?: HelmRequestAllOfSourceGit | null;
|
|
7463
|
+
/**
|
|
7464
|
+
*
|
|
7465
|
+
* @type {HelmRequestAllOfSourceRepository}
|
|
7466
|
+
* @memberof HelmRequestAllOfSource
|
|
7467
|
+
*/
|
|
7468
|
+
'repository'?: HelmRequestAllOfSourceRepository | null;
|
|
7469
|
+
}
|
|
7470
|
+
/**
|
|
7471
|
+
*
|
|
7472
|
+
* @export
|
|
7473
|
+
* @interface HelmRequestAllOfSourceGit
|
|
7474
|
+
*/
|
|
7475
|
+
export interface HelmRequestAllOfSourceGit {
|
|
7476
|
+
/**
|
|
7477
|
+
*
|
|
7478
|
+
* @type {ApplicationGitRepositoryRequest}
|
|
7479
|
+
* @memberof HelmRequestAllOfSourceGit
|
|
7480
|
+
*/
|
|
7481
|
+
'git_repository'?: ApplicationGitRepositoryRequest;
|
|
7482
|
+
}
|
|
7483
|
+
/**
|
|
7484
|
+
*
|
|
7485
|
+
* @export
|
|
7486
|
+
* @interface HelmRequestAllOfSourceRepository
|
|
7487
|
+
*/
|
|
7488
|
+
export interface HelmRequestAllOfSourceRepository {
|
|
7489
|
+
/**
|
|
7490
|
+
* The id of the helm repository
|
|
7491
|
+
* @type {string}
|
|
7492
|
+
* @memberof HelmRequestAllOfSourceRepository
|
|
7493
|
+
*/
|
|
7494
|
+
'repository'?: string | null;
|
|
7495
|
+
/**
|
|
7496
|
+
* The name of the chart in the repository
|
|
7497
|
+
* @type {string}
|
|
7498
|
+
* @memberof HelmRequestAllOfSourceRepository
|
|
7499
|
+
*/
|
|
7500
|
+
'chart_name'?: string;
|
|
7501
|
+
/**
|
|
7502
|
+
* The version of the chart to use
|
|
7503
|
+
* @type {string}
|
|
7504
|
+
* @memberof HelmRequestAllOfSourceRepository
|
|
7505
|
+
*/
|
|
7506
|
+
'chart_version'?: string;
|
|
7507
|
+
}
|
|
7508
|
+
/**
|
|
7509
|
+
* Specify helm values you want to set or override
|
|
7510
|
+
* @export
|
|
7511
|
+
* @interface HelmRequestAllOfValuesOverride
|
|
7512
|
+
*/
|
|
7513
|
+
export interface HelmRequestAllOfValuesOverride {
|
|
7514
|
+
/**
|
|
7515
|
+
*
|
|
7516
|
+
* @type {Array<Array<string>>}
|
|
7517
|
+
* @memberof HelmRequestAllOfValuesOverride
|
|
7518
|
+
*/
|
|
7519
|
+
'set'?: Array<Array<string>>;
|
|
7520
|
+
/**
|
|
7521
|
+
*
|
|
7522
|
+
* @type {Array<Array<string>>}
|
|
7523
|
+
* @memberof HelmRequestAllOfValuesOverride
|
|
7524
|
+
*/
|
|
7525
|
+
'set_string'?: Array<Array<string>>;
|
|
7526
|
+
/**
|
|
7527
|
+
*
|
|
7528
|
+
* @type {Array<Array<string>>}
|
|
7529
|
+
* @memberof HelmRequestAllOfValuesOverride
|
|
7530
|
+
*/
|
|
7531
|
+
'set_json'?: Array<Array<string>>;
|
|
7532
|
+
/**
|
|
7533
|
+
*
|
|
7534
|
+
* @type {HelmRequestAllOfValuesOverrideFile}
|
|
7535
|
+
* @memberof HelmRequestAllOfValuesOverride
|
|
7536
|
+
*/
|
|
7537
|
+
'file'?: HelmRequestAllOfValuesOverrideFile | null;
|
|
7538
|
+
}
|
|
7539
|
+
/**
|
|
7540
|
+
*
|
|
7541
|
+
* @export
|
|
7542
|
+
* @interface HelmRequestAllOfValuesOverrideFile
|
|
7543
|
+
*/
|
|
7544
|
+
export interface HelmRequestAllOfValuesOverrideFile {
|
|
7545
|
+
/**
|
|
7546
|
+
*
|
|
7547
|
+
* @type {HelmRequestAllOfValuesOverrideFileRaw}
|
|
7548
|
+
* @memberof HelmRequestAllOfValuesOverrideFile
|
|
7549
|
+
*/
|
|
7550
|
+
'raw'?: HelmRequestAllOfValuesOverrideFileRaw | null;
|
|
7551
|
+
/**
|
|
7552
|
+
*
|
|
7553
|
+
* @type {HelmRequestAllOfValuesOverrideFileGit}
|
|
7554
|
+
* @memberof HelmRequestAllOfValuesOverrideFile
|
|
7555
|
+
*/
|
|
7556
|
+
'git'?: HelmRequestAllOfValuesOverrideFileGit | null;
|
|
7557
|
+
}
|
|
7558
|
+
/**
|
|
7559
|
+
*
|
|
7560
|
+
* @export
|
|
7561
|
+
* @interface HelmRequestAllOfValuesOverrideFileGit
|
|
7562
|
+
*/
|
|
7563
|
+
export interface HelmRequestAllOfValuesOverrideFileGit {
|
|
7564
|
+
/**
|
|
7565
|
+
*
|
|
7566
|
+
* @type {ApplicationGitRepositoryRequest}
|
|
7567
|
+
* @memberof HelmRequestAllOfValuesOverrideFileGit
|
|
7568
|
+
*/
|
|
7569
|
+
'git_repository'?: ApplicationGitRepositoryRequest;
|
|
7570
|
+
/**
|
|
7571
|
+
* List of path inside your git repository to locate values file. Must start by a /
|
|
7572
|
+
* @type {Array<string>}
|
|
7573
|
+
* @memberof HelmRequestAllOfValuesOverrideFileGit
|
|
7574
|
+
*/
|
|
7575
|
+
'paths'?: Array<string>;
|
|
7576
|
+
}
|
|
7577
|
+
/**
|
|
7578
|
+
*
|
|
7579
|
+
* @export
|
|
7580
|
+
* @interface HelmRequestAllOfValuesOverrideFileRaw
|
|
7581
|
+
*/
|
|
7582
|
+
export interface HelmRequestAllOfValuesOverrideFileRaw {
|
|
7583
|
+
/**
|
|
7584
|
+
*
|
|
7585
|
+
* @type {Array<HelmRequestAllOfValuesOverrideFileRawValues>}
|
|
7586
|
+
* @memberof HelmRequestAllOfValuesOverrideFileRaw
|
|
7587
|
+
*/
|
|
7588
|
+
'values'?: Array<HelmRequestAllOfValuesOverrideFileRawValues>;
|
|
7589
|
+
}
|
|
7590
|
+
/**
|
|
7591
|
+
*
|
|
7592
|
+
* @export
|
|
7593
|
+
* @interface HelmRequestAllOfValuesOverrideFileRawValues
|
|
7594
|
+
*/
|
|
7595
|
+
export interface HelmRequestAllOfValuesOverrideFileRawValues {
|
|
7596
|
+
/**
|
|
7597
|
+
* The name of the value file
|
|
7598
|
+
* @type {string}
|
|
7599
|
+
* @memberof HelmRequestAllOfValuesOverrideFileRawValues
|
|
7600
|
+
*/
|
|
7601
|
+
'name'?: string;
|
|
7602
|
+
/**
|
|
7603
|
+
* The content of the value file
|
|
7604
|
+
* @type {string}
|
|
7605
|
+
* @memberof HelmRequestAllOfValuesOverrideFileRawValues
|
|
7606
|
+
*/
|
|
7607
|
+
'content'?: string;
|
|
7608
|
+
}
|
|
7609
|
+
/**
|
|
7610
|
+
*
|
|
7611
|
+
* @export
|
|
7612
|
+
* @interface HelmResponse
|
|
7613
|
+
*/
|
|
7614
|
+
export interface HelmResponse {
|
|
7615
|
+
/**
|
|
7616
|
+
*
|
|
7617
|
+
* @type {string}
|
|
7618
|
+
* @memberof HelmResponse
|
|
7619
|
+
*/
|
|
7620
|
+
'id': string;
|
|
7621
|
+
/**
|
|
7622
|
+
*
|
|
7623
|
+
* @type {string}
|
|
7624
|
+
* @memberof HelmResponse
|
|
7625
|
+
*/
|
|
7626
|
+
'created_at': string;
|
|
7627
|
+
/**
|
|
7628
|
+
*
|
|
7629
|
+
* @type {string}
|
|
7630
|
+
* @memberof HelmResponse
|
|
7631
|
+
*/
|
|
7632
|
+
'updated_at'?: string;
|
|
7633
|
+
/**
|
|
7634
|
+
*
|
|
7635
|
+
* @type {ReferenceObject}
|
|
7636
|
+
* @memberof HelmResponse
|
|
7637
|
+
*/
|
|
7638
|
+
'environment': ReferenceObject;
|
|
7639
|
+
/**
|
|
7640
|
+
* name is case insensitive
|
|
7641
|
+
* @type {string}
|
|
7642
|
+
* @memberof HelmResponse
|
|
7643
|
+
*/
|
|
7644
|
+
'name': string;
|
|
7645
|
+
/**
|
|
7646
|
+
*
|
|
7647
|
+
* @type {string}
|
|
7648
|
+
* @memberof HelmResponse
|
|
7649
|
+
*/
|
|
7650
|
+
'description'?: string;
|
|
7651
|
+
/**
|
|
7652
|
+
* Indicates if the \'environment preview option\' is enabled. 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.
|
|
7653
|
+
* @type {boolean}
|
|
7654
|
+
* @memberof HelmResponse
|
|
7655
|
+
*/
|
|
7656
|
+
'auto_preview': boolean;
|
|
7657
|
+
/**
|
|
7658
|
+
* Specify if the service will be automatically updated after receiving a new image tag or a new commit according to the source type.
|
|
7659
|
+
* @type {boolean}
|
|
7660
|
+
* @memberof HelmResponse
|
|
7661
|
+
*/
|
|
7662
|
+
'auto_deploy': boolean;
|
|
7663
|
+
/**
|
|
7664
|
+
*
|
|
7665
|
+
* @type {HelmRequestAllOfSource}
|
|
7666
|
+
* @memberof HelmResponse
|
|
7667
|
+
*/
|
|
7668
|
+
'source': HelmRequestAllOfSource;
|
|
7669
|
+
/**
|
|
7670
|
+
* The extra arguments to pass to helm
|
|
7671
|
+
* @type {Array<string>}
|
|
7672
|
+
* @memberof HelmResponse
|
|
7673
|
+
*/
|
|
7674
|
+
'arguments'?: Array<string>;
|
|
7675
|
+
/**
|
|
7676
|
+
* If we should allow the chart to deploy object outside his specified namespace. Setting this flag to true, requires special rights
|
|
7677
|
+
* @type {boolean}
|
|
7678
|
+
* @memberof HelmResponse
|
|
7679
|
+
*/
|
|
7680
|
+
'allow_cluster_wide_resources'?: boolean;
|
|
7681
|
+
/**
|
|
7682
|
+
*
|
|
7683
|
+
* @type {HelmRequestAllOfValuesOverride}
|
|
7684
|
+
* @memberof HelmResponse
|
|
7685
|
+
*/
|
|
7686
|
+
'values_override'?: HelmRequestAllOfValuesOverride;
|
|
7687
|
+
}
|
|
7688
|
+
/**
|
|
7689
|
+
*
|
|
7690
|
+
* @export
|
|
7691
|
+
* @interface HelmResponseList
|
|
7692
|
+
*/
|
|
7693
|
+
export interface HelmResponseList {
|
|
7694
|
+
/**
|
|
7695
|
+
*
|
|
7696
|
+
* @type {Array<HelmResponse>}
|
|
7697
|
+
* @memberof HelmResponseList
|
|
7698
|
+
*/
|
|
7699
|
+
'results'?: Array<HelmResponse>;
|
|
7700
|
+
}
|
|
7267
7701
|
/**
|
|
7268
7702
|
*
|
|
7269
7703
|
* @export
|
|
@@ -8385,6 +8819,70 @@ export interface ListDatabaseDeploymentHistory200Response {
|
|
|
8385
8819
|
*/
|
|
8386
8820
|
'results'?: Array<DeploymentHistoryDatabase>;
|
|
8387
8821
|
}
|
|
8822
|
+
/**
|
|
8823
|
+
*
|
|
8824
|
+
* @export
|
|
8825
|
+
* @interface ListHelmDeploymentHistory200Response
|
|
8826
|
+
*/
|
|
8827
|
+
export interface ListHelmDeploymentHistory200Response {
|
|
8828
|
+
/**
|
|
8829
|
+
*
|
|
8830
|
+
* @type {number}
|
|
8831
|
+
* @memberof ListHelmDeploymentHistory200Response
|
|
8832
|
+
*/
|
|
8833
|
+
'page': number;
|
|
8834
|
+
/**
|
|
8835
|
+
*
|
|
8836
|
+
* @type {number}
|
|
8837
|
+
* @memberof ListHelmDeploymentHistory200Response
|
|
8838
|
+
*/
|
|
8839
|
+
'page_size': number;
|
|
8840
|
+
/**
|
|
8841
|
+
*
|
|
8842
|
+
* @type {Array<ListHelmDeploymentHistory200ResponseAllOfResultsInner>}
|
|
8843
|
+
* @memberof ListHelmDeploymentHistory200Response
|
|
8844
|
+
*/
|
|
8845
|
+
'results'?: Array<ListHelmDeploymentHistory200ResponseAllOfResultsInner>;
|
|
8846
|
+
}
|
|
8847
|
+
/**
|
|
8848
|
+
*
|
|
8849
|
+
* @export
|
|
8850
|
+
* @interface ListHelmDeploymentHistory200ResponseAllOfResultsInner
|
|
8851
|
+
*/
|
|
8852
|
+
export interface ListHelmDeploymentHistory200ResponseAllOfResultsInner {
|
|
8853
|
+
/**
|
|
8854
|
+
*
|
|
8855
|
+
* @type {string}
|
|
8856
|
+
* @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
|
|
8857
|
+
*/
|
|
8858
|
+
'id': string;
|
|
8859
|
+
/**
|
|
8860
|
+
*
|
|
8861
|
+
* @type {string}
|
|
8862
|
+
* @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
|
|
8863
|
+
*/
|
|
8864
|
+
'created_at': string;
|
|
8865
|
+
/**
|
|
8866
|
+
*
|
|
8867
|
+
* @type {string}
|
|
8868
|
+
* @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
|
|
8869
|
+
*/
|
|
8870
|
+
'updated_at'?: string;
|
|
8871
|
+
/**
|
|
8872
|
+
* name of the helm
|
|
8873
|
+
* @type {string}
|
|
8874
|
+
* @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
|
|
8875
|
+
*/
|
|
8876
|
+
'name'?: string;
|
|
8877
|
+
/**
|
|
8878
|
+
*
|
|
8879
|
+
* @type {StateEnum}
|
|
8880
|
+
* @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
|
|
8881
|
+
*/
|
|
8882
|
+
'status'?: StateEnum;
|
|
8883
|
+
}
|
|
8884
|
+
|
|
8885
|
+
|
|
8388
8886
|
/**
|
|
8389
8887
|
*
|
|
8390
8888
|
* @export
|
|
@@ -34939,6 +35437,1758 @@ export class GithubAppApi extends BaseAPI {
|
|
|
34939
35437
|
|
|
34940
35438
|
|
|
34941
35439
|
|
|
35440
|
+
/**
|
|
35441
|
+
* HelmApi - axios parameter creator
|
|
35442
|
+
* @export
|
|
35443
|
+
*/
|
|
35444
|
+
export const HelmApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35445
|
+
return {
|
|
35446
|
+
/**
|
|
35447
|
+
*
|
|
35448
|
+
* @summary List default helm advanced settings
|
|
35449
|
+
* @param {*} [options] Override http request option.
|
|
35450
|
+
* @throws {RequiredError}
|
|
35451
|
+
*/
|
|
35452
|
+
getDefaultHelmAdvancedSettings: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35453
|
+
const localVarPath = `/defaultHelmAdvancedSettings`;
|
|
35454
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35455
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35456
|
+
let baseOptions;
|
|
35457
|
+
if (configuration) {
|
|
35458
|
+
baseOptions = configuration.baseOptions;
|
|
35459
|
+
}
|
|
35460
|
+
|
|
35461
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35462
|
+
const localVarHeaderParameter = {} as any;
|
|
35463
|
+
const localVarQueryParameter = {} as any;
|
|
35464
|
+
|
|
35465
|
+
// authentication ApiKeyAuth required
|
|
35466
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35467
|
+
|
|
35468
|
+
// authentication bearerAuth required
|
|
35469
|
+
// http bearer authentication required
|
|
35470
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35471
|
+
|
|
35472
|
+
|
|
35473
|
+
|
|
35474
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35475
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35476
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35477
|
+
|
|
35478
|
+
return {
|
|
35479
|
+
url: toPathString(localVarUrlObj),
|
|
35480
|
+
options: localVarRequestOptions,
|
|
35481
|
+
};
|
|
35482
|
+
},
|
|
35483
|
+
}
|
|
35484
|
+
};
|
|
35485
|
+
|
|
35486
|
+
/**
|
|
35487
|
+
* HelmApi - functional programming interface
|
|
35488
|
+
* @export
|
|
35489
|
+
*/
|
|
35490
|
+
export const HelmApiFp = function(configuration?: Configuration) {
|
|
35491
|
+
const localVarAxiosParamCreator = HelmApiAxiosParamCreator(configuration)
|
|
35492
|
+
return {
|
|
35493
|
+
/**
|
|
35494
|
+
*
|
|
35495
|
+
* @summary List default helm advanced settings
|
|
35496
|
+
* @param {*} [options] Override http request option.
|
|
35497
|
+
* @throws {RequiredError}
|
|
35498
|
+
*/
|
|
35499
|
+
async getDefaultHelmAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
35500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultHelmAdvancedSettings(options);
|
|
35501
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35502
|
+
},
|
|
35503
|
+
}
|
|
35504
|
+
};
|
|
35505
|
+
|
|
35506
|
+
/**
|
|
35507
|
+
* HelmApi - factory interface
|
|
35508
|
+
* @export
|
|
35509
|
+
*/
|
|
35510
|
+
export const HelmApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
35511
|
+
const localVarFp = HelmApiFp(configuration)
|
|
35512
|
+
return {
|
|
35513
|
+
/**
|
|
35514
|
+
*
|
|
35515
|
+
* @summary List default helm advanced settings
|
|
35516
|
+
* @param {*} [options] Override http request option.
|
|
35517
|
+
* @throws {RequiredError}
|
|
35518
|
+
*/
|
|
35519
|
+
getDefaultHelmAdvancedSettings(options?: any): AxiosPromise<object> {
|
|
35520
|
+
return localVarFp.getDefaultHelmAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
35521
|
+
},
|
|
35522
|
+
};
|
|
35523
|
+
};
|
|
35524
|
+
|
|
35525
|
+
/**
|
|
35526
|
+
* HelmApi - object-oriented interface
|
|
35527
|
+
* @export
|
|
35528
|
+
* @class HelmApi
|
|
35529
|
+
* @extends {BaseAPI}
|
|
35530
|
+
*/
|
|
35531
|
+
export class HelmApi extends BaseAPI {
|
|
35532
|
+
/**
|
|
35533
|
+
*
|
|
35534
|
+
* @summary List default helm advanced settings
|
|
35535
|
+
* @param {*} [options] Override http request option.
|
|
35536
|
+
* @throws {RequiredError}
|
|
35537
|
+
* @memberof HelmApi
|
|
35538
|
+
*/
|
|
35539
|
+
public getDefaultHelmAdvancedSettings(options?: AxiosRequestConfig) {
|
|
35540
|
+
return HelmApiFp(this.configuration).getDefaultHelmAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
35541
|
+
}
|
|
35542
|
+
}
|
|
35543
|
+
|
|
35544
|
+
|
|
35545
|
+
|
|
35546
|
+
/**
|
|
35547
|
+
* HelmActionsApi - axios parameter creator
|
|
35548
|
+
* @export
|
|
35549
|
+
*/
|
|
35550
|
+
export const HelmActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35551
|
+
return {
|
|
35552
|
+
/**
|
|
35553
|
+
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
35554
|
+
* @summary Deploy helm
|
|
35555
|
+
* @param {string} helmId Helm ID
|
|
35556
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35557
|
+
* @param {DeployHelmRequest} [deployHelmRequest]
|
|
35558
|
+
* @param {*} [options] Override http request option.
|
|
35559
|
+
* @throws {RequiredError}
|
|
35560
|
+
*/
|
|
35561
|
+
deployHelm: async (helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35562
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
35563
|
+
assertParamExists('deployHelm', 'helmId', helmId)
|
|
35564
|
+
const localVarPath = `/helm/{helmId}/deploy`
|
|
35565
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
35566
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35567
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35568
|
+
let baseOptions;
|
|
35569
|
+
if (configuration) {
|
|
35570
|
+
baseOptions = configuration.baseOptions;
|
|
35571
|
+
}
|
|
35572
|
+
|
|
35573
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35574
|
+
const localVarHeaderParameter = {} as any;
|
|
35575
|
+
const localVarQueryParameter = {} as any;
|
|
35576
|
+
|
|
35577
|
+
// authentication ApiKeyAuth required
|
|
35578
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35579
|
+
|
|
35580
|
+
// authentication bearerAuth required
|
|
35581
|
+
// http bearer authentication required
|
|
35582
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35583
|
+
|
|
35584
|
+
if (forceEvent !== undefined) {
|
|
35585
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
35586
|
+
}
|
|
35587
|
+
|
|
35588
|
+
|
|
35589
|
+
|
|
35590
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35591
|
+
|
|
35592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35594
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35595
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deployHelmRequest, localVarRequestOptions, configuration)
|
|
35596
|
+
|
|
35597
|
+
return {
|
|
35598
|
+
url: toPathString(localVarUrlObj),
|
|
35599
|
+
options: localVarRequestOptions,
|
|
35600
|
+
};
|
|
35601
|
+
},
|
|
35602
|
+
/**
|
|
35603
|
+
*
|
|
35604
|
+
* @summary Redeploy helm
|
|
35605
|
+
* @param {string} helmId Helm ID
|
|
35606
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35607
|
+
* @param {*} [options] Override http request option.
|
|
35608
|
+
* @throws {RequiredError}
|
|
35609
|
+
*/
|
|
35610
|
+
redeployHelm: async (helmId: string, forceEvent?: HelmForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35611
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
35612
|
+
assertParamExists('redeployHelm', 'helmId', helmId)
|
|
35613
|
+
const localVarPath = `/helm/{helmId}/redeploy`
|
|
35614
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
35615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35617
|
+
let baseOptions;
|
|
35618
|
+
if (configuration) {
|
|
35619
|
+
baseOptions = configuration.baseOptions;
|
|
35620
|
+
}
|
|
35621
|
+
|
|
35622
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35623
|
+
const localVarHeaderParameter = {} as any;
|
|
35624
|
+
const localVarQueryParameter = {} as any;
|
|
35625
|
+
|
|
35626
|
+
// authentication ApiKeyAuth required
|
|
35627
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35628
|
+
|
|
35629
|
+
// authentication bearerAuth required
|
|
35630
|
+
// http bearer authentication required
|
|
35631
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35632
|
+
|
|
35633
|
+
if (forceEvent !== undefined) {
|
|
35634
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
35635
|
+
}
|
|
35636
|
+
|
|
35637
|
+
|
|
35638
|
+
|
|
35639
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35640
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35641
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35642
|
+
|
|
35643
|
+
return {
|
|
35644
|
+
url: toPathString(localVarUrlObj),
|
|
35645
|
+
options: localVarRequestOptions,
|
|
35646
|
+
};
|
|
35647
|
+
},
|
|
35648
|
+
/**
|
|
35649
|
+
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
35650
|
+
* @summary Deprecated - Restart helm
|
|
35651
|
+
* @param {string} helmId Helm ID
|
|
35652
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35653
|
+
* @param {*} [options] Override http request option.
|
|
35654
|
+
* @throws {RequiredError}
|
|
35655
|
+
*/
|
|
35656
|
+
restartHelm: async (helmId: string, forceEvent?: HelmForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35657
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
35658
|
+
assertParamExists('restartHelm', 'helmId', helmId)
|
|
35659
|
+
const localVarPath = `/helm/{helmId}/restart`
|
|
35660
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
35661
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35662
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35663
|
+
let baseOptions;
|
|
35664
|
+
if (configuration) {
|
|
35665
|
+
baseOptions = configuration.baseOptions;
|
|
35666
|
+
}
|
|
35667
|
+
|
|
35668
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35669
|
+
const localVarHeaderParameter = {} as any;
|
|
35670
|
+
const localVarQueryParameter = {} as any;
|
|
35671
|
+
|
|
35672
|
+
// authentication ApiKeyAuth required
|
|
35673
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35674
|
+
|
|
35675
|
+
// authentication bearerAuth required
|
|
35676
|
+
// http bearer authentication required
|
|
35677
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35678
|
+
|
|
35679
|
+
if (forceEvent !== undefined) {
|
|
35680
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
35681
|
+
}
|
|
35682
|
+
|
|
35683
|
+
|
|
35684
|
+
|
|
35685
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35686
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35687
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35688
|
+
|
|
35689
|
+
return {
|
|
35690
|
+
url: toPathString(localVarUrlObj),
|
|
35691
|
+
options: localVarRequestOptions,
|
|
35692
|
+
};
|
|
35693
|
+
},
|
|
35694
|
+
/**
|
|
35695
|
+
*
|
|
35696
|
+
* @summary Stop helm
|
|
35697
|
+
* @param {string} helmId Helm ID
|
|
35698
|
+
* @param {*} [options] Override http request option.
|
|
35699
|
+
* @throws {RequiredError}
|
|
35700
|
+
*/
|
|
35701
|
+
stopHelm: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35702
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
35703
|
+
assertParamExists('stopHelm', 'helmId', helmId)
|
|
35704
|
+
const localVarPath = `/helm/{helmId}/stop`
|
|
35705
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
35706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35708
|
+
let baseOptions;
|
|
35709
|
+
if (configuration) {
|
|
35710
|
+
baseOptions = configuration.baseOptions;
|
|
35711
|
+
}
|
|
35712
|
+
|
|
35713
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35714
|
+
const localVarHeaderParameter = {} as any;
|
|
35715
|
+
const localVarQueryParameter = {} as any;
|
|
35716
|
+
|
|
35717
|
+
// authentication ApiKeyAuth required
|
|
35718
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35719
|
+
|
|
35720
|
+
// authentication bearerAuth required
|
|
35721
|
+
// http bearer authentication required
|
|
35722
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35723
|
+
|
|
35724
|
+
|
|
35725
|
+
|
|
35726
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35727
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35728
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35729
|
+
|
|
35730
|
+
return {
|
|
35731
|
+
url: toPathString(localVarUrlObj),
|
|
35732
|
+
options: localVarRequestOptions,
|
|
35733
|
+
};
|
|
35734
|
+
},
|
|
35735
|
+
}
|
|
35736
|
+
};
|
|
35737
|
+
|
|
35738
|
+
/**
|
|
35739
|
+
* HelmActionsApi - functional programming interface
|
|
35740
|
+
* @export
|
|
35741
|
+
*/
|
|
35742
|
+
export const HelmActionsApiFp = function(configuration?: Configuration) {
|
|
35743
|
+
const localVarAxiosParamCreator = HelmActionsApiAxiosParamCreator(configuration)
|
|
35744
|
+
return {
|
|
35745
|
+
/**
|
|
35746
|
+
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
35747
|
+
* @summary Deploy helm
|
|
35748
|
+
* @param {string} helmId Helm ID
|
|
35749
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35750
|
+
* @param {DeployHelmRequest} [deployHelmRequest]
|
|
35751
|
+
* @param {*} [options] Override http request option.
|
|
35752
|
+
* @throws {RequiredError}
|
|
35753
|
+
*/
|
|
35754
|
+
async deployHelm(helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
35755
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployHelm(helmId, forceEvent, deployHelmRequest, options);
|
|
35756
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35757
|
+
},
|
|
35758
|
+
/**
|
|
35759
|
+
*
|
|
35760
|
+
* @summary Redeploy helm
|
|
35761
|
+
* @param {string} helmId Helm ID
|
|
35762
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35763
|
+
* @param {*} [options] Override http request option.
|
|
35764
|
+
* @throws {RequiredError}
|
|
35765
|
+
*/
|
|
35766
|
+
async redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
35767
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
|
|
35768
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35769
|
+
},
|
|
35770
|
+
/**
|
|
35771
|
+
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
35772
|
+
* @summary Deprecated - Restart helm
|
|
35773
|
+
* @param {string} helmId Helm ID
|
|
35774
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35775
|
+
* @param {*} [options] Override http request option.
|
|
35776
|
+
* @throws {RequiredError}
|
|
35777
|
+
*/
|
|
35778
|
+
async restartHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
35779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartHelm(helmId, forceEvent, options);
|
|
35780
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35781
|
+
},
|
|
35782
|
+
/**
|
|
35783
|
+
*
|
|
35784
|
+
* @summary Stop helm
|
|
35785
|
+
* @param {string} helmId Helm ID
|
|
35786
|
+
* @param {*} [options] Override http request option.
|
|
35787
|
+
* @throws {RequiredError}
|
|
35788
|
+
*/
|
|
35789
|
+
async stopHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
35790
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopHelm(helmId, options);
|
|
35791
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35792
|
+
},
|
|
35793
|
+
}
|
|
35794
|
+
};
|
|
35795
|
+
|
|
35796
|
+
/**
|
|
35797
|
+
* HelmActionsApi - factory interface
|
|
35798
|
+
* @export
|
|
35799
|
+
*/
|
|
35800
|
+
export const HelmActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
35801
|
+
const localVarFp = HelmActionsApiFp(configuration)
|
|
35802
|
+
return {
|
|
35803
|
+
/**
|
|
35804
|
+
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
35805
|
+
* @summary Deploy helm
|
|
35806
|
+
* @param {string} helmId Helm ID
|
|
35807
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35808
|
+
* @param {DeployHelmRequest} [deployHelmRequest]
|
|
35809
|
+
* @param {*} [options] Override http request option.
|
|
35810
|
+
* @throws {RequiredError}
|
|
35811
|
+
*/
|
|
35812
|
+
deployHelm(helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options?: any): AxiosPromise<Status> {
|
|
35813
|
+
return localVarFp.deployHelm(helmId, forceEvent, deployHelmRequest, options).then((request) => request(axios, basePath));
|
|
35814
|
+
},
|
|
35815
|
+
/**
|
|
35816
|
+
*
|
|
35817
|
+
* @summary Redeploy helm
|
|
35818
|
+
* @param {string} helmId Helm ID
|
|
35819
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35820
|
+
* @param {*} [options] Override http request option.
|
|
35821
|
+
* @throws {RequiredError}
|
|
35822
|
+
*/
|
|
35823
|
+
redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: any): AxiosPromise<Status> {
|
|
35824
|
+
return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
|
|
35825
|
+
},
|
|
35826
|
+
/**
|
|
35827
|
+
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
35828
|
+
* @summary Deprecated - Restart helm
|
|
35829
|
+
* @param {string} helmId Helm ID
|
|
35830
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35831
|
+
* @param {*} [options] Override http request option.
|
|
35832
|
+
* @throws {RequiredError}
|
|
35833
|
+
*/
|
|
35834
|
+
restartHelm(helmId: string, forceEvent?: HelmForceEvent, options?: any): AxiosPromise<Status> {
|
|
35835
|
+
return localVarFp.restartHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
|
|
35836
|
+
},
|
|
35837
|
+
/**
|
|
35838
|
+
*
|
|
35839
|
+
* @summary Stop helm
|
|
35840
|
+
* @param {string} helmId Helm ID
|
|
35841
|
+
* @param {*} [options] Override http request option.
|
|
35842
|
+
* @throws {RequiredError}
|
|
35843
|
+
*/
|
|
35844
|
+
stopHelm(helmId: string, options?: any): AxiosPromise<Status> {
|
|
35845
|
+
return localVarFp.stopHelm(helmId, options).then((request) => request(axios, basePath));
|
|
35846
|
+
},
|
|
35847
|
+
};
|
|
35848
|
+
};
|
|
35849
|
+
|
|
35850
|
+
/**
|
|
35851
|
+
* HelmActionsApi - object-oriented interface
|
|
35852
|
+
* @export
|
|
35853
|
+
* @class HelmActionsApi
|
|
35854
|
+
* @extends {BaseAPI}
|
|
35855
|
+
*/
|
|
35856
|
+
export class HelmActionsApi extends BaseAPI {
|
|
35857
|
+
/**
|
|
35858
|
+
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
35859
|
+
* @summary Deploy helm
|
|
35860
|
+
* @param {string} helmId Helm ID
|
|
35861
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35862
|
+
* @param {DeployHelmRequest} [deployHelmRequest]
|
|
35863
|
+
* @param {*} [options] Override http request option.
|
|
35864
|
+
* @throws {RequiredError}
|
|
35865
|
+
* @memberof HelmActionsApi
|
|
35866
|
+
*/
|
|
35867
|
+
public deployHelm(helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options?: AxiosRequestConfig) {
|
|
35868
|
+
return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, deployHelmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35869
|
+
}
|
|
35870
|
+
|
|
35871
|
+
/**
|
|
35872
|
+
*
|
|
35873
|
+
* @summary Redeploy helm
|
|
35874
|
+
* @param {string} helmId Helm ID
|
|
35875
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35876
|
+
* @param {*} [options] Override http request option.
|
|
35877
|
+
* @throws {RequiredError}
|
|
35878
|
+
* @memberof HelmActionsApi
|
|
35879
|
+
*/
|
|
35880
|
+
public redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig) {
|
|
35881
|
+
return HelmActionsApiFp(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
35882
|
+
}
|
|
35883
|
+
|
|
35884
|
+
/**
|
|
35885
|
+
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
35886
|
+
* @summary Deprecated - Restart helm
|
|
35887
|
+
* @param {string} helmId Helm ID
|
|
35888
|
+
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
35889
|
+
* @param {*} [options] Override http request option.
|
|
35890
|
+
* @throws {RequiredError}
|
|
35891
|
+
* @memberof HelmActionsApi
|
|
35892
|
+
*/
|
|
35893
|
+
public restartHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig) {
|
|
35894
|
+
return HelmActionsApiFp(this.configuration).restartHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
35895
|
+
}
|
|
35896
|
+
|
|
35897
|
+
/**
|
|
35898
|
+
*
|
|
35899
|
+
* @summary Stop helm
|
|
35900
|
+
* @param {string} helmId Helm ID
|
|
35901
|
+
* @param {*} [options] Override http request option.
|
|
35902
|
+
* @throws {RequiredError}
|
|
35903
|
+
* @memberof HelmActionsApi
|
|
35904
|
+
*/
|
|
35905
|
+
public stopHelm(helmId: string, options?: AxiosRequestConfig) {
|
|
35906
|
+
return HelmActionsApiFp(this.configuration).stopHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
35907
|
+
}
|
|
35908
|
+
}
|
|
35909
|
+
|
|
35910
|
+
|
|
35911
|
+
|
|
35912
|
+
/**
|
|
35913
|
+
* HelmConfigurationApi - axios parameter creator
|
|
35914
|
+
* @export
|
|
35915
|
+
*/
|
|
35916
|
+
export const HelmConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35917
|
+
return {
|
|
35918
|
+
/**
|
|
35919
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
35920
|
+
* @summary Edit advanced settings
|
|
35921
|
+
* @param {string} helmId Helm ID
|
|
35922
|
+
* @param {object} [body]
|
|
35923
|
+
* @param {*} [options] Override http request option.
|
|
35924
|
+
* @throws {RequiredError}
|
|
35925
|
+
*/
|
|
35926
|
+
editHelmAdvancedSettings: async (helmId: string, body?: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35927
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
35928
|
+
assertParamExists('editHelmAdvancedSettings', 'helmId', helmId)
|
|
35929
|
+
const localVarPath = `/helm/{helmId}/advancedSettings`
|
|
35930
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
35931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35933
|
+
let baseOptions;
|
|
35934
|
+
if (configuration) {
|
|
35935
|
+
baseOptions = configuration.baseOptions;
|
|
35936
|
+
}
|
|
35937
|
+
|
|
35938
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
35939
|
+
const localVarHeaderParameter = {} as any;
|
|
35940
|
+
const localVarQueryParameter = {} as any;
|
|
35941
|
+
|
|
35942
|
+
// authentication ApiKeyAuth required
|
|
35943
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35944
|
+
|
|
35945
|
+
// authentication bearerAuth required
|
|
35946
|
+
// http bearer authentication required
|
|
35947
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35948
|
+
|
|
35949
|
+
|
|
35950
|
+
|
|
35951
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35952
|
+
|
|
35953
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35955
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35956
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
35957
|
+
|
|
35958
|
+
return {
|
|
35959
|
+
url: toPathString(localVarUrlObj),
|
|
35960
|
+
options: localVarRequestOptions,
|
|
35961
|
+
};
|
|
35962
|
+
},
|
|
35963
|
+
/**
|
|
35964
|
+
* Get list and values of the advanced settings of the helm.
|
|
35965
|
+
* @summary Get advanced settings
|
|
35966
|
+
* @param {string} helmId Helm ID
|
|
35967
|
+
* @param {*} [options] Override http request option.
|
|
35968
|
+
* @throws {RequiredError}
|
|
35969
|
+
*/
|
|
35970
|
+
getHelmAdvancedSettings: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35971
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
35972
|
+
assertParamExists('getHelmAdvancedSettings', 'helmId', helmId)
|
|
35973
|
+
const localVarPath = `/helm/{helmId}/advancedSettings`
|
|
35974
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
35975
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35976
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35977
|
+
let baseOptions;
|
|
35978
|
+
if (configuration) {
|
|
35979
|
+
baseOptions = configuration.baseOptions;
|
|
35980
|
+
}
|
|
35981
|
+
|
|
35982
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35983
|
+
const localVarHeaderParameter = {} as any;
|
|
35984
|
+
const localVarQueryParameter = {} as any;
|
|
35985
|
+
|
|
35986
|
+
// authentication ApiKeyAuth required
|
|
35987
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35988
|
+
|
|
35989
|
+
// authentication bearerAuth required
|
|
35990
|
+
// http bearer authentication required
|
|
35991
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35992
|
+
|
|
35993
|
+
|
|
35994
|
+
|
|
35995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35997
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35998
|
+
|
|
35999
|
+
return {
|
|
36000
|
+
url: toPathString(localVarUrlObj),
|
|
36001
|
+
options: localVarRequestOptions,
|
|
36002
|
+
};
|
|
36003
|
+
},
|
|
36004
|
+
}
|
|
36005
|
+
};
|
|
36006
|
+
|
|
36007
|
+
/**
|
|
36008
|
+
* HelmConfigurationApi - functional programming interface
|
|
36009
|
+
* @export
|
|
36010
|
+
*/
|
|
36011
|
+
export const HelmConfigurationApiFp = function(configuration?: Configuration) {
|
|
36012
|
+
const localVarAxiosParamCreator = HelmConfigurationApiAxiosParamCreator(configuration)
|
|
36013
|
+
return {
|
|
36014
|
+
/**
|
|
36015
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
36016
|
+
* @summary Edit advanced settings
|
|
36017
|
+
* @param {string} helmId Helm ID
|
|
36018
|
+
* @param {object} [body]
|
|
36019
|
+
* @param {*} [options] Override http request option.
|
|
36020
|
+
* @throws {RequiredError}
|
|
36021
|
+
*/
|
|
36022
|
+
async editHelmAdvancedSettings(helmId: string, body?: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
36023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmAdvancedSettings(helmId, body, options);
|
|
36024
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36025
|
+
},
|
|
36026
|
+
/**
|
|
36027
|
+
* Get list and values of the advanced settings of the helm.
|
|
36028
|
+
* @summary Get advanced settings
|
|
36029
|
+
* @param {string} helmId Helm ID
|
|
36030
|
+
* @param {*} [options] Override http request option.
|
|
36031
|
+
* @throws {RequiredError}
|
|
36032
|
+
*/
|
|
36033
|
+
async getHelmAdvancedSettings(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
36034
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmAdvancedSettings(helmId, options);
|
|
36035
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36036
|
+
},
|
|
36037
|
+
}
|
|
36038
|
+
};
|
|
36039
|
+
|
|
36040
|
+
/**
|
|
36041
|
+
* HelmConfigurationApi - factory interface
|
|
36042
|
+
* @export
|
|
36043
|
+
*/
|
|
36044
|
+
export const HelmConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36045
|
+
const localVarFp = HelmConfigurationApiFp(configuration)
|
|
36046
|
+
return {
|
|
36047
|
+
/**
|
|
36048
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
36049
|
+
* @summary Edit advanced settings
|
|
36050
|
+
* @param {string} helmId Helm ID
|
|
36051
|
+
* @param {object} [body]
|
|
36052
|
+
* @param {*} [options] Override http request option.
|
|
36053
|
+
* @throws {RequiredError}
|
|
36054
|
+
*/
|
|
36055
|
+
editHelmAdvancedSettings(helmId: string, body?: object, options?: any): AxiosPromise<object> {
|
|
36056
|
+
return localVarFp.editHelmAdvancedSettings(helmId, body, options).then((request) => request(axios, basePath));
|
|
36057
|
+
},
|
|
36058
|
+
/**
|
|
36059
|
+
* Get list and values of the advanced settings of the helm.
|
|
36060
|
+
* @summary Get advanced settings
|
|
36061
|
+
* @param {string} helmId Helm ID
|
|
36062
|
+
* @param {*} [options] Override http request option.
|
|
36063
|
+
* @throws {RequiredError}
|
|
36064
|
+
*/
|
|
36065
|
+
getHelmAdvancedSettings(helmId: string, options?: any): AxiosPromise<object> {
|
|
36066
|
+
return localVarFp.getHelmAdvancedSettings(helmId, options).then((request) => request(axios, basePath));
|
|
36067
|
+
},
|
|
36068
|
+
};
|
|
36069
|
+
};
|
|
36070
|
+
|
|
36071
|
+
/**
|
|
36072
|
+
* HelmConfigurationApi - object-oriented interface
|
|
36073
|
+
* @export
|
|
36074
|
+
* @class HelmConfigurationApi
|
|
36075
|
+
* @extends {BaseAPI}
|
|
36076
|
+
*/
|
|
36077
|
+
export class HelmConfigurationApi extends BaseAPI {
|
|
36078
|
+
/**
|
|
36079
|
+
* Edit advanced settings by returning table of advanced settings.
|
|
36080
|
+
* @summary Edit advanced settings
|
|
36081
|
+
* @param {string} helmId Helm ID
|
|
36082
|
+
* @param {object} [body]
|
|
36083
|
+
* @param {*} [options] Override http request option.
|
|
36084
|
+
* @throws {RequiredError}
|
|
36085
|
+
* @memberof HelmConfigurationApi
|
|
36086
|
+
*/
|
|
36087
|
+
public editHelmAdvancedSettings(helmId: string, body?: object, options?: AxiosRequestConfig) {
|
|
36088
|
+
return HelmConfigurationApiFp(this.configuration).editHelmAdvancedSettings(helmId, body, options).then((request) => request(this.axios, this.basePath));
|
|
36089
|
+
}
|
|
36090
|
+
|
|
36091
|
+
/**
|
|
36092
|
+
* Get list and values of the advanced settings of the helm.
|
|
36093
|
+
* @summary Get advanced settings
|
|
36094
|
+
* @param {string} helmId Helm ID
|
|
36095
|
+
* @param {*} [options] Override http request option.
|
|
36096
|
+
* @throws {RequiredError}
|
|
36097
|
+
* @memberof HelmConfigurationApi
|
|
36098
|
+
*/
|
|
36099
|
+
public getHelmAdvancedSettings(helmId: string, options?: AxiosRequestConfig) {
|
|
36100
|
+
return HelmConfigurationApiFp(this.configuration).getHelmAdvancedSettings(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
36101
|
+
}
|
|
36102
|
+
}
|
|
36103
|
+
|
|
36104
|
+
|
|
36105
|
+
|
|
36106
|
+
/**
|
|
36107
|
+
* HelmDeploymentHistoryApi - axios parameter creator
|
|
36108
|
+
* @export
|
|
36109
|
+
*/
|
|
36110
|
+
export const HelmDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36111
|
+
return {
|
|
36112
|
+
/**
|
|
36113
|
+
* Returns the 20 last helm deployments
|
|
36114
|
+
* @summary List helm deployments
|
|
36115
|
+
* @param {string} helmId Helm ID
|
|
36116
|
+
* @param {*} [options] Override http request option.
|
|
36117
|
+
* @throws {RequiredError}
|
|
36118
|
+
*/
|
|
36119
|
+
listHelmDeploymentHistory: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36120
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36121
|
+
assertParamExists('listHelmDeploymentHistory', 'helmId', helmId)
|
|
36122
|
+
const localVarPath = `/helm/{helmId}/deploymentHistory`
|
|
36123
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36124
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36125
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36126
|
+
let baseOptions;
|
|
36127
|
+
if (configuration) {
|
|
36128
|
+
baseOptions = configuration.baseOptions;
|
|
36129
|
+
}
|
|
36130
|
+
|
|
36131
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36132
|
+
const localVarHeaderParameter = {} as any;
|
|
36133
|
+
const localVarQueryParameter = {} as any;
|
|
36134
|
+
|
|
36135
|
+
// authentication ApiKeyAuth required
|
|
36136
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36137
|
+
|
|
36138
|
+
// authentication bearerAuth required
|
|
36139
|
+
// http bearer authentication required
|
|
36140
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36141
|
+
|
|
36142
|
+
|
|
36143
|
+
|
|
36144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36146
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36147
|
+
|
|
36148
|
+
return {
|
|
36149
|
+
url: toPathString(localVarUrlObj),
|
|
36150
|
+
options: localVarRequestOptions,
|
|
36151
|
+
};
|
|
36152
|
+
},
|
|
36153
|
+
}
|
|
36154
|
+
};
|
|
36155
|
+
|
|
36156
|
+
/**
|
|
36157
|
+
* HelmDeploymentHistoryApi - functional programming interface
|
|
36158
|
+
* @export
|
|
36159
|
+
*/
|
|
36160
|
+
export const HelmDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
36161
|
+
const localVarAxiosParamCreator = HelmDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
36162
|
+
return {
|
|
36163
|
+
/**
|
|
36164
|
+
* Returns the 20 last helm deployments
|
|
36165
|
+
* @summary List helm deployments
|
|
36166
|
+
* @param {string} helmId Helm ID
|
|
36167
|
+
* @param {*} [options] Override http request option.
|
|
36168
|
+
* @throws {RequiredError}
|
|
36169
|
+
*/
|
|
36170
|
+
async listHelmDeploymentHistory(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListHelmDeploymentHistory200Response>> {
|
|
36171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listHelmDeploymentHistory(helmId, options);
|
|
36172
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36173
|
+
},
|
|
36174
|
+
}
|
|
36175
|
+
};
|
|
36176
|
+
|
|
36177
|
+
/**
|
|
36178
|
+
* HelmDeploymentHistoryApi - factory interface
|
|
36179
|
+
* @export
|
|
36180
|
+
*/
|
|
36181
|
+
export const HelmDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36182
|
+
const localVarFp = HelmDeploymentHistoryApiFp(configuration)
|
|
36183
|
+
return {
|
|
36184
|
+
/**
|
|
36185
|
+
* Returns the 20 last helm deployments
|
|
36186
|
+
* @summary List helm deployments
|
|
36187
|
+
* @param {string} helmId Helm ID
|
|
36188
|
+
* @param {*} [options] Override http request option.
|
|
36189
|
+
* @throws {RequiredError}
|
|
36190
|
+
*/
|
|
36191
|
+
listHelmDeploymentHistory(helmId: string, options?: any): AxiosPromise<ListHelmDeploymentHistory200Response> {
|
|
36192
|
+
return localVarFp.listHelmDeploymentHistory(helmId, options).then((request) => request(axios, basePath));
|
|
36193
|
+
},
|
|
36194
|
+
};
|
|
36195
|
+
};
|
|
36196
|
+
|
|
36197
|
+
/**
|
|
36198
|
+
* HelmDeploymentHistoryApi - object-oriented interface
|
|
36199
|
+
* @export
|
|
36200
|
+
* @class HelmDeploymentHistoryApi
|
|
36201
|
+
* @extends {BaseAPI}
|
|
36202
|
+
*/
|
|
36203
|
+
export class HelmDeploymentHistoryApi extends BaseAPI {
|
|
36204
|
+
/**
|
|
36205
|
+
* Returns the 20 last helm deployments
|
|
36206
|
+
* @summary List helm deployments
|
|
36207
|
+
* @param {string} helmId Helm ID
|
|
36208
|
+
* @param {*} [options] Override http request option.
|
|
36209
|
+
* @throws {RequiredError}
|
|
36210
|
+
* @memberof HelmDeploymentHistoryApi
|
|
36211
|
+
*/
|
|
36212
|
+
public listHelmDeploymentHistory(helmId: string, options?: AxiosRequestConfig) {
|
|
36213
|
+
return HelmDeploymentHistoryApiFp(this.configuration).listHelmDeploymentHistory(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
36214
|
+
}
|
|
36215
|
+
}
|
|
36216
|
+
|
|
36217
|
+
|
|
36218
|
+
|
|
36219
|
+
/**
|
|
36220
|
+
* HelmDeploymentRestrictionApi - axios parameter creator
|
|
36221
|
+
* @export
|
|
36222
|
+
*/
|
|
36223
|
+
export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36224
|
+
return {
|
|
36225
|
+
/**
|
|
36226
|
+
* Create a helm deployment restriction
|
|
36227
|
+
* @summary Create a helm deployment restriction
|
|
36228
|
+
* @param {string} helmId Helm ID
|
|
36229
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36230
|
+
* @param {*} [options] Override http request option.
|
|
36231
|
+
* @throws {RequiredError}
|
|
36232
|
+
*/
|
|
36233
|
+
createHelmDeploymentRestriction: async (helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36234
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36235
|
+
assertParamExists('createHelmDeploymentRestriction', 'helmId', helmId)
|
|
36236
|
+
const localVarPath = `/helm/{helmId}/deploymentRestriction`
|
|
36237
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36240
|
+
let baseOptions;
|
|
36241
|
+
if (configuration) {
|
|
36242
|
+
baseOptions = configuration.baseOptions;
|
|
36243
|
+
}
|
|
36244
|
+
|
|
36245
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
36246
|
+
const localVarHeaderParameter = {} as any;
|
|
36247
|
+
const localVarQueryParameter = {} as any;
|
|
36248
|
+
|
|
36249
|
+
// authentication ApiKeyAuth required
|
|
36250
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36251
|
+
|
|
36252
|
+
// authentication bearerAuth required
|
|
36253
|
+
// http bearer authentication required
|
|
36254
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36255
|
+
|
|
36256
|
+
|
|
36257
|
+
|
|
36258
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36259
|
+
|
|
36260
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36262
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36263
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
36264
|
+
|
|
36265
|
+
return {
|
|
36266
|
+
url: toPathString(localVarUrlObj),
|
|
36267
|
+
options: localVarRequestOptions,
|
|
36268
|
+
};
|
|
36269
|
+
},
|
|
36270
|
+
/**
|
|
36271
|
+
* Delete a helm deployment restriction
|
|
36272
|
+
* @summary Delete a helm deployment restriction
|
|
36273
|
+
* @param {string} helmId Helm ID
|
|
36274
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36275
|
+
* @param {*} [options] Override http request option.
|
|
36276
|
+
* @throws {RequiredError}
|
|
36277
|
+
*/
|
|
36278
|
+
deleteHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36279
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36280
|
+
assertParamExists('deleteHelmDeploymentRestriction', 'helmId', helmId)
|
|
36281
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
36282
|
+
assertParamExists('deleteHelmDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
36283
|
+
const localVarPath = `/helm/{helmId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
36284
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
|
|
36285
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
36286
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36288
|
+
let baseOptions;
|
|
36289
|
+
if (configuration) {
|
|
36290
|
+
baseOptions = configuration.baseOptions;
|
|
36291
|
+
}
|
|
36292
|
+
|
|
36293
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
36294
|
+
const localVarHeaderParameter = {} as any;
|
|
36295
|
+
const localVarQueryParameter = {} as any;
|
|
36296
|
+
|
|
36297
|
+
// authentication ApiKeyAuth required
|
|
36298
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36299
|
+
|
|
36300
|
+
// authentication bearerAuth required
|
|
36301
|
+
// http bearer authentication required
|
|
36302
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36303
|
+
|
|
36304
|
+
|
|
36305
|
+
|
|
36306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36309
|
+
|
|
36310
|
+
return {
|
|
36311
|
+
url: toPathString(localVarUrlObj),
|
|
36312
|
+
options: localVarRequestOptions,
|
|
36313
|
+
};
|
|
36314
|
+
},
|
|
36315
|
+
/**
|
|
36316
|
+
* Edit a helm deployment restriction
|
|
36317
|
+
* @summary Edit a helm deployment restriction
|
|
36318
|
+
* @param {string} helmId Helm ID
|
|
36319
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36320
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36321
|
+
* @param {*} [options] Override http request option.
|
|
36322
|
+
* @throws {RequiredError}
|
|
36323
|
+
*/
|
|
36324
|
+
editHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36325
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36326
|
+
assertParamExists('editHelmDeploymentRestriction', 'helmId', helmId)
|
|
36327
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
36328
|
+
assertParamExists('editHelmDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
36329
|
+
const localVarPath = `/helm/{helmId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
36330
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
|
|
36331
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
36332
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36333
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36334
|
+
let baseOptions;
|
|
36335
|
+
if (configuration) {
|
|
36336
|
+
baseOptions = configuration.baseOptions;
|
|
36337
|
+
}
|
|
36338
|
+
|
|
36339
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
36340
|
+
const localVarHeaderParameter = {} as any;
|
|
36341
|
+
const localVarQueryParameter = {} as any;
|
|
36342
|
+
|
|
36343
|
+
// authentication ApiKeyAuth required
|
|
36344
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36345
|
+
|
|
36346
|
+
// authentication bearerAuth required
|
|
36347
|
+
// http bearer authentication required
|
|
36348
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36349
|
+
|
|
36350
|
+
|
|
36351
|
+
|
|
36352
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36353
|
+
|
|
36354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36356
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36357
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
36358
|
+
|
|
36359
|
+
return {
|
|
36360
|
+
url: toPathString(localVarUrlObj),
|
|
36361
|
+
options: localVarRequestOptions,
|
|
36362
|
+
};
|
|
36363
|
+
},
|
|
36364
|
+
/**
|
|
36365
|
+
* Get helm deployment restrictions
|
|
36366
|
+
* @summary Get helm deployment restrictions
|
|
36367
|
+
* @param {string} helmId Helm ID
|
|
36368
|
+
* @param {*} [options] Override http request option.
|
|
36369
|
+
* @throws {RequiredError}
|
|
36370
|
+
*/
|
|
36371
|
+
getHelmDeploymentRestrictions: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36372
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36373
|
+
assertParamExists('getHelmDeploymentRestrictions', 'helmId', helmId)
|
|
36374
|
+
const localVarPath = `/helm/{helmId}/deploymentRestriction`
|
|
36375
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36377
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36378
|
+
let baseOptions;
|
|
36379
|
+
if (configuration) {
|
|
36380
|
+
baseOptions = configuration.baseOptions;
|
|
36381
|
+
}
|
|
36382
|
+
|
|
36383
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36384
|
+
const localVarHeaderParameter = {} as any;
|
|
36385
|
+
const localVarQueryParameter = {} as any;
|
|
36386
|
+
|
|
36387
|
+
// authentication ApiKeyAuth required
|
|
36388
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36389
|
+
|
|
36390
|
+
// authentication bearerAuth required
|
|
36391
|
+
// http bearer authentication required
|
|
36392
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36393
|
+
|
|
36394
|
+
|
|
36395
|
+
|
|
36396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36398
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36399
|
+
|
|
36400
|
+
return {
|
|
36401
|
+
url: toPathString(localVarUrlObj),
|
|
36402
|
+
options: localVarRequestOptions,
|
|
36403
|
+
};
|
|
36404
|
+
},
|
|
36405
|
+
}
|
|
36406
|
+
};
|
|
36407
|
+
|
|
36408
|
+
/**
|
|
36409
|
+
* HelmDeploymentRestrictionApi - functional programming interface
|
|
36410
|
+
* @export
|
|
36411
|
+
*/
|
|
36412
|
+
export const HelmDeploymentRestrictionApiFp = function(configuration?: Configuration) {
|
|
36413
|
+
const localVarAxiosParamCreator = HelmDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
36414
|
+
return {
|
|
36415
|
+
/**
|
|
36416
|
+
* Create a helm deployment restriction
|
|
36417
|
+
* @summary Create a helm deployment restriction
|
|
36418
|
+
* @param {string} helmId Helm ID
|
|
36419
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36420
|
+
* @param {*} [options] Override http request option.
|
|
36421
|
+
* @throws {RequiredError}
|
|
36422
|
+
*/
|
|
36423
|
+
async createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
|
|
36424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options);
|
|
36425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36426
|
+
},
|
|
36427
|
+
/**
|
|
36428
|
+
* Delete a helm deployment restriction
|
|
36429
|
+
* @summary Delete a helm deployment restriction
|
|
36430
|
+
* @param {string} helmId Helm ID
|
|
36431
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36432
|
+
* @param {*} [options] Override http request option.
|
|
36433
|
+
* @throws {RequiredError}
|
|
36434
|
+
*/
|
|
36435
|
+
async deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
36436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options);
|
|
36437
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36438
|
+
},
|
|
36439
|
+
/**
|
|
36440
|
+
* Edit a helm deployment restriction
|
|
36441
|
+
* @summary Edit a helm deployment restriction
|
|
36442
|
+
* @param {string} helmId Helm ID
|
|
36443
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36444
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36445
|
+
* @param {*} [options] Override http request option.
|
|
36446
|
+
* @throws {RequiredError}
|
|
36447
|
+
*/
|
|
36448
|
+
async editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
|
|
36449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options);
|
|
36450
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36451
|
+
},
|
|
36452
|
+
/**
|
|
36453
|
+
* Get helm deployment restrictions
|
|
36454
|
+
* @summary Get helm deployment restrictions
|
|
36455
|
+
* @param {string} helmId Helm ID
|
|
36456
|
+
* @param {*} [options] Override http request option.
|
|
36457
|
+
* @throws {RequiredError}
|
|
36458
|
+
*/
|
|
36459
|
+
async getHelmDeploymentRestrictions(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponseList>> {
|
|
36460
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmDeploymentRestrictions(helmId, options);
|
|
36461
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36462
|
+
},
|
|
36463
|
+
}
|
|
36464
|
+
};
|
|
36465
|
+
|
|
36466
|
+
/**
|
|
36467
|
+
* HelmDeploymentRestrictionApi - factory interface
|
|
36468
|
+
* @export
|
|
36469
|
+
*/
|
|
36470
|
+
export const HelmDeploymentRestrictionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36471
|
+
const localVarFp = HelmDeploymentRestrictionApiFp(configuration)
|
|
36472
|
+
return {
|
|
36473
|
+
/**
|
|
36474
|
+
* Create a helm deployment restriction
|
|
36475
|
+
* @summary Create a helm deployment restriction
|
|
36476
|
+
* @param {string} helmId Helm ID
|
|
36477
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36478
|
+
* @param {*} [options] Override http request option.
|
|
36479
|
+
* @throws {RequiredError}
|
|
36480
|
+
*/
|
|
36481
|
+
createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: any): AxiosPromise<HelmDeploymentRestrictionResponse> {
|
|
36482
|
+
return localVarFp.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
36483
|
+
},
|
|
36484
|
+
/**
|
|
36485
|
+
* Delete a helm deployment restriction
|
|
36486
|
+
* @summary Delete a helm deployment restriction
|
|
36487
|
+
* @param {string} helmId Helm ID
|
|
36488
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36489
|
+
* @param {*} [options] Override http request option.
|
|
36490
|
+
* @throws {RequiredError}
|
|
36491
|
+
*/
|
|
36492
|
+
deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: any): AxiosPromise<void> {
|
|
36493
|
+
return localVarFp.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
36494
|
+
},
|
|
36495
|
+
/**
|
|
36496
|
+
* Edit a helm deployment restriction
|
|
36497
|
+
* @summary Edit a helm deployment restriction
|
|
36498
|
+
* @param {string} helmId Helm ID
|
|
36499
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36500
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36501
|
+
* @param {*} [options] Override http request option.
|
|
36502
|
+
* @throws {RequiredError}
|
|
36503
|
+
*/
|
|
36504
|
+
editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: any): AxiosPromise<HelmDeploymentRestrictionResponse> {
|
|
36505
|
+
return localVarFp.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
36506
|
+
},
|
|
36507
|
+
/**
|
|
36508
|
+
* Get helm deployment restrictions
|
|
36509
|
+
* @summary Get helm deployment restrictions
|
|
36510
|
+
* @param {string} helmId Helm ID
|
|
36511
|
+
* @param {*} [options] Override http request option.
|
|
36512
|
+
* @throws {RequiredError}
|
|
36513
|
+
*/
|
|
36514
|
+
getHelmDeploymentRestrictions(helmId: string, options?: any): AxiosPromise<HelmDeploymentRestrictionResponseList> {
|
|
36515
|
+
return localVarFp.getHelmDeploymentRestrictions(helmId, options).then((request) => request(axios, basePath));
|
|
36516
|
+
},
|
|
36517
|
+
};
|
|
36518
|
+
};
|
|
36519
|
+
|
|
36520
|
+
/**
|
|
36521
|
+
* HelmDeploymentRestrictionApi - object-oriented interface
|
|
36522
|
+
* @export
|
|
36523
|
+
* @class HelmDeploymentRestrictionApi
|
|
36524
|
+
* @extends {BaseAPI}
|
|
36525
|
+
*/
|
|
36526
|
+
export class HelmDeploymentRestrictionApi extends BaseAPI {
|
|
36527
|
+
/**
|
|
36528
|
+
* Create a helm deployment restriction
|
|
36529
|
+
* @summary Create a helm deployment restriction
|
|
36530
|
+
* @param {string} helmId Helm ID
|
|
36531
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36532
|
+
* @param {*} [options] Override http request option.
|
|
36533
|
+
* @throws {RequiredError}
|
|
36534
|
+
* @memberof HelmDeploymentRestrictionApi
|
|
36535
|
+
*/
|
|
36536
|
+
public createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
|
|
36537
|
+
return HelmDeploymentRestrictionApiFp(this.configuration).createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36538
|
+
}
|
|
36539
|
+
|
|
36540
|
+
/**
|
|
36541
|
+
* Delete a helm deployment restriction
|
|
36542
|
+
* @summary Delete a helm deployment restriction
|
|
36543
|
+
* @param {string} helmId Helm ID
|
|
36544
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36545
|
+
* @param {*} [options] Override http request option.
|
|
36546
|
+
* @throws {RequiredError}
|
|
36547
|
+
* @memberof HelmDeploymentRestrictionApi
|
|
36548
|
+
*/
|
|
36549
|
+
public deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig) {
|
|
36550
|
+
return HelmDeploymentRestrictionApiFp(this.configuration).deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
36551
|
+
}
|
|
36552
|
+
|
|
36553
|
+
/**
|
|
36554
|
+
* Edit a helm deployment restriction
|
|
36555
|
+
* @summary Edit a helm deployment restriction
|
|
36556
|
+
* @param {string} helmId Helm ID
|
|
36557
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
36558
|
+
* @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
|
|
36559
|
+
* @param {*} [options] Override http request option.
|
|
36560
|
+
* @throws {RequiredError}
|
|
36561
|
+
* @memberof HelmDeploymentRestrictionApi
|
|
36562
|
+
*/
|
|
36563
|
+
public editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
|
|
36564
|
+
return HelmDeploymentRestrictionApiFp(this.configuration).editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36565
|
+
}
|
|
36566
|
+
|
|
36567
|
+
/**
|
|
36568
|
+
* Get helm deployment restrictions
|
|
36569
|
+
* @summary Get helm deployment restrictions
|
|
36570
|
+
* @param {string} helmId Helm ID
|
|
36571
|
+
* @param {*} [options] Override http request option.
|
|
36572
|
+
* @throws {RequiredError}
|
|
36573
|
+
* @memberof HelmDeploymentRestrictionApi
|
|
36574
|
+
*/
|
|
36575
|
+
public getHelmDeploymentRestrictions(helmId: string, options?: AxiosRequestConfig) {
|
|
36576
|
+
return HelmDeploymentRestrictionApiFp(this.configuration).getHelmDeploymentRestrictions(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
36577
|
+
}
|
|
36578
|
+
}
|
|
36579
|
+
|
|
36580
|
+
|
|
36581
|
+
|
|
36582
|
+
/**
|
|
36583
|
+
* HelmMainCallsApi - axios parameter creator
|
|
36584
|
+
* @export
|
|
36585
|
+
*/
|
|
36586
|
+
export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36587
|
+
return {
|
|
36588
|
+
/**
|
|
36589
|
+
* To delete the helm you must have the admin permission
|
|
36590
|
+
* @summary Delete helm
|
|
36591
|
+
* @param {string} helmId Helm ID
|
|
36592
|
+
* @param {*} [options] Override http request option.
|
|
36593
|
+
* @throws {RequiredError}
|
|
36594
|
+
*/
|
|
36595
|
+
deleteHelm: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36596
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36597
|
+
assertParamExists('deleteHelm', 'helmId', helmId)
|
|
36598
|
+
const localVarPath = `/helm/{helmId}`
|
|
36599
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36600
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36602
|
+
let baseOptions;
|
|
36603
|
+
if (configuration) {
|
|
36604
|
+
baseOptions = configuration.baseOptions;
|
|
36605
|
+
}
|
|
36606
|
+
|
|
36607
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
36608
|
+
const localVarHeaderParameter = {} as any;
|
|
36609
|
+
const localVarQueryParameter = {} as any;
|
|
36610
|
+
|
|
36611
|
+
// authentication ApiKeyAuth required
|
|
36612
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36613
|
+
|
|
36614
|
+
// authentication bearerAuth required
|
|
36615
|
+
// http bearer authentication required
|
|
36616
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36617
|
+
|
|
36618
|
+
|
|
36619
|
+
|
|
36620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36622
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36623
|
+
|
|
36624
|
+
return {
|
|
36625
|
+
url: toPathString(localVarUrlObj),
|
|
36626
|
+
options: localVarRequestOptions,
|
|
36627
|
+
};
|
|
36628
|
+
},
|
|
36629
|
+
/**
|
|
36630
|
+
* - To edit the helm you must have the admin permission.
|
|
36631
|
+
* @summary Edit helm
|
|
36632
|
+
* @param {string} helmId Helm ID
|
|
36633
|
+
* @param {HelmRequest} [helmRequest]
|
|
36634
|
+
* @param {*} [options] Override http request option.
|
|
36635
|
+
* @throws {RequiredError}
|
|
36636
|
+
*/
|
|
36637
|
+
editHelm: async (helmId: string, helmRequest?: HelmRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36638
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36639
|
+
assertParamExists('editHelm', 'helmId', helmId)
|
|
36640
|
+
const localVarPath = `/helm/{helmId}`
|
|
36641
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36642
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36643
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36644
|
+
let baseOptions;
|
|
36645
|
+
if (configuration) {
|
|
36646
|
+
baseOptions = configuration.baseOptions;
|
|
36647
|
+
}
|
|
36648
|
+
|
|
36649
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
36650
|
+
const localVarHeaderParameter = {} as any;
|
|
36651
|
+
const localVarQueryParameter = {} as any;
|
|
36652
|
+
|
|
36653
|
+
// authentication ApiKeyAuth required
|
|
36654
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36655
|
+
|
|
36656
|
+
// authentication bearerAuth required
|
|
36657
|
+
// http bearer authentication required
|
|
36658
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36659
|
+
|
|
36660
|
+
|
|
36661
|
+
|
|
36662
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36663
|
+
|
|
36664
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36665
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36666
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36667
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmRequest, localVarRequestOptions, configuration)
|
|
36668
|
+
|
|
36669
|
+
return {
|
|
36670
|
+
url: toPathString(localVarUrlObj),
|
|
36671
|
+
options: localVarRequestOptions,
|
|
36672
|
+
};
|
|
36673
|
+
},
|
|
36674
|
+
/**
|
|
36675
|
+
*
|
|
36676
|
+
* @summary Get helm by ID
|
|
36677
|
+
* @param {string} helmId Helm ID
|
|
36678
|
+
* @param {*} [options] Override http request option.
|
|
36679
|
+
* @throws {RequiredError}
|
|
36680
|
+
*/
|
|
36681
|
+
getHelm: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36682
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36683
|
+
assertParamExists('getHelm', 'helmId', helmId)
|
|
36684
|
+
const localVarPath = `/helm/{helmId}`
|
|
36685
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36686
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36687
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36688
|
+
let baseOptions;
|
|
36689
|
+
if (configuration) {
|
|
36690
|
+
baseOptions = configuration.baseOptions;
|
|
36691
|
+
}
|
|
36692
|
+
|
|
36693
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36694
|
+
const localVarHeaderParameter = {} as any;
|
|
36695
|
+
const localVarQueryParameter = {} as any;
|
|
36696
|
+
|
|
36697
|
+
// authentication ApiKeyAuth required
|
|
36698
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36699
|
+
|
|
36700
|
+
// authentication bearerAuth required
|
|
36701
|
+
// http bearer authentication required
|
|
36702
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36703
|
+
|
|
36704
|
+
|
|
36705
|
+
|
|
36706
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36707
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36708
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36709
|
+
|
|
36710
|
+
return {
|
|
36711
|
+
url: toPathString(localVarUrlObj),
|
|
36712
|
+
options: localVarRequestOptions,
|
|
36713
|
+
};
|
|
36714
|
+
},
|
|
36715
|
+
/**
|
|
36716
|
+
*
|
|
36717
|
+
* @summary Get helm status
|
|
36718
|
+
* @param {string} helmId Helm ID
|
|
36719
|
+
* @param {*} [options] Override http request option.
|
|
36720
|
+
* @throws {RequiredError}
|
|
36721
|
+
*/
|
|
36722
|
+
getHelmStatus: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36723
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
36724
|
+
assertParamExists('getHelmStatus', 'helmId', helmId)
|
|
36725
|
+
const localVarPath = `/helm/{helmId}/status`
|
|
36726
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
36727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36728
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36729
|
+
let baseOptions;
|
|
36730
|
+
if (configuration) {
|
|
36731
|
+
baseOptions = configuration.baseOptions;
|
|
36732
|
+
}
|
|
36733
|
+
|
|
36734
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36735
|
+
const localVarHeaderParameter = {} as any;
|
|
36736
|
+
const localVarQueryParameter = {} as any;
|
|
36737
|
+
|
|
36738
|
+
// authentication ApiKeyAuth required
|
|
36739
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36740
|
+
|
|
36741
|
+
// authentication bearerAuth required
|
|
36742
|
+
// http bearer authentication required
|
|
36743
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36744
|
+
|
|
36745
|
+
|
|
36746
|
+
|
|
36747
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36749
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36750
|
+
|
|
36751
|
+
return {
|
|
36752
|
+
url: toPathString(localVarUrlObj),
|
|
36753
|
+
options: localVarRequestOptions,
|
|
36754
|
+
};
|
|
36755
|
+
},
|
|
36756
|
+
}
|
|
36757
|
+
};
|
|
36758
|
+
|
|
36759
|
+
/**
|
|
36760
|
+
* HelmMainCallsApi - functional programming interface
|
|
36761
|
+
* @export
|
|
36762
|
+
*/
|
|
36763
|
+
export const HelmMainCallsApiFp = function(configuration?: Configuration) {
|
|
36764
|
+
const localVarAxiosParamCreator = HelmMainCallsApiAxiosParamCreator(configuration)
|
|
36765
|
+
return {
|
|
36766
|
+
/**
|
|
36767
|
+
* To delete the helm you must have the admin permission
|
|
36768
|
+
* @summary Delete helm
|
|
36769
|
+
* @param {string} helmId Helm ID
|
|
36770
|
+
* @param {*} [options] Override http request option.
|
|
36771
|
+
* @throws {RequiredError}
|
|
36772
|
+
*/
|
|
36773
|
+
async deleteHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
36774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelm(helmId, options);
|
|
36775
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36776
|
+
},
|
|
36777
|
+
/**
|
|
36778
|
+
* - To edit the helm you must have the admin permission.
|
|
36779
|
+
* @summary Edit helm
|
|
36780
|
+
* @param {string} helmId Helm ID
|
|
36781
|
+
* @param {HelmRequest} [helmRequest]
|
|
36782
|
+
* @param {*} [options] Override http request option.
|
|
36783
|
+
* @throws {RequiredError}
|
|
36784
|
+
*/
|
|
36785
|
+
async editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
36786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelm(helmId, helmRequest, options);
|
|
36787
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36788
|
+
},
|
|
36789
|
+
/**
|
|
36790
|
+
*
|
|
36791
|
+
* @summary Get helm by ID
|
|
36792
|
+
* @param {string} helmId Helm ID
|
|
36793
|
+
* @param {*} [options] Override http request option.
|
|
36794
|
+
* @throws {RequiredError}
|
|
36795
|
+
*/
|
|
36796
|
+
async getHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
36797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelm(helmId, options);
|
|
36798
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36799
|
+
},
|
|
36800
|
+
/**
|
|
36801
|
+
*
|
|
36802
|
+
* @summary Get helm status
|
|
36803
|
+
* @param {string} helmId Helm ID
|
|
36804
|
+
* @param {*} [options] Override http request option.
|
|
36805
|
+
* @throws {RequiredError}
|
|
36806
|
+
*/
|
|
36807
|
+
async getHelmStatus(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
36808
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmStatus(helmId, options);
|
|
36809
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36810
|
+
},
|
|
36811
|
+
}
|
|
36812
|
+
};
|
|
36813
|
+
|
|
36814
|
+
/**
|
|
36815
|
+
* HelmMainCallsApi - factory interface
|
|
36816
|
+
* @export
|
|
36817
|
+
*/
|
|
36818
|
+
export const HelmMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36819
|
+
const localVarFp = HelmMainCallsApiFp(configuration)
|
|
36820
|
+
return {
|
|
36821
|
+
/**
|
|
36822
|
+
* To delete the helm you must have the admin permission
|
|
36823
|
+
* @summary Delete helm
|
|
36824
|
+
* @param {string} helmId Helm ID
|
|
36825
|
+
* @param {*} [options] Override http request option.
|
|
36826
|
+
* @throws {RequiredError}
|
|
36827
|
+
*/
|
|
36828
|
+
deleteHelm(helmId: string, options?: any): AxiosPromise<void> {
|
|
36829
|
+
return localVarFp.deleteHelm(helmId, options).then((request) => request(axios, basePath));
|
|
36830
|
+
},
|
|
36831
|
+
/**
|
|
36832
|
+
* - To edit the helm you must have the admin permission.
|
|
36833
|
+
* @summary Edit helm
|
|
36834
|
+
* @param {string} helmId Helm ID
|
|
36835
|
+
* @param {HelmRequest} [helmRequest]
|
|
36836
|
+
* @param {*} [options] Override http request option.
|
|
36837
|
+
* @throws {RequiredError}
|
|
36838
|
+
*/
|
|
36839
|
+
editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
36840
|
+
return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
|
|
36841
|
+
},
|
|
36842
|
+
/**
|
|
36843
|
+
*
|
|
36844
|
+
* @summary Get helm by ID
|
|
36845
|
+
* @param {string} helmId Helm ID
|
|
36846
|
+
* @param {*} [options] Override http request option.
|
|
36847
|
+
* @throws {RequiredError}
|
|
36848
|
+
*/
|
|
36849
|
+
getHelm(helmId: string, options?: any): AxiosPromise<HelmResponse> {
|
|
36850
|
+
return localVarFp.getHelm(helmId, options).then((request) => request(axios, basePath));
|
|
36851
|
+
},
|
|
36852
|
+
/**
|
|
36853
|
+
*
|
|
36854
|
+
* @summary Get helm status
|
|
36855
|
+
* @param {string} helmId Helm ID
|
|
36856
|
+
* @param {*} [options] Override http request option.
|
|
36857
|
+
* @throws {RequiredError}
|
|
36858
|
+
*/
|
|
36859
|
+
getHelmStatus(helmId: string, options?: any): AxiosPromise<Status> {
|
|
36860
|
+
return localVarFp.getHelmStatus(helmId, options).then((request) => request(axios, basePath));
|
|
36861
|
+
},
|
|
36862
|
+
};
|
|
36863
|
+
};
|
|
36864
|
+
|
|
36865
|
+
/**
|
|
36866
|
+
* HelmMainCallsApi - object-oriented interface
|
|
36867
|
+
* @export
|
|
36868
|
+
* @class HelmMainCallsApi
|
|
36869
|
+
* @extends {BaseAPI}
|
|
36870
|
+
*/
|
|
36871
|
+
export class HelmMainCallsApi extends BaseAPI {
|
|
36872
|
+
/**
|
|
36873
|
+
* To delete the helm you must have the admin permission
|
|
36874
|
+
* @summary Delete helm
|
|
36875
|
+
* @param {string} helmId Helm ID
|
|
36876
|
+
* @param {*} [options] Override http request option.
|
|
36877
|
+
* @throws {RequiredError}
|
|
36878
|
+
* @memberof HelmMainCallsApi
|
|
36879
|
+
*/
|
|
36880
|
+
public deleteHelm(helmId: string, options?: AxiosRequestConfig) {
|
|
36881
|
+
return HelmMainCallsApiFp(this.configuration).deleteHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
36882
|
+
}
|
|
36883
|
+
|
|
36884
|
+
/**
|
|
36885
|
+
* - To edit the helm you must have the admin permission.
|
|
36886
|
+
* @summary Edit helm
|
|
36887
|
+
* @param {string} helmId Helm ID
|
|
36888
|
+
* @param {HelmRequest} [helmRequest]
|
|
36889
|
+
* @param {*} [options] Override http request option.
|
|
36890
|
+
* @throws {RequiredError}
|
|
36891
|
+
* @memberof HelmMainCallsApi
|
|
36892
|
+
*/
|
|
36893
|
+
public editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) {
|
|
36894
|
+
return HelmMainCallsApiFp(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36895
|
+
}
|
|
36896
|
+
|
|
36897
|
+
/**
|
|
36898
|
+
*
|
|
36899
|
+
* @summary Get helm by ID
|
|
36900
|
+
* @param {string} helmId Helm ID
|
|
36901
|
+
* @param {*} [options] Override http request option.
|
|
36902
|
+
* @throws {RequiredError}
|
|
36903
|
+
* @memberof HelmMainCallsApi
|
|
36904
|
+
*/
|
|
36905
|
+
public getHelm(helmId: string, options?: AxiosRequestConfig) {
|
|
36906
|
+
return HelmMainCallsApiFp(this.configuration).getHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
36907
|
+
}
|
|
36908
|
+
|
|
36909
|
+
/**
|
|
36910
|
+
*
|
|
36911
|
+
* @summary Get helm status
|
|
36912
|
+
* @param {string} helmId Helm ID
|
|
36913
|
+
* @param {*} [options] Override http request option.
|
|
36914
|
+
* @throws {RequiredError}
|
|
36915
|
+
* @memberof HelmMainCallsApi
|
|
36916
|
+
*/
|
|
36917
|
+
public getHelmStatus(helmId: string, options?: AxiosRequestConfig) {
|
|
36918
|
+
return HelmMainCallsApiFp(this.configuration).getHelmStatus(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
36919
|
+
}
|
|
36920
|
+
}
|
|
36921
|
+
|
|
36922
|
+
|
|
36923
|
+
|
|
36924
|
+
/**
|
|
36925
|
+
* HelmsApi - axios parameter creator
|
|
36926
|
+
* @export
|
|
36927
|
+
*/
|
|
36928
|
+
export const HelmsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36929
|
+
return {
|
|
36930
|
+
/**
|
|
36931
|
+
*
|
|
36932
|
+
* @summary Create a helm
|
|
36933
|
+
* @param {string} environmentId Environment ID
|
|
36934
|
+
* @param {HelmRequest} [helmRequest]
|
|
36935
|
+
* @param {*} [options] Override http request option.
|
|
36936
|
+
* @throws {RequiredError}
|
|
36937
|
+
*/
|
|
36938
|
+
createHelm: async (environmentId: string, helmRequest?: HelmRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36939
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
36940
|
+
assertParamExists('createHelm', 'environmentId', environmentId)
|
|
36941
|
+
const localVarPath = `/environment/{environmentId}/helm`
|
|
36942
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
36943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36945
|
+
let baseOptions;
|
|
36946
|
+
if (configuration) {
|
|
36947
|
+
baseOptions = configuration.baseOptions;
|
|
36948
|
+
}
|
|
36949
|
+
|
|
36950
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
36951
|
+
const localVarHeaderParameter = {} as any;
|
|
36952
|
+
const localVarQueryParameter = {} as any;
|
|
36953
|
+
|
|
36954
|
+
// authentication ApiKeyAuth required
|
|
36955
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36956
|
+
|
|
36957
|
+
// authentication bearerAuth required
|
|
36958
|
+
// http bearer authentication required
|
|
36959
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36960
|
+
|
|
36961
|
+
|
|
36962
|
+
|
|
36963
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36964
|
+
|
|
36965
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36966
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36967
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36968
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmRequest, localVarRequestOptions, configuration)
|
|
36969
|
+
|
|
36970
|
+
return {
|
|
36971
|
+
url: toPathString(localVarUrlObj),
|
|
36972
|
+
options: localVarRequestOptions,
|
|
36973
|
+
};
|
|
36974
|
+
},
|
|
36975
|
+
/**
|
|
36976
|
+
* Returns a list of helms with only their id and status.
|
|
36977
|
+
* @summary List all environment helm statuses
|
|
36978
|
+
* @param {string} environmentId Environment ID
|
|
36979
|
+
* @param {*} [options] Override http request option.
|
|
36980
|
+
* @throws {RequiredError}
|
|
36981
|
+
*/
|
|
36982
|
+
getEnvironmentHelmStatus: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36983
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
36984
|
+
assertParamExists('getEnvironmentHelmStatus', 'environmentId', environmentId)
|
|
36985
|
+
const localVarPath = `/environment/{environmentId}/helm/status`
|
|
36986
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
36987
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36988
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36989
|
+
let baseOptions;
|
|
36990
|
+
if (configuration) {
|
|
36991
|
+
baseOptions = configuration.baseOptions;
|
|
36992
|
+
}
|
|
36993
|
+
|
|
36994
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36995
|
+
const localVarHeaderParameter = {} as any;
|
|
36996
|
+
const localVarQueryParameter = {} as any;
|
|
36997
|
+
|
|
36998
|
+
// authentication ApiKeyAuth required
|
|
36999
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37000
|
+
|
|
37001
|
+
// authentication bearerAuth required
|
|
37002
|
+
// http bearer authentication required
|
|
37003
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37004
|
+
|
|
37005
|
+
|
|
37006
|
+
|
|
37007
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37008
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37009
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37010
|
+
|
|
37011
|
+
return {
|
|
37012
|
+
url: toPathString(localVarUrlObj),
|
|
37013
|
+
options: localVarRequestOptions,
|
|
37014
|
+
};
|
|
37015
|
+
},
|
|
37016
|
+
/**
|
|
37017
|
+
*
|
|
37018
|
+
* @summary List helms
|
|
37019
|
+
* @param {string} environmentId Environment ID
|
|
37020
|
+
* @param {*} [options] Override http request option.
|
|
37021
|
+
* @throws {RequiredError}
|
|
37022
|
+
*/
|
|
37023
|
+
listHelms: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37024
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
37025
|
+
assertParamExists('listHelms', 'environmentId', environmentId)
|
|
37026
|
+
const localVarPath = `/environment/{environmentId}/helm`
|
|
37027
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
37028
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37029
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37030
|
+
let baseOptions;
|
|
37031
|
+
if (configuration) {
|
|
37032
|
+
baseOptions = configuration.baseOptions;
|
|
37033
|
+
}
|
|
37034
|
+
|
|
37035
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37036
|
+
const localVarHeaderParameter = {} as any;
|
|
37037
|
+
const localVarQueryParameter = {} as any;
|
|
37038
|
+
|
|
37039
|
+
// authentication ApiKeyAuth required
|
|
37040
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37041
|
+
|
|
37042
|
+
// authentication bearerAuth required
|
|
37043
|
+
// http bearer authentication required
|
|
37044
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37045
|
+
|
|
37046
|
+
|
|
37047
|
+
|
|
37048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37050
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37051
|
+
|
|
37052
|
+
return {
|
|
37053
|
+
url: toPathString(localVarUrlObj),
|
|
37054
|
+
options: localVarRequestOptions,
|
|
37055
|
+
};
|
|
37056
|
+
},
|
|
37057
|
+
}
|
|
37058
|
+
};
|
|
37059
|
+
|
|
37060
|
+
/**
|
|
37061
|
+
* HelmsApi - functional programming interface
|
|
37062
|
+
* @export
|
|
37063
|
+
*/
|
|
37064
|
+
export const HelmsApiFp = function(configuration?: Configuration) {
|
|
37065
|
+
const localVarAxiosParamCreator = HelmsApiAxiosParamCreator(configuration)
|
|
37066
|
+
return {
|
|
37067
|
+
/**
|
|
37068
|
+
*
|
|
37069
|
+
* @summary Create a helm
|
|
37070
|
+
* @param {string} environmentId Environment ID
|
|
37071
|
+
* @param {HelmRequest} [helmRequest]
|
|
37072
|
+
* @param {*} [options] Override http request option.
|
|
37073
|
+
* @throws {RequiredError}
|
|
37074
|
+
*/
|
|
37075
|
+
async createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
37076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createHelm(environmentId, helmRequest, options);
|
|
37077
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37078
|
+
},
|
|
37079
|
+
/**
|
|
37080
|
+
* Returns a list of helms with only their id and status.
|
|
37081
|
+
* @summary List all environment helm statuses
|
|
37082
|
+
* @param {string} environmentId Environment ID
|
|
37083
|
+
* @param {*} [options] Override http request option.
|
|
37084
|
+
* @throws {RequiredError}
|
|
37085
|
+
*/
|
|
37086
|
+
async getEnvironmentHelmStatus(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
|
|
37087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentHelmStatus(environmentId, options);
|
|
37088
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37089
|
+
},
|
|
37090
|
+
/**
|
|
37091
|
+
*
|
|
37092
|
+
* @summary List helms
|
|
37093
|
+
* @param {string} environmentId Environment ID
|
|
37094
|
+
* @param {*} [options] Override http request option.
|
|
37095
|
+
* @throws {RequiredError}
|
|
37096
|
+
*/
|
|
37097
|
+
async listHelms(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponseList>> {
|
|
37098
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listHelms(environmentId, options);
|
|
37099
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37100
|
+
},
|
|
37101
|
+
}
|
|
37102
|
+
};
|
|
37103
|
+
|
|
37104
|
+
/**
|
|
37105
|
+
* HelmsApi - factory interface
|
|
37106
|
+
* @export
|
|
37107
|
+
*/
|
|
37108
|
+
export const HelmsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37109
|
+
const localVarFp = HelmsApiFp(configuration)
|
|
37110
|
+
return {
|
|
37111
|
+
/**
|
|
37112
|
+
*
|
|
37113
|
+
* @summary Create a helm
|
|
37114
|
+
* @param {string} environmentId Environment ID
|
|
37115
|
+
* @param {HelmRequest} [helmRequest]
|
|
37116
|
+
* @param {*} [options] Override http request option.
|
|
37117
|
+
* @throws {RequiredError}
|
|
37118
|
+
*/
|
|
37119
|
+
createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
37120
|
+
return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
|
|
37121
|
+
},
|
|
37122
|
+
/**
|
|
37123
|
+
* Returns a list of helms with only their id and status.
|
|
37124
|
+
* @summary List all environment helm statuses
|
|
37125
|
+
* @param {string} environmentId Environment ID
|
|
37126
|
+
* @param {*} [options] Override http request option.
|
|
37127
|
+
* @throws {RequiredError}
|
|
37128
|
+
*/
|
|
37129
|
+
getEnvironmentHelmStatus(environmentId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
|
|
37130
|
+
return localVarFp.getEnvironmentHelmStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
37131
|
+
},
|
|
37132
|
+
/**
|
|
37133
|
+
*
|
|
37134
|
+
* @summary List helms
|
|
37135
|
+
* @param {string} environmentId Environment ID
|
|
37136
|
+
* @param {*} [options] Override http request option.
|
|
37137
|
+
* @throws {RequiredError}
|
|
37138
|
+
*/
|
|
37139
|
+
listHelms(environmentId: string, options?: any): AxiosPromise<HelmResponseList> {
|
|
37140
|
+
return localVarFp.listHelms(environmentId, options).then((request) => request(axios, basePath));
|
|
37141
|
+
},
|
|
37142
|
+
};
|
|
37143
|
+
};
|
|
37144
|
+
|
|
37145
|
+
/**
|
|
37146
|
+
* HelmsApi - object-oriented interface
|
|
37147
|
+
* @export
|
|
37148
|
+
* @class HelmsApi
|
|
37149
|
+
* @extends {BaseAPI}
|
|
37150
|
+
*/
|
|
37151
|
+
export class HelmsApi extends BaseAPI {
|
|
37152
|
+
/**
|
|
37153
|
+
*
|
|
37154
|
+
* @summary Create a helm
|
|
37155
|
+
* @param {string} environmentId Environment ID
|
|
37156
|
+
* @param {HelmRequest} [helmRequest]
|
|
37157
|
+
* @param {*} [options] Override http request option.
|
|
37158
|
+
* @throws {RequiredError}
|
|
37159
|
+
* @memberof HelmsApi
|
|
37160
|
+
*/
|
|
37161
|
+
public createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) {
|
|
37162
|
+
return HelmsApiFp(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37163
|
+
}
|
|
37164
|
+
|
|
37165
|
+
/**
|
|
37166
|
+
* Returns a list of helms with only their id and status.
|
|
37167
|
+
* @summary List all environment helm statuses
|
|
37168
|
+
* @param {string} environmentId Environment ID
|
|
37169
|
+
* @param {*} [options] Override http request option.
|
|
37170
|
+
* @throws {RequiredError}
|
|
37171
|
+
* @memberof HelmsApi
|
|
37172
|
+
*/
|
|
37173
|
+
public getEnvironmentHelmStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
37174
|
+
return HelmsApiFp(this.configuration).getEnvironmentHelmStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
37175
|
+
}
|
|
37176
|
+
|
|
37177
|
+
/**
|
|
37178
|
+
*
|
|
37179
|
+
* @summary List helms
|
|
37180
|
+
* @param {string} environmentId Environment ID
|
|
37181
|
+
* @param {*} [options] Override http request option.
|
|
37182
|
+
* @throws {RequiredError}
|
|
37183
|
+
* @memberof HelmsApi
|
|
37184
|
+
*/
|
|
37185
|
+
public listHelms(environmentId: string, options?: AxiosRequestConfig) {
|
|
37186
|
+
return HelmsApiFp(this.configuration).listHelms(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
37187
|
+
}
|
|
37188
|
+
}
|
|
37189
|
+
|
|
37190
|
+
|
|
37191
|
+
|
|
34942
37192
|
/**
|
|
34943
37193
|
* JobActionsApi - axios parameter creator
|
|
34944
37194
|
* @export
|