@cdktn/provider-docker 12.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/.eslintrc.json +230 -0
- package/.jsii +46911 -0
- package/LICENSE +355 -0
- package/README.md +94 -0
- package/lib/buildx-builder/index.d.ts +764 -0
- package/lib/buildx-builder/index.js +1791 -0
- package/lib/config/index.d.ts +68 -0
- package/lib/config/index.js +129 -0
- package/lib/container/index.d.ts +1845 -0
- package/lib/container/index.js +4085 -0
- package/lib/data-docker-image/index.d.ts +59 -0
- package/lib/data-docker-image/index.js +115 -0
- package/lib/data-docker-logs/index.d.ts +153 -0
- package/lib/data-docker-logs/index.js +325 -0
- package/lib/data-docker-network/index.d.ts +90 -0
- package/lib/data-docker-network/index.js +207 -0
- package/lib/data-docker-plugin/index.d.ts +66 -0
- package/lib/data-docker-plugin/index.js +134 -0
- package/lib/data-docker-registry-image/index.d.ts +70 -0
- package/lib/data-docker-registry-image/index.js +136 -0
- package/lib/data-docker-registry-image-manifests/index.d.ts +161 -0
- package/lib/data-docker-registry-image-manifests/index.js +366 -0
- package/lib/image/index.d.ts +871 -0
- package/lib/image/index.js +2003 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.js +27 -0
- package/lib/lazy-index.d.ts +4 -0
- package/lib/lazy-index.js +25 -0
- package/lib/network/index.d.ts +334 -0
- package/lib/network/index.js +666 -0
- package/lib/plugin/index.d.ts +200 -0
- package/lib/plugin/index.js +414 -0
- package/lib/provider/index.d.ts +186 -0
- package/lib/provider/index.js +342 -0
- package/lib/registry-image/index.d.ts +155 -0
- package/lib/registry-image/index.js +320 -0
- package/lib/secret/index.d.ts +132 -0
- package/lib/secret/index.js +281 -0
- package/lib/service/index.d.ts +2282 -0
- package/lib/service/index.js +5760 -0
- package/lib/tag/index.d.ts +80 -0
- package/lib/tag/index.js +154 -0
- package/lib/volume/index.d.ts +154 -0
- package/lib/volume/index.js +312 -0
- package/package.json +152 -0
- package/tsconfig.eslint.json +34 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) HashiCorp, Inc.
|
|
3
|
+
* SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { Construct } from 'constructs';
|
|
6
|
+
import * as cdktf from 'cdktf';
|
|
7
|
+
export interface PluginConfig extends cdktf.TerraformMetaArguments {
|
|
8
|
+
/**
|
|
9
|
+
* Docker Plugin alias
|
|
10
|
+
*
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#alias Plugin#alias}
|
|
12
|
+
*/
|
|
13
|
+
readonly alias?: string;
|
|
14
|
+
/**
|
|
15
|
+
* HTTP client timeout to enable the plugin
|
|
16
|
+
*
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#enable_timeout Plugin#enable_timeout}
|
|
18
|
+
*/
|
|
19
|
+
readonly enableTimeout?: number;
|
|
20
|
+
/**
|
|
21
|
+
* If `true` the plugin is enabled. Defaults to `true`
|
|
22
|
+
*
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#enabled Plugin#enabled}
|
|
24
|
+
*/
|
|
25
|
+
readonly enabled?: boolean | cdktf.IResolvable;
|
|
26
|
+
/**
|
|
27
|
+
* The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`
|
|
28
|
+
*
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#env Plugin#env}
|
|
30
|
+
*/
|
|
31
|
+
readonly env?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* If true, then the plugin is destroyed forcibly
|
|
34
|
+
*
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#force_destroy Plugin#force_destroy}
|
|
36
|
+
*/
|
|
37
|
+
readonly forceDestroy?: boolean | cdktf.IResolvable;
|
|
38
|
+
/**
|
|
39
|
+
* If true, then the plugin is disabled forcibly
|
|
40
|
+
*
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#force_disable Plugin#force_disable}
|
|
42
|
+
*/
|
|
43
|
+
readonly forceDisable?: boolean | cdktf.IResolvable;
|
|
44
|
+
/**
|
|
45
|
+
* If true, grant all permissions necessary to run the plugin
|
|
46
|
+
*
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#grant_all_permissions Plugin#grant_all_permissions}
|
|
48
|
+
*/
|
|
49
|
+
readonly grantAllPermissions?: boolean | cdktf.IResolvable;
|
|
50
|
+
/**
|
|
51
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#id Plugin#id}
|
|
52
|
+
*
|
|
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
|
+
* 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.
|
|
55
|
+
*/
|
|
56
|
+
readonly id?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Docker Plugin name
|
|
59
|
+
*
|
|
60
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#name Plugin#name}
|
|
61
|
+
*/
|
|
62
|
+
readonly name: string;
|
|
63
|
+
/**
|
|
64
|
+
* grant_permissions block
|
|
65
|
+
*
|
|
66
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#grant_permissions Plugin#grant_permissions}
|
|
67
|
+
*/
|
|
68
|
+
readonly grantPermissions?: PluginGrantPermissions[] | cdktf.IResolvable;
|
|
69
|
+
}
|
|
70
|
+
export interface PluginGrantPermissions {
|
|
71
|
+
/**
|
|
72
|
+
* The name of the permission
|
|
73
|
+
*
|
|
74
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#name Plugin#name}
|
|
75
|
+
*/
|
|
76
|
+
readonly name: string;
|
|
77
|
+
/**
|
|
78
|
+
* The value of the permission
|
|
79
|
+
*
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin#value Plugin#value}
|
|
81
|
+
*/
|
|
82
|
+
readonly value: string[];
|
|
83
|
+
}
|
|
84
|
+
export declare function pluginGrantPermissionsToTerraform(struct?: PluginGrantPermissions | cdktf.IResolvable): any;
|
|
85
|
+
export declare function pluginGrantPermissionsToHclTerraform(struct?: PluginGrantPermissions | cdktf.IResolvable): any;
|
|
86
|
+
export declare class PluginGrantPermissionsOutputReference extends cdktf.ComplexObject {
|
|
87
|
+
private isEmptyObject;
|
|
88
|
+
private resolvableValue?;
|
|
89
|
+
/**
|
|
90
|
+
* @param terraformResource The parent resource
|
|
91
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
92
|
+
* @param complexObjectIndex the index of this item in the list
|
|
93
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
94
|
+
*/
|
|
95
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
96
|
+
get internalValue(): PluginGrantPermissions | cdktf.IResolvable | undefined;
|
|
97
|
+
set internalValue(value: PluginGrantPermissions | cdktf.IResolvable | undefined);
|
|
98
|
+
private _name?;
|
|
99
|
+
get name(): string;
|
|
100
|
+
set name(value: string);
|
|
101
|
+
get nameInput(): string | undefined;
|
|
102
|
+
private _value?;
|
|
103
|
+
get value(): string[];
|
|
104
|
+
set value(value: string[]);
|
|
105
|
+
get valueInput(): string[] | undefined;
|
|
106
|
+
}
|
|
107
|
+
export declare class PluginGrantPermissionsList extends cdktf.ComplexList {
|
|
108
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
109
|
+
protected terraformAttribute: string;
|
|
110
|
+
protected wrapsSet: boolean;
|
|
111
|
+
internalValue?: PluginGrantPermissions[] | cdktf.IResolvable;
|
|
112
|
+
/**
|
|
113
|
+
* @param terraformResource The parent resource
|
|
114
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
115
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
116
|
+
*/
|
|
117
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
118
|
+
/**
|
|
119
|
+
* @param index the index of the item to return
|
|
120
|
+
*/
|
|
121
|
+
get(index: number): PluginGrantPermissionsOutputReference;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Represents a {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin docker_plugin}
|
|
125
|
+
*/
|
|
126
|
+
export declare class Plugin extends cdktf.TerraformResource {
|
|
127
|
+
static readonly tfResourceType = "docker_plugin";
|
|
128
|
+
/**
|
|
129
|
+
* Generates CDKTF code for importing a Plugin resource upon running "cdktf plan <stack-name>"
|
|
130
|
+
* @param scope The scope in which to define this construct
|
|
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.6.2/docs/resources/plugin#import import section} in the documentation of this resource for the id to use
|
|
133
|
+
* @param provider? Optional instance of the provider where the Plugin to import is found
|
|
134
|
+
*/
|
|
135
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
|
|
136
|
+
/**
|
|
137
|
+
* Create a new {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.6.2/docs/resources/plugin docker_plugin} Resource
|
|
138
|
+
*
|
|
139
|
+
* @param scope The scope in which to define this construct
|
|
140
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
141
|
+
* @param options PluginConfig
|
|
142
|
+
*/
|
|
143
|
+
constructor(scope: Construct, id: string, config: PluginConfig);
|
|
144
|
+
private _alias?;
|
|
145
|
+
get alias(): string;
|
|
146
|
+
set alias(value: string);
|
|
147
|
+
resetAlias(): void;
|
|
148
|
+
get aliasInput(): string | undefined;
|
|
149
|
+
private _enableTimeout?;
|
|
150
|
+
get enableTimeout(): number;
|
|
151
|
+
set enableTimeout(value: number);
|
|
152
|
+
resetEnableTimeout(): void;
|
|
153
|
+
get enableTimeoutInput(): number | undefined;
|
|
154
|
+
private _enabled?;
|
|
155
|
+
get enabled(): boolean | cdktf.IResolvable;
|
|
156
|
+
set enabled(value: boolean | cdktf.IResolvable);
|
|
157
|
+
resetEnabled(): void;
|
|
158
|
+
get enabledInput(): boolean | cdktf.IResolvable | undefined;
|
|
159
|
+
private _env?;
|
|
160
|
+
get env(): string[];
|
|
161
|
+
set env(value: string[]);
|
|
162
|
+
resetEnv(): void;
|
|
163
|
+
get envInput(): string[] | undefined;
|
|
164
|
+
private _forceDestroy?;
|
|
165
|
+
get forceDestroy(): boolean | cdktf.IResolvable;
|
|
166
|
+
set forceDestroy(value: boolean | cdktf.IResolvable);
|
|
167
|
+
resetForceDestroy(): void;
|
|
168
|
+
get forceDestroyInput(): boolean | cdktf.IResolvable | undefined;
|
|
169
|
+
private _forceDisable?;
|
|
170
|
+
get forceDisable(): boolean | cdktf.IResolvable;
|
|
171
|
+
set forceDisable(value: boolean | cdktf.IResolvable);
|
|
172
|
+
resetForceDisable(): void;
|
|
173
|
+
get forceDisableInput(): boolean | cdktf.IResolvable | undefined;
|
|
174
|
+
private _grantAllPermissions?;
|
|
175
|
+
get grantAllPermissions(): boolean | cdktf.IResolvable;
|
|
176
|
+
set grantAllPermissions(value: boolean | cdktf.IResolvable);
|
|
177
|
+
resetGrantAllPermissions(): void;
|
|
178
|
+
get grantAllPermissionsInput(): boolean | cdktf.IResolvable | undefined;
|
|
179
|
+
private _id?;
|
|
180
|
+
get id(): string;
|
|
181
|
+
set id(value: string);
|
|
182
|
+
resetId(): void;
|
|
183
|
+
get idInput(): string | undefined;
|
|
184
|
+
private _name?;
|
|
185
|
+
get name(): string;
|
|
186
|
+
set name(value: string);
|
|
187
|
+
get nameInput(): string | undefined;
|
|
188
|
+
get pluginReference(): string;
|
|
189
|
+
private _grantPermissions;
|
|
190
|
+
get grantPermissions(): PluginGrantPermissionsList;
|
|
191
|
+
putGrantPermissions(value: PluginGrantPermissions[] | cdktf.IResolvable): void;
|
|
192
|
+
resetGrantPermissions(): void;
|
|
193
|
+
get grantPermissionsInput(): cdktf.IResolvable | PluginGrantPermissions[] | undefined;
|
|
194
|
+
protected synthesizeAttributes(): {
|
|
195
|
+
[name: string]: any;
|
|
196
|
+
};
|
|
197
|
+
protected synthesizeHclAttributes(): {
|
|
198
|
+
[name: string]: any;
|
|
199
|
+
};
|
|
200
|
+
}
|