@pulumi/gitlab 4.8.0 → 4.9.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/applicationSettings.d.ts +2936 -0
- package/applicationSettings.js +543 -0
- package/applicationSettings.js.map +1 -0
- package/branch.d.ts +3 -2
- package/branch.js +1 -1
- package/branch.js.map +1 -1
- package/branchProtection.d.ts +3 -8
- package/branchProtection.js +1 -7
- package/branchProtection.js.map +1 -1
- package/clusterAgent.d.ts +1 -1
- package/clusterAgent.js +1 -1
- package/clusterAgentToken.d.ts +2 -2
- package/clusterAgentToken.js +2 -2
- package/deployKey.d.ts +1 -1
- package/deployKey.js +1 -1
- package/deployKeyEnable.d.ts +1 -1
- package/deployKeyEnable.js +1 -1
- package/deployToken.d.ts +7 -9
- package/deployToken.js +4 -2
- package/deployToken.js.map +1 -1
- package/getBranch.d.ts +43 -1
- package/getBranch.js.map +1 -1
- package/getClusterAgent.d.ts +27 -0
- package/getClusterAgent.js.map +1 -1
- package/getClusterAgents.d.ts +13 -1
- package/getClusterAgents.js.map +1 -1
- package/getCurrentUser.d.ts +27 -0
- package/getGroup.d.ts +54 -0
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +123 -0
- package/getGroupHook.js +28 -0
- package/getGroupHook.js.map +1 -0
- package/getGroupHooks.d.ts +44 -0
- package/getGroupHooks.js +27 -0
- package/getGroupHooks.js.map +1 -0
- package/getGroupMembership.d.ts +31 -1
- package/getGroupMembership.js.map +1 -1
- package/getGroupVariable.d.ts +39 -0
- package/getGroupVariable.js.map +1 -1
- package/getGroupVariables.d.ts +22 -1
- package/getGroupVariables.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +13 -1
- package/getInstanceDeployKeys.js.map +1 -1
- package/getInstanceVariable.d.ts +21 -0
- package/getInstanceVariable.js.map +1 -1
- package/getInstanceVariables.d.ts +4 -1
- package/getInstanceVariables.js.map +1 -1
- package/getProject.d.ts +188 -1
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +134 -0
- package/getProjectHook.js +43 -0
- package/getProjectHook.js.map +1 -0
- package/getProjectHooks.d.ts +58 -0
- package/getProjectHooks.js +41 -0
- package/getProjectHooks.js.map +1 -0
- package/getProjectIssue.d.ts +131 -1
- package/getProjectIssue.js.map +1 -1
- package/getProjectIssues.d.ts +238 -1
- package/getProjectIssues.js.map +1 -1
- package/getProjectMembership.d.ts +96 -0
- package/getProjectMembership.js +47 -0
- package/getProjectMembership.js.map +1 -0
- package/getProjectMilestone.d.ts +51 -0
- package/getProjectMilestone.js.map +1 -1
- package/getProjectMilestones.d.ts +58 -1
- package/getProjectMilestones.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +34 -1
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +13 -1
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +34 -1
- package/getProjectTag.js.map +1 -1
- package/getProjectTags.d.ts +40 -1
- package/getProjectTags.js.map +1 -1
- package/getProjectVariable.d.ts +39 -0
- package/getProjectVariable.js.map +1 -1
- package/getProjectVariables.d.ts +22 -1
- package/getProjectVariables.js.map +1 -1
- package/getProjects.d.ts +193 -1
- package/getProjects.js.map +1 -1
- package/getReleaseLink.d.ts +45 -0
- package/getReleaseLink.js.map +1 -1
- package/getReleaseLinks.d.ts +22 -1
- package/getReleaseLinks.js.map +1 -1
- package/getRepositoryFile.d.ts +54 -0
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryTree.d.ts +94 -0
- package/getRepositoryTree.js +44 -0
- package/getRepositoryTree.js.map +1 -0
- package/getUser.d.ts +108 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +85 -1
- package/getUsers.js.map +1 -1
- package/group.d.ts +5 -5
- package/group.js +4 -2
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +7 -12
- package/groupAccessToken.js +4 -2
- package/groupAccessToken.js.map +1 -1
- package/groupBadge.d.ts +5 -5
- package/groupBadge.js +1 -1
- package/groupCluster.d.ts +4 -4
- package/groupCluster.js +4 -2
- package/groupCluster.js.map +1 -1
- package/groupCustomAttribute.d.ts +1 -1
- package/groupCustomAttribute.js +1 -1
- package/groupHook.d.ts +317 -0
- package/groupHook.js +144 -0
- package/groupHook.js.map +1 -0
- package/groupLabel.d.ts +4 -7
- package/groupLabel.js +1 -1
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.d.ts +10 -16
- package/groupLdapLink.js +1 -1
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.d.ts +28 -7
- package/groupMembership.js +5 -1
- package/groupMembership.js.map +1 -1
- package/groupProjectFileTemplate.d.ts +15 -14
- package/groupProjectFileTemplate.js +3 -2
- package/groupProjectFileTemplate.js.map +1 -1
- package/groupSamlLink.d.ts +98 -0
- package/groupSamlLink.js +88 -0
- package/groupSamlLink.js.map +1 -0
- package/groupShareGroup.d.ts +4 -7
- package/groupShareGroup.js +1 -1
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +13 -22
- package/groupVariable.js +4 -2
- package/groupVariable.js.map +1 -1
- package/index.d.ts +298 -89
- package/index.js +311 -228
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +4 -4
- package/instanceCluster.js +4 -2
- package/instanceCluster.js.map +1 -1
- package/instanceVariable.d.ts +10 -16
- package/instanceVariable.js +4 -2
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +4 -7
- package/label.js +1 -1
- package/label.js.map +1 -1
- package/managedLicense.d.ts +10 -10
- package/managedLicense.js +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/personalAccessToken.d.ts +7 -15
- package/personalAccessToken.js +4 -2
- package/personalAccessToken.js.map +1 -1
- package/pipelineSchedule.d.ts +1 -1
- package/pipelineSchedule.js +1 -1
- package/pipelineScheduleVariable.d.ts +1 -1
- package/pipelineScheduleVariable.js +1 -1
- package/pipelineTrigger.d.ts +1 -1
- package/pipelineTrigger.js +3 -1
- package/pipelineTrigger.js.map +1 -1
- package/project.d.ts +55 -72
- package/project.js +4 -2
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +10 -13
- package/projectAccessToken.js +4 -2
- package/projectAccessToken.js.map +1 -1
- package/projectApprovalRule.d.ts +4 -7
- package/projectApprovalRule.js +1 -1
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +5 -5
- package/projectBadge.js +1 -1
- package/projectCluster.d.ts +4 -4
- package/projectCluster.js +4 -2
- package/projectCluster.js.map +1 -1
- package/projectCustomAttribute.d.ts +1 -1
- package/projectCustomAttribute.js +1 -1
- package/projectEnvironment.d.ts +3 -5
- package/projectEnvironment.js +1 -1
- package/projectEnvironment.js.map +1 -1
- package/projectFreezePeriod.d.ts +1 -1
- package/projectFreezePeriod.js +1 -1
- package/projectHook.d.ts +18 -2
- package/projectHook.js +9 -3
- package/projectHook.js.map +1 -1
- package/projectIssue.d.ts +28 -39
- package/projectIssue.js +1 -1
- package/projectIssue.js.map +1 -1
- package/projectIssueBoard.d.ts +189 -0
- package/projectIssueBoard.js +131 -0
- package/projectIssueBoard.js.map +1 -0
- package/projectLevelMrApprovals.d.ts +5 -8
- package/projectLevelMrApprovals.js +2 -2
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +4 -7
- package/projectMembership.js +1 -1
- package/projectMembership.js.map +1 -1
- package/projectMilestone.d.ts +1 -1
- package/projectMilestone.js +1 -1
- package/projectMirror.d.ts +1 -1
- package/projectMirror.js +4 -2
- package/projectMirror.js.map +1 -1
- package/projectProtectedEnvironment.d.ts +9 -2
- package/projectProtectedEnvironment.js +7 -1
- package/projectProtectedEnvironment.js.map +1 -1
- package/projectRunnerEnablement.d.ts +1 -1
- package/projectRunnerEnablement.js +1 -1
- package/projectShareGroup.d.ts +7 -13
- package/projectShareGroup.js +1 -1
- package/projectShareGroup.js.map +1 -1
- package/projectTag.d.ts +4 -3
- package/projectTag.js +2 -2
- package/projectTag.js.map +1 -1
- package/projectVariable.d.ts +13 -22
- package/projectVariable.js +4 -2
- package/projectVariable.js.map +1 -1
- package/releaseLink.d.ts +6 -11
- package/releaseLink.js +1 -1
- package/releaseLink.js.map +1 -1
- package/repositoryFile.d.ts +4 -7
- package/repositoryFile.js +1 -1
- package/repositoryFile.js.map +1 -1
- package/runner.d.ts +8 -8
- package/runner.js +4 -2
- package/runner.js.map +1 -1
- package/serviceExternalWiki.d.ts +3 -5
- package/serviceExternalWiki.js +1 -1
- package/serviceExternalWiki.js.map +1 -1
- package/serviceGithub.d.ts +4 -7
- package/serviceGithub.js +4 -2
- package/serviceGithub.js.map +1 -1
- package/serviceJira.d.ts +7 -13
- package/serviceJira.js +4 -2
- package/serviceJira.js.map +1 -1
- package/serviceMicrosoftTeams.d.ts +4 -7
- package/serviceMicrosoftTeams.js +1 -1
- package/serviceMicrosoftTeams.js.map +1 -1
- package/servicePipelinesEmail.d.ts +4 -7
- package/servicePipelinesEmail.js +1 -1
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.d.ts +9 -11
- package/serviceSlack.js +1 -1
- package/serviceSlack.js.map +1 -1
- package/systemHook.d.ts +5 -8
- package/systemHook.js +5 -3
- package/systemHook.js.map +1 -1
- package/tagProtection.d.ts +1 -1
- package/tagProtection.js +1 -1
- package/topic.d.ts +5 -8
- package/topic.js +2 -2
- package/topic.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +137 -0
- package/types/output.d.ts +321 -1
- package/user.d.ts +11 -14
- package/user.js +5 -3
- package/user.js.map +1 -1
- package/userCustomAttribute.d.ts +1 -1
- package/userCustomAttribute.js +1 -1
- package/userGpgKey.d.ts +119 -0
- package/userGpgKey.js +101 -0
- package/userGpgKey.js.map +1 -0
- package/userSshKey.d.ts +4 -7
- package/userSshKey.js +1 -1
- package/userSshKey.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectVariables.js","sourceRoot":"","sources":["../getProjectVariables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getProjectVariables.js","sourceRoot":"","sources":["../getProjectVariables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC;AAsCD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
package/getProjects.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* The `gitlab.getProjects` data source allows details of multiple projects to be retrieved. Optionally filtered by the set attributes.
|
|
5
5
|
*
|
|
@@ -35,57 +35,186 @@ export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.Invoke
|
|
|
35
35
|
* A collection of arguments for invoking getProjects.
|
|
36
36
|
*/
|
|
37
37
|
export interface GetProjectsArgs {
|
|
38
|
+
/**
|
|
39
|
+
* Limit by archived status.
|
|
40
|
+
*/
|
|
38
41
|
archived?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
44
|
+
*/
|
|
39
45
|
groupId?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
|
|
48
|
+
*/
|
|
40
49
|
includeSubgroups?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
52
|
+
*/
|
|
41
53
|
maxQueryablePages?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Limit by projects that the current user is a member of.
|
|
56
|
+
*/
|
|
42
57
|
membership?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
|
|
60
|
+
*/
|
|
43
61
|
minAccessLevel?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
|
|
64
|
+
*/
|
|
44
65
|
orderBy?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Limit by projects owned by the current user.
|
|
68
|
+
*/
|
|
45
69
|
owned?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* The first page to begin the query on.
|
|
72
|
+
*/
|
|
46
73
|
page?: number;
|
|
74
|
+
/**
|
|
75
|
+
* The number of results to return per page.
|
|
76
|
+
*/
|
|
47
77
|
perPage?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Return list of authorized projects matching the search criteria.
|
|
80
|
+
*/
|
|
48
81
|
search?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Return only the ID, URL, name, and path of each project.
|
|
84
|
+
*/
|
|
49
85
|
simple?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Return projects sorted in `asc` or `desc` order. Default is `desc`.
|
|
88
|
+
*/
|
|
50
89
|
sort?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Limit by projects starred by the current user.
|
|
92
|
+
*/
|
|
51
93
|
starred?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Include project statistics. Cannot be used with `groupId`.
|
|
96
|
+
*/
|
|
52
97
|
statistics?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Limit by visibility `public`, `internal`, or `private`.
|
|
100
|
+
*/
|
|
53
101
|
visibility?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Include custom attributes in response *(admins only)*.
|
|
104
|
+
*/
|
|
54
105
|
withCustomAttributes?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Limit by projects with issues feature enabled. Default is `false`.
|
|
108
|
+
*/
|
|
55
109
|
withIssuesEnabled?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Limit by projects with merge requests feature enabled. Default is `false`.
|
|
112
|
+
*/
|
|
56
113
|
withMergeRequestsEnabled?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Limit by projects which use the given programming language. Cannot be used with `groupId`.
|
|
116
|
+
*/
|
|
57
117
|
withProgrammingLanguage?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Include projects shared to this group. Default is `true`. Needs `groupId`.
|
|
120
|
+
*/
|
|
58
121
|
withShared?: boolean;
|
|
59
122
|
}
|
|
60
123
|
/**
|
|
61
124
|
* A collection of values returned by getProjects.
|
|
62
125
|
*/
|
|
63
126
|
export interface GetProjectsResult {
|
|
127
|
+
/**
|
|
128
|
+
* Limit by archived status.
|
|
129
|
+
*/
|
|
64
130
|
readonly archived?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
133
|
+
*/
|
|
65
134
|
readonly groupId?: number;
|
|
66
135
|
/**
|
|
67
136
|
* The provider-assigned unique ID for this managed resource.
|
|
68
137
|
*/
|
|
69
138
|
readonly id: string;
|
|
139
|
+
/**
|
|
140
|
+
* Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
|
|
141
|
+
*/
|
|
70
142
|
readonly includeSubgroups?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
145
|
+
*/
|
|
71
146
|
readonly maxQueryablePages?: number;
|
|
147
|
+
/**
|
|
148
|
+
* Limit by projects that the current user is a member of.
|
|
149
|
+
*/
|
|
72
150
|
readonly membership?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
|
|
153
|
+
*/
|
|
73
154
|
readonly minAccessLevel?: number;
|
|
155
|
+
/**
|
|
156
|
+
* Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
|
|
157
|
+
*/
|
|
74
158
|
readonly orderBy?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Limit by projects owned by the current user.
|
|
161
|
+
*/
|
|
75
162
|
readonly owned?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* The first page to begin the query on.
|
|
165
|
+
*/
|
|
76
166
|
readonly page?: number;
|
|
167
|
+
/**
|
|
168
|
+
* The number of results to return per page.
|
|
169
|
+
*/
|
|
77
170
|
readonly perPage?: number;
|
|
171
|
+
/**
|
|
172
|
+
* A list containing the projects matching the supplied arguments
|
|
173
|
+
*/
|
|
78
174
|
readonly projects: outputs.GetProjectsProject[];
|
|
175
|
+
/**
|
|
176
|
+
* Return list of authorized projects matching the search criteria.
|
|
177
|
+
*/
|
|
79
178
|
readonly search?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Return only the ID, URL, name, and path of each project.
|
|
181
|
+
*/
|
|
80
182
|
readonly simple?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Return projects sorted in `asc` or `desc` order. Default is `desc`.
|
|
185
|
+
*/
|
|
81
186
|
readonly sort?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Limit by projects starred by the current user.
|
|
189
|
+
*/
|
|
82
190
|
readonly starred?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Include project statistics. Cannot be used with `groupId`.
|
|
193
|
+
*/
|
|
83
194
|
readonly statistics?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Limit by visibility `public`, `internal`, or `private`.
|
|
197
|
+
*/
|
|
84
198
|
readonly visibility?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Include custom attributes in response *(admins only)*.
|
|
201
|
+
*/
|
|
85
202
|
readonly withCustomAttributes?: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Limit by projects with issues feature enabled. Default is `false`.
|
|
205
|
+
*/
|
|
86
206
|
readonly withIssuesEnabled?: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Limit by projects with merge requests feature enabled. Default is `false`.
|
|
209
|
+
*/
|
|
87
210
|
readonly withMergeRequestsEnabled?: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Limit by projects which use the given programming language. Cannot be used with `groupId`.
|
|
213
|
+
*/
|
|
88
214
|
readonly withProgrammingLanguage?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Include projects shared to this group. Default is `true`. Needs `groupId`.
|
|
217
|
+
*/
|
|
89
218
|
readonly withShared?: boolean;
|
|
90
219
|
}
|
|
91
220
|
export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
|
|
@@ -93,25 +222,88 @@ export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: p
|
|
|
93
222
|
* A collection of arguments for invoking getProjects.
|
|
94
223
|
*/
|
|
95
224
|
export interface GetProjectsOutputArgs {
|
|
225
|
+
/**
|
|
226
|
+
* Limit by archived status.
|
|
227
|
+
*/
|
|
96
228
|
archived?: pulumi.Input<boolean>;
|
|
229
|
+
/**
|
|
230
|
+
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
231
|
+
*/
|
|
97
232
|
groupId?: pulumi.Input<number>;
|
|
233
|
+
/**
|
|
234
|
+
* Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
|
|
235
|
+
*/
|
|
98
236
|
includeSubgroups?: pulumi.Input<boolean>;
|
|
237
|
+
/**
|
|
238
|
+
* The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
239
|
+
*/
|
|
99
240
|
maxQueryablePages?: pulumi.Input<number>;
|
|
241
|
+
/**
|
|
242
|
+
* Limit by projects that the current user is a member of.
|
|
243
|
+
*/
|
|
100
244
|
membership?: pulumi.Input<boolean>;
|
|
245
|
+
/**
|
|
246
|
+
* Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
|
|
247
|
+
*/
|
|
101
248
|
minAccessLevel?: pulumi.Input<number>;
|
|
249
|
+
/**
|
|
250
|
+
* Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
|
|
251
|
+
*/
|
|
102
252
|
orderBy?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* Limit by projects owned by the current user.
|
|
255
|
+
*/
|
|
103
256
|
owned?: pulumi.Input<boolean>;
|
|
257
|
+
/**
|
|
258
|
+
* The first page to begin the query on.
|
|
259
|
+
*/
|
|
104
260
|
page?: pulumi.Input<number>;
|
|
261
|
+
/**
|
|
262
|
+
* The number of results to return per page.
|
|
263
|
+
*/
|
|
105
264
|
perPage?: pulumi.Input<number>;
|
|
265
|
+
/**
|
|
266
|
+
* Return list of authorized projects matching the search criteria.
|
|
267
|
+
*/
|
|
106
268
|
search?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Return only the ID, URL, name, and path of each project.
|
|
271
|
+
*/
|
|
107
272
|
simple?: pulumi.Input<boolean>;
|
|
273
|
+
/**
|
|
274
|
+
* Return projects sorted in `asc` or `desc` order. Default is `desc`.
|
|
275
|
+
*/
|
|
108
276
|
sort?: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* Limit by projects starred by the current user.
|
|
279
|
+
*/
|
|
109
280
|
starred?: pulumi.Input<boolean>;
|
|
281
|
+
/**
|
|
282
|
+
* Include project statistics. Cannot be used with `groupId`.
|
|
283
|
+
*/
|
|
110
284
|
statistics?: pulumi.Input<boolean>;
|
|
285
|
+
/**
|
|
286
|
+
* Limit by visibility `public`, `internal`, or `private`.
|
|
287
|
+
*/
|
|
111
288
|
visibility?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* Include custom attributes in response *(admins only)*.
|
|
291
|
+
*/
|
|
112
292
|
withCustomAttributes?: pulumi.Input<boolean>;
|
|
293
|
+
/**
|
|
294
|
+
* Limit by projects with issues feature enabled. Default is `false`.
|
|
295
|
+
*/
|
|
113
296
|
withIssuesEnabled?: pulumi.Input<boolean>;
|
|
297
|
+
/**
|
|
298
|
+
* Limit by projects with merge requests feature enabled. Default is `false`.
|
|
299
|
+
*/
|
|
114
300
|
withMergeRequestsEnabled?: pulumi.Input<boolean>;
|
|
301
|
+
/**
|
|
302
|
+
* Limit by projects which use the given programming language. Cannot be used with `groupId`.
|
|
303
|
+
*/
|
|
115
304
|
withProgrammingLanguage?: pulumi.Input<string>;
|
|
305
|
+
/**
|
|
306
|
+
* Include projects shared to this group. Default is `true`. Needs `groupId`.
|
|
307
|
+
*/
|
|
116
308
|
withShared?: pulumi.Input<boolean>;
|
|
117
309
|
}
|
package/getProjects.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA9BD,kCA8BC;AA8LD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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"}
|
package/getReleaseLink.d.ts
CHANGED
|
@@ -23,26 +23,62 @@ export declare function getReleaseLink(args: GetReleaseLinkArgs, opts?: pulumi.I
|
|
|
23
23
|
* A collection of arguments for invoking getReleaseLink.
|
|
24
24
|
*/
|
|
25
25
|
export interface GetReleaseLinkArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the link.
|
|
28
|
+
*/
|
|
26
29
|
linkId: number;
|
|
30
|
+
/**
|
|
31
|
+
* The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
|
|
32
|
+
*/
|
|
27
33
|
project: string;
|
|
34
|
+
/**
|
|
35
|
+
* The tag associated with the Release.
|
|
36
|
+
*/
|
|
28
37
|
tagName: string;
|
|
29
38
|
}
|
|
30
39
|
/**
|
|
31
40
|
* A collection of values returned by getReleaseLink.
|
|
32
41
|
*/
|
|
33
42
|
export interface GetReleaseLinkResult {
|
|
43
|
+
/**
|
|
44
|
+
* Full path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
|
|
45
|
+
*/
|
|
34
46
|
readonly directAssetUrl: string;
|
|
47
|
+
/**
|
|
48
|
+
* External or internal link.
|
|
49
|
+
*/
|
|
35
50
|
readonly external: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
|
|
53
|
+
*/
|
|
36
54
|
readonly filepath: string;
|
|
37
55
|
/**
|
|
38
56
|
* The provider-assigned unique ID for this managed resource.
|
|
39
57
|
*/
|
|
40
58
|
readonly id: string;
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the link.
|
|
61
|
+
*/
|
|
41
62
|
readonly linkId: number;
|
|
63
|
+
/**
|
|
64
|
+
* The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
|
|
65
|
+
*/
|
|
42
66
|
readonly linkType: string;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the link. Link names must be unique within the release.
|
|
69
|
+
*/
|
|
43
70
|
readonly name: string;
|
|
71
|
+
/**
|
|
72
|
+
* The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
|
|
73
|
+
*/
|
|
44
74
|
readonly project: string;
|
|
75
|
+
/**
|
|
76
|
+
* The tag associated with the Release.
|
|
77
|
+
*/
|
|
45
78
|
readonly tagName: string;
|
|
79
|
+
/**
|
|
80
|
+
* The URL of the link. Link URLs must be unique within the release.
|
|
81
|
+
*/
|
|
46
82
|
readonly url: string;
|
|
47
83
|
}
|
|
48
84
|
export declare function getReleaseLinkOutput(args: GetReleaseLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetReleaseLinkResult>;
|
|
@@ -50,7 +86,16 @@ export declare function getReleaseLinkOutput(args: GetReleaseLinkOutputArgs, opt
|
|
|
50
86
|
* A collection of arguments for invoking getReleaseLink.
|
|
51
87
|
*/
|
|
52
88
|
export interface GetReleaseLinkOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the link.
|
|
91
|
+
*/
|
|
53
92
|
linkId: pulumi.Input<number>;
|
|
93
|
+
/**
|
|
94
|
+
* The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
|
|
95
|
+
*/
|
|
54
96
|
project: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The tag associated with the Release.
|
|
99
|
+
*/
|
|
55
100
|
tagName: pulumi.Input<string>;
|
|
56
101
|
}
|
package/getReleaseLink.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getReleaseLink.js","sourceRoot":"","sources":["../getReleaseLink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;
|
|
1
|
+
{"version":3,"file":"getReleaseLink.js","sourceRoot":"","sources":["../getReleaseLink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AAkED,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
package/getReleaseLinks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* The `gitlab.getReleaseLinks` data source allows get details of release links.
|
|
5
5
|
*
|
|
@@ -23,7 +23,13 @@ export declare function getReleaseLinks(args: GetReleaseLinksArgs, opts?: pulumi
|
|
|
23
23
|
* A collection of arguments for invoking getReleaseLinks.
|
|
24
24
|
*/
|
|
25
25
|
export interface GetReleaseLinksArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The ID or full path to the project.
|
|
28
|
+
*/
|
|
26
29
|
project: string;
|
|
30
|
+
/**
|
|
31
|
+
* The tag associated with the Release.
|
|
32
|
+
*/
|
|
27
33
|
tagName: string;
|
|
28
34
|
}
|
|
29
35
|
/**
|
|
@@ -34,8 +40,17 @@ export interface GetReleaseLinksResult {
|
|
|
34
40
|
* The provider-assigned unique ID for this managed resource.
|
|
35
41
|
*/
|
|
36
42
|
readonly id: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID or full path to the project.
|
|
45
|
+
*/
|
|
37
46
|
readonly project: string;
|
|
47
|
+
/**
|
|
48
|
+
* List of release links
|
|
49
|
+
*/
|
|
38
50
|
readonly releaseLinks: outputs.GetReleaseLinksReleaseLink[];
|
|
51
|
+
/**
|
|
52
|
+
* The tag associated with the Release.
|
|
53
|
+
*/
|
|
39
54
|
readonly tagName: string;
|
|
40
55
|
}
|
|
41
56
|
export declare function getReleaseLinksOutput(args: GetReleaseLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetReleaseLinksResult>;
|
|
@@ -43,6 +58,12 @@ export declare function getReleaseLinksOutput(args: GetReleaseLinksOutputArgs, o
|
|
|
43
58
|
* A collection of arguments for invoking getReleaseLinks.
|
|
44
59
|
*/
|
|
45
60
|
export interface GetReleaseLinksOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The ID or full path to the project.
|
|
63
|
+
*/
|
|
46
64
|
project: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The tag associated with the Release.
|
|
67
|
+
*/
|
|
47
68
|
tagName: pulumi.Input<string>;
|
|
48
69
|
}
|
package/getReleaseLinks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getReleaseLinks.js","sourceRoot":"","sources":["../getReleaseLinks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getReleaseLinks.js","sourceRoot":"","sources":["../getReleaseLinks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AAsCD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
package/getRepositoryFile.d.ts
CHANGED
|
@@ -22,29 +22,74 @@ export declare function getRepositoryFile(args: GetRepositoryFileArgs, opts?: pu
|
|
|
22
22
|
* A collection of arguments for invoking getRepositoryFile.
|
|
23
23
|
*/
|
|
24
24
|
export interface GetRepositoryFileArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The full path of the file. It must be relative to the root of the project without a leading slash `/`.
|
|
27
|
+
*/
|
|
25
28
|
filePath: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name or ID of the project.
|
|
31
|
+
*/
|
|
26
32
|
project: string;
|
|
33
|
+
/**
|
|
34
|
+
* The name of branch, tag or commit.
|
|
35
|
+
*/
|
|
27
36
|
ref: string;
|
|
28
37
|
}
|
|
29
38
|
/**
|
|
30
39
|
* A collection of values returned by getRepositoryFile.
|
|
31
40
|
*/
|
|
32
41
|
export interface GetRepositoryFileResult {
|
|
42
|
+
/**
|
|
43
|
+
* The blob id.
|
|
44
|
+
*/
|
|
33
45
|
readonly blobId: string;
|
|
46
|
+
/**
|
|
47
|
+
* The commit id.
|
|
48
|
+
*/
|
|
34
49
|
readonly commitId: string;
|
|
50
|
+
/**
|
|
51
|
+
* File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).
|
|
52
|
+
*/
|
|
35
53
|
readonly content: string;
|
|
54
|
+
/**
|
|
55
|
+
* File content sha256 digest.
|
|
56
|
+
*/
|
|
36
57
|
readonly contentSha256: string;
|
|
58
|
+
/**
|
|
59
|
+
* The file content encoding.
|
|
60
|
+
*/
|
|
37
61
|
readonly encoding: string;
|
|
62
|
+
/**
|
|
63
|
+
* Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.
|
|
64
|
+
*/
|
|
38
65
|
readonly executeFilemode: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* The filename.
|
|
68
|
+
*/
|
|
39
69
|
readonly fileName: string;
|
|
70
|
+
/**
|
|
71
|
+
* The full path of the file. It must be relative to the root of the project without a leading slash `/`.
|
|
72
|
+
*/
|
|
40
73
|
readonly filePath: string;
|
|
41
74
|
/**
|
|
42
75
|
* The provider-assigned unique ID for this managed resource.
|
|
43
76
|
*/
|
|
44
77
|
readonly id: string;
|
|
78
|
+
/**
|
|
79
|
+
* The last known commit id.
|
|
80
|
+
*/
|
|
45
81
|
readonly lastCommitId: string;
|
|
82
|
+
/**
|
|
83
|
+
* The name or ID of the project.
|
|
84
|
+
*/
|
|
46
85
|
readonly project: string;
|
|
86
|
+
/**
|
|
87
|
+
* The name of branch, tag or commit.
|
|
88
|
+
*/
|
|
47
89
|
readonly ref: string;
|
|
90
|
+
/**
|
|
91
|
+
* The file size.
|
|
92
|
+
*/
|
|
48
93
|
readonly size: number;
|
|
49
94
|
}
|
|
50
95
|
export declare function getRepositoryFileOutput(args: GetRepositoryFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryFileResult>;
|
|
@@ -52,7 +97,16 @@ export declare function getRepositoryFileOutput(args: GetRepositoryFileOutputArg
|
|
|
52
97
|
* A collection of arguments for invoking getRepositoryFile.
|
|
53
98
|
*/
|
|
54
99
|
export interface GetRepositoryFileOutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The full path of the file. It must be relative to the root of the project without a leading slash `/`.
|
|
102
|
+
*/
|
|
55
103
|
filePath: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The name or ID of the project.
|
|
106
|
+
*/
|
|
56
107
|
project: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of branch, tag or commit.
|
|
110
|
+
*/
|
|
57
111
|
ref: pulumi.Input<string>;
|
|
58
112
|
}
|
package/getRepositoryFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryFile.js","sourceRoot":"","sources":["../getRepositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;
|
|
1
|
+
{"version":3,"file":"getRepositoryFile.js","sourceRoot":"","sources":["../getRepositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AA8ED,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* The `gitlab.getRepositoryTree` data source allows details of directories and files in a repository to be retrieved.
|
|
5
|
+
*
|
|
6
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/repositories.html#list-repository-tree)
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
13
|
+
*
|
|
14
|
+
* const thisRepositoryTree = pulumi.output(gitlab.getRepositoryTree({
|
|
15
|
+
* path: "ExampleSubFolder",
|
|
16
|
+
* project: "example",
|
|
17
|
+
* recursive: true,
|
|
18
|
+
* ref: "main",
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function getRepositoryTree(args: GetRepositoryTreeArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryTreeResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getRepositoryTree.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetRepositoryTreeArgs {
|
|
27
|
+
/**
|
|
28
|
+
* The path inside repository. Used to get content of subdirectories.
|
|
29
|
+
*/
|
|
30
|
+
path?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The ID or full path of the project owned by the authenticated user.
|
|
33
|
+
*/
|
|
34
|
+
project: string;
|
|
35
|
+
/**
|
|
36
|
+
* Boolean value used to get a recursive tree (false by default).
|
|
37
|
+
*/
|
|
38
|
+
recursive?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The name of a repository branch or tag.
|
|
41
|
+
*/
|
|
42
|
+
ref: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A collection of values returned by getRepositoryTree.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetRepositoryTreeResult {
|
|
48
|
+
/**
|
|
49
|
+
* The provider-assigned unique ID for this managed resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* The path inside repository. Used to get content of subdirectories.
|
|
54
|
+
*/
|
|
55
|
+
readonly path?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The ID or full path of the project owned by the authenticated user.
|
|
58
|
+
*/
|
|
59
|
+
readonly project: string;
|
|
60
|
+
/**
|
|
61
|
+
* Boolean value used to get a recursive tree (false by default).
|
|
62
|
+
*/
|
|
63
|
+
readonly recursive?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* The name of a repository branch or tag.
|
|
66
|
+
*/
|
|
67
|
+
readonly ref: string;
|
|
68
|
+
/**
|
|
69
|
+
* The list of files/directories returned by the search
|
|
70
|
+
*/
|
|
71
|
+
readonly trees: outputs.GetRepositoryTreeTree[];
|
|
72
|
+
}
|
|
73
|
+
export declare function getRepositoryTreeOutput(args: GetRepositoryTreeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryTreeResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getRepositoryTree.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetRepositoryTreeOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The path inside repository. Used to get content of subdirectories.
|
|
80
|
+
*/
|
|
81
|
+
path?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The ID or full path of the project owned by the authenticated user.
|
|
84
|
+
*/
|
|
85
|
+
project: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Boolean value used to get a recursive tree (false by default).
|
|
88
|
+
*/
|
|
89
|
+
recursive?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* The name of a repository branch or tag.
|
|
92
|
+
*/
|
|
93
|
+
ref: pulumi.Input<string>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.getRepositoryTreeOutput = exports.getRepositoryTree = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `gitlab.getRepositoryTree` data source allows details of directories and files in a repository to be retrieved.
|
|
10
|
+
*
|
|
11
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/repositories.html#list-repository-tree)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
18
|
+
*
|
|
19
|
+
* const thisRepositoryTree = pulumi.output(gitlab.getRepositoryTree({
|
|
20
|
+
* path: "ExampleSubFolder",
|
|
21
|
+
* project: "example",
|
|
22
|
+
* recursive: true,
|
|
23
|
+
* ref: "main",
|
|
24
|
+
* }));
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getRepositoryTree(args, opts) {
|
|
28
|
+
if (!opts) {
|
|
29
|
+
opts = {};
|
|
30
|
+
}
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
|
+
return pulumi.runtime.invoke("gitlab:index/getRepositoryTree:getRepositoryTree", {
|
|
33
|
+
"path": args.path,
|
|
34
|
+
"project": args.project,
|
|
35
|
+
"recursive": args.recursive,
|
|
36
|
+
"ref": args.ref,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getRepositoryTree = getRepositoryTree;
|
|
40
|
+
function getRepositoryTreeOutput(args, opts) {
|
|
41
|
+
return pulumi.output(args).apply(a => getRepositoryTree(a, opts));
|
|
42
|
+
}
|
|
43
|
+
exports.getRepositoryTreeOutput = getRepositoryTreeOutput;
|
|
44
|
+
//# sourceMappingURL=getRepositoryTree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositoryTree.js","sourceRoot":"","sources":["../getRepositoryTree.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8CAYC;AAsDD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|