@northflank/js-client 0.8.5 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-client.d.ts +220 -46
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +220 -46
- package/dist/esm/api-client.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import * as stream from 'stream';
|
|
4
|
+
import { Stream } from 'stream';
|
|
4
5
|
|
|
5
6
|
type Optional<T, K extends keyof T> = Omit<T, K> & Partial<T>;
|
|
6
7
|
declare abstract class ApiClientContextProvider {
|
|
@@ -574,6 +575,16 @@ declare class NorthflankFileCopy {
|
|
|
574
575
|
targetDirectory: string;
|
|
575
576
|
targetFile?: string | undefined;
|
|
576
577
|
}>;
|
|
578
|
+
downloadServiceFileStream(parameters: {
|
|
579
|
+
projectId: string;
|
|
580
|
+
serviceId: string;
|
|
581
|
+
}, options: {
|
|
582
|
+
remotePath: string;
|
|
583
|
+
containerName?: string;
|
|
584
|
+
}): Promise<{
|
|
585
|
+
fileStream: Stream.PassThrough;
|
|
586
|
+
completionPromise: Promise<boolean>;
|
|
587
|
+
}>;
|
|
577
588
|
uploadServiceFiles(parameters: {
|
|
578
589
|
projectId: string;
|
|
579
590
|
serviceId: string;
|
|
@@ -584,6 +595,14 @@ declare class NorthflankFileCopy {
|
|
|
584
595
|
targetDirectory: string;
|
|
585
596
|
targetFile?: string | undefined;
|
|
586
597
|
}>;
|
|
598
|
+
uploadServiceFileStream(parameters: {
|
|
599
|
+
projectId: string;
|
|
600
|
+
serviceId: string;
|
|
601
|
+
}, options: {
|
|
602
|
+
source: string | Buffer | Stream;
|
|
603
|
+
remotePath: string;
|
|
604
|
+
containerName?: string;
|
|
605
|
+
}): Promise<void>;
|
|
587
606
|
downloadJobFiles(parameters: {
|
|
588
607
|
projectId: string;
|
|
589
608
|
jobId: string;
|
|
@@ -594,6 +613,16 @@ declare class NorthflankFileCopy {
|
|
|
594
613
|
targetDirectory: string;
|
|
595
614
|
targetFile?: string | undefined;
|
|
596
615
|
}>;
|
|
616
|
+
downloadJobFileStream(parameters: {
|
|
617
|
+
projectId: string;
|
|
618
|
+
jobId: string;
|
|
619
|
+
}, options: {
|
|
620
|
+
remotePath: string;
|
|
621
|
+
containerName?: string;
|
|
622
|
+
}): Promise<{
|
|
623
|
+
fileStream: Stream.PassThrough;
|
|
624
|
+
completionPromise: Promise<boolean>;
|
|
625
|
+
}>;
|
|
597
626
|
uploadJobFiles(parameters: {
|
|
598
627
|
projectId: string;
|
|
599
628
|
jobId: string;
|
|
@@ -604,6 +633,14 @@ declare class NorthflankFileCopy {
|
|
|
604
633
|
targetDirectory: string;
|
|
605
634
|
targetFile?: string | undefined;
|
|
606
635
|
}>;
|
|
636
|
+
uploadJobFileStream(parameters: {
|
|
637
|
+
projectId: string;
|
|
638
|
+
jobId: string;
|
|
639
|
+
}, options: {
|
|
640
|
+
source: string | Buffer | Stream;
|
|
641
|
+
remotePath: string;
|
|
642
|
+
containerName?: string;
|
|
643
|
+
}): Promise<void>;
|
|
607
644
|
private copy;
|
|
608
645
|
}
|
|
609
646
|
|
|
@@ -1796,7 +1833,7 @@ type ListCloudClustersResult = {
|
|
|
1796
1833
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
1797
1834
|
'description'?: string;
|
|
1798
1835
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
1799
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
1836
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
1800
1837
|
/** Region of the cluster. Example: "europe-west2" */
|
|
1801
1838
|
'region': string;
|
|
1802
1839
|
'status'?: {
|
|
@@ -2034,10 +2071,10 @@ type ListCloudClustersResult = {
|
|
|
2034
2071
|
};
|
|
2035
2072
|
'infrastructure'?: {
|
|
2036
2073
|
'workloads'?: {
|
|
2037
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2074
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2038
2075
|
};
|
|
2039
2076
|
'builds'?: {
|
|
2040
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2077
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2041
2078
|
};
|
|
2042
2079
|
'installKata'?: boolean;
|
|
2043
2080
|
'installGvisor'?: boolean;
|
|
@@ -2182,7 +2219,7 @@ type CreateCloudClusterResult = {
|
|
|
2182
2219
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
2183
2220
|
'description'?: string;
|
|
2184
2221
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
2185
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
2222
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
2186
2223
|
/** Region of the cluster. Example: "europe-west2" */
|
|
2187
2224
|
'region': string;
|
|
2188
2225
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -2402,10 +2439,10 @@ type CreateCloudClusterResult = {
|
|
|
2402
2439
|
};
|
|
2403
2440
|
'infrastructure'?: {
|
|
2404
2441
|
'workloads'?: {
|
|
2405
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2442
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2406
2443
|
};
|
|
2407
2444
|
'builds'?: {
|
|
2408
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2445
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2409
2446
|
};
|
|
2410
2447
|
'installKata'?: boolean;
|
|
2411
2448
|
'installGvisor'?: boolean;
|
|
@@ -2546,7 +2583,7 @@ type CreateCloudClusterData = {
|
|
|
2546
2583
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
2547
2584
|
'description'?: string;
|
|
2548
2585
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
2549
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
2586
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
2550
2587
|
/** Region of the cluster. Example: "europe-west2" */
|
|
2551
2588
|
'region': string;
|
|
2552
2589
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -2766,10 +2803,10 @@ type CreateCloudClusterData = {
|
|
|
2766
2803
|
};
|
|
2767
2804
|
'infrastructure'?: {
|
|
2768
2805
|
'workloads'?: {
|
|
2769
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2806
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2770
2807
|
};
|
|
2771
2808
|
'builds'?: {
|
|
2772
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2809
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2773
2810
|
};
|
|
2774
2811
|
'installKata'?: boolean;
|
|
2775
2812
|
'installGvisor'?: boolean;
|
|
@@ -2898,7 +2935,7 @@ type PutCloudClusterResult = {
|
|
|
2898
2935
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
2899
2936
|
'description'?: string;
|
|
2900
2937
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
2901
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
2938
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
2902
2939
|
/** Region of the cluster. Example: "europe-west2" */
|
|
2903
2940
|
'region': string;
|
|
2904
2941
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -3118,10 +3155,10 @@ type PutCloudClusterResult = {
|
|
|
3118
3155
|
};
|
|
3119
3156
|
'infrastructure'?: {
|
|
3120
3157
|
'workloads'?: {
|
|
3121
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3158
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3122
3159
|
};
|
|
3123
3160
|
'builds'?: {
|
|
3124
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3161
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3125
3162
|
};
|
|
3126
3163
|
'installKata'?: boolean;
|
|
3127
3164
|
'installGvisor'?: boolean;
|
|
@@ -3262,7 +3299,7 @@ type PutCloudClusterData = {
|
|
|
3262
3299
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
3263
3300
|
'description'?: string;
|
|
3264
3301
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
3265
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
3302
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
3266
3303
|
/** Region of the cluster. Example: "europe-west2" */
|
|
3267
3304
|
'region': string;
|
|
3268
3305
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -3482,10 +3519,10 @@ type PutCloudClusterData = {
|
|
|
3482
3519
|
};
|
|
3483
3520
|
'infrastructure'?: {
|
|
3484
3521
|
'workloads'?: {
|
|
3485
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3522
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3486
3523
|
};
|
|
3487
3524
|
'builds'?: {
|
|
3488
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3525
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3489
3526
|
};
|
|
3490
3527
|
'installKata'?: boolean;
|
|
3491
3528
|
'installGvisor'?: boolean;
|
|
@@ -3614,7 +3651,7 @@ type GetCloudClusterResult = {
|
|
|
3614
3651
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
3615
3652
|
'description'?: string;
|
|
3616
3653
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
3617
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
3654
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
3618
3655
|
/** Region of the cluster. Example: "europe-west2" */
|
|
3619
3656
|
'region': string;
|
|
3620
3657
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -3834,10 +3871,10 @@ type GetCloudClusterResult = {
|
|
|
3834
3871
|
};
|
|
3835
3872
|
'infrastructure'?: {
|
|
3836
3873
|
'workloads'?: {
|
|
3837
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3874
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3838
3875
|
};
|
|
3839
3876
|
'builds'?: {
|
|
3840
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3877
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3841
3878
|
};
|
|
3842
3879
|
'installKata'?: boolean;
|
|
3843
3880
|
'installGvisor'?: boolean;
|
|
@@ -3990,7 +4027,7 @@ type PatchCloudClusterResult = {
|
|
|
3990
4027
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
3991
4028
|
'description'?: string;
|
|
3992
4029
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
3993
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4030
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
3994
4031
|
/** Region of the cluster. Example: "europe-west2" */
|
|
3995
4032
|
'region': string;
|
|
3996
4033
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -4210,10 +4247,10 @@ type PatchCloudClusterResult = {
|
|
|
4210
4247
|
};
|
|
4211
4248
|
'infrastructure'?: {
|
|
4212
4249
|
'workloads'?: {
|
|
4213
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4250
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4214
4251
|
};
|
|
4215
4252
|
'builds'?: {
|
|
4216
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4253
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4217
4254
|
};
|
|
4218
4255
|
'installKata'?: boolean;
|
|
4219
4256
|
'installGvisor'?: boolean;
|
|
@@ -4554,10 +4591,10 @@ type PatchCloudClusterData = {
|
|
|
4554
4591
|
};
|
|
4555
4592
|
'infrastructure'?: {
|
|
4556
4593
|
'workloads'?: {
|
|
4557
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4594
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4558
4595
|
};
|
|
4559
4596
|
'builds'?: {
|
|
4560
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4597
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4561
4598
|
};
|
|
4562
4599
|
'installKata'?: boolean;
|
|
4563
4600
|
'installGvisor'?: boolean;
|
|
@@ -4803,7 +4840,7 @@ type ListCloudIntegrationsResult = {
|
|
|
4803
4840
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
4804
4841
|
'description'?: string;
|
|
4805
4842
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
4806
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4843
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
4807
4844
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
4808
4845
|
/** BYOC restrictions configuration for controlling team access */
|
|
4809
4846
|
'restrictions'?: {
|
|
@@ -4869,7 +4906,7 @@ type CreateCloudIntegrationResult = {
|
|
|
4869
4906
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
4870
4907
|
'description'?: string;
|
|
4871
4908
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
4872
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4909
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
4873
4910
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
4874
4911
|
/** BYOC restrictions configuration for controlling team access */
|
|
4875
4912
|
'restrictions'?: {
|
|
@@ -4956,7 +4993,7 @@ type CreateCloudIntegrationData = {
|
|
|
4956
4993
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
4957
4994
|
'description'?: string;
|
|
4958
4995
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
4959
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4996
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
4960
4997
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
4961
4998
|
/** BYOC restrictions configuration for controlling team access */
|
|
4962
4999
|
'restrictions'?: {
|
|
@@ -5046,7 +5083,7 @@ type PutCloudIntegrationResult = {
|
|
|
5046
5083
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5047
5084
|
'description'?: string;
|
|
5048
5085
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5049
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5086
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5050
5087
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5051
5088
|
/** BYOC restrictions configuration for controlling team access */
|
|
5052
5089
|
'restrictions'?: {
|
|
@@ -5137,7 +5174,7 @@ type PutCloudIntegrationData = {
|
|
|
5137
5174
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5138
5175
|
'description'?: string;
|
|
5139
5176
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5140
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5177
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5141
5178
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5142
5179
|
/** BYOC restrictions configuration for controlling team access */
|
|
5143
5180
|
'restrictions'?: {
|
|
@@ -5227,7 +5264,7 @@ type GetCloudIntegrationResult = {
|
|
|
5227
5264
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5228
5265
|
'description'?: string;
|
|
5229
5266
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5230
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5267
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5231
5268
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5232
5269
|
/** BYOC restrictions configuration for controlling team access */
|
|
5233
5270
|
'restrictions'?: {
|
|
@@ -5328,7 +5365,7 @@ type PatchCloudIntegrationResult = {
|
|
|
5328
5365
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5329
5366
|
'description'?: string;
|
|
5330
5367
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5331
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5368
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5332
5369
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5333
5370
|
/** BYOC restrictions configuration for controlling team access */
|
|
5334
5371
|
'restrictions'?: {
|
|
@@ -6690,7 +6727,7 @@ type ListLogsinksResult = {
|
|
|
6690
6727
|
'forwardMeshLogs'?: boolean;
|
|
6691
6728
|
};
|
|
6692
6729
|
/** The type of the log sink. */
|
|
6693
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
6730
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
6694
6731
|
/** Timestamp of when the log sink was created. Example: "2022-06-14 15:10:42.842Z" */
|
|
6695
6732
|
'createdAt': string;
|
|
6696
6733
|
/** Timestamp of when the log sink was last updated. Example: "2022-06-14 15:10:42.842Z" */
|
|
@@ -6986,7 +7023,7 @@ type CreateLogsinkData = {
|
|
|
6986
7023
|
'token'?: string;
|
|
6987
7024
|
};
|
|
6988
7025
|
'framing'?: {
|
|
6989
|
-
'method'?: 'none' | 'newline' | '
|
|
7026
|
+
'method'?: 'none' | 'newline' | 'length';
|
|
6990
7027
|
};
|
|
6991
7028
|
};
|
|
6992
7029
|
} | {
|
|
@@ -7147,6 +7184,50 @@ type CreateLogsinkData = {
|
|
|
7147
7184
|
/** The Log Shipping Token of the account you want to ship to Example: "sNFijNFgNFoNFrMsNFbNFObNFcgNFqoa" */
|
|
7148
7185
|
'token': string;
|
|
7149
7186
|
};
|
|
7187
|
+
} | {
|
|
7188
|
+
/** Name of the log sink. Example: "example-log-sink" */
|
|
7189
|
+
'name': string;
|
|
7190
|
+
/** Description of the log sink. Example: "This is an example log sink." */
|
|
7191
|
+
'description'?: string;
|
|
7192
|
+
/** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
|
|
7193
|
+
'restricted'?: boolean;
|
|
7194
|
+
/** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
|
|
7195
|
+
'projects'?: string[];
|
|
7196
|
+
/** Configuration of restrictions. */
|
|
7197
|
+
'restrictions'?: {
|
|
7198
|
+
/** Configuration of tag restriction settings. */
|
|
7199
|
+
'tags'?: {
|
|
7200
|
+
/** Whether restriction by tag should be enabled. */
|
|
7201
|
+
'enabled'?: boolean;
|
|
7202
|
+
/** An array of previously defined tags to help identify and group the resource. */
|
|
7203
|
+
'items'?: string[];
|
|
7204
|
+
/** If all or any of the tags must be present on the target for it to match the condition. Example: "or" */
|
|
7205
|
+
'matchCondition'?: 'and' | 'or';
|
|
7206
|
+
};
|
|
7207
|
+
};
|
|
7208
|
+
'options'?: {
|
|
7209
|
+
/** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
|
|
7210
|
+
'useCustomLabels'?: boolean;
|
|
7211
|
+
/** Forward CDN logs from your workloads Example: true */
|
|
7212
|
+
'forwardCdnLogs'?: boolean;
|
|
7213
|
+
/** Forward ingress logs from your workloads Example: true */
|
|
7214
|
+
'forwardIngressLogs'?: boolean;
|
|
7215
|
+
/** Forward mesh logs from your workloads Example: true */
|
|
7216
|
+
'forwardMeshLogs'?: boolean;
|
|
7217
|
+
};
|
|
7218
|
+
/** The type of the log sink. Example: "solarWinds" */
|
|
7219
|
+
'sinkType': 'solarWinds';
|
|
7220
|
+
/** Details about the undefined log sink. */
|
|
7221
|
+
'sinkData': {
|
|
7222
|
+
/** Solar Winds API Key Example: "Tr8BIEmYx1fuM3_XRMwU3xXEFnD20p9NFkRIu1COrDqMCM4g86qWZgVdgs1Y7mzWtFMI0Zc" */
|
|
7223
|
+
'api_key': string;
|
|
7224
|
+
'encoding'?: {
|
|
7225
|
+
/** Codec to encode logs in Example: "json" */
|
|
7226
|
+
'codec': 'text' | 'json';
|
|
7227
|
+
};
|
|
7228
|
+
/** Solar Winds endpoint type */
|
|
7229
|
+
'endpointType': 'unitary' | 'bulk';
|
|
7230
|
+
};
|
|
7150
7231
|
} | {
|
|
7151
7232
|
/** Name of the log sink. Example: "example-log-sink" */
|
|
7152
7233
|
'name': string;
|
|
@@ -7268,7 +7349,7 @@ type GetLogsinkResult = {
|
|
|
7268
7349
|
'forwardMeshLogs'?: boolean;
|
|
7269
7350
|
};
|
|
7270
7351
|
/** The type of the log sink. */
|
|
7271
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7352
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7272
7353
|
/** Timestamp of when the log sink was created. Example: "2022-06-14 15:10:42.842Z" */
|
|
7273
7354
|
'createdAt': string;
|
|
7274
7355
|
/** Timestamp of when the log sink was last updated. Example: "2022-06-14 15:10:42.842Z" */
|
|
@@ -7344,7 +7425,7 @@ type GetLogsinkResult = {
|
|
|
7344
7425
|
'token'?: string;
|
|
7345
7426
|
};
|
|
7346
7427
|
'framing'?: {
|
|
7347
|
-
'method'?: 'none' | 'newline' | '
|
|
7428
|
+
'method'?: 'none' | 'newline' | 'length';
|
|
7348
7429
|
};
|
|
7349
7430
|
} | {
|
|
7350
7431
|
/** Ingestion Key Example: "b1dd3feb585asd1a3e9edpo9kmn5e590hg9" */
|
|
@@ -7364,6 +7445,15 @@ type GetLogsinkResult = {
|
|
|
7364
7445
|
'region': 'eu' | 'uk' | 'us' | 'ca' | 'au' | 'nl' | 'wa';
|
|
7365
7446
|
/** The Log Shipping Token of the account you want to ship to Example: "sNFijNFgNFoNFrMsNFbNFObNFcgNFqoa" */
|
|
7366
7447
|
'token': string;
|
|
7448
|
+
} | {
|
|
7449
|
+
/** Solar Winds API Key Example: "Tr8BIEmYx1fuM3_XRMwU3xXEFnD20p9NFkRIu1COrDqMCM4g86qWZgVdgs1Y7mzWtFMI0Zc" */
|
|
7450
|
+
'api_key': string;
|
|
7451
|
+
'encoding'?: {
|
|
7452
|
+
/** Codec to encode logs in Example: "json" */
|
|
7453
|
+
'codec': 'text' | 'json';
|
|
7454
|
+
};
|
|
7455
|
+
/** Solar Winds endpoint type */
|
|
7456
|
+
'endpointType': 'unitary' | 'bulk';
|
|
7367
7457
|
} | {
|
|
7368
7458
|
/** Name of the data Example: "staging" */
|
|
7369
7459
|
'dataset': string;
|
|
@@ -7477,7 +7567,7 @@ type UpdateLogsinkData = {
|
|
|
7477
7567
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7478
7568
|
'resumeLogSink'?: boolean;
|
|
7479
7569
|
/** The type of log sink to target Example: "http" */
|
|
7480
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7570
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7481
7571
|
/** Details about the Loki log sink. */
|
|
7482
7572
|
'sinkData': {
|
|
7483
7573
|
/** The endpoint of the Loki log sink. Example: "https://logs.example.com" */
|
|
@@ -7510,7 +7600,7 @@ type UpdateLogsinkData = {
|
|
|
7510
7600
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7511
7601
|
'resumeLogSink'?: boolean;
|
|
7512
7602
|
/** The type of log sink to target Example: "http" */
|
|
7513
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7603
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7514
7604
|
/** Details about the Datadog log sink. */
|
|
7515
7605
|
'sinkData': {
|
|
7516
7606
|
/** The Datadog API key. Example: "abcdef12345678900000000000000000" */
|
|
@@ -7536,7 +7626,7 @@ type UpdateLogsinkData = {
|
|
|
7536
7626
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7537
7627
|
'resumeLogSink'?: boolean;
|
|
7538
7628
|
/** The type of log sink to target Example: "http" */
|
|
7539
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7629
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7540
7630
|
/** Papertrail Sink Schema. */
|
|
7541
7631
|
'sinkData': {
|
|
7542
7632
|
/** The authentication strategy. Example: "port" */
|
|
@@ -7571,7 +7661,7 @@ type UpdateLogsinkData = {
|
|
|
7571
7661
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7572
7662
|
'resumeLogSink'?: boolean;
|
|
7573
7663
|
/** The type of log sink to target Example: "http" */
|
|
7574
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7664
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7575
7665
|
/** Details about the HTTP log sink. */
|
|
7576
7666
|
'sinkData': {
|
|
7577
7667
|
/** Uri to send logs to. Example: "my.log-collector.com" */
|
|
@@ -7605,7 +7695,7 @@ type UpdateLogsinkData = {
|
|
|
7605
7695
|
'token'?: string;
|
|
7606
7696
|
};
|
|
7607
7697
|
'framing'?: {
|
|
7608
|
-
'method'?: 'none' | 'newline' | '
|
|
7698
|
+
'method'?: 'none' | 'newline' | 'length';
|
|
7609
7699
|
};
|
|
7610
7700
|
};
|
|
7611
7701
|
} | {
|
|
@@ -7626,7 +7716,7 @@ type UpdateLogsinkData = {
|
|
|
7626
7716
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7627
7717
|
'resumeLogSink'?: boolean;
|
|
7628
7718
|
/** The type of log sink to target Example: "http" */
|
|
7629
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7719
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7630
7720
|
/** Details about the AWS S3 log sink. */
|
|
7631
7721
|
'sinkData': {
|
|
7632
7722
|
/** Endpoint for the AWS S3 or compatible API bucket. Example: "my.bucket.com" */
|
|
@@ -7663,7 +7753,7 @@ type UpdateLogsinkData = {
|
|
|
7663
7753
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7664
7754
|
'resumeLogSink'?: boolean;
|
|
7665
7755
|
/** The type of log sink to target Example: "http" */
|
|
7666
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7756
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7667
7757
|
/** Details about the Better Stack log sink. */
|
|
7668
7758
|
'sinkData': {
|
|
7669
7759
|
/** Better Stack Source Token Example: "vhnqrLygVQ5GnSQUTZamKvAq" */
|
|
@@ -7689,7 +7779,7 @@ type UpdateLogsinkData = {
|
|
|
7689
7779
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7690
7780
|
'resumeLogSink'?: boolean;
|
|
7691
7781
|
/** The type of log sink to target Example: "http" */
|
|
7692
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7782
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7693
7783
|
/** Details about the LogDNA log sink. */
|
|
7694
7784
|
'sinkData': {
|
|
7695
7785
|
/** Ingestion Key Example: "b1dd3feb585asd1a3e9edpo9kmn5e590hg9" */
|
|
@@ -7713,7 +7803,7 @@ type UpdateLogsinkData = {
|
|
|
7713
7803
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7714
7804
|
'resumeLogSink'?: boolean;
|
|
7715
7805
|
/** The type of log sink to target Example: "http" */
|
|
7716
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7806
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7717
7807
|
/** Details about the Logz.io log sink. */
|
|
7718
7808
|
'sinkData': {
|
|
7719
7809
|
/** Your Logzio region code Example: "eu" */
|
|
@@ -7739,7 +7829,37 @@ type UpdateLogsinkData = {
|
|
|
7739
7829
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7740
7830
|
'resumeLogSink'?: boolean;
|
|
7741
7831
|
/** The type of log sink to target Example: "http" */
|
|
7742
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7832
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7833
|
+
/** Details about the undefined log sink. */
|
|
7834
|
+
'sinkData': {
|
|
7835
|
+
/** Solar Winds API Key Example: "Tr8BIEmYx1fuM3_XRMwU3xXEFnD20p9NFkRIu1COrDqMCM4g86qWZgVdgs1Y7mzWtFMI0Zc" */
|
|
7836
|
+
'api_key'?: string;
|
|
7837
|
+
'encoding'?: {
|
|
7838
|
+
/** Codec to encode logs in Example: "json" */
|
|
7839
|
+
'codec'?: 'text' | 'json';
|
|
7840
|
+
};
|
|
7841
|
+
/** Solar Winds endpoint type */
|
|
7842
|
+
'endpointType'?: 'unitary' | 'bulk';
|
|
7843
|
+
};
|
|
7844
|
+
} | {
|
|
7845
|
+
/** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
|
|
7846
|
+
'restricted'?: boolean;
|
|
7847
|
+
/** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
|
|
7848
|
+
'projects'?: string[];
|
|
7849
|
+
'options'?: {
|
|
7850
|
+
/** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
|
|
7851
|
+
'useCustomLabels'?: boolean;
|
|
7852
|
+
/** Forward CDN logs from your workloads Example: true */
|
|
7853
|
+
'forwardCdnLogs'?: boolean;
|
|
7854
|
+
/** Forward ingress logs from your workloads Example: true */
|
|
7855
|
+
'forwardIngressLogs'?: boolean;
|
|
7856
|
+
/** Forward mesh logs from your workloads Example: true */
|
|
7857
|
+
'forwardMeshLogs'?: boolean;
|
|
7858
|
+
};
|
|
7859
|
+
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7860
|
+
'resumeLogSink'?: boolean;
|
|
7861
|
+
/** The type of log sink to target Example: "http" */
|
|
7862
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7743
7863
|
/** Details about the Honeycomb log sink. */
|
|
7744
7864
|
'sinkData': {
|
|
7745
7865
|
/** Honeycomb API Key Example: "b1dd3feb585asd1a3e9" */
|
|
@@ -7765,7 +7885,7 @@ type UpdateLogsinkData = {
|
|
|
7765
7885
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7766
7886
|
'resumeLogSink'?: boolean;
|
|
7767
7887
|
/** The type of log sink to target Example: "http" */
|
|
7768
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7888
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7769
7889
|
/** Details about the Axiom log sink. */
|
|
7770
7890
|
'sinkData': {
|
|
7771
7891
|
/** Name of the data Example: "staging" */
|
|
@@ -7797,7 +7917,7 @@ type UpdateLogsinkData = {
|
|
|
7797
7917
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7798
7918
|
'resumeLogSink'?: boolean;
|
|
7799
7919
|
/** The type of log sink to target Example: "http" */
|
|
7800
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7920
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7801
7921
|
/** Details about the New Relic log sink. */
|
|
7802
7922
|
'sinkData': {
|
|
7803
7923
|
/** New Relic Account ID Example: "b1dd3feb585asd1a3e9" */
|
|
@@ -18690,6 +18810,8 @@ type PatchServiceBuildData = {
|
|
|
18690
18810
|
};
|
|
18691
18811
|
};
|
|
18692
18812
|
'dockerfile'?: {
|
|
18813
|
+
/** DEPRECATED: This field will be removed in the near future and currently has no effect. */
|
|
18814
|
+
'useCache'?: boolean;
|
|
18693
18815
|
/** Build engine to use. Defaults to recommended build engine `buildkit` Example: "buildkit" */
|
|
18694
18816
|
'buildEngine'?: 'buildkit' | 'kaniko';
|
|
18695
18817
|
/** The file path of the Dockerfile. Example: "/Dockerfile" */
|
|
@@ -19066,6 +19188,8 @@ type CreateServiceCombinedResult = {
|
|
|
19066
19188
|
'successThreshold'?: number;
|
|
19067
19189
|
}[];
|
|
19068
19190
|
'loadBalancing'?: {
|
|
19191
|
+
/** Enable headless service networking. */
|
|
19192
|
+
'enableHeadlessService'?: boolean;
|
|
19069
19193
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
19070
19194
|
'consistentHash'?: {
|
|
19071
19195
|
'mode': 'ip' | 'customHeader';
|
|
@@ -19605,6 +19729,8 @@ type CreateServiceCombinedData = {
|
|
|
19605
19729
|
'successThreshold'?: number;
|
|
19606
19730
|
}[];
|
|
19607
19731
|
'loadBalancing'?: {
|
|
19732
|
+
/** Enable headless service networking. */
|
|
19733
|
+
'enableHeadlessService'?: boolean;
|
|
19608
19734
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
19609
19735
|
'consistentHash'?: {
|
|
19610
19736
|
'mode': 'ip' | 'customHeader';
|
|
@@ -19976,6 +20102,8 @@ type PutServiceCombinedResult = {
|
|
|
19976
20102
|
'successThreshold'?: number;
|
|
19977
20103
|
}[];
|
|
19978
20104
|
'loadBalancing'?: {
|
|
20105
|
+
/** Enable headless service networking. */
|
|
20106
|
+
'enableHeadlessService'?: boolean;
|
|
19979
20107
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
19980
20108
|
'consistentHash'?: {
|
|
19981
20109
|
'mode': 'ip' | 'customHeader';
|
|
@@ -20515,6 +20643,8 @@ type PutServiceCombinedData = {
|
|
|
20515
20643
|
'successThreshold'?: number;
|
|
20516
20644
|
}[];
|
|
20517
20645
|
'loadBalancing'?: {
|
|
20646
|
+
/** Enable headless service networking. */
|
|
20647
|
+
'enableHeadlessService'?: boolean;
|
|
20518
20648
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
20519
20649
|
'consistentHash'?: {
|
|
20520
20650
|
'mode': 'ip' | 'customHeader';
|
|
@@ -20886,6 +21016,8 @@ type PatchServiceCombinedResult = {
|
|
|
20886
21016
|
'successThreshold'?: number;
|
|
20887
21017
|
}[];
|
|
20888
21018
|
'loadBalancing'?: {
|
|
21019
|
+
/** Enable headless service networking. */
|
|
21020
|
+
'enableHeadlessService'?: boolean;
|
|
20889
21021
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
20890
21022
|
'consistentHash'?: {
|
|
20891
21023
|
'mode': 'ip' | 'customHeader';
|
|
@@ -21323,6 +21455,8 @@ type PatchServiceCombinedData = {
|
|
|
21323
21455
|
};
|
|
21324
21456
|
};
|
|
21325
21457
|
'dockerfile'?: {
|
|
21458
|
+
/** DEPRECATED: This field will be removed in the near future and currently has no effect. */
|
|
21459
|
+
'useCache'?: boolean;
|
|
21326
21460
|
/** Build engine to use. Defaults to recommended build engine `buildkit` Example: "buildkit" */
|
|
21327
21461
|
'buildEngine'?: 'buildkit' | 'kaniko';
|
|
21328
21462
|
/** The file path of the Dockerfile. Example: "/Dockerfile" */
|
|
@@ -21408,6 +21542,8 @@ type PatchServiceCombinedData = {
|
|
|
21408
21542
|
'successThreshold'?: number;
|
|
21409
21543
|
}[];
|
|
21410
21544
|
'loadBalancing'?: {
|
|
21545
|
+
/** Enable headless service networking. */
|
|
21546
|
+
'enableHeadlessService'?: boolean;
|
|
21411
21547
|
'mode'?: 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
21412
21548
|
'consistentHash'?: {
|
|
21413
21549
|
'mode': 'ip' | 'customHeader';
|
|
@@ -21676,6 +21812,8 @@ type CreateServiceDeploymentResult = {
|
|
|
21676
21812
|
'successThreshold'?: number;
|
|
21677
21813
|
}[];
|
|
21678
21814
|
'loadBalancing'?: {
|
|
21815
|
+
/** Enable headless service networking. */
|
|
21816
|
+
'enableHeadlessService'?: boolean;
|
|
21679
21817
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
21680
21818
|
'consistentHash'?: {
|
|
21681
21819
|
'mode': 'ip' | 'customHeader';
|
|
@@ -22262,6 +22400,8 @@ type CreateServiceDeploymentData = {
|
|
|
22262
22400
|
'successThreshold'?: number;
|
|
22263
22401
|
}[];
|
|
22264
22402
|
'loadBalancing'?: {
|
|
22403
|
+
/** Enable headless service networking. */
|
|
22404
|
+
'enableHeadlessService'?: boolean;
|
|
22265
22405
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
22266
22406
|
'consistentHash'?: {
|
|
22267
22407
|
'mode': 'ip' | 'customHeader';
|
|
@@ -22532,6 +22672,8 @@ type PutServiceDeploymentResult = {
|
|
|
22532
22672
|
'successThreshold'?: number;
|
|
22533
22673
|
}[];
|
|
22534
22674
|
'loadBalancing'?: {
|
|
22675
|
+
/** Enable headless service networking. */
|
|
22676
|
+
'enableHeadlessService'?: boolean;
|
|
22535
22677
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
22536
22678
|
'consistentHash'?: {
|
|
22537
22679
|
'mode': 'ip' | 'customHeader';
|
|
@@ -23118,6 +23260,8 @@ type PutServiceDeploymentData = {
|
|
|
23118
23260
|
'successThreshold'?: number;
|
|
23119
23261
|
}[];
|
|
23120
23262
|
'loadBalancing'?: {
|
|
23263
|
+
/** Enable headless service networking. */
|
|
23264
|
+
'enableHeadlessService'?: boolean;
|
|
23121
23265
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
23122
23266
|
'consistentHash'?: {
|
|
23123
23267
|
'mode': 'ip' | 'customHeader';
|
|
@@ -23388,6 +23532,8 @@ type PatchServiceDeploymentResult = {
|
|
|
23388
23532
|
'successThreshold'?: number;
|
|
23389
23533
|
}[];
|
|
23390
23534
|
'loadBalancing'?: {
|
|
23535
|
+
/** Enable headless service networking. */
|
|
23536
|
+
'enableHeadlessService'?: boolean;
|
|
23391
23537
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
23392
23538
|
'consistentHash'?: {
|
|
23393
23539
|
'mode': 'ip' | 'customHeader';
|
|
@@ -23971,6 +24117,8 @@ type PatchServiceDeploymentData = {
|
|
|
23971
24117
|
'successThreshold'?: number;
|
|
23972
24118
|
}[];
|
|
23973
24119
|
'loadBalancing'?: {
|
|
24120
|
+
/** Enable headless service networking. */
|
|
24121
|
+
'enableHeadlessService'?: boolean;
|
|
23974
24122
|
'mode'?: 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
23975
24123
|
'consistentHash'?: {
|
|
23976
24124
|
'mode': 'ip' | 'customHeader';
|
|
@@ -24199,6 +24347,8 @@ type GetServiceResult = {
|
|
|
24199
24347
|
'imageUrl'?: string;
|
|
24200
24348
|
};
|
|
24201
24349
|
'loadBalancing'?: {
|
|
24350
|
+
/** Enable headless service networking. */
|
|
24351
|
+
'enableHeadlessService'?: boolean;
|
|
24202
24352
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
24203
24353
|
'consistentHash'?: {
|
|
24204
24354
|
'mode': 'ip' | 'customHeader';
|
|
@@ -27184,17 +27334,29 @@ declare class ApiClient {
|
|
|
27184
27334
|
service: {
|
|
27185
27335
|
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFiles'];
|
|
27186
27336
|
};
|
|
27337
|
+
serviceStream: {
|
|
27338
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFileStream'];
|
|
27339
|
+
};
|
|
27187
27340
|
job: {
|
|
27188
27341
|
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFiles'];
|
|
27189
27342
|
};
|
|
27343
|
+
jobStream: {
|
|
27344
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFileStream'];
|
|
27345
|
+
};
|
|
27190
27346
|
};
|
|
27191
27347
|
upload: {
|
|
27192
27348
|
service: {
|
|
27193
27349
|
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFiles'];
|
|
27194
27350
|
};
|
|
27351
|
+
serviceStream: {
|
|
27352
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFileStream'];
|
|
27353
|
+
};
|
|
27195
27354
|
job: {
|
|
27196
27355
|
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFiles'];
|
|
27197
27356
|
};
|
|
27357
|
+
jobStream: {
|
|
27358
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFileStream'];
|
|
27359
|
+
};
|
|
27198
27360
|
};
|
|
27199
27361
|
get: {
|
|
27200
27362
|
addon: GetAddonCall & {
|
|
@@ -27608,17 +27770,29 @@ declare class ApiClient {
|
|
|
27608
27770
|
service: {
|
|
27609
27771
|
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFiles'];
|
|
27610
27772
|
};
|
|
27773
|
+
serviceStream: {
|
|
27774
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFileStream'];
|
|
27775
|
+
};
|
|
27611
27776
|
job: {
|
|
27612
27777
|
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFiles'];
|
|
27613
27778
|
};
|
|
27779
|
+
jobStream: {
|
|
27780
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFileStream'];
|
|
27781
|
+
};
|
|
27614
27782
|
};
|
|
27615
27783
|
upload: {
|
|
27616
27784
|
service: {
|
|
27617
27785
|
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFiles'];
|
|
27618
27786
|
};
|
|
27787
|
+
serviceStream: {
|
|
27788
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFileStream'];
|
|
27789
|
+
};
|
|
27619
27790
|
job: {
|
|
27620
27791
|
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFiles'];
|
|
27621
27792
|
};
|
|
27793
|
+
jobStream: {
|
|
27794
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFileStream'];
|
|
27795
|
+
};
|
|
27622
27796
|
};
|
|
27623
27797
|
get: {
|
|
27624
27798
|
addon: GetAddonEndpoint & {
|