@pulumi/artifactory 0.4.0 → 0.5.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/alpineRepository.d.ts +27 -0
- package/alpineRepository.js +4 -0
- package/alpineRepository.js.map +1 -1
- package/artifactPropertyWebhook.d.ts +189 -0
- package/artifactPropertyWebhook.js +115 -0
- package/artifactPropertyWebhook.js.map +1 -0
- package/artifactWebhook.d.ts +191 -0
- package/artifactWebhook.js +117 -0
- package/artifactWebhook.js.map +1 -0
- package/artifactoryReleaseBundleWebhook.d.ts +186 -0
- package/artifactoryReleaseBundleWebhook.js +112 -0
- package/artifactoryReleaseBundleWebhook.js.map +1 -0
- package/buildWebhook.d.ts +186 -0
- package/buildWebhook.js +112 -0
- package/buildWebhook.js.map +1 -0
- package/debianRepository.d.ts +27 -0
- package/debianRepository.js +4 -0
- package/debianRepository.js.map +1 -1
- package/distributionWebhook.d.ts +190 -0
- package/distributionWebhook.js +116 -0
- package/distributionWebhook.js.map +1 -0
- package/dockerV1Repository.d.ts +27 -0
- package/dockerV1Repository.js +4 -0
- package/dockerV1Repository.js.map +1 -1
- package/dockerV2Repository.d.ts +27 -0
- package/dockerV2Repository.js +4 -0
- package/dockerV2Repository.js.map +1 -1
- package/dockerWebhook.d.ts +190 -0
- package/dockerWebhook.js +116 -0
- package/dockerWebhook.js.map +1 -0
- package/federatedAlpineRepository.d.ts +27 -0
- package/federatedAlpineRepository.js +4 -0
- package/federatedAlpineRepository.js.map +1 -1
- package/federatedBowerRepository.d.ts +27 -0
- package/federatedBowerRepository.js +4 -0
- package/federatedBowerRepository.js.map +1 -1
- package/federatedCargoRepository.d.ts +27 -0
- package/federatedCargoRepository.js +4 -0
- package/federatedCargoRepository.js.map +1 -1
- package/federatedChefRepository.d.ts +27 -0
- package/federatedChefRepository.js +4 -0
- package/federatedChefRepository.js.map +1 -1
- package/federatedCocoapodsRepository.d.ts +27 -0
- package/federatedCocoapodsRepository.js +4 -0
- package/federatedCocoapodsRepository.js.map +1 -1
- package/federatedComposerRepository.d.ts +27 -0
- package/federatedComposerRepository.js +4 -0
- package/federatedComposerRepository.js.map +1 -1
- package/federatedConanRepository.d.ts +27 -0
- package/federatedConanRepository.js +4 -0
- package/federatedConanRepository.js.map +1 -1
- package/federatedCondaRepository.d.ts +27 -0
- package/federatedCondaRepository.js +4 -0
- package/federatedCondaRepository.js.map +1 -1
- package/federatedCranRepository.d.ts +27 -0
- package/federatedCranRepository.js +4 -0
- package/federatedCranRepository.js.map +1 -1
- package/federatedDebianRepository.d.ts +27 -0
- package/federatedDebianRepository.js +4 -0
- package/federatedDebianRepository.js.map +1 -1
- package/federatedDockerRepository.d.ts +27 -0
- package/federatedDockerRepository.js +4 -0
- package/federatedDockerRepository.js.map +1 -1
- package/federatedGemsRepository.d.ts +27 -0
- package/federatedGemsRepository.js +4 -0
- package/federatedGemsRepository.js.map +1 -1
- package/federatedGenericRepository.d.ts +24 -0
- package/federatedGenericRepository.js +4 -0
- package/federatedGenericRepository.js.map +1 -1
- package/federatedGitltfsRepository.d.ts +27 -0
- package/federatedGitltfsRepository.js +4 -0
- package/federatedGitltfsRepository.js.map +1 -1
- package/federatedGoRepository.d.ts +27 -0
- package/federatedGoRepository.js +4 -0
- package/federatedGoRepository.js.map +1 -1
- package/federatedGradleRepository.d.ts +27 -0
- package/federatedGradleRepository.js +4 -0
- package/federatedGradleRepository.js.map +1 -1
- package/federatedHelmRepository.d.ts +27 -0
- package/federatedHelmRepository.js +4 -0
- package/federatedHelmRepository.js.map +1 -1
- package/federatedIvyRepository.d.ts +27 -0
- package/federatedIvyRepository.js +4 -0
- package/federatedIvyRepository.js.map +1 -1
- package/federatedMavenRepository.d.ts +27 -0
- package/federatedMavenRepository.js +4 -0
- package/federatedMavenRepository.js.map +1 -1
- package/federatedNpmRepository.d.ts +27 -0
- package/federatedNpmRepository.js +4 -0
- package/federatedNpmRepository.js.map +1 -1
- package/federatedNugetRepository.d.ts +27 -0
- package/federatedNugetRepository.js +4 -0
- package/federatedNugetRepository.js.map +1 -1
- package/federatedOpkgRepository.d.ts +27 -0
- package/federatedOpkgRepository.js +4 -0
- package/federatedOpkgRepository.js.map +1 -1
- package/federatedPuppetRepository.d.ts +27 -0
- package/federatedPuppetRepository.js +4 -0
- package/federatedPuppetRepository.js.map +1 -1
- package/federatedPypiRepository.d.ts +27 -0
- package/federatedPypiRepository.js +4 -0
- package/federatedPypiRepository.js.map +1 -1
- package/federatedRpmRepository.d.ts +27 -0
- package/federatedRpmRepository.js +4 -0
- package/federatedRpmRepository.js.map +1 -1
- package/federatedSbtRepository.d.ts +27 -0
- package/federatedSbtRepository.js +4 -0
- package/federatedSbtRepository.js.map +1 -1
- package/federatedVagrantRepository.d.ts +27 -0
- package/federatedVagrantRepository.js +4 -0
- package/federatedVagrantRepository.js.map +1 -1
- package/goRepository.d.ts +27 -0
- package/goRepository.js +4 -0
- package/goRepository.js.map +1 -1
- package/index.d.ts +8 -0
- package/index.js +40 -0
- package/index.js.map +1 -1
- package/localBowerRepository.d.ts +27 -0
- package/localBowerRepository.js +4 -0
- package/localBowerRepository.js.map +1 -1
- package/localChefRepository.d.ts +27 -0
- package/localChefRepository.js +4 -0
- package/localChefRepository.js.map +1 -1
- package/localCocoapodsRepository.d.ts +27 -0
- package/localCocoapodsRepository.js +4 -0
- package/localCocoapodsRepository.js.map +1 -1
- package/localComposerRepository.d.ts +27 -0
- package/localComposerRepository.js +4 -0
- package/localComposerRepository.js.map +1 -1
- package/localConanRepository.d.ts +27 -0
- package/localConanRepository.js +4 -0
- package/localConanRepository.js.map +1 -1
- package/localCranRepository.d.ts +27 -0
- package/localCranRepository.js +4 -0
- package/localCranRepository.js.map +1 -1
- package/localGemsRepository.d.ts +27 -0
- package/localGemsRepository.js +4 -0
- package/localGemsRepository.js.map +1 -1
- package/localGenericRepository.d.ts +24 -0
- package/localGenericRepository.js +4 -0
- package/localGenericRepository.js.map +1 -1
- package/localGitltfsRepository.d.ts +27 -0
- package/localGitltfsRepository.js +4 -0
- package/localGitltfsRepository.js.map +1 -1
- package/localGoRepository.d.ts +27 -0
- package/localGoRepository.js +4 -0
- package/localGoRepository.js.map +1 -1
- package/localGradleRepository.d.ts +27 -0
- package/localGradleRepository.js +4 -0
- package/localGradleRepository.js.map +1 -1
- package/localHelmRepository.d.ts +27 -0
- package/localHelmRepository.js +4 -0
- package/localHelmRepository.js.map +1 -1
- package/localIvyRepository.d.ts +27 -0
- package/localIvyRepository.js +4 -0
- package/localIvyRepository.js.map +1 -1
- package/localMavenRepository.d.ts +27 -0
- package/localMavenRepository.js +4 -0
- package/localMavenRepository.js.map +1 -1
- package/localNpmRepository.d.ts +27 -0
- package/localNpmRepository.js +4 -0
- package/localNpmRepository.js.map +1 -1
- package/localNugetRepository.d.ts +27 -0
- package/localNugetRepository.js +4 -0
- package/localNugetRepository.js.map +1 -1
- package/localOpkgRepository.d.ts +27 -0
- package/localOpkgRepository.js +4 -0
- package/localOpkgRepository.js.map +1 -1
- package/localPuppetRepository.d.ts +27 -0
- package/localPuppetRepository.js +4 -0
- package/localPuppetRepository.js.map +1 -1
- package/localPypiRepository.d.ts +27 -0
- package/localPypiRepository.js +4 -0
- package/localPypiRepository.js.map +1 -1
- package/localRpmRepository.d.ts +27 -0
- package/localRpmRepository.js +4 -0
- package/localRpmRepository.js.map +1 -1
- package/localSbtRepository.d.ts +27 -0
- package/localSbtRepository.js +4 -0
- package/localSbtRepository.js.map +1 -1
- package/localVagrantRepository.d.ts +27 -0
- package/localVagrantRepository.js +4 -0
- package/localVagrantRepository.js.map +1 -1
- package/mavenRepository.d.ts +27 -0
- package/mavenRepository.js +4 -0
- package/mavenRepository.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/releaseBundleWebhook.d.ts +186 -0
- package/releaseBundleWebhook.js +112 -0
- package/releaseBundleWebhook.js.map +1 -0
- package/remoteCargoRepository.d.ts +24 -0
- package/remoteCargoRepository.js +4 -0
- package/remoteCargoRepository.js.map +1 -1
- package/remoteDockerRepository.d.ts +24 -0
- package/remoteDockerRepository.js +4 -0
- package/remoteDockerRepository.js.map +1 -1
- package/remoteHelmRepository.d.ts +24 -0
- package/remoteHelmRepository.js +4 -0
- package/remoteHelmRepository.js.map +1 -1
- package/remoteNpmRepository.d.ts +24 -0
- package/remoteNpmRepository.js +4 -0
- package/remoteNpmRepository.js.map +1 -1
- package/remotePypiRepository.d.ts +24 -0
- package/remotePypiRepository.js +4 -0
- package/remotePypiRepository.js.map +1 -1
- package/types/input.d.ts +138 -0
- package/types/output.d.ts +138 -0
- package/virtualConanRepository.d.ts +27 -0
- package/virtualConanRepository.js +4 -0
- package/virtualConanRepository.js.map +1 -1
- package/virtualGenericRepository.d.ts +24 -0
- package/virtualGenericRepository.js +4 -0
- package/virtualGenericRepository.js.map +1 -1
- package/virtualHelmRepository.d.ts +252 -0
- package/virtualHelmRepository.js +103 -0
- package/virtualHelmRepository.js.map +1 -0
- package/virtualRpmRepository.d.ts +27 -0
- package/virtualRpmRepository.js +4 -0
- package/virtualRpmRepository.js.map +1 -1
|
@@ -50,6 +50,8 @@ class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
50
50
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
51
51
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
52
52
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
53
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
54
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
53
55
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
54
56
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
55
57
|
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
@@ -66,6 +68,8 @@ class VirtualGenericRepository extends pulumi.CustomResource {
|
|
|
66
68
|
resourceInputs["includesPattern"] = args ? args.includesPattern : undefined;
|
|
67
69
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
68
70
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
71
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
72
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
69
73
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
70
74
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
71
75
|
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualGenericRepository.js","sourceRoot":"","sources":["../virtualGenericRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualGenericRepository.js","sourceRoot":"","sources":["../virtualGenericRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAiG/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,+CAA+C,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1I,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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
+
* Provides an Artifactory virtual repository resource with Helm package type. This should be preferred over the original one-size-fits-all `artifactory.VirtualRepository`.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
12
|
+
*
|
|
13
|
+
* const foo_helm_virtual = new artifactory.VirtualHelmRepository("foo-helm-virtual", {
|
|
14
|
+
* key: "foo-helm-virtual",
|
|
15
|
+
* useNamespaces: true,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* Virtual repositories can be imported using their name, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import artifactory:index/virtualHelmRepository:VirtualHelmRepository foo foo
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class VirtualHelmRepository extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing VirtualHelmRepository resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualHelmRepositoryState, opts?: pulumi.CustomResourceOptions): VirtualHelmRepository;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of VirtualHelmRepository. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is VirtualHelmRepository;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by
|
|
45
|
+
* another Artifactory instance.
|
|
46
|
+
*/
|
|
47
|
+
readonly artifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Output<boolean | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Default repository to deploy artifacts.
|
|
50
|
+
*/
|
|
51
|
+
readonly defaultDeploymentRepo: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* A free text field that describes the content and purpose of the repository. If you choose to insert a link into this
|
|
54
|
+
* field, clicking the link will prompt the user to confirm that they might be redirected to a new domain.
|
|
55
|
+
*/
|
|
56
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no
|
|
59
|
+
* artifacts are excluded.
|
|
60
|
+
*/
|
|
61
|
+
readonly excludesPattern: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
64
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
65
|
+
*/
|
|
66
|
+
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The Repository Key. A mandatory identifier for the repository and must be unique. It cannot begin with a number or
|
|
69
|
+
* contain spaces or special characters. For local repositories, we recommend using a '-local' suffix (e.g.
|
|
70
|
+
* 'libs-release-local').
|
|
71
|
+
*/
|
|
72
|
+
readonly key: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* A free text field to add additional notes about the repository. These are only visible to the administrator.
|
|
75
|
+
*/
|
|
76
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The Package Type. This must be specified when the repository is created, and once set, cannot be changed.
|
|
79
|
+
*/
|
|
80
|
+
readonly packageType: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
83
|
+
*/
|
|
84
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
87
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
88
|
+
*/
|
|
89
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that
|
|
92
|
+
* corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
93
|
+
*/
|
|
94
|
+
readonly repoLayoutRef: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The effective list of actual repositories included in this virtual repository.
|
|
97
|
+
*/
|
|
98
|
+
readonly repositories: pulumi.Output<string[] | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
101
|
+
* repositories. A value of 0 indicates no caching.
|
|
102
|
+
*/
|
|
103
|
+
readonly retrievalCachePeriodSeconds: pulumi.Output<number | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* - From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See https://www.jfrog.com/confluence/display/JFROG/Kubernetes+Helm+Chart+Repositories#KubernetesHelmChartRepositories-NamespaceSupportforHelmVirtualRepositories. Default to 'false'.
|
|
106
|
+
*/
|
|
107
|
+
readonly useNamespaces: pulumi.Output<boolean | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Create a VirtualHelmRepository resource with the given unique name, arguments, and options.
|
|
110
|
+
*
|
|
111
|
+
* @param name The _unique_ name of the resource.
|
|
112
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
113
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
114
|
+
*/
|
|
115
|
+
constructor(name: string, args: VirtualHelmRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Input properties used for looking up and filtering VirtualHelmRepository resources.
|
|
119
|
+
*/
|
|
120
|
+
export interface VirtualHelmRepositoryState {
|
|
121
|
+
/**
|
|
122
|
+
* Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by
|
|
123
|
+
* another Artifactory instance.
|
|
124
|
+
*/
|
|
125
|
+
artifactoryRequestsCanRetrieveRemoteArtifacts?: pulumi.Input<boolean>;
|
|
126
|
+
/**
|
|
127
|
+
* Default repository to deploy artifacts.
|
|
128
|
+
*/
|
|
129
|
+
defaultDeploymentRepo?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* A free text field that describes the content and purpose of the repository. If you choose to insert a link into this
|
|
132
|
+
* field, clicking the link will prompt the user to confirm that they might be redirected to a new domain.
|
|
133
|
+
*/
|
|
134
|
+
description?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no
|
|
137
|
+
* artifacts are excluded.
|
|
138
|
+
*/
|
|
139
|
+
excludesPattern?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
142
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
143
|
+
*/
|
|
144
|
+
includesPattern?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The Repository Key. A mandatory identifier for the repository and must be unique. It cannot begin with a number or
|
|
147
|
+
* contain spaces or special characters. For local repositories, we recommend using a '-local' suffix (e.g.
|
|
148
|
+
* 'libs-release-local').
|
|
149
|
+
*/
|
|
150
|
+
key?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* A free text field to add additional notes about the repository. These are only visible to the administrator.
|
|
153
|
+
*/
|
|
154
|
+
notes?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The Package Type. This must be specified when the repository is created, and once set, cannot be changed.
|
|
157
|
+
*/
|
|
158
|
+
packageType?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
161
|
+
*/
|
|
162
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
163
|
+
/**
|
|
164
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
165
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
166
|
+
*/
|
|
167
|
+
projectKey?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that
|
|
170
|
+
* corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
171
|
+
*/
|
|
172
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The effective list of actual repositories included in this virtual repository.
|
|
175
|
+
*/
|
|
176
|
+
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
177
|
+
/**
|
|
178
|
+
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
179
|
+
* repositories. A value of 0 indicates no caching.
|
|
180
|
+
*/
|
|
181
|
+
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
182
|
+
/**
|
|
183
|
+
* - From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See https://www.jfrog.com/confluence/display/JFROG/Kubernetes+Helm+Chart+Repositories#KubernetesHelmChartRepositories-NamespaceSupportforHelmVirtualRepositories. Default to 'false'.
|
|
184
|
+
*/
|
|
185
|
+
useNamespaces?: pulumi.Input<boolean>;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The set of arguments for constructing a VirtualHelmRepository resource.
|
|
189
|
+
*/
|
|
190
|
+
export interface VirtualHelmRepositoryArgs {
|
|
191
|
+
/**
|
|
192
|
+
* Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by
|
|
193
|
+
* another Artifactory instance.
|
|
194
|
+
*/
|
|
195
|
+
artifactoryRequestsCanRetrieveRemoteArtifacts?: pulumi.Input<boolean>;
|
|
196
|
+
/**
|
|
197
|
+
* Default repository to deploy artifacts.
|
|
198
|
+
*/
|
|
199
|
+
defaultDeploymentRepo?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* A free text field that describes the content and purpose of the repository. If you choose to insert a link into this
|
|
202
|
+
* field, clicking the link will prompt the user to confirm that they might be redirected to a new domain.
|
|
203
|
+
*/
|
|
204
|
+
description?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no
|
|
207
|
+
* artifacts are excluded.
|
|
208
|
+
*/
|
|
209
|
+
excludesPattern?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
212
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
213
|
+
*/
|
|
214
|
+
includesPattern?: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* The Repository Key. A mandatory identifier for the repository and must be unique. It cannot begin with a number or
|
|
217
|
+
* contain spaces or special characters. For local repositories, we recommend using a '-local' suffix (e.g.
|
|
218
|
+
* 'libs-release-local').
|
|
219
|
+
*/
|
|
220
|
+
key: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* A free text field to add additional notes about the repository. These are only visible to the administrator.
|
|
223
|
+
*/
|
|
224
|
+
notes?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
227
|
+
*/
|
|
228
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
229
|
+
/**
|
|
230
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
231
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
232
|
+
*/
|
|
233
|
+
projectKey?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that
|
|
236
|
+
* corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
237
|
+
*/
|
|
238
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
239
|
+
/**
|
|
240
|
+
* The effective list of actual repositories included in this virtual repository.
|
|
241
|
+
*/
|
|
242
|
+
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
243
|
+
/**
|
|
244
|
+
* This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated
|
|
245
|
+
* repositories. A value of 0 indicates no caching.
|
|
246
|
+
*/
|
|
247
|
+
retrievalCachePeriodSeconds?: pulumi.Input<number>;
|
|
248
|
+
/**
|
|
249
|
+
* - From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See https://www.jfrog.com/confluence/display/JFROG/Kubernetes+Helm+Chart+Repositories#KubernetesHelmChartRepositories-NamespaceSupportforHelmVirtualRepositories. Default to 'false'.
|
|
250
|
+
*/
|
|
251
|
+
useNamespaces?: pulumi.Input<boolean>;
|
|
252
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.VirtualHelmRepository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory Virtual Helm Repository Resource
|
|
10
|
+
*
|
|
11
|
+
* Provides an Artifactory virtual repository resource with Helm package type. This should be preferred over the original one-size-fits-all `artifactory.VirtualRepository`.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
18
|
+
*
|
|
19
|
+
* const foo_helm_virtual = new artifactory.VirtualHelmRepository("foo-helm-virtual", {
|
|
20
|
+
* key: "foo-helm-virtual",
|
|
21
|
+
* useNamespaces: true,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Virtual repositories can be imported using their name, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import artifactory:index/virtualHelmRepository:VirtualHelmRepository foo foo
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class VirtualHelmRepository extends pulumi.CustomResource {
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["artifactoryRequestsCanRetrieveRemoteArtifacts"] = state ? state.artifactoryRequestsCanRetrieveRemoteArtifacts : undefined;
|
|
40
|
+
resourceInputs["defaultDeploymentRepo"] = state ? state.defaultDeploymentRepo : undefined;
|
|
41
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
42
|
+
resourceInputs["excludesPattern"] = state ? state.excludesPattern : undefined;
|
|
43
|
+
resourceInputs["includesPattern"] = state ? state.includesPattern : undefined;
|
|
44
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
45
|
+
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
46
|
+
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
47
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
48
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
49
|
+
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
50
|
+
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
51
|
+
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
52
|
+
resourceInputs["useNamespaces"] = state ? state.useNamespaces : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'key'");
|
|
58
|
+
}
|
|
59
|
+
resourceInputs["artifactoryRequestsCanRetrieveRemoteArtifacts"] = args ? args.artifactoryRequestsCanRetrieveRemoteArtifacts : undefined;
|
|
60
|
+
resourceInputs["defaultDeploymentRepo"] = args ? args.defaultDeploymentRepo : undefined;
|
|
61
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
62
|
+
resourceInputs["excludesPattern"] = args ? args.excludesPattern : undefined;
|
|
63
|
+
resourceInputs["includesPattern"] = args ? args.includesPattern : undefined;
|
|
64
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
65
|
+
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
66
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
67
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
68
|
+
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
69
|
+
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
70
|
+
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
71
|
+
resourceInputs["useNamespaces"] = args ? args.useNamespaces : undefined;
|
|
72
|
+
resourceInputs["packageType"] = undefined /*out*/;
|
|
73
|
+
}
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
super(VirtualHelmRepository.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Get an existing VirtualHelmRepository resource's state with the given name, ID, and optional extra
|
|
79
|
+
* properties used to qualify the lookup.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resulting resource.
|
|
82
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
83
|
+
* @param state Any extra arguments used during the lookup.
|
|
84
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
|
+
*/
|
|
86
|
+
static get(name, id, state, opts) {
|
|
87
|
+
return new VirtualHelmRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Returns true if the given object is an instance of VirtualHelmRepository. This is designed to work even
|
|
91
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
92
|
+
*/
|
|
93
|
+
static isInstance(obj) {
|
|
94
|
+
if (obj === undefined || obj === null) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
return obj['__pulumiType'] === VirtualHelmRepository.__pulumiType;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.VirtualHelmRepository = VirtualHelmRepository;
|
|
101
|
+
/** @internal */
|
|
102
|
+
VirtualHelmRepository.__pulumiType = 'artifactory:index/virtualHelmRepository:VirtualHelmRepository';
|
|
103
|
+
//# sourceMappingURL=virtualHelmRepository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualHelmRepository.js","sourceRoot":"","sources":["../virtualHelmRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,M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ID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAgJC;AAlIG,gBAAgB;AACO,kCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -103,6 +103,15 @@ export declare class VirtualRpmRepository extends pulumi.CustomResource {
|
|
|
103
103
|
* - The primary GPG key to be used to sign packages
|
|
104
104
|
*/
|
|
105
105
|
readonly primaryKeypairRef: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
108
|
+
*/
|
|
109
|
+
readonly projectEnvironments: pulumi.Output<string[] | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
112
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
113
|
+
*/
|
|
114
|
+
readonly projectKey: pulumi.Output<string | undefined>;
|
|
106
115
|
/**
|
|
107
116
|
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that
|
|
108
117
|
* corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
@@ -176,6 +185,15 @@ export interface VirtualRpmRepositoryState {
|
|
|
176
185
|
* - The primary GPG key to be used to sign packages
|
|
177
186
|
*/
|
|
178
187
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
190
|
+
*/
|
|
191
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
192
|
+
/**
|
|
193
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
194
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
195
|
+
*/
|
|
196
|
+
projectKey?: pulumi.Input<string>;
|
|
179
197
|
/**
|
|
180
198
|
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that
|
|
181
199
|
* corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
|
@@ -237,6 +255,15 @@ export interface VirtualRpmRepositoryArgs {
|
|
|
237
255
|
* - The primary GPG key to be used to sign packages
|
|
238
256
|
*/
|
|
239
257
|
primaryKeypairRef?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
|
|
260
|
+
*/
|
|
261
|
+
projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
|
|
262
|
+
/**
|
|
263
|
+
* Project key for assigning this repository to. Must be 3 - 10 lowercase alphanumeric characters. When assigning
|
|
264
|
+
* repository to a project, repository key must be prefixed with project key, separated by a dash.
|
|
265
|
+
*/
|
|
266
|
+
projectKey?: pulumi.Input<string>;
|
|
240
267
|
/**
|
|
241
268
|
* Sets the layout that the repository should use for storing and identifying modules. A recommended layout that
|
|
242
269
|
* corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly.
|
package/virtualRpmRepository.js
CHANGED
|
@@ -66,6 +66,8 @@ class VirtualRpmRepository extends pulumi.CustomResource {
|
|
|
66
66
|
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
67
67
|
resourceInputs["packageType"] = state ? state.packageType : undefined;
|
|
68
68
|
resourceInputs["primaryKeypairRef"] = state ? state.primaryKeypairRef : undefined;
|
|
69
|
+
resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
|
|
70
|
+
resourceInputs["projectKey"] = state ? state.projectKey : undefined;
|
|
69
71
|
resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
70
72
|
resourceInputs["repositories"] = state ? state.repositories : undefined;
|
|
71
73
|
resourceInputs["retrievalCachePeriodSeconds"] = state ? state.retrievalCachePeriodSeconds : undefined;
|
|
@@ -84,6 +86,8 @@ class VirtualRpmRepository extends pulumi.CustomResource {
|
|
|
84
86
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
85
87
|
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
86
88
|
resourceInputs["primaryKeypairRef"] = args ? args.primaryKeypairRef : undefined;
|
|
89
|
+
resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
|
|
90
|
+
resourceInputs["projectKey"] = args ? args.projectKey : undefined;
|
|
87
91
|
resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
88
92
|
resourceInputs["repositories"] = args ? args.repositories : undefined;
|
|
89
93
|
resourceInputs["retrievalCachePeriodSeconds"] = args ? args.retrievalCachePeriodSeconds : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualRpmRepository.js","sourceRoot":"","sources":["../virtualRpmRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"virtualRpmRepository.js","sourceRoot":"","sources":["../virtualRpmRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,oBAAqB,SAAQ,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