@pulumi/artifactory 0.0.1-alpha.1636999306
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/LICENSE +202 -0
- package/README.md +63 -0
- package/accessToken.d.ts +142 -0
- package/accessToken.js +75 -0
- package/accessToken.js.map +1 -0
- package/alpineRepository.d.ts +137 -0
- package/alpineRepository.js +107 -0
- package/alpineRepository.js.map +1 -0
- package/apiKey.d.ts +53 -0
- package/apiKey.js +60 -0
- package/apiKey.js.map +1 -0
- package/certificate.d.ts +135 -0
- package/certificate.js +100 -0
- package/certificate.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +17 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +12 -0
- package/config/vars.js +37 -0
- package/config/vars.js.map +1 -0
- package/debianRepository.d.ts +193 -0
- package/debianRepository.js +128 -0
- package/debianRepository.js.map +1 -0
- package/dockerV1Repository.d.ts +155 -0
- package/dockerV1Repository.js +100 -0
- package/dockerV1Repository.js.map +1 -0
- package/dockerV2Repository.d.ts +163 -0
- package/dockerV2Repository.js +102 -0
- package/dockerV2Repository.js.map +1 -0
- package/generalSecurity.d.ts +66 -0
- package/generalSecurity.js +78 -0
- package/generalSecurity.js.map +1 -0
- package/getFile.d.ts +121 -0
- package/getFile.js +46 -0
- package/getFile.js.map +1 -0
- package/getFileinfo.d.ts +102 -0
- package/getFileinfo.js +43 -0
- package/getFileinfo.js.map +1 -0
- package/goRepository.d.ts +149 -0
- package/goRepository.js +115 -0
- package/goRepository.js.map +1 -0
- package/group.d.ts +141 -0
- package/group.js +74 -0
- package/group.js.map +1 -0
- package/index.d.ts +33 -0
- package/index.js +182 -0
- package/index.js.map +1 -0
- package/keypair.d.ts +139 -0
- package/keypair.js +101 -0
- package/keypair.js.map +1 -0
- package/localRepository.d.ts +134 -0
- package/localRepository.js +126 -0
- package/localRepository.js.map +1 -0
- package/mavenRepository.d.ts +172 -0
- package/mavenRepository.js +128 -0
- package/mavenRepository.js.map +1 -0
- package/oauthSettings.d.ts +124 -0
- package/oauthSettings.js +99 -0
- package/oauthSettings.js.map +1 -0
- package/package.json +27 -0
- package/package.json.bak +26 -0
- package/package.json.dev +26 -0
- package/permissionTarget.d.ts +150 -0
- package/permissionTarget.js +131 -0
- package/permissionTarget.js.map +1 -0
- package/permissionTargets.d.ts +49 -0
- package/permissionTargets.js +57 -0
- package/permissionTargets.js.map +1 -0
- package/provider.d.ts +67 -0
- package/provider.js +51 -0
- package/provider.js.map +1 -0
- package/remoteCargoRepository.d.ts +323 -0
- package/remoteCargoRepository.js +156 -0
- package/remoteCargoRepository.js.map +1 -0
- package/remoteDockerRepository.d.ts +363 -0
- package/remoteDockerRepository.js +158 -0
- package/remoteDockerRepository.js.map +1 -0
- package/remoteHelmRepository.d.ts +306 -0
- package/remoteHelmRepository.js +149 -0
- package/remoteHelmRepository.js.map +1 -0
- package/remoteRepository.d.ts +208 -0
- package/remoteRepository.js +160 -0
- package/remoteRepository.js.map +1 -0
- package/replicationConfig.d.ts +58 -0
- package/replicationConfig.js +72 -0
- package/replicationConfig.js.map +1 -0
- package/samlSettings.d.ts +218 -0
- package/samlSettings.js +120 -0
- package/samlSettings.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/singleReplicationConfig.d.ts +90 -0
- package/singleReplicationConfig.js +88 -0
- package/singleReplicationConfig.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +369 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +368 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +132 -0
- package/user.js +77 -0
- package/user.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +52 -0
- package/utilities.js.map +1 -0
- package/virtualRepository.d.ts +115 -0
- package/virtualRepository.js +123 -0
- package/virtualRepository.js.map +1 -0
- package/xrayPolicy.d.ts +122 -0
- package/xrayPolicy.js +82 -0
- package/xrayPolicy.js.map +1 -0
- package/xrayWatch.d.ts +113 -0
- package/xrayWatch.js +80 -0
- package/xrayWatch.js.map +1 -0
package/getFileinfo.d.ts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## # Artifactory File Info Data Source
|
|
4
|
+
*
|
|
5
|
+
* Provides an Artifactory fileinfo datasource. This can be used to read metadata of files stored in Artifactory repositories.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
12
|
+
*
|
|
13
|
+
* //
|
|
14
|
+
* const my_file = pulumi.output(artifactory.getFileinfo({
|
|
15
|
+
* path: "/path/to/the/artifact.zip",
|
|
16
|
+
* repository: "repo-key",
|
|
17
|
+
* }));
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getFileinfo(args: GetFileinfoArgs, opts?: pulumi.InvokeOptions): Promise<GetFileinfoResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getFileinfo.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetFileinfoArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The path to the file within the repository.
|
|
27
|
+
*/
|
|
28
|
+
path: string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the repository where the file is stored.
|
|
31
|
+
*/
|
|
32
|
+
repository: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getFileinfo.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetFileinfoResult {
|
|
38
|
+
/**
|
|
39
|
+
* The time & date when the file was created.
|
|
40
|
+
*/
|
|
41
|
+
readonly created: string;
|
|
42
|
+
/**
|
|
43
|
+
* The user who created the file.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdBy: string;
|
|
46
|
+
/**
|
|
47
|
+
* The URI that can be used to download the file.
|
|
48
|
+
*/
|
|
49
|
+
readonly downloadUri: string;
|
|
50
|
+
/**
|
|
51
|
+
* The provider-assigned unique ID for this managed resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly id: string;
|
|
54
|
+
/**
|
|
55
|
+
* The time & date when the file was last modified.
|
|
56
|
+
*/
|
|
57
|
+
readonly lastModified: string;
|
|
58
|
+
/**
|
|
59
|
+
* The time & date when the file was last updated.
|
|
60
|
+
*/
|
|
61
|
+
readonly lastUpdated: string;
|
|
62
|
+
/**
|
|
63
|
+
* MD5 checksum of the file.
|
|
64
|
+
*/
|
|
65
|
+
readonly md5: string;
|
|
66
|
+
/**
|
|
67
|
+
* The mimetype of the file.
|
|
68
|
+
*/
|
|
69
|
+
readonly mimetype: string;
|
|
70
|
+
/**
|
|
71
|
+
* The user who last modified the file.
|
|
72
|
+
*/
|
|
73
|
+
readonly modifiedBy: string;
|
|
74
|
+
readonly path: string;
|
|
75
|
+
readonly repository: string;
|
|
76
|
+
/**
|
|
77
|
+
* SHA1 checksum of the file.
|
|
78
|
+
*/
|
|
79
|
+
readonly sha1: string;
|
|
80
|
+
/**
|
|
81
|
+
* SHA256 checksum of the file.
|
|
82
|
+
*/
|
|
83
|
+
readonly sha256: string;
|
|
84
|
+
/**
|
|
85
|
+
* The size of the file.
|
|
86
|
+
*/
|
|
87
|
+
readonly size: number;
|
|
88
|
+
}
|
|
89
|
+
export declare function getFileinfoOutput(args: GetFileinfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFileinfoResult>;
|
|
90
|
+
/**
|
|
91
|
+
* A collection of arguments for invoking getFileinfo.
|
|
92
|
+
*/
|
|
93
|
+
export interface GetFileinfoOutputArgs {
|
|
94
|
+
/**
|
|
95
|
+
* The path to the file within the repository.
|
|
96
|
+
*/
|
|
97
|
+
path: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Name of the repository where the file is stored.
|
|
100
|
+
*/
|
|
101
|
+
repository: pulumi.Input<string>;
|
|
102
|
+
}
|
package/getFileinfo.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
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.getFileinfoOutput = exports.getFileinfo = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory File Info Data Source
|
|
10
|
+
*
|
|
11
|
+
* Provides an Artifactory fileinfo datasource. This can be used to read metadata of files stored in Artifactory repositories.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
18
|
+
*
|
|
19
|
+
* //
|
|
20
|
+
* const my_file = pulumi.output(artifactory.getFileinfo({
|
|
21
|
+
* path: "/path/to/the/artifact.zip",
|
|
22
|
+
* repository: "repo-key",
|
|
23
|
+
* }));
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
function getFileinfo(args, opts) {
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
if (!opts.version) {
|
|
31
|
+
opts.version = utilities.getVersion();
|
|
32
|
+
}
|
|
33
|
+
return pulumi.runtime.invoke("artifactory:index/getFileinfo:getFileinfo", {
|
|
34
|
+
"path": args.path,
|
|
35
|
+
"repository": args.repository,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getFileinfo = getFileinfo;
|
|
39
|
+
function getFileinfoOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getFileinfo(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getFileinfoOutput = getFileinfoOutput;
|
|
43
|
+
//# sourceMappingURL=getFileinfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFileinfo.js","sourceRoot":"","sources":["../getFileinfo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kCAYC;AAwED,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## # Artifactory Virtual Go Repository Resource
|
|
4
|
+
*
|
|
5
|
+
* Provides an Artifactory virtual repository resource, but with specific go lang features. This should be preferred over the original
|
|
6
|
+
* one-size-fits-all `artifactory.VirtualRepository`.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
13
|
+
*
|
|
14
|
+
* const baz_go = new artifactory.GoRepository("baz-go", {
|
|
15
|
+
* description: "A test virtual repo",
|
|
16
|
+
* excludesPattern: "com/google/**",
|
|
17
|
+
* externalDependenciesEnabled: true,
|
|
18
|
+
* externalDependenciesPatterns: [
|
|
19
|
+
* "**/github.com/**",
|
|
20
|
+
* "**/go.googlesource.com/**",
|
|
21
|
+
* ],
|
|
22
|
+
* includesPattern: "com/jfrog/**,cloud/jfrog/**",
|
|
23
|
+
* key: "baz-go",
|
|
24
|
+
* notes: "Internal description",
|
|
25
|
+
* repoLayoutRef: "go-default",
|
|
26
|
+
* repositories: [],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Virtual repositories can be imported using their name, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import artifactory:index/goRepository:GoRepository foo foo
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class GoRepository extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing GoRepository resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GoRepositoryState, opts?: pulumi.CustomResourceOptions): GoRepository;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of GoRepository. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is GoRepository;
|
|
54
|
+
readonly artifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Output<boolean | undefined>;
|
|
55
|
+
readonly defaultDeploymentRepo: pulumi.Output<string | undefined>;
|
|
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
|
+
* . Shorthand for "Enable 'go-import' Meta Tags" on the UI. This must be set to true in order to use the allow list
|
|
64
|
+
*/
|
|
65
|
+
readonly externalDependenciesEnabled: pulumi.Output<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* - 'go-import' Allow List on the UI.
|
|
68
|
+
*/
|
|
69
|
+
readonly externalDependenciesPatterns: pulumi.Output<string[] | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
72
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
73
|
+
*/
|
|
74
|
+
readonly includesPattern: pulumi.Output<string | undefined>;
|
|
75
|
+
readonly key: pulumi.Output<string>;
|
|
76
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
77
|
+
readonly packageType: pulumi.Output<string>;
|
|
78
|
+
readonly repoLayoutRef: pulumi.Output<string>;
|
|
79
|
+
readonly repositories: pulumi.Output<string[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a GoRepository resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: GoRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Input properties used for looking up and filtering GoRepository resources.
|
|
91
|
+
*/
|
|
92
|
+
export interface GoRepositoryState {
|
|
93
|
+
artifactoryRequestsCanRetrieveRemoteArtifacts?: pulumi.Input<boolean>;
|
|
94
|
+
defaultDeploymentRepo?: pulumi.Input<string>;
|
|
95
|
+
description?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no
|
|
98
|
+
* artifacts are excluded.
|
|
99
|
+
*/
|
|
100
|
+
excludesPattern?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* . Shorthand for "Enable 'go-import' Meta Tags" on the UI. This must be set to true in order to use the allow list
|
|
103
|
+
*/
|
|
104
|
+
externalDependenciesEnabled?: pulumi.Input<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* - 'go-import' Allow List on the UI.
|
|
107
|
+
*/
|
|
108
|
+
externalDependenciesPatterns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
109
|
+
/**
|
|
110
|
+
* List of artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only
|
|
111
|
+
* artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
|
|
112
|
+
*/
|
|
113
|
+
includesPattern?: pulumi.Input<string>;
|
|
114
|
+
key?: pulumi.Input<string>;
|
|
115
|
+
notes?: pulumi.Input<string>;
|
|
116
|
+
packageType?: pulumi.Input<string>;
|
|
117
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
118
|
+
repositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The set of arguments for constructing a GoRepository resource.
|
|
122
|
+
*/
|
|
123
|
+
export interface GoRepositoryArgs {
|
|
124
|
+
artifactoryRequestsCanRetrieveRemoteArtifacts?: pulumi.Input<boolean>;
|
|
125
|
+
defaultDeploymentRepo?: pulumi.Input<string>;
|
|
126
|
+
description?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no
|
|
129
|
+
* artifacts are excluded.
|
|
130
|
+
*/
|
|
131
|
+
excludesPattern?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* . Shorthand for "Enable 'go-import' Meta Tags" on the UI. This must be set to true in order to use the allow list
|
|
134
|
+
*/
|
|
135
|
+
externalDependenciesEnabled?: pulumi.Input<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* - 'go-import' Allow List on the UI.
|
|
138
|
+
*/
|
|
139
|
+
externalDependenciesPatterns?: pulumi.Input<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
|
+
key: pulumi.Input<string>;
|
|
146
|
+
notes?: pulumi.Input<string>;
|
|
147
|
+
repoLayoutRef?: pulumi.Input<string>;
|
|
148
|
+
repositories: pulumi.Input<pulumi.Input<string>[]>;
|
|
149
|
+
}
|
package/goRepository.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
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.GoRepository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory Virtual Go Repository Resource
|
|
10
|
+
*
|
|
11
|
+
* Provides an Artifactory virtual repository resource, but with specific go lang features. This should be preferred over the original
|
|
12
|
+
* one-size-fits-all `artifactory.VirtualRepository`.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
19
|
+
*
|
|
20
|
+
* const baz_go = new artifactory.GoRepository("baz-go", {
|
|
21
|
+
* description: "A test virtual repo",
|
|
22
|
+
* excludesPattern: "com/google/**",
|
|
23
|
+
* externalDependenciesEnabled: true,
|
|
24
|
+
* externalDependenciesPatterns: [
|
|
25
|
+
* "**/github.com/**",
|
|
26
|
+
* "**/go.googlesource.com/**",
|
|
27
|
+
* ],
|
|
28
|
+
* includesPattern: "com/jfrog/**,cloud/jfrog/**",
|
|
29
|
+
* key: "baz-go",
|
|
30
|
+
* notes: "Internal description",
|
|
31
|
+
* repoLayoutRef: "go-default",
|
|
32
|
+
* repositories: [],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Virtual repositories can be imported using their name, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import artifactory:index/goRepository:GoRepository foo foo
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class GoRepository extends pulumi.CustomResource {
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let inputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
inputs["artifactoryRequestsCanRetrieveRemoteArtifacts"] = state ? state.artifactoryRequestsCanRetrieveRemoteArtifacts : undefined;
|
|
51
|
+
inputs["defaultDeploymentRepo"] = state ? state.defaultDeploymentRepo : undefined;
|
|
52
|
+
inputs["description"] = state ? state.description : undefined;
|
|
53
|
+
inputs["excludesPattern"] = state ? state.excludesPattern : undefined;
|
|
54
|
+
inputs["externalDependenciesEnabled"] = state ? state.externalDependenciesEnabled : undefined;
|
|
55
|
+
inputs["externalDependenciesPatterns"] = state ? state.externalDependenciesPatterns : undefined;
|
|
56
|
+
inputs["includesPattern"] = state ? state.includesPattern : undefined;
|
|
57
|
+
inputs["key"] = state ? state.key : undefined;
|
|
58
|
+
inputs["notes"] = state ? state.notes : undefined;
|
|
59
|
+
inputs["packageType"] = state ? state.packageType : undefined;
|
|
60
|
+
inputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
|
|
61
|
+
inputs["repositories"] = state ? state.repositories : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'key'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.repositories === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'repositories'");
|
|
70
|
+
}
|
|
71
|
+
inputs["artifactoryRequestsCanRetrieveRemoteArtifacts"] = args ? args.artifactoryRequestsCanRetrieveRemoteArtifacts : undefined;
|
|
72
|
+
inputs["defaultDeploymentRepo"] = args ? args.defaultDeploymentRepo : undefined;
|
|
73
|
+
inputs["description"] = args ? args.description : undefined;
|
|
74
|
+
inputs["excludesPattern"] = args ? args.excludesPattern : undefined;
|
|
75
|
+
inputs["externalDependenciesEnabled"] = args ? args.externalDependenciesEnabled : undefined;
|
|
76
|
+
inputs["externalDependenciesPatterns"] = args ? args.externalDependenciesPatterns : undefined;
|
|
77
|
+
inputs["includesPattern"] = args ? args.includesPattern : undefined;
|
|
78
|
+
inputs["key"] = args ? args.key : undefined;
|
|
79
|
+
inputs["notes"] = args ? args.notes : undefined;
|
|
80
|
+
inputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
|
|
81
|
+
inputs["repositories"] = args ? args.repositories : undefined;
|
|
82
|
+
inputs["packageType"] = undefined /*out*/;
|
|
83
|
+
}
|
|
84
|
+
if (!opts.version) {
|
|
85
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
86
|
+
}
|
|
87
|
+
super(GoRepository.__pulumiType, name, inputs, opts);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing GoRepository resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name, id, state, opts) {
|
|
99
|
+
return new GoRepository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Returns true if the given object is an instance of GoRepository. This is designed to work even
|
|
103
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
104
|
+
*/
|
|
105
|
+
static isInstance(obj) {
|
|
106
|
+
if (obj === undefined || obj === null) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return obj['__pulumiType'] === GoRepository.__pulumiType;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.GoRepository = GoRepository;
|
|
113
|
+
/** @internal */
|
|
114
|
+
GoRepository.__pulumiType = 'artifactory:index/goRepository:GoRepository';
|
|
115
|
+
//# sourceMappingURL=goRepository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"goRepository.js","sourceRoot":"","sources":["../goRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA+DnD,YAAY,IAAY,EAA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I,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA0GC;AA5FG,gBAAgB;AACO,yBAAY,GAAG,6CAA6C,CAAC"}
|
package/group.d.ts
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* Groups can be imported using their name, e.g.
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import artifactory:index/group:Group terraform-group mygroup
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare class Group extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is Group;
|
|
27
|
+
/**
|
|
28
|
+
* Any users added to this group will automatically be assigned with admin privileges in the system.
|
|
29
|
+
*/
|
|
30
|
+
readonly adminPrivileges: pulumi.Output<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* When this parameter is set, any new users defined in the system are automatically assigned to this group.
|
|
33
|
+
*/
|
|
34
|
+
readonly autoJoin: pulumi.Output<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* A description for the group
|
|
37
|
+
*/
|
|
38
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* When this override is set, an empty or missing usernames array will detach all users from the group
|
|
41
|
+
*/
|
|
42
|
+
readonly detachAllUsers: pulumi.Output<boolean | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Name of the group
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The realm for the group.
|
|
49
|
+
*/
|
|
50
|
+
readonly realm: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The realm attributes for the group.
|
|
53
|
+
*/
|
|
54
|
+
readonly realmAttributes: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* List of users assigned to the group. If missing or empty, tf will not manage group membership
|
|
57
|
+
*/
|
|
58
|
+
readonly usersNames: pulumi.Output<string[] | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args?: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering Group resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface GroupState {
|
|
72
|
+
/**
|
|
73
|
+
* Any users added to this group will automatically be assigned with admin privileges in the system.
|
|
74
|
+
*/
|
|
75
|
+
adminPrivileges?: pulumi.Input<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* When this parameter is set, any new users defined in the system are automatically assigned to this group.
|
|
78
|
+
*/
|
|
79
|
+
autoJoin?: pulumi.Input<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* A description for the group
|
|
82
|
+
*/
|
|
83
|
+
description?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* When this override is set, an empty or missing usernames array will detach all users from the group
|
|
86
|
+
*/
|
|
87
|
+
detachAllUsers?: pulumi.Input<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* Name of the group
|
|
90
|
+
*/
|
|
91
|
+
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The realm for the group.
|
|
94
|
+
*/
|
|
95
|
+
realm?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The realm attributes for the group.
|
|
98
|
+
*/
|
|
99
|
+
realmAttributes?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* List of users assigned to the group. If missing or empty, tf will not manage group membership
|
|
102
|
+
*/
|
|
103
|
+
usersNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The set of arguments for constructing a Group resource.
|
|
107
|
+
*/
|
|
108
|
+
export interface GroupArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Any users added to this group will automatically be assigned with admin privileges in the system.
|
|
111
|
+
*/
|
|
112
|
+
adminPrivileges?: pulumi.Input<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* When this parameter is set, any new users defined in the system are automatically assigned to this group.
|
|
115
|
+
*/
|
|
116
|
+
autoJoin?: pulumi.Input<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* A description for the group
|
|
119
|
+
*/
|
|
120
|
+
description?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* When this override is set, an empty or missing usernames array will detach all users from the group
|
|
123
|
+
*/
|
|
124
|
+
detachAllUsers?: pulumi.Input<boolean>;
|
|
125
|
+
/**
|
|
126
|
+
* Name of the group
|
|
127
|
+
*/
|
|
128
|
+
name?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The realm for the group.
|
|
131
|
+
*/
|
|
132
|
+
realm?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The realm attributes for the group.
|
|
135
|
+
*/
|
|
136
|
+
realmAttributes?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* List of users assigned to the group. If missing or empty, tf will not manage group membership
|
|
139
|
+
*/
|
|
140
|
+
usersNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
|
+
}
|
package/group.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
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.Group = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Groups can be imported using their name, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import artifactory:index/group:Group terraform-group mygroup
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Group extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let inputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
inputs["adminPrivileges"] = state ? state.adminPrivileges : undefined;
|
|
24
|
+
inputs["autoJoin"] = state ? state.autoJoin : undefined;
|
|
25
|
+
inputs["description"] = state ? state.description : undefined;
|
|
26
|
+
inputs["detachAllUsers"] = state ? state.detachAllUsers : undefined;
|
|
27
|
+
inputs["name"] = state ? state.name : undefined;
|
|
28
|
+
inputs["realm"] = state ? state.realm : undefined;
|
|
29
|
+
inputs["realmAttributes"] = state ? state.realmAttributes : undefined;
|
|
30
|
+
inputs["usersNames"] = state ? state.usersNames : undefined;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
const args = argsOrState;
|
|
34
|
+
inputs["adminPrivileges"] = args ? args.adminPrivileges : undefined;
|
|
35
|
+
inputs["autoJoin"] = args ? args.autoJoin : undefined;
|
|
36
|
+
inputs["description"] = args ? args.description : undefined;
|
|
37
|
+
inputs["detachAllUsers"] = args ? args.detachAllUsers : undefined;
|
|
38
|
+
inputs["name"] = args ? args.name : undefined;
|
|
39
|
+
inputs["realm"] = args ? args.realm : undefined;
|
|
40
|
+
inputs["realmAttributes"] = args ? args.realmAttributes : undefined;
|
|
41
|
+
inputs["usersNames"] = args ? args.usersNames : undefined;
|
|
42
|
+
}
|
|
43
|
+
if (!opts.version) {
|
|
44
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
45
|
+
}
|
|
46
|
+
super(Group.__pulumiType, name, inputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name, id, state, opts) {
|
|
58
|
+
return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.Group = Group;
|
|
72
|
+
/** @internal */
|
|
73
|
+
Group.__pulumiType = 'artifactory:index/group:Group';
|
|
74
|
+
//# sourceMappingURL=group.js.map
|
package/group.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAqE5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACl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AAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IAhGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAkGC;AApFG,gBAAgB;AACO,kBAAY,GAAG,+BAA+B,CAAC"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export * from "./accessToken";
|
|
2
|
+
export * from "./alpineRepository";
|
|
3
|
+
export * from "./apiKey";
|
|
4
|
+
export * from "./certificate";
|
|
5
|
+
export * from "./debianRepository";
|
|
6
|
+
export * from "./dockerV1Repository";
|
|
7
|
+
export * from "./dockerV2Repository";
|
|
8
|
+
export * from "./generalSecurity";
|
|
9
|
+
export * from "./getFile";
|
|
10
|
+
export * from "./getFileinfo";
|
|
11
|
+
export * from "./goRepository";
|
|
12
|
+
export * from "./group";
|
|
13
|
+
export * from "./keypair";
|
|
14
|
+
export * from "./localRepository";
|
|
15
|
+
export * from "./mavenRepository";
|
|
16
|
+
export * from "./oauthSettings";
|
|
17
|
+
export * from "./permissionTarget";
|
|
18
|
+
export * from "./permissionTargets";
|
|
19
|
+
export * from "./provider";
|
|
20
|
+
export * from "./remoteCargoRepository";
|
|
21
|
+
export * from "./remoteDockerRepository";
|
|
22
|
+
export * from "./remoteHelmRepository";
|
|
23
|
+
export * from "./remoteRepository";
|
|
24
|
+
export * from "./replicationConfig";
|
|
25
|
+
export * from "./samlSettings";
|
|
26
|
+
export * from "./singleReplicationConfig";
|
|
27
|
+
export * from "./user";
|
|
28
|
+
export * from "./virtualRepository";
|
|
29
|
+
export * from "./xrayPolicy";
|
|
30
|
+
export * from "./xrayWatch";
|
|
31
|
+
import * as config from "./config";
|
|
32
|
+
import * as types from "./types";
|
|
33
|
+
export { config, types, };
|