@pulumi/harness 0.15.3 → 0.15.4
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/package.json +2 -2
- package/platform/harRegistry.d.ts +15 -0
- package/platform/harRegistry.d.ts.map +1 -1
- package/platform/harRegistry.js +15 -0
- package/platform/harRegistry.js.map +1 -1
- package/types/input.d.ts +12 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +8 -0
- package/types/output.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.15.
|
|
26
|
+
"version": "0.15.4",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -100,6 +100,21 @@ import * as outputs from "../types/output";
|
|
|
100
100
|
* }],
|
|
101
101
|
* parentRef: "accountId/orgId/projectId",
|
|
102
102
|
* });
|
|
103
|
+
* // Example of an Upstream Python Registry with a custom remote URL suffix
|
|
104
|
+
* const pythonUpstream = new harness.platform.HarRegistry("python_upstream", {
|
|
105
|
+
* identifier: "upstream_python_registry",
|
|
106
|
+
* description: "Upstream Python Registry",
|
|
107
|
+
* spaceRef: "accountId/orgId/projectId",
|
|
108
|
+
* packageType: "PYTHON",
|
|
109
|
+
* configs: [{
|
|
110
|
+
* type: "UPSTREAM",
|
|
111
|
+
* source: "Custom",
|
|
112
|
+
* url: "https://pypi.example.com",
|
|
113
|
+
* remoteUrlSuffix: "simple",
|
|
114
|
+
* authType: "Anonymous",
|
|
115
|
+
* }],
|
|
116
|
+
* parentRef: "accountId/orgId/projectId",
|
|
117
|
+
* });
|
|
103
118
|
* // Example of an Upstream Conan Registry (ConanCenter source needs no url)
|
|
104
119
|
* const conanUpstream = new harness.platform.HarRegistry("conan_upstream", {
|
|
105
120
|
* identifier: "upstream_conan_registry",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harRegistry.d.ts","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C
|
|
1
|
+
{"version":3,"file":"harRegistry.d.ts","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsKG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAOxI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW;IAOtD;;OAEG;IACH,SAAwB,eAAe,EAA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-127,6 +127,21 @@ const utilities = __importStar(require("../utilities"));
|
|
|
127
127
|
* }],
|
|
128
128
|
* parentRef: "accountId/orgId/projectId",
|
|
129
129
|
* });
|
|
130
|
+
* // Example of an Upstream Python Registry with a custom remote URL suffix
|
|
131
|
+
* const pythonUpstream = new harness.platform.HarRegistry("python_upstream", {
|
|
132
|
+
* identifier: "upstream_python_registry",
|
|
133
|
+
* description: "Upstream Python Registry",
|
|
134
|
+
* spaceRef: "accountId/orgId/projectId",
|
|
135
|
+
* packageType: "PYTHON",
|
|
136
|
+
* configs: [{
|
|
137
|
+
* type: "UPSTREAM",
|
|
138
|
+
* source: "Custom",
|
|
139
|
+
* url: "https://pypi.example.com",
|
|
140
|
+
* remoteUrlSuffix: "simple",
|
|
141
|
+
* authType: "Anonymous",
|
|
142
|
+
* }],
|
|
143
|
+
* parentRef: "accountId/orgId/projectId",
|
|
144
|
+
* });
|
|
130
145
|
* // Example of an Upstream Conan Registry (ConanCenter source needs no url)
|
|
131
146
|
* const conanUpstream = new harness.platform.HarRegistry("conan_upstream", {
|
|
132
147
|
* identifier: "upstream_conan_registry",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harRegistry.js","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"harRegistry.js","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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G,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnIL,kCAoIC"}
|
package/types/input.d.ts
CHANGED
|
@@ -8313,6 +8313,10 @@ export declare namespace platform {
|
|
|
8313
8313
|
* Dependency firewall mode for UPSTREAM registry type. Valid values: `ALLOW` (default - no policy evaluation), `ENABLED` (firewall active, artifacts scanned against policies), `QUARANTINE` (artifacts that fail policy evaluation are blocked). Not supported for DOCKER or HELM package types.
|
|
8314
8314
|
*/
|
|
8315
8315
|
firewallMode?: string;
|
|
8316
|
+
/**
|
|
8317
|
+
* Optional path suffix for Python UPSTREAM registries with Custom source. Overrides the default `simple` path used for PyPI-compatible indexes. Requires `config.url` when source is Custom. Not supported for non-PYTHON package types. Leading and trailing slashes are normalized.
|
|
8318
|
+
*/
|
|
8319
|
+
remoteUrlSuffix?: string;
|
|
8316
8320
|
/**
|
|
8317
8321
|
* Upstream source
|
|
8318
8322
|
*/
|
|
@@ -8343,6 +8347,10 @@ export declare namespace platform {
|
|
|
8343
8347
|
* Dependency firewall mode for UPSTREAM registry type. Valid values: `ALLOW` (default - no policy evaluation), `ENABLED` (firewall active, artifacts scanned against policies), `QUARANTINE` (artifacts that fail policy evaluation are blocked). Not supported for DOCKER or HELM package types.
|
|
8344
8348
|
*/
|
|
8345
8349
|
firewallMode?: pulumi.Input<string | undefined>;
|
|
8350
|
+
/**
|
|
8351
|
+
* Optional path suffix for Python UPSTREAM registries with Custom source. Overrides the default `simple` path used for PyPI-compatible indexes. Requires `config.url` when source is Custom. Not supported for non-PYTHON package types. Leading and trailing slashes are normalized.
|
|
8352
|
+
*/
|
|
8353
|
+
remoteUrlSuffix?: pulumi.Input<string | undefined>;
|
|
8346
8354
|
/**
|
|
8347
8355
|
* Upstream source
|
|
8348
8356
|
*/
|
|
@@ -36942,6 +36950,10 @@ export declare namespace platform {
|
|
|
36942
36950
|
* Dependency firewall mode for UPSTREAM registry type. Valid values: `ALLOW` (default - no policy evaluation), `ENABLED` (firewall active, artifacts scanned against policies), `QUARANTINE` (artifacts that fail policy evaluation are blocked). Not supported for DOCKER or HELM package types.
|
|
36943
36951
|
*/
|
|
36944
36952
|
firewallMode?: pulumi.Input<string | undefined>;
|
|
36953
|
+
/**
|
|
36954
|
+
* Optional path suffix for Python UPSTREAM registries with Custom source. Overrides the default `simple` path used for PyPI-compatible indexes. Requires `config.url` when source is Custom. Not supported for non-PYTHON package types. Leading and trailing slashes are normalized.
|
|
36955
|
+
*/
|
|
36956
|
+
remoteUrlSuffix?: pulumi.Input<string | undefined>;
|
|
36945
36957
|
/**
|
|
36946
36958
|
* Upstream source
|
|
36947
36959
|
*/
|