You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "(generic only) A unique prefix used to distinguish this upstream source within the repository. Requests including this prefix are routed to this upstream.",
1412
+
Optional: true,
1413
+
Computed: true,
1414
+
},
1360
1415
UpstreamType: {
1361
1416
Type: schema.TypeString,
1362
1417
Description: "The type of Upstream (docker, nuget, python, ...)",
@@ -295,7 +308,8 @@ The following arguments are supported:
295
308
|`priority`| N | number | N/A | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. |
296
309
|`repository`| Y | string | N/A | The Repository to which the upstream belongs. |
297
310
|`upstream_distribution`| N | string | N/A | Used only in conjunction with an `upstream_type` of `"deb"` to declare the [distribution](https://wiki.debian.org/DebianRepository/Format#Overview) to fetch from the upstream. |
298
-
|`upstream_type`| Y | string |`"cargo"`<br>`"composer"`<br>`"conda"`<br>`"cran"`<br>`"dart"`<br>`"deb"`<br>`"docker"`<br>`"go"`<br>`"helm"`<br>`"hex"`<br>`"huggingface"`<br>`"maven"`<br>`"npm"`<br>`"nuget"`<br>`"python"`<br>`"rpm"`<br>`"ruby"`<br>`"swift"`| The type of Upstream. |
311
+
|`upstream_prefix`| N | string | N/A | Used only in conjunction with an `upstream_type` of `"generic"` to declare a unique prefix to distinguish this upstream source. Requests including this prefix are routed to this upstream. |
312
+
|`upstream_type`| Y | string |`"cargo"`<br>`"composer"`<br>`"conda"`<br>`"cran"`<br>`"dart"`<br>`"deb"`<br>`"docker"`<br>`"generic"`<br>`"go"`<br>`"helm"`<br>`"hex"`<br>`"huggingface"`<br>`"maven"`<br>`"npm"`<br>`"nuget"`<br>`"python"`<br>`"rpm"`<br>`"ruby"`<br>`"swift"`| The type of Upstream. |
299
313
|`upstream_url`| Y | string | N/A | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. The URL cannot end with a trailing slash. |
300
314
|`verify_ssl`| N | bool | N/A | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. |
0 commit comments