@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/plugin/index.d.ts
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
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 PluginConfig extends
|
|
6
|
+
import * as cdktn from 'cdktn';
|
|
7
|
+
export interface PluginConfig extends cdktn.TerraformMetaArguments {
|
|
8
8
|
/**
|
|
9
9
|
* Docker Plugin alias
|
|
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/plugin#alias Plugin#alias}
|
|
12
12
|
*/
|
|
13
13
|
readonly alias?: string;
|
|
14
14
|
/**
|
|
15
15
|
* HTTP client timeout to enable the plugin
|
|
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/plugin#enable_timeout Plugin#enable_timeout}
|
|
18
18
|
*/
|
|
19
19
|
readonly enableTimeout?: number;
|
|
20
20
|
/**
|
|
21
21
|
* If `true` the plugin is enabled. Defaults to `true`
|
|
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/plugin#enabled Plugin#enabled}
|
|
24
24
|
*/
|
|
25
|
-
readonly enabled?: boolean |
|
|
25
|
+
readonly enabled?: boolean | cdktn.IResolvable;
|
|
26
26
|
/**
|
|
27
27
|
* The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
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/plugin#env Plugin#env}
|
|
30
30
|
*/
|
|
31
31
|
readonly env?: string[];
|
|
32
32
|
/**
|
|
33
33
|
* If true, then the plugin is destroyed forcibly
|
|
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/plugin#force_destroy Plugin#force_destroy}
|
|
36
36
|
*/
|
|
37
|
-
readonly forceDestroy?: boolean |
|
|
37
|
+
readonly forceDestroy?: boolean | cdktn.IResolvable;
|
|
38
38
|
/**
|
|
39
39
|
* If true, then the plugin is disabled forcibly
|
|
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/plugin#force_disable Plugin#force_disable}
|
|
42
42
|
*/
|
|
43
|
-
readonly forceDisable?: boolean |
|
|
43
|
+
readonly forceDisable?: boolean | cdktn.IResolvable;
|
|
44
44
|
/**
|
|
45
45
|
* If true, grant all permissions necessary to run the plugin
|
|
46
46
|
*
|
|
47
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#grant_all_permissions Plugin#grant_all_permissions}
|
|
48
48
|
*/
|
|
49
|
-
readonly grantAllPermissions?: boolean |
|
|
49
|
+
readonly grantAllPermissions?: boolean | cdktn.IResolvable;
|
|
50
50
|
/**
|
|
51
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
51
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#id Plugin#id}
|
|
52
52
|
*
|
|
53
53
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
54
54
|
* 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.
|
|
@@ -57,33 +57,33 @@ export interface PluginConfig extends cdktf.TerraformMetaArguments {
|
|
|
57
57
|
/**
|
|
58
58
|
* Docker Plugin name
|
|
59
59
|
*
|
|
60
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
60
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#name Plugin#name}
|
|
61
61
|
*/
|
|
62
62
|
readonly name: string;
|
|
63
63
|
/**
|
|
64
64
|
* grant_permissions block
|
|
65
65
|
*
|
|
66
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
66
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#grant_permissions Plugin#grant_permissions}
|
|
67
67
|
*/
|
|
68
|
-
readonly grantPermissions?: PluginGrantPermissions[] |
|
|
68
|
+
readonly grantPermissions?: PluginGrantPermissions[] | cdktn.IResolvable;
|
|
69
69
|
}
|
|
70
70
|
export interface PluginGrantPermissions {
|
|
71
71
|
/**
|
|
72
72
|
* The name of the permission
|
|
73
73
|
*
|
|
74
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
74
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#name Plugin#name}
|
|
75
75
|
*/
|
|
76
76
|
readonly name: string;
|
|
77
77
|
/**
|
|
78
78
|
* The value of the permission
|
|
79
79
|
*
|
|
80
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#value Plugin#value}
|
|
81
81
|
*/
|
|
82
82
|
readonly value: string[];
|
|
83
83
|
}
|
|
84
|
-
export declare function pluginGrantPermissionsToTerraform(struct?: PluginGrantPermissions |
|
|
85
|
-
export declare function pluginGrantPermissionsToHclTerraform(struct?: PluginGrantPermissions |
|
|
86
|
-
export declare class PluginGrantPermissionsOutputReference extends
|
|
84
|
+
export declare function pluginGrantPermissionsToTerraform(struct?: PluginGrantPermissions | cdktn.IResolvable): any;
|
|
85
|
+
export declare function pluginGrantPermissionsToHclTerraform(struct?: PluginGrantPermissions | cdktn.IResolvable): any;
|
|
86
|
+
export declare class PluginGrantPermissionsOutputReference extends cdktn.ComplexObject {
|
|
87
87
|
private isEmptyObject;
|
|
88
88
|
private resolvableValue?;
|
|
89
89
|
/**
|
|
@@ -92,9 +92,9 @@ export declare class PluginGrantPermissionsOutputReference extends cdktf.Complex
|
|
|
92
92
|
* @param complexObjectIndex the index of this item in the list
|
|
93
93
|
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
94
94
|
*/
|
|
95
|
-
constructor(terraformResource:
|
|
96
|
-
get internalValue(): PluginGrantPermissions |
|
|
97
|
-
set internalValue(value: PluginGrantPermissions |
|
|
95
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
96
|
+
get internalValue(): PluginGrantPermissions | cdktn.IResolvable | undefined;
|
|
97
|
+
set internalValue(value: PluginGrantPermissions | cdktn.IResolvable | undefined);
|
|
98
98
|
private _name?;
|
|
99
99
|
get name(): string;
|
|
100
100
|
set name(value: string);
|
|
@@ -104,37 +104,37 @@ export declare class PluginGrantPermissionsOutputReference extends cdktf.Complex
|
|
|
104
104
|
set value(value: string[]);
|
|
105
105
|
get valueInput(): string[] | undefined;
|
|
106
106
|
}
|
|
107
|
-
export declare class PluginGrantPermissionsList extends
|
|
108
|
-
protected terraformResource:
|
|
107
|
+
export declare class PluginGrantPermissionsList extends cdktn.ComplexList {
|
|
108
|
+
protected terraformResource: cdktn.IInterpolatingParent;
|
|
109
109
|
protected terraformAttribute: string;
|
|
110
110
|
protected wrapsSet: boolean;
|
|
111
|
-
internalValue?: PluginGrantPermissions[] |
|
|
111
|
+
internalValue?: PluginGrantPermissions[] | cdktn.IResolvable;
|
|
112
112
|
/**
|
|
113
113
|
* @param terraformResource The parent resource
|
|
114
114
|
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
115
115
|
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
116
116
|
*/
|
|
117
|
-
constructor(terraformResource:
|
|
117
|
+
constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
118
118
|
/**
|
|
119
119
|
* @param index the index of the item to return
|
|
120
120
|
*/
|
|
121
121
|
get(index: number): PluginGrantPermissionsOutputReference;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
124
|
+
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin docker_plugin}
|
|
125
125
|
*/
|
|
126
|
-
export declare class Plugin extends
|
|
126
|
+
export declare class Plugin extends cdktn.TerraformResource {
|
|
127
127
|
static readonly tfResourceType = "docker_plugin";
|
|
128
128
|
/**
|
|
129
|
-
* Generates
|
|
129
|
+
* Generates CDKTN code for importing a Plugin resource upon running "cdktn plan <stack-name>"
|
|
130
130
|
* @param scope The scope in which to define this construct
|
|
131
131
|
* @param importToId The construct id used in the generated config for the Plugin to import
|
|
132
|
-
* @param importFromId The id of the existing Plugin that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
132
|
+
* @param importFromId The id of the existing Plugin that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin#import import section} in the documentation of this resource for the id to use
|
|
133
133
|
* @param provider? Optional instance of the provider where the Plugin to import is found
|
|
134
134
|
*/
|
|
135
|
-
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?:
|
|
135
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
|
|
136
136
|
/**
|
|
137
|
-
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.
|
|
137
|
+
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs/resources/plugin docker_plugin} Resource
|
|
138
138
|
*
|
|
139
139
|
* @param scope The scope in which to define this construct
|
|
140
140
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -152,30 +152,30 @@ export declare class Plugin extends cdktf.TerraformResource {
|
|
|
152
152
|
resetEnableTimeout(): void;
|
|
153
153
|
get enableTimeoutInput(): number | undefined;
|
|
154
154
|
private _enabled?;
|
|
155
|
-
get enabled(): boolean |
|
|
156
|
-
set enabled(value: boolean |
|
|
155
|
+
get enabled(): boolean | cdktn.IResolvable;
|
|
156
|
+
set enabled(value: boolean | cdktn.IResolvable);
|
|
157
157
|
resetEnabled(): void;
|
|
158
|
-
get enabledInput(): boolean |
|
|
158
|
+
get enabledInput(): boolean | cdktn.IResolvable | undefined;
|
|
159
159
|
private _env?;
|
|
160
160
|
get env(): string[];
|
|
161
161
|
set env(value: string[]);
|
|
162
162
|
resetEnv(): void;
|
|
163
163
|
get envInput(): string[] | undefined;
|
|
164
164
|
private _forceDestroy?;
|
|
165
|
-
get forceDestroy(): boolean |
|
|
166
|
-
set forceDestroy(value: boolean |
|
|
165
|
+
get forceDestroy(): boolean | cdktn.IResolvable;
|
|
166
|
+
set forceDestroy(value: boolean | cdktn.IResolvable);
|
|
167
167
|
resetForceDestroy(): void;
|
|
168
|
-
get forceDestroyInput(): boolean |
|
|
168
|
+
get forceDestroyInput(): boolean | cdktn.IResolvable | undefined;
|
|
169
169
|
private _forceDisable?;
|
|
170
|
-
get forceDisable(): boolean |
|
|
171
|
-
set forceDisable(value: boolean |
|
|
170
|
+
get forceDisable(): boolean | cdktn.IResolvable;
|
|
171
|
+
set forceDisable(value: boolean | cdktn.IResolvable);
|
|
172
172
|
resetForceDisable(): void;
|
|
173
|
-
get forceDisableInput(): boolean |
|
|
173
|
+
get forceDisableInput(): boolean | cdktn.IResolvable | undefined;
|
|
174
174
|
private _grantAllPermissions?;
|
|
175
|
-
get grantAllPermissions(): boolean |
|
|
176
|
-
set grantAllPermissions(value: boolean |
|
|
175
|
+
get grantAllPermissions(): boolean | cdktn.IResolvable;
|
|
176
|
+
set grantAllPermissions(value: boolean | cdktn.IResolvable);
|
|
177
177
|
resetGrantAllPermissions(): void;
|
|
178
|
-
get grantAllPermissionsInput(): boolean |
|
|
178
|
+
get grantAllPermissionsInput(): boolean | cdktn.IResolvable | undefined;
|
|
179
179
|
private _id?;
|
|
180
180
|
get id(): string;
|
|
181
181
|
set id(value: string);
|
|
@@ -188,9 +188,9 @@ export declare class Plugin extends cdktf.TerraformResource {
|
|
|
188
188
|
get pluginReference(): string;
|
|
189
189
|
private _grantPermissions;
|
|
190
190
|
get grantPermissions(): PluginGrantPermissionsList;
|
|
191
|
-
putGrantPermissions(value: PluginGrantPermissions[] |
|
|
191
|
+
putGrantPermissions(value: PluginGrantPermissions[] | cdktn.IResolvable): void;
|
|
192
192
|
resetGrantPermissions(): void;
|
|
193
|
-
get grantPermissionsInput():
|
|
193
|
+
get grantPermissionsInput(): cdktn.IResolvable | PluginGrantPermissions[] | undefined;
|
|
194
194
|
protected synthesizeAttributes(): {
|
|
195
195
|
[name: string]: any;
|
|
196
196
|
};
|