@cdktn/provider-docker 12.1.0 → 13.1.0
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/.jsii +9058 -3437
- package/README.md +13 -13
- package/lib/buildx-builder/index.d.ts +110 -110
- package/lib/buildx-builder/index.js +148 -148
- package/lib/config/index.d.ts +12 -12
- package/lib/config/index.js +16 -16
- package/lib/container/index.d.ts +367 -345
- package/lib/container/index.js +428 -381
- package/lib/data-docker-image/index.d.ts +11 -11
- package/lib/data-docker-image/index.js +14 -14
- package/lib/data-docker-logs/index.d.ts +49 -49
- package/lib/data-docker-logs/index.js +34 -34
- package/lib/data-docker-network/index.d.ts +18 -18
- package/lib/data-docker-network/index.js +22 -22
- package/lib/data-docker-plugin/index.d.ts +13 -13
- package/lib/data-docker-plugin/index.js +15 -15
- package/lib/data-docker-registry-image/index.d.ts +16 -16
- package/lib/data-docker-registry-image/index.js +16 -16
- package/lib/data-docker-registry-image-manifests/index.d.ts +27 -27
- package/lib/data-docker-registry-image-manifests/index.js +36 -36
- package/lib/image/index.d.ts +174 -152
- package/lib/image/index.js +223 -171
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/lib/lazy-index.d.ts +1 -1
- package/lib/lazy-index.js +3 -3
- package/lib/network/index.d.ts +74 -74
- package/lib/network/index.js +66 -66
- package/lib/plugin/index.d.ts +50 -50
- package/lib/plugin/index.js +45 -45
- package/lib/provider/index.d.ts +35 -35
- package/lib/provider/index.js +46 -46
- package/lib/registry-image/index.d.ts +809 -28
- package/lib/registry-image/index.js +1883 -35
- package/lib/secret/index.d.ts +28 -28
- package/lib/secret/index.js +31 -31
- package/lib/service/index.d.ts +352 -351
- package/lib/service/index.js +491 -488
- package/lib/tag/index.d.ts +13 -13
- package/lib/tag/index.js +19 -19
- package/lib/volume/index.d.ts +154 -29
- package/lib/volume/index.js +349 -38
- package/package.json +20 -10
package/lib/image/index.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright IBM Corp. 2021, 2026
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { Construct } from 'constructs';
|
|
6
|
-
import * as
|
|
7
|
-
export interface ImageConfig extends
|
|
6
|
+
import * as cdktn from 'cdktn';
|
|
7
|
+
export interface ImageConfig extends cdktn.TerraformMetaArguments {
|
|
8
8
|
/**
|
|
9
9
|
* If true, then the image is removed forcibly when the resource is destroyed.
|
|
10
10
|
*
|
|
11
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#force_remove Image#force_remove}
|
|
12
12
|
*/
|
|
13
|
-
readonly forceRemove?: boolean |
|
|
13
|
+
readonly forceRemove?: boolean | cdktn.IResolvable;
|
|
14
14
|
/**
|
|
15
15
|
* If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
|
|
16
16
|
*
|
|
17
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#keep_locally Image#keep_locally}
|
|
18
18
|
*/
|
|
19
|
-
readonly keepLocally?: boolean |
|
|
19
|
+
readonly keepLocally?: boolean | cdktn.IResolvable;
|
|
20
20
|
/**
|
|
21
21
|
* The name of the Docker image, including any tags or SHA256 repo digests.
|
|
22
22
|
*
|
|
23
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#name Image#name}
|
|
24
24
|
*/
|
|
25
25
|
readonly name: string;
|
|
26
26
|
/**
|
|
27
27
|
* The platform to use when pulling the image. Defaults to the platform of the current machine.
|
|
28
28
|
*
|
|
29
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#platform Image#platform}
|
|
30
30
|
*/
|
|
31
31
|
readonly platform?: string;
|
|
32
32
|
/**
|
|
33
33
|
* List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the [docker_registry_image](../data-sources/registry_image.md).
|
|
34
34
|
*
|
|
35
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#pull_triggers Image#pull_triggers}
|
|
36
36
|
*/
|
|
37
37
|
readonly pullTriggers?: string[];
|
|
38
38
|
/**
|
|
39
39
|
* A map of arbitrary strings that, when changed, will force the `docker_image` resource to be replaced. This can be used to rebuild an image when contents of source code folders change
|
|
40
40
|
*
|
|
41
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#triggers Image#triggers}
|
|
42
42
|
*/
|
|
43
43
|
readonly triggers?: {
|
|
44
44
|
[key: string]: string;
|
|
@@ -46,13 +46,13 @@ export interface ImageConfig extends cdktf.TerraformMetaArguments {
|
|
|
46
46
|
/**
|
|
47
47
|
* build block
|
|
48
48
|
*
|
|
49
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
49
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#build Image#build}
|
|
50
50
|
*/
|
|
51
51
|
readonly buildAttribute?: ImageBuild;
|
|
52
52
|
/**
|
|
53
53
|
* timeouts block
|
|
54
54
|
*
|
|
55
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
55
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#timeouts Image#timeouts}
|
|
56
56
|
*/
|
|
57
57
|
readonly timeouts?: ImageTimeouts;
|
|
58
58
|
}
|
|
@@ -60,55 +60,55 @@ export interface ImageBuildAuthConfig {
|
|
|
60
60
|
/**
|
|
61
61
|
* the auth token
|
|
62
62
|
*
|
|
63
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
63
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#auth Image#auth}
|
|
64
64
|
*/
|
|
65
65
|
readonly auth?: string;
|
|
66
66
|
/**
|
|
67
67
|
* the user emal
|
|
68
68
|
*
|
|
69
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
69
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#email Image#email}
|
|
70
70
|
*/
|
|
71
71
|
readonly email?: string;
|
|
72
72
|
/**
|
|
73
73
|
* hostname of the registry
|
|
74
74
|
*
|
|
75
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
75
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#host_name Image#host_name}
|
|
76
76
|
*/
|
|
77
77
|
readonly hostName: string;
|
|
78
78
|
/**
|
|
79
79
|
* the identity token
|
|
80
80
|
*
|
|
81
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
81
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#identity_token Image#identity_token}
|
|
82
82
|
*/
|
|
83
83
|
readonly identityToken?: string;
|
|
84
84
|
/**
|
|
85
85
|
* the registry password
|
|
86
86
|
*
|
|
87
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
87
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#password Image#password}
|
|
88
88
|
*/
|
|
89
89
|
readonly password?: string;
|
|
90
90
|
/**
|
|
91
91
|
* the registry token
|
|
92
92
|
*
|
|
93
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
93
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#registry_token Image#registry_token}
|
|
94
94
|
*/
|
|
95
95
|
readonly registryToken?: string;
|
|
96
96
|
/**
|
|
97
97
|
* the server address
|
|
98
98
|
*
|
|
99
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
99
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#server_address Image#server_address}
|
|
100
100
|
*/
|
|
101
101
|
readonly serverAddress?: string;
|
|
102
102
|
/**
|
|
103
103
|
* the registry user name
|
|
104
104
|
*
|
|
105
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
105
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#user_name Image#user_name}
|
|
106
106
|
*/
|
|
107
107
|
readonly userName?: string;
|
|
108
108
|
}
|
|
109
|
-
export declare function imageBuildAuthConfigToTerraform(struct?: ImageBuildAuthConfig |
|
|
110
|
-
export declare function imageBuildAuthConfigToHclTerraform(struct?: ImageBuildAuthConfig |
|
|
111
|
-
export declare class ImageBuildAuthConfigOutputReference extends
|
|
109
|
+
export declare function imageBuildAuthConfigToTerraform(struct?: ImageBuildAuthConfig | cdktn.IResolvable): any;
|
|
110
|
+
export declare function imageBuildAuthConfigToHclTerraform(struct?: ImageBuildAuthConfig | cdktn.IResolvable): any;
|
|
111
|
+
export declare class ImageBuildAuthConfigOutputReference extends cdktn.ComplexObject {
|
|
112
112
|
private isEmptyObject;
|
|
113
113
|
private resolvableValue?;
|
|
114
114
|
/**
|
|
@@ -117,9 +117,9 @@ export declare class ImageBuildAuthConfigOutputReference extends cdktf.ComplexOb
|
|
|
117
117
|
* @param complexObjectIndex the index of this item in the list
|
|
118
118
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
119
119
|
*/
|
|
120
|
-
constructor(terraformResource:
|
|
121
|
-
get internalValue(): ImageBuildAuthConfig |
|
|
122
|
-
set internalValue(value: ImageBuildAuthConfig |
|
|
120
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
121
|
+
get internalValue(): ImageBuildAuthConfig | cdktn.IResolvable | undefined;
|
|
122
|
+
set internalValue(value: ImageBuildAuthConfig | cdktn.IResolvable | undefined);
|
|
123
123
|
private _auth?;
|
|
124
124
|
get auth(): string;
|
|
125
125
|
set auth(value: string);
|
|
@@ -160,17 +160,17 @@ export declare class ImageBuildAuthConfigOutputReference extends cdktf.ComplexOb
|
|
|
160
160
|
resetUserName(): void;
|
|
161
161
|
get userNameInput(): string | undefined;
|
|
162
162
|
}
|
|
163
|
-
export declare class ImageBuildAuthConfigList extends
|
|
164
|
-
protected terraformResource:
|
|
163
|
+
export declare class ImageBuildAuthConfigList extends cdktn.ComplexList {
|
|
164
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
165
165
|
protected terraformAttribute: string;
|
|
166
166
|
protected wrapsSet: boolean;
|
|
167
|
-
internalValue?: ImageBuildAuthConfig[] |
|
|
167
|
+
internalValue?: ImageBuildAuthConfig[] | cdktn.IResolvable;
|
|
168
168
|
/**
|
|
169
169
|
* @param terraformResource The parent resource
|
|
170
170
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
171
171
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
172
172
|
*/
|
|
173
|
-
constructor(terraformResource:
|
|
173
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
174
174
|
/**
|
|
175
175
|
* @param index the index of the item to return
|
|
176
176
|
*/
|
|
@@ -180,13 +180,13 @@ export interface ImageBuildSecrets {
|
|
|
180
180
|
/**
|
|
181
181
|
* Environment variable source of the secret
|
|
182
182
|
*
|
|
183
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
183
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#env Image#env}
|
|
184
184
|
*/
|
|
185
185
|
readonly env?: string;
|
|
186
186
|
/**
|
|
187
187
|
* ID of the secret. By default, secrets are mounted to /run/secrets/<id>
|
|
188
188
|
*
|
|
189
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
189
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#id Image#id}
|
|
190
190
|
*
|
|
191
191
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
192
192
|
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -195,13 +195,13 @@ export interface ImageBuildSecrets {
|
|
|
195
195
|
/**
|
|
196
196
|
* File source of the secret. Takes precedence over `env`
|
|
197
197
|
*
|
|
198
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
198
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#src Image#src}
|
|
199
199
|
*/
|
|
200
200
|
readonly src?: string;
|
|
201
201
|
}
|
|
202
|
-
export declare function imageBuildSecretsToTerraform(struct?: ImageBuildSecrets |
|
|
203
|
-
export declare function imageBuildSecretsToHclTerraform(struct?: ImageBuildSecrets |
|
|
204
|
-
export declare class ImageBuildSecretsOutputReference extends
|
|
202
|
+
export declare function imageBuildSecretsToTerraform(struct?: ImageBuildSecrets | cdktn.IResolvable): any;
|
|
203
|
+
export declare function imageBuildSecretsToHclTerraform(struct?: ImageBuildSecrets | cdktn.IResolvable): any;
|
|
204
|
+
export declare class ImageBuildSecretsOutputReference extends cdktn.ComplexObject {
|
|
205
205
|
private isEmptyObject;
|
|
206
206
|
private resolvableValue?;
|
|
207
207
|
/**
|
|
@@ -210,9 +210,9 @@ export declare class ImageBuildSecretsOutputReference extends cdktf.ComplexObjec
|
|
|
210
210
|
* @param complexObjectIndex the index of this item in the list
|
|
211
211
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
212
212
|
*/
|
|
213
|
-
constructor(terraformResource:
|
|
214
|
-
get internalValue(): ImageBuildSecrets |
|
|
215
|
-
set internalValue(value: ImageBuildSecrets |
|
|
213
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
214
|
+
get internalValue(): ImageBuildSecrets | cdktn.IResolvable | undefined;
|
|
215
|
+
set internalValue(value: ImageBuildSecrets | cdktn.IResolvable | undefined);
|
|
216
216
|
private _env?;
|
|
217
217
|
get env(): string;
|
|
218
218
|
set env(value: string);
|
|
@@ -228,17 +228,17 @@ export declare class ImageBuildSecretsOutputReference extends cdktf.ComplexObjec
|
|
|
228
228
|
resetSrc(): void;
|
|
229
229
|
get srcInput(): string | undefined;
|
|
230
230
|
}
|
|
231
|
-
export declare class ImageBuildSecretsList extends
|
|
232
|
-
protected terraformResource:
|
|
231
|
+
export declare class ImageBuildSecretsList extends cdktn.ComplexList {
|
|
232
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
233
233
|
protected terraformAttribute: string;
|
|
234
234
|
protected wrapsSet: boolean;
|
|
235
|
-
internalValue?: ImageBuildSecrets[] |
|
|
235
|
+
internalValue?: ImageBuildSecrets[] | cdktn.IResolvable;
|
|
236
236
|
/**
|
|
237
237
|
* @param terraformResource The parent resource
|
|
238
238
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
239
239
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
240
240
|
*/
|
|
241
|
-
constructor(terraformResource:
|
|
241
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
242
242
|
/**
|
|
243
243
|
* @param index the index of the item to return
|
|
244
244
|
*/
|
|
@@ -248,25 +248,25 @@ export interface ImageBuildUlimit {
|
|
|
248
248
|
/**
|
|
249
249
|
* soft limit
|
|
250
250
|
*
|
|
251
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
251
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#hard Image#hard}
|
|
252
252
|
*/
|
|
253
253
|
readonly hard: number;
|
|
254
254
|
/**
|
|
255
255
|
* type of ulimit, e.g. `nofile`
|
|
256
256
|
*
|
|
257
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
257
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#name Image#name}
|
|
258
258
|
*/
|
|
259
259
|
readonly name: string;
|
|
260
260
|
/**
|
|
261
261
|
* hard limit
|
|
262
262
|
*
|
|
263
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
263
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#soft Image#soft}
|
|
264
264
|
*/
|
|
265
265
|
readonly soft: number;
|
|
266
266
|
}
|
|
267
|
-
export declare function imageBuildUlimitToTerraform(struct?: ImageBuildUlimit |
|
|
268
|
-
export declare function imageBuildUlimitToHclTerraform(struct?: ImageBuildUlimit |
|
|
269
|
-
export declare class ImageBuildUlimitOutputReference extends
|
|
267
|
+
export declare function imageBuildUlimitToTerraform(struct?: ImageBuildUlimit | cdktn.IResolvable): any;
|
|
268
|
+
export declare function imageBuildUlimitToHclTerraform(struct?: ImageBuildUlimit | cdktn.IResolvable): any;
|
|
269
|
+
export declare class ImageBuildUlimitOutputReference extends cdktn.ComplexObject {
|
|
270
270
|
private isEmptyObject;
|
|
271
271
|
private resolvableValue?;
|
|
272
272
|
/**
|
|
@@ -275,9 +275,9 @@ export declare class ImageBuildUlimitOutputReference extends cdktf.ComplexObject
|
|
|
275
275
|
* @param complexObjectIndex the index of this item in the list
|
|
276
276
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
277
277
|
*/
|
|
278
|
-
constructor(terraformResource:
|
|
279
|
-
get internalValue(): ImageBuildUlimit |
|
|
280
|
-
set internalValue(value: ImageBuildUlimit |
|
|
278
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
279
|
+
get internalValue(): ImageBuildUlimit | cdktn.IResolvable | undefined;
|
|
280
|
+
set internalValue(value: ImageBuildUlimit | cdktn.IResolvable | undefined);
|
|
281
281
|
private _hard?;
|
|
282
282
|
get hard(): number;
|
|
283
283
|
set hard(value: number);
|
|
@@ -291,27 +291,33 @@ export declare class ImageBuildUlimitOutputReference extends cdktf.ComplexObject
|
|
|
291
291
|
set soft(value: number);
|
|
292
292
|
get softInput(): number | undefined;
|
|
293
293
|
}
|
|
294
|
-
export declare class ImageBuildUlimitList extends
|
|
295
|
-
protected terraformResource:
|
|
294
|
+
export declare class ImageBuildUlimitList extends cdktn.ComplexList {
|
|
295
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
296
296
|
protected terraformAttribute: string;
|
|
297
297
|
protected wrapsSet: boolean;
|
|
298
|
-
internalValue?: ImageBuildUlimit[] |
|
|
298
|
+
internalValue?: ImageBuildUlimit[] | cdktn.IResolvable;
|
|
299
299
|
/**
|
|
300
300
|
* @param terraformResource The parent resource
|
|
301
301
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
302
302
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
303
303
|
*/
|
|
304
|
-
constructor(terraformResource:
|
|
304
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
305
305
|
/**
|
|
306
306
|
* @param index the index of the item to return
|
|
307
307
|
*/
|
|
308
308
|
get(index: number): ImageBuildUlimitOutputReference;
|
|
309
309
|
}
|
|
310
310
|
export interface ImageBuild {
|
|
311
|
+
/**
|
|
312
|
+
* A list of additional build contexts. Only supported when using a buildx builder. Example: `["name=path", "src = https://example.org"}`. Please see https://docs.docker.com/reference/cli/docker/buildx/build/#build-context for more information.
|
|
313
|
+
*
|
|
314
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#additional_contexts Image#additional_contexts}
|
|
315
|
+
*/
|
|
316
|
+
readonly additionalContexts?: string[];
|
|
311
317
|
/**
|
|
312
318
|
* Pairs for build-time variables in the form of `ENDPOINT : "https://example.com"`
|
|
313
319
|
*
|
|
314
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
320
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#build_args Image#build_args}
|
|
315
321
|
*/
|
|
316
322
|
readonly buildArgs?: {
|
|
317
323
|
[key: string]: string;
|
|
@@ -319,97 +325,103 @@ export interface ImageBuild {
|
|
|
319
325
|
/**
|
|
320
326
|
* BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
|
|
321
327
|
*
|
|
322
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
328
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#build_id Image#build_id}
|
|
323
329
|
*/
|
|
324
330
|
readonly buildId?: string;
|
|
325
331
|
/**
|
|
326
332
|
* Path to a file where the buildx log are written to. Only available when `builder` is set. If not set, no logs are available. The path is taken as is, so make sure to use a path that is available.
|
|
327
333
|
*
|
|
328
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
334
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#build_log_file Image#build_log_file}
|
|
329
335
|
*/
|
|
330
336
|
readonly buildLogFile?: string;
|
|
331
337
|
/**
|
|
332
338
|
* Set the name of the buildx builder to use. If not set, the legacy builder is used.
|
|
333
339
|
*
|
|
334
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
340
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#builder Image#builder}
|
|
335
341
|
*/
|
|
336
342
|
readonly builder?: string;
|
|
337
343
|
/**
|
|
338
|
-
*
|
|
344
|
+
* External cache sources (e.g., `user/app:cache`, `type=local,src=path/to/dir`). Only supported when using a buildx builder.
|
|
339
345
|
*
|
|
340
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
346
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cache_from Image#cache_from}
|
|
341
347
|
*/
|
|
342
348
|
readonly cacheFrom?: string[];
|
|
343
349
|
/**
|
|
350
|
+
* Cache export destinations (e.g., `user/app:cache`, `type=local,dest=path/to/dir`). Only supported when using a buildx builder.
|
|
351
|
+
*
|
|
352
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cache_to Image#cache_to}
|
|
353
|
+
*/
|
|
354
|
+
readonly cacheTo?: string[];
|
|
355
|
+
/**
|
|
344
356
|
* Optional parent cgroup for the container
|
|
345
357
|
*
|
|
346
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
358
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cgroup_parent Image#cgroup_parent}
|
|
347
359
|
*/
|
|
348
360
|
readonly cgroupParent?: string;
|
|
349
361
|
/**
|
|
350
362
|
* Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. This always refers to the local working directory, even when building images on remote hosts. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
|
|
351
363
|
*
|
|
352
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
364
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#context Image#context}
|
|
353
365
|
*/
|
|
354
366
|
readonly context: string;
|
|
355
367
|
/**
|
|
356
368
|
* The length of a CPU period in microseconds
|
|
357
369
|
*
|
|
358
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
370
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cpu_period Image#cpu_period}
|
|
359
371
|
*/
|
|
360
372
|
readonly cpuPeriod?: number;
|
|
361
373
|
/**
|
|
362
374
|
* Microseconds of CPU time that the container can get in a CPU period
|
|
363
375
|
*
|
|
364
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
376
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cpu_quota Image#cpu_quota}
|
|
365
377
|
*/
|
|
366
378
|
readonly cpuQuota?: number;
|
|
367
379
|
/**
|
|
368
380
|
* CPUs in which to allow execution (e.g., `0-3`, `0`, `1`)
|
|
369
381
|
*
|
|
370
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
382
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cpu_set_cpus Image#cpu_set_cpus}
|
|
371
383
|
*/
|
|
372
384
|
readonly cpuSetCpus?: string;
|
|
373
385
|
/**
|
|
374
386
|
* MEMs in which to allow execution (`0-3`, `0`, `1`)
|
|
375
387
|
*
|
|
376
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
388
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cpu_set_mems Image#cpu_set_mems}
|
|
377
389
|
*/
|
|
378
390
|
readonly cpuSetMems?: string;
|
|
379
391
|
/**
|
|
380
392
|
* CPU shares (relative weight)
|
|
381
393
|
*
|
|
382
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
394
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#cpu_shares Image#cpu_shares}
|
|
383
395
|
*/
|
|
384
396
|
readonly cpuShares?: number;
|
|
385
397
|
/**
|
|
386
398
|
* Name of the Dockerfile. Defaults to `Dockerfile`.
|
|
387
399
|
*
|
|
388
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
400
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#dockerfile Image#dockerfile}
|
|
389
401
|
*/
|
|
390
402
|
readonly dockerfile?: string;
|
|
391
403
|
/**
|
|
392
404
|
* A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]
|
|
393
405
|
*
|
|
394
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
406
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#extra_hosts Image#extra_hosts}
|
|
395
407
|
*/
|
|
396
408
|
readonly extraHosts?: string[];
|
|
397
409
|
/**
|
|
398
410
|
* Always remove intermediate containers
|
|
399
411
|
*
|
|
400
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
412
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#force_remove Image#force_remove}
|
|
401
413
|
*/
|
|
402
|
-
readonly forceRemove?: boolean |
|
|
414
|
+
readonly forceRemove?: boolean | cdktn.IResolvable;
|
|
403
415
|
/**
|
|
404
416
|
* Isolation represents the isolation technology of a container. The supported values are
|
|
405
417
|
*
|
|
406
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
418
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#isolation Image#isolation}
|
|
407
419
|
*/
|
|
408
420
|
readonly isolation?: string;
|
|
409
421
|
/**
|
|
410
422
|
* Set metadata for an image
|
|
411
423
|
*
|
|
412
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
424
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#label Image#label}
|
|
413
425
|
*/
|
|
414
426
|
readonly label?: {
|
|
415
427
|
[key: string]: string;
|
|
@@ -417,7 +429,7 @@ export interface ImageBuild {
|
|
|
417
429
|
/**
|
|
418
430
|
* User-defined key/value metadata
|
|
419
431
|
*
|
|
420
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
432
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#labels Image#labels}
|
|
421
433
|
*/
|
|
422
434
|
readonly labels?: {
|
|
423
435
|
[key: string]: string;
|
|
@@ -425,129 +437,134 @@ export interface ImageBuild {
|
|
|
425
437
|
/**
|
|
426
438
|
* Set memory limit for build
|
|
427
439
|
*
|
|
428
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
440
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#memory Image#memory}
|
|
429
441
|
*/
|
|
430
442
|
readonly memory?: number;
|
|
431
443
|
/**
|
|
432
444
|
* Total memory (memory + swap), -1 to enable unlimited swap
|
|
433
445
|
*
|
|
434
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
446
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#memory_swap Image#memory_swap}
|
|
435
447
|
*/
|
|
436
448
|
readonly memorySwap?: number;
|
|
437
449
|
/**
|
|
438
450
|
* Set the networking mode for the RUN instructions during build
|
|
439
451
|
*
|
|
440
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
452
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#network_mode Image#network_mode}
|
|
441
453
|
*/
|
|
442
454
|
readonly networkMode?: string;
|
|
443
455
|
/**
|
|
444
456
|
* Do not use the cache when building the image
|
|
445
457
|
*
|
|
446
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
458
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#no_cache Image#no_cache}
|
|
447
459
|
*/
|
|
448
|
-
readonly noCache?: boolean |
|
|
460
|
+
readonly noCache?: boolean | cdktn.IResolvable;
|
|
449
461
|
/**
|
|
450
462
|
* Set the target platform for the build. Defaults to `GOOS/GOARCH`. For more information see the [docker documentation](https://github.com/docker/buildx/blob/master/docs/reference/buildx.md#-set-the-target-platforms-for-the-build---platform)
|
|
451
463
|
*
|
|
452
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
464
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#platform Image#platform}
|
|
453
465
|
*/
|
|
454
466
|
readonly platform?: string;
|
|
455
467
|
/**
|
|
456
468
|
* Attempt to pull the image even if an older image exists locally
|
|
457
469
|
*
|
|
458
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
470
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#pull_parent Image#pull_parent}
|
|
459
471
|
*/
|
|
460
|
-
readonly pullParent?: boolean |
|
|
472
|
+
readonly pullParent?: boolean | cdktn.IResolvable;
|
|
461
473
|
/**
|
|
462
474
|
* A Git repository URI or HTTP/HTTPS context URI. Will be ignored if `builder` is set.
|
|
463
475
|
*
|
|
464
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
476
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#remote_context Image#remote_context}
|
|
465
477
|
*/
|
|
466
478
|
readonly remoteContext?: string;
|
|
467
479
|
/**
|
|
468
480
|
* Remove intermediate containers after a successful build. Defaults to `true`.
|
|
469
481
|
*
|
|
470
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
482
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#remove Image#remove}
|
|
471
483
|
*/
|
|
472
|
-
readonly remove?: boolean |
|
|
484
|
+
readonly remove?: boolean | cdktn.IResolvable;
|
|
473
485
|
/**
|
|
474
486
|
* The security options
|
|
475
487
|
*
|
|
476
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
488
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#security_opt Image#security_opt}
|
|
477
489
|
*/
|
|
478
490
|
readonly securityOpt?: string[];
|
|
479
491
|
/**
|
|
480
492
|
* Set an ID for the build session
|
|
481
493
|
*
|
|
482
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
494
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#session_id Image#session_id}
|
|
483
495
|
*/
|
|
484
496
|
readonly sessionId?: string;
|
|
485
497
|
/**
|
|
486
498
|
* Size of /dev/shm in bytes. The size must be greater than 0
|
|
487
499
|
*
|
|
488
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
500
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#shm_size Image#shm_size}
|
|
489
501
|
*/
|
|
490
502
|
readonly shmSize?: number;
|
|
491
503
|
/**
|
|
492
504
|
* If true the new layers are squashed into a new image with a single new layer
|
|
493
505
|
*
|
|
494
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
506
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#squash Image#squash}
|
|
495
507
|
*/
|
|
496
|
-
readonly squash?: boolean |
|
|
508
|
+
readonly squash?: boolean | cdktn.IResolvable;
|
|
497
509
|
/**
|
|
498
510
|
* Suppress the build output and print image ID on success
|
|
499
511
|
*
|
|
500
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
512
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#suppress_output Image#suppress_output}
|
|
501
513
|
*/
|
|
502
|
-
readonly suppressOutput?: boolean |
|
|
514
|
+
readonly suppressOutput?: boolean | cdktn.IResolvable;
|
|
503
515
|
/**
|
|
504
516
|
* Name and optionally a tag in the 'name:tag' format
|
|
505
517
|
*
|
|
506
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
518
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#tag Image#tag}
|
|
507
519
|
*/
|
|
508
520
|
readonly tag?: string[];
|
|
509
521
|
/**
|
|
510
522
|
* Set the target build stage to build
|
|
511
523
|
*
|
|
512
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
524
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#target Image#target}
|
|
513
525
|
*/
|
|
514
526
|
readonly target?: string;
|
|
515
527
|
/**
|
|
516
528
|
* Version of the underlying builder to use
|
|
517
529
|
*
|
|
518
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
530
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#version Image#version}
|
|
519
531
|
*/
|
|
520
532
|
readonly version?: string;
|
|
521
533
|
/**
|
|
522
534
|
* auth_config block
|
|
523
535
|
*
|
|
524
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
536
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#auth_config Image#auth_config}
|
|
525
537
|
*/
|
|
526
|
-
readonly authConfig?: ImageBuildAuthConfig[] |
|
|
538
|
+
readonly authConfig?: ImageBuildAuthConfig[] | cdktn.IResolvable;
|
|
527
539
|
/**
|
|
528
540
|
* secrets block
|
|
529
541
|
*
|
|
530
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
542
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#secrets Image#secrets}
|
|
531
543
|
*/
|
|
532
|
-
readonly secrets?: ImageBuildSecrets[] |
|
|
544
|
+
readonly secrets?: ImageBuildSecrets[] | cdktn.IResolvable;
|
|
533
545
|
/**
|
|
534
546
|
* ulimit block
|
|
535
547
|
*
|
|
536
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
548
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#ulimit Image#ulimit}
|
|
537
549
|
*/
|
|
538
|
-
readonly ulimit?: ImageBuildUlimit[] |
|
|
550
|
+
readonly ulimit?: ImageBuildUlimit[] | cdktn.IResolvable;
|
|
539
551
|
}
|
|
540
552
|
export declare function imageBuildToTerraform(struct?: ImageBuildOutputReference | ImageBuild): any;
|
|
541
553
|
export declare function imageBuildToHclTerraform(struct?: ImageBuildOutputReference | ImageBuild): any;
|
|
542
|
-
export declare class ImageBuildOutputReference extends
|
|
554
|
+
export declare class ImageBuildOutputReference extends cdktn.ComplexObject {
|
|
543
555
|
private isEmptyObject;
|
|
544
556
|
/**
|
|
545
557
|
* @param terraformResource The parent resource
|
|
546
558
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
547
559
|
*/
|
|
548
|
-
constructor(terraformResource:
|
|
560
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
549
561
|
get internalValue(): ImageBuild | undefined;
|
|
550
562
|
set internalValue(value: ImageBuild | undefined);
|
|
563
|
+
private _additionalContexts?;
|
|
564
|
+
get additionalContexts(): string[];
|
|
565
|
+
set additionalContexts(value: string[]);
|
|
566
|
+
resetAdditionalContexts(): void;
|
|
567
|
+
get additionalContextsInput(): string[] | undefined;
|
|
551
568
|
private _buildArgs?;
|
|
552
569
|
get buildArgs(): {
|
|
553
570
|
[key: string]: string;
|
|
@@ -579,6 +596,11 @@ export declare class ImageBuildOutputReference extends cdktf.ComplexObject {
|
|
|
579
596
|
set cacheFrom(value: string[]);
|
|
580
597
|
resetCacheFrom(): void;
|
|
581
598
|
get cacheFromInput(): string[] | undefined;
|
|
599
|
+
private _cacheTo?;
|
|
600
|
+
get cacheTo(): string[];
|
|
601
|
+
set cacheTo(value: string[]);
|
|
602
|
+
resetCacheTo(): void;
|
|
603
|
+
get cacheToInput(): string[] | undefined;
|
|
582
604
|
private _cgroupParent?;
|
|
583
605
|
get cgroupParent(): string;
|
|
584
606
|
set cgroupParent(value: string);
|
|
@@ -624,10 +646,10 @@ export declare class ImageBuildOutputReference extends cdktf.ComplexObject {
|
|
|
624
646
|
resetExtraHosts(): void;
|
|
625
647
|
get extraHostsInput(): string[] | undefined;
|
|
626
648
|
private _forceRemove?;
|
|
627
|
-
get forceRemove(): boolean |
|
|
628
|
-
set forceRemove(value: boolean |
|
|
649
|
+
get forceRemove(): boolean | cdktn.IResolvable;
|
|
650
|
+
set forceRemove(value: boolean | cdktn.IResolvable);
|
|
629
651
|
resetForceRemove(): void;
|
|
630
|
-
get forceRemoveInput(): boolean |
|
|
652
|
+
get forceRemoveInput(): boolean | cdktn.IResolvable | undefined;
|
|
631
653
|
private _isolation?;
|
|
632
654
|
get isolation(): string;
|
|
633
655
|
set isolation(value: string);
|
|
@@ -671,30 +693,30 @@ export declare class ImageBuildOutputReference extends cdktf.ComplexObject {
|
|
|
671
693
|
resetNetworkMode(): void;
|
|
672
694
|
get networkModeInput(): string | undefined;
|
|
673
695
|
private _noCache?;
|
|
674
|
-
get noCache(): boolean |
|
|
675
|
-
set noCache(value: boolean |
|
|
696
|
+
get noCache(): boolean | cdktn.IResolvable;
|
|
697
|
+
set noCache(value: boolean | cdktn.IResolvable);
|
|
676
698
|
resetNoCache(): void;
|
|
677
|
-
get noCacheInput(): boolean |
|
|
699
|
+
get noCacheInput(): boolean | cdktn.IResolvable | undefined;
|
|
678
700
|
private _platform?;
|
|
679
701
|
get platform(): string;
|
|
680
702
|
set platform(value: string);
|
|
681
703
|
resetPlatform(): void;
|
|
682
704
|
get platformInput(): string | undefined;
|
|
683
705
|
private _pullParent?;
|
|
684
|
-
get pullParent(): boolean |
|
|
685
|
-
set pullParent(value: boolean |
|
|
706
|
+
get pullParent(): boolean | cdktn.IResolvable;
|
|
707
|
+
set pullParent(value: boolean | cdktn.IResolvable);
|
|
686
708
|
resetPullParent(): void;
|
|
687
|
-
get pullParentInput(): boolean |
|
|
709
|
+
get pullParentInput(): boolean | cdktn.IResolvable | undefined;
|
|
688
710
|
private _remoteContext?;
|
|
689
711
|
get remoteContext(): string;
|
|
690
712
|
set remoteContext(value: string);
|
|
691
713
|
resetRemoteContext(): void;
|
|
692
714
|
get remoteContextInput(): string | undefined;
|
|
693
715
|
private _remove?;
|
|
694
|
-
get remove(): boolean |
|
|
695
|
-
set remove(value: boolean |
|
|
716
|
+
get remove(): boolean | cdktn.IResolvable;
|
|
717
|
+
set remove(value: boolean | cdktn.IResolvable);
|
|
696
718
|
resetRemove(): void;
|
|
697
|
-
get removeInput(): boolean |
|
|
719
|
+
get removeInput(): boolean | cdktn.IResolvable | undefined;
|
|
698
720
|
private _securityOpt?;
|
|
699
721
|
get securityOpt(): string[];
|
|
700
722
|
set securityOpt(value: string[]);
|
|
@@ -711,15 +733,15 @@ export declare class ImageBuildOutputReference extends cdktf.ComplexObject {
|
|
|
711
733
|
resetShmSize(): void;
|
|
712
734
|
get shmSizeInput(): number | undefined;
|
|
713
735
|
private _squash?;
|
|
714
|
-
get squash(): boolean |
|
|
715
|
-
set squash(value: boolean |
|
|
736
|
+
get squash(): boolean | cdktn.IResolvable;
|
|
737
|
+
set squash(value: boolean | cdktn.IResolvable);
|
|
716
738
|
resetSquash(): void;
|
|
717
|
-
get squashInput(): boolean |
|
|
739
|
+
get squashInput(): boolean | cdktn.IResolvable | undefined;
|
|
718
740
|
private _suppressOutput?;
|
|
719
|
-
get suppressOutput(): boolean |
|
|
720
|
-
set suppressOutput(value: boolean |
|
|
741
|
+
get suppressOutput(): boolean | cdktn.IResolvable;
|
|
742
|
+
set suppressOutput(value: boolean | cdktn.IResolvable);
|
|
721
743
|
resetSuppressOutput(): void;
|
|
722
|
-
get suppressOutputInput(): boolean |
|
|
744
|
+
get suppressOutputInput(): boolean | cdktn.IResolvable | undefined;
|
|
723
745
|
private _tag?;
|
|
724
746
|
get tag(): string[];
|
|
725
747
|
set tag(value: string[]);
|
|
@@ -737,46 +759,46 @@ export declare class ImageBuildOutputReference extends cdktf.ComplexObject {
|
|
|
737
759
|
get versionInput(): string | undefined;
|
|
738
760
|
private _authConfig;
|
|
739
761
|
get authConfig(): ImageBuildAuthConfigList;
|
|
740
|
-
putAuthConfig(value: ImageBuildAuthConfig[] |
|
|
762
|
+
putAuthConfig(value: ImageBuildAuthConfig[] | cdktn.IResolvable): void;
|
|
741
763
|
resetAuthConfig(): void;
|
|
742
|
-
get authConfigInput():
|
|
764
|
+
get authConfigInput(): cdktn.IResolvable | ImageBuildAuthConfig[] | undefined;
|
|
743
765
|
private _secrets;
|
|
744
766
|
get secrets(): ImageBuildSecretsList;
|
|
745
|
-
putSecrets(value: ImageBuildSecrets[] |
|
|
767
|
+
putSecrets(value: ImageBuildSecrets[] | cdktn.IResolvable): void;
|
|
746
768
|
resetSecrets(): void;
|
|
747
|
-
get secretsInput():
|
|
769
|
+
get secretsInput(): cdktn.IResolvable | ImageBuildSecrets[] | undefined;
|
|
748
770
|
private _ulimit;
|
|
749
771
|
get ulimit(): ImageBuildUlimitList;
|
|
750
|
-
putUlimit(value: ImageBuildUlimit[] |
|
|
772
|
+
putUlimit(value: ImageBuildUlimit[] | cdktn.IResolvable): void;
|
|
751
773
|
resetUlimit(): void;
|
|
752
|
-
get ulimitInput():
|
|
774
|
+
get ulimitInput(): cdktn.IResolvable | ImageBuildUlimit[] | undefined;
|
|
753
775
|
}
|
|
754
776
|
export interface ImageTimeouts {
|
|
755
777
|
/**
|
|
756
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
778
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#create Image#create}
|
|
757
779
|
*/
|
|
758
780
|
readonly create?: string;
|
|
759
781
|
/**
|
|
760
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
782
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#delete Image#delete}
|
|
761
783
|
*/
|
|
762
784
|
readonly delete?: string;
|
|
763
785
|
/**
|
|
764
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
786
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#update Image#update}
|
|
765
787
|
*/
|
|
766
788
|
readonly update?: string;
|
|
767
789
|
}
|
|
768
|
-
export declare function imageTimeoutsToTerraform(struct?: ImageTimeouts |
|
|
769
|
-
export declare function imageTimeoutsToHclTerraform(struct?: ImageTimeouts |
|
|
770
|
-
export declare class ImageTimeoutsOutputReference extends
|
|
790
|
+
export declare function imageTimeoutsToTerraform(struct?: ImageTimeouts | cdktn.IResolvable): any;
|
|
791
|
+
export declare function imageTimeoutsToHclTerraform(struct?: ImageTimeouts | cdktn.IResolvable): any;
|
|
792
|
+
export declare class ImageTimeoutsOutputReference extends cdktn.ComplexObject {
|
|
771
793
|
private isEmptyObject;
|
|
772
794
|
private resolvableValue?;
|
|
773
795
|
/**
|
|
774
796
|
* @param terraformResource The parent resource
|
|
775
797
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
776
798
|
*/
|
|
777
|
-
constructor(terraformResource:
|
|
778
|
-
get internalValue(): ImageTimeouts |
|
|
779
|
-
set internalValue(value: ImageTimeouts |
|
|
799
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
|
|
800
|
+
get internalValue(): ImageTimeouts | cdktn.IResolvable | undefined;
|
|
801
|
+
set internalValue(value: ImageTimeouts | cdktn.IResolvable | undefined);
|
|
780
802
|
private _create?;
|
|
781
803
|
get create(): string;
|
|
782
804
|
set create(value: string);
|
|
@@ -794,20 +816,20 @@ export declare class ImageTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
|
794
816
|
get updateInput(): string | undefined;
|
|
795
817
|
}
|
|
796
818
|
/**
|
|
797
|
-
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
819
|
+
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image docker_image}
|
|
798
820
|
*/
|
|
799
|
-
export declare class Image extends
|
|
821
|
+
export declare class Image extends cdktn.TerraformResource {
|
|
800
822
|
static readonly tfResourceType = "docker_image";
|
|
801
823
|
/**
|
|
802
|
-
* Generates
|
|
824
|
+
* Generates CDKTN code for importing a Image resource upon running "cdktn plan <stack-name>"
|
|
803
825
|
* @param scope The scope in which to define this construct
|
|
804
826
|
* @param importToId The construct id used in the generated config for the Image to import
|
|
805
|
-
* @param importFromId The id of the existing Image that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
827
|
+
* @param importFromId The id of the existing Image that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image#import import section} in the documentation of this resource for the id to use
|
|
806
828
|
* @param provider? Optional instance of the provider where the Image to import is found
|
|
807
829
|
*/
|
|
808
|
-
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?:
|
|
830
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
809
831
|
/**
|
|
810
|
-
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
832
|
+
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/image docker_image} Resource
|
|
811
833
|
*
|
|
812
834
|
* @param scope The scope in which to define this construct
|
|
813
835
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -815,17 +837,17 @@ export declare class Image extends cdktf.TerraformResource {
|
|
|
815
837
|
*/
|
|
816
838
|
constructor(scope: Construct, id: string, config: ImageConfig);
|
|
817
839
|
private _forceRemove?;
|
|
818
|
-
get forceRemove(): boolean |
|
|
819
|
-
set forceRemove(value: boolean |
|
|
840
|
+
get forceRemove(): boolean | cdktn.IResolvable;
|
|
841
|
+
set forceRemove(value: boolean | cdktn.IResolvable);
|
|
820
842
|
resetForceRemove(): void;
|
|
821
|
-
get forceRemoveInput(): boolean |
|
|
843
|
+
get forceRemoveInput(): boolean | cdktn.IResolvable | undefined;
|
|
822
844
|
get id(): string;
|
|
823
845
|
get imageId(): string;
|
|
824
846
|
private _keepLocally?;
|
|
825
|
-
get keepLocally(): boolean |
|
|
826
|
-
set keepLocally(value: boolean |
|
|
847
|
+
get keepLocally(): boolean | cdktn.IResolvable;
|
|
848
|
+
set keepLocally(value: boolean | cdktn.IResolvable);
|
|
827
849
|
resetKeepLocally(): void;
|
|
828
|
-
get keepLocallyInput(): boolean |
|
|
850
|
+
get keepLocallyInput(): boolean | cdktn.IResolvable | undefined;
|
|
829
851
|
private _name?;
|
|
830
852
|
get name(): string;
|
|
831
853
|
set name(value: string);
|
|
@@ -861,7 +883,7 @@ export declare class Image extends cdktf.TerraformResource {
|
|
|
861
883
|
get timeouts(): ImageTimeoutsOutputReference;
|
|
862
884
|
putTimeouts(value: ImageTimeouts): void;
|
|
863
885
|
resetTimeouts(): void;
|
|
864
|
-
get timeoutsInput():
|
|
886
|
+
get timeoutsInput(): cdktn.IResolvable | ImageTimeouts | undefined;
|
|
865
887
|
protected synthesizeAttributes(): {
|
|
866
888
|
[name: string]: any;
|
|
867
889
|
};
|