@pulumi/docker 4.6.0-beta.4 → 4.6.1
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/config/vars.d.ts +6 -8
- package/config/vars.js.map +1 -1
- package/container.d.ts +46 -57
- package/container.js +22 -21
- package/container.js.map +1 -1
- package/getLogs.d.ts +1 -1
- package/getLogs.js +14 -1
- package/getLogs.js.map +1 -1
- package/getNetwork.d.ts +2 -2
- package/getNetwork.js +4 -1
- package/getNetwork.js.map +1 -1
- package/getPlugin.d.ts +27 -9
- package/getPlugin.js +32 -9
- package/getPlugin.js.map +1 -1
- package/getRegistryImage.d.ts +9 -9
- package/getRegistryImage.js +13 -9
- package/getRegistryImage.js.map +1 -1
- package/getRemoteImage.d.ts +9 -1
- package/getRemoteImage.js +12 -1
- package/getRemoteImage.js.map +1 -1
- package/image.d.ts +8 -6
- package/image.js +7 -4
- package/image.js.map +1 -1
- package/index.d.ts +1 -2
- package/index.js +1 -3
- package/index.js.map +1 -1
- package/network.d.ts +19 -19
- package/network.js +13 -13
- package/package.json +4 -3
- package/plugin.d.ts +3 -20
- package/plugin.js +0 -17
- package/plugin.js.map +1 -1
- package/provider.d.ts +11 -14
- package/provider.js.map +1 -1
- package/registryImage.d.ts +3 -20
- package/registryImage.js +0 -17
- package/registryImage.js.map +1 -1
- package/remoteImage.d.ts +44 -16
- package/remoteImage.js +32 -4
- package/remoteImage.js.map +1 -1
- package/secret.d.ts +1 -1
- package/secret.js +1 -1
- package/service.d.ts +23 -30
- package/service.js +23 -30
- package/service.js.map +1 -1
- package/serviceConfig.d.ts +13 -13
- package/serviceConfig.js +13 -13
- package/types/enums/index.d.ts +0 -2
- package/types/enums/index.js +1 -4
- package/types/enums/index.js.map +1 -1
- package/types/input.d.ts +3 -767
- package/types/input.js +0 -116
- package/types/input.js.map +1 -1
- package/types/output.d.ts +4 -769
- package/types/output.js +0 -115
- package/types/output.js.map +1 -1
- package/volume.d.ts +16 -16
- package/volume.js +13 -13
- package/buildx/image.d.ts +0 -916
- package/buildx/image.js +0 -558
- package/buildx/image.js.map +0 -1
- package/buildx/index.d.ts +0 -7
- package/buildx/index.js +0 -42
- package/buildx/index.js.map +0 -1
- package/buildx/index_.d.ts +0 -140
- package/buildx/index_.js +0 -130
- package/buildx/index_.js.map +0 -1
- package/package.json.bak +0 -28
- package/types/enums/buildx/index.d.ts +0 -72
- package/types/enums/buildx/index.js +0 -74
- package/types/enums/buildx/index.js.map +0 -1
package/types/input.js
CHANGED
|
@@ -2,120 +2,4 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.buildx = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const inputs = require("../types/input");
|
|
8
|
-
const utilities = require("../utilities");
|
|
9
|
-
var buildx;
|
|
10
|
-
(function (buildx) {
|
|
11
|
-
/**
|
|
12
|
-
* cacheFromProvideDefaults sets the appropriate defaults for CacheFrom
|
|
13
|
-
*/
|
|
14
|
-
function cacheFromProvideDefaults(val) {
|
|
15
|
-
return Object.assign(Object.assign({}, val), { gha: (val.gha ? pulumi.output(val.gha).apply(inputs.buildx.cacheFromGitHubActionsProvideDefaults) : undefined), s3: (val.s3 ? pulumi.output(val.s3).apply(inputs.buildx.cacheFromS3ProvideDefaults) : undefined) });
|
|
16
|
-
}
|
|
17
|
-
buildx.cacheFromProvideDefaults = cacheFromProvideDefaults;
|
|
18
|
-
/**
|
|
19
|
-
* cacheFromGitHubActionsProvideDefaults sets the appropriate defaults for CacheFromGitHubActions
|
|
20
|
-
*/
|
|
21
|
-
function cacheFromGitHubActionsProvideDefaults(val) {
|
|
22
|
-
var _a, _b, _c;
|
|
23
|
-
return Object.assign(Object.assign({}, val), { scope: (_a = (val.scope)) !== null && _a !== void 0 ? _a : (utilities.getEnv("buildkit") || ""), token: (_b = (val.token)) !== null && _b !== void 0 ? _b : (utilities.getEnv("ACTIONS_RUNTIME_TOKEN") || ""), url: (_c = (val.url)) !== null && _c !== void 0 ? _c : (utilities.getEnv("ACTIONS_RUNTIME_URL") || "") });
|
|
24
|
-
}
|
|
25
|
-
buildx.cacheFromGitHubActionsProvideDefaults = cacheFromGitHubActionsProvideDefaults;
|
|
26
|
-
/**
|
|
27
|
-
* cacheFromS3ProvideDefaults sets the appropriate defaults for CacheFromS3
|
|
28
|
-
*/
|
|
29
|
-
function cacheFromS3ProvideDefaults(val) {
|
|
30
|
-
var _a, _b, _c, _d;
|
|
31
|
-
return Object.assign(Object.assign({}, val), { accessKeyId: (_a = (val.accessKeyId)) !== null && _a !== void 0 ? _a : (utilities.getEnv("AWS_ACCESS_KEY_ID") || ""), region: (_b = (val.region)) !== null && _b !== void 0 ? _b : (utilities.getEnv("AWS_REGION") || ""), secretAccessKey: (_c = (val.secretAccessKey)) !== null && _c !== void 0 ? _c : (utilities.getEnv("AWS_SECRET_ACCESS_KEY") || ""), sessionToken: (_d = (val.sessionToken)) !== null && _d !== void 0 ? _d : (utilities.getEnv("AWS_SESSION_TOKEN") || "") });
|
|
32
|
-
}
|
|
33
|
-
buildx.cacheFromS3ProvideDefaults = cacheFromS3ProvideDefaults;
|
|
34
|
-
/**
|
|
35
|
-
* cacheToProvideDefaults sets the appropriate defaults for CacheTo
|
|
36
|
-
*/
|
|
37
|
-
function cacheToProvideDefaults(val) {
|
|
38
|
-
return Object.assign(Object.assign({}, val), { azblob: (val.azblob ? pulumi.output(val.azblob).apply(inputs.buildx.cacheToAzureBlobProvideDefaults) : undefined), gha: (val.gha ? pulumi.output(val.gha).apply(inputs.buildx.cacheToGitHubActionsProvideDefaults) : undefined), local: (val.local ? pulumi.output(val.local).apply(inputs.buildx.cacheToLocalProvideDefaults) : undefined), registry: (val.registry ? pulumi.output(val.registry).apply(inputs.buildx.cacheToRegistryProvideDefaults) : undefined), s3: (val.s3 ? pulumi.output(val.s3).apply(inputs.buildx.cacheToS3ProvideDefaults) : undefined) });
|
|
39
|
-
}
|
|
40
|
-
buildx.cacheToProvideDefaults = cacheToProvideDefaults;
|
|
41
|
-
/**
|
|
42
|
-
* cacheToAzureBlobProvideDefaults sets the appropriate defaults for CacheToAzureBlob
|
|
43
|
-
*/
|
|
44
|
-
function cacheToAzureBlobProvideDefaults(val) {
|
|
45
|
-
var _a, _b;
|
|
46
|
-
return Object.assign(Object.assign({}, val), { ignoreError: (_a = (val.ignoreError)) !== null && _a !== void 0 ? _a : false, mode: (_b = (val.mode)) !== null && _b !== void 0 ? _b : "min" });
|
|
47
|
-
}
|
|
48
|
-
buildx.cacheToAzureBlobProvideDefaults = cacheToAzureBlobProvideDefaults;
|
|
49
|
-
/**
|
|
50
|
-
* cacheToGitHubActionsProvideDefaults sets the appropriate defaults for CacheToGitHubActions
|
|
51
|
-
*/
|
|
52
|
-
function cacheToGitHubActionsProvideDefaults(val) {
|
|
53
|
-
var _a, _b, _c, _d, _e;
|
|
54
|
-
return Object.assign(Object.assign({}, val), { ignoreError: (_a = (val.ignoreError)) !== null && _a !== void 0 ? _a : false, mode: (_b = (val.mode)) !== null && _b !== void 0 ? _b : "min", scope: (_c = (val.scope)) !== null && _c !== void 0 ? _c : (utilities.getEnv("buildkit") || ""), token: (_d = (val.token)) !== null && _d !== void 0 ? _d : (utilities.getEnv("ACTIONS_RUNTIME_TOKEN") || ""), url: (_e = (val.url)) !== null && _e !== void 0 ? _e : (utilities.getEnv("ACTIONS_RUNTIME_URL") || "") });
|
|
55
|
-
}
|
|
56
|
-
buildx.cacheToGitHubActionsProvideDefaults = cacheToGitHubActionsProvideDefaults;
|
|
57
|
-
/**
|
|
58
|
-
* cacheToLocalProvideDefaults sets the appropriate defaults for CacheToLocal
|
|
59
|
-
*/
|
|
60
|
-
function cacheToLocalProvideDefaults(val) {
|
|
61
|
-
var _a, _b, _c, _d, _e;
|
|
62
|
-
return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ignoreError: (_d = (val.ignoreError)) !== null && _d !== void 0 ? _d : false, mode: (_e = (val.mode)) !== null && _e !== void 0 ? _e : "min" });
|
|
63
|
-
}
|
|
64
|
-
buildx.cacheToLocalProvideDefaults = cacheToLocalProvideDefaults;
|
|
65
|
-
/**
|
|
66
|
-
* cacheToRegistryProvideDefaults sets the appropriate defaults for CacheToRegistry
|
|
67
|
-
*/
|
|
68
|
-
function cacheToRegistryProvideDefaults(val) {
|
|
69
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
70
|
-
return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ignoreError: (_d = (val.ignoreError)) !== null && _d !== void 0 ? _d : false, imageManifest: (_e = (val.imageManifest)) !== null && _e !== void 0 ? _e : false, mode: (_f = (val.mode)) !== null && _f !== void 0 ? _f : "min", ociMediaTypes: (_g = (val.ociMediaTypes)) !== null && _g !== void 0 ? _g : true });
|
|
71
|
-
}
|
|
72
|
-
buildx.cacheToRegistryProvideDefaults = cacheToRegistryProvideDefaults;
|
|
73
|
-
/**
|
|
74
|
-
* cacheToS3ProvideDefaults sets the appropriate defaults for CacheToS3
|
|
75
|
-
*/
|
|
76
|
-
function cacheToS3ProvideDefaults(val) {
|
|
77
|
-
var _a, _b, _c, _d, _e, _f;
|
|
78
|
-
return Object.assign(Object.assign({}, val), { accessKeyId: (_a = (val.accessKeyId)) !== null && _a !== void 0 ? _a : (utilities.getEnv("AWS_ACCESS_KEY_ID") || ""), ignoreError: (_b = (val.ignoreError)) !== null && _b !== void 0 ? _b : false, mode: (_c = (val.mode)) !== null && _c !== void 0 ? _c : "min", region: (_d = (val.region)) !== null && _d !== void 0 ? _d : (utilities.getEnv("AWS_REGION") || ""), secretAccessKey: (_e = (val.secretAccessKey)) !== null && _e !== void 0 ? _e : (utilities.getEnv("AWS_SECRET_ACCESS_KEY") || ""), sessionToken: (_f = (val.sessionToken)) !== null && _f !== void 0 ? _f : (utilities.getEnv("AWS_SESSION_TOKEN") || "") });
|
|
79
|
-
}
|
|
80
|
-
buildx.cacheToS3ProvideDefaults = cacheToS3ProvideDefaults;
|
|
81
|
-
/**
|
|
82
|
-
* exportProvideDefaults sets the appropriate defaults for Export
|
|
83
|
-
*/
|
|
84
|
-
function exportProvideDefaults(val) {
|
|
85
|
-
return Object.assign(Object.assign({}, val), { docker: (val.docker ? pulumi.output(val.docker).apply(inputs.buildx.exportDockerProvideDefaults) : undefined), image: (val.image ? pulumi.output(val.image).apply(inputs.buildx.exportImageProvideDefaults) : undefined), oci: (val.oci ? pulumi.output(val.oci).apply(inputs.buildx.exportOCIProvideDefaults) : undefined), registry: (val.registry ? pulumi.output(val.registry).apply(inputs.buildx.exportRegistryProvideDefaults) : undefined) });
|
|
86
|
-
}
|
|
87
|
-
buildx.exportProvideDefaults = exportProvideDefaults;
|
|
88
|
-
/**
|
|
89
|
-
* exportDockerProvideDefaults sets the appropriate defaults for ExportDocker
|
|
90
|
-
*/
|
|
91
|
-
function exportDockerProvideDefaults(val) {
|
|
92
|
-
var _a, _b, _c, _d, _e;
|
|
93
|
-
return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : false, tar: (_e = (val.tar)) !== null && _e !== void 0 ? _e : true });
|
|
94
|
-
}
|
|
95
|
-
buildx.exportDockerProvideDefaults = exportDockerProvideDefaults;
|
|
96
|
-
/**
|
|
97
|
-
* exportImageProvideDefaults sets the appropriate defaults for ExportImage
|
|
98
|
-
*/
|
|
99
|
-
function exportImageProvideDefaults(val) {
|
|
100
|
-
var _a, _b, _c, _d, _e;
|
|
101
|
-
return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : false, store: (_e = (val.store)) !== null && _e !== void 0 ? _e : true });
|
|
102
|
-
}
|
|
103
|
-
buildx.exportImageProvideDefaults = exportImageProvideDefaults;
|
|
104
|
-
/**
|
|
105
|
-
* exportOCIProvideDefaults sets the appropriate defaults for ExportOCI
|
|
106
|
-
*/
|
|
107
|
-
function exportOCIProvideDefaults(val) {
|
|
108
|
-
var _a, _b, _c, _d, _e;
|
|
109
|
-
return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : true, tar: (_e = (val.tar)) !== null && _e !== void 0 ? _e : true });
|
|
110
|
-
}
|
|
111
|
-
buildx.exportOCIProvideDefaults = exportOCIProvideDefaults;
|
|
112
|
-
/**
|
|
113
|
-
* exportRegistryProvideDefaults sets the appropriate defaults for ExportRegistry
|
|
114
|
-
*/
|
|
115
|
-
function exportRegistryProvideDefaults(val) {
|
|
116
|
-
var _a, _b, _c, _d, _e, _f;
|
|
117
|
-
return Object.assign(Object.assign({}, val), { compression: (_a = (val.compression)) !== null && _a !== void 0 ? _a : "gzip", compressionLevel: (_b = (val.compressionLevel)) !== null && _b !== void 0 ? _b : 0, forceCompression: (_c = (val.forceCompression)) !== null && _c !== void 0 ? _c : false, ociMediaTypes: (_d = (val.ociMediaTypes)) !== null && _d !== void 0 ? _d : false, push: (_e = (val.push)) !== null && _e !== void 0 ? _e : true, store: (_f = (val.store)) !== null && _f !== void 0 ? _f : true });
|
|
118
|
-
}
|
|
119
|
-
buildx.exportRegistryProvideDefaults = exportRegistryProvideDefaults;
|
|
120
|
-
})(buildx = exports.buildx || (exports.buildx = {}));
|
|
121
5
|
//# sourceMappingURL=input.js.map
|
package/types/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|