/
getProjectIssues.go
404 lines (362 loc) · 23.3 KB
/
getProjectIssues.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package gitlab
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// The `getProjectIssues` data source allows to retrieve details about issues in a project.
//
// **Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/issues.html)
//
// ## Example Usage
//
// ```go
// package main
//
// import (
//
// "github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
//
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// foo, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
// Id: pulumi.StringRef("foo/bar/baz"),
// }, nil)
// if err != nil {
// return err
// }
// _, err = gitlab.GetProjectIssues(ctx, &gitlab.GetProjectIssuesArgs{
// Project: foo.Id,
// Search: pulumi.StringRef("foo"),
// }, nil)
// if err != nil {
// return err
// }
// return nil
// })
// }
//
// ```
func GetProjectIssues(ctx *pulumi.Context, args *GetProjectIssuesArgs, opts ...pulumi.InvokeOption) (*GetProjectIssuesResult, error) {
var rv GetProjectIssuesResult
err := ctx.Invoke("gitlab:index/getProjectIssues:getProjectIssues", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
// A collection of arguments for invoking getProjectIssues.
type GetProjectIssuesArgs struct {
// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
AssigneeId *int `pulumi:"assigneeId"`
// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
AssigneeUsername *string `pulumi:"assigneeUsername"`
// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
AuthorId *int `pulumi:"authorId"`
// Filter confidential or public issues.
Confidential *bool `pulumi:"confidential"`
// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
CreatedAfter *string `pulumi:"createdAfter"`
// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
CreatedBefore *string `pulumi:"createdBefore"`
// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
DueDate *string `pulumi:"dueDate"`
// Return only the issues having the given iid
Iids []int `pulumi:"iids"`
// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
IssueType *string `pulumi:"issueType"`
// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
Labels []string `pulumi:"labels"`
// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
Milestone *string `pulumi:"milestone"`
// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
MyReactionEmoji *string `pulumi:"myReactionEmoji"`
// Return issues that do not match the assignee id.
NotAssigneeIds []int `pulumi:"notAssigneeIds"`
// Return issues that do not match the author id.
NotAuthorIds []int `pulumi:"notAuthorIds"`
// Return issues that do not match the labels.
NotLabels []string `pulumi:"notLabels"`
// Return issues that do not match the milestone.
NotMilestone *string `pulumi:"notMilestone"`
// Return issues not reacted by the authenticated user by the given emoji.
NotMyReactionEmojis []string `pulumi:"notMyReactionEmojis"`
// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
OrderBy *string `pulumi:"orderBy"`
// The name or id of the project.
Project string `pulumi:"project"`
// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
Scope *string `pulumi:"scope"`
// Search project issues against their title and description
Search *string `pulumi:"search"`
// Return issues sorted in asc or desc order. Default is desc
Sort *string `pulumi:"sort"`
// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
UpdatedAfter *string `pulumi:"updatedAfter"`
// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
UpdatedBefore *string `pulumi:"updatedBefore"`
// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
Weight *int `pulumi:"weight"`
// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
WithLabelsDetails *bool `pulumi:"withLabelsDetails"`
}
// A collection of values returned by getProjectIssues.
type GetProjectIssuesResult struct {
// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
AssigneeId *int `pulumi:"assigneeId"`
// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
AssigneeUsername *string `pulumi:"assigneeUsername"`
// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
AuthorId *int `pulumi:"authorId"`
// Filter confidential or public issues.
Confidential *bool `pulumi:"confidential"`
// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
CreatedAfter *string `pulumi:"createdAfter"`
// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
CreatedBefore *string `pulumi:"createdBefore"`
// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
DueDate *string `pulumi:"dueDate"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Return only the issues having the given iid
Iids []int `pulumi:"iids"`
// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
IssueType *string `pulumi:"issueType"`
// The list of issues returned by the search.
Issues []GetProjectIssuesIssue `pulumi:"issues"`
// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
Labels []string `pulumi:"labels"`
// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
Milestone *string `pulumi:"milestone"`
// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
MyReactionEmoji *string `pulumi:"myReactionEmoji"`
// Return issues that do not match the assignee id.
NotAssigneeIds []int `pulumi:"notAssigneeIds"`
// Return issues that do not match the author id.
NotAuthorIds []int `pulumi:"notAuthorIds"`
// Return issues that do not match the labels.
NotLabels []string `pulumi:"notLabels"`
// Return issues that do not match the milestone.
NotMilestone *string `pulumi:"notMilestone"`
// Return issues not reacted by the authenticated user by the given emoji.
NotMyReactionEmojis []string `pulumi:"notMyReactionEmojis"`
// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
OrderBy *string `pulumi:"orderBy"`
// The name or id of the project.
Project string `pulumi:"project"`
// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
Scope *string `pulumi:"scope"`
// Search project issues against their title and description
Search *string `pulumi:"search"`
// Return issues sorted in asc or desc order. Default is desc
Sort *string `pulumi:"sort"`
// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
UpdatedAfter *string `pulumi:"updatedAfter"`
// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
UpdatedBefore *string `pulumi:"updatedBefore"`
// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
Weight *int `pulumi:"weight"`
// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
WithLabelsDetails *bool `pulumi:"withLabelsDetails"`
}
func GetProjectIssuesOutput(ctx *pulumi.Context, args GetProjectIssuesOutputArgs, opts ...pulumi.InvokeOption) GetProjectIssuesResultOutput {
return pulumi.ToOutputWithContext(context.Background(), args).
ApplyT(func(v interface{}) (GetProjectIssuesResult, error) {
args := v.(GetProjectIssuesArgs)
r, err := GetProjectIssues(ctx, &args, opts...)
var s GetProjectIssuesResult
if r != nil {
s = *r
}
return s, err
}).(GetProjectIssuesResultOutput)
}
// A collection of arguments for invoking getProjectIssues.
type GetProjectIssuesOutputArgs struct {
// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
AssigneeId pulumi.IntPtrInput `pulumi:"assigneeId"`
// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
AssigneeUsername pulumi.StringPtrInput `pulumi:"assigneeUsername"`
// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
AuthorId pulumi.IntPtrInput `pulumi:"authorId"`
// Filter confidential or public issues.
Confidential pulumi.BoolPtrInput `pulumi:"confidential"`
// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
CreatedAfter pulumi.StringPtrInput `pulumi:"createdAfter"`
// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
CreatedBefore pulumi.StringPtrInput `pulumi:"createdBefore"`
// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
DueDate pulumi.StringPtrInput `pulumi:"dueDate"`
// Return only the issues having the given iid
Iids pulumi.IntArrayInput `pulumi:"iids"`
// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
IssueType pulumi.StringPtrInput `pulumi:"issueType"`
// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
Labels pulumi.StringArrayInput `pulumi:"labels"`
// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
Milestone pulumi.StringPtrInput `pulumi:"milestone"`
// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
MyReactionEmoji pulumi.StringPtrInput `pulumi:"myReactionEmoji"`
// Return issues that do not match the assignee id.
NotAssigneeIds pulumi.IntArrayInput `pulumi:"notAssigneeIds"`
// Return issues that do not match the author id.
NotAuthorIds pulumi.IntArrayInput `pulumi:"notAuthorIds"`
// Return issues that do not match the labels.
NotLabels pulumi.StringArrayInput `pulumi:"notLabels"`
// Return issues that do not match the milestone.
NotMilestone pulumi.StringPtrInput `pulumi:"notMilestone"`
// Return issues not reacted by the authenticated user by the given emoji.
NotMyReactionEmojis pulumi.StringArrayInput `pulumi:"notMyReactionEmojis"`
// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
// The name or id of the project.
Project pulumi.StringInput `pulumi:"project"`
// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
Scope pulumi.StringPtrInput `pulumi:"scope"`
// Search project issues against their title and description
Search pulumi.StringPtrInput `pulumi:"search"`
// Return issues sorted in asc or desc order. Default is desc
Sort pulumi.StringPtrInput `pulumi:"sort"`
// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
UpdatedAfter pulumi.StringPtrInput `pulumi:"updatedAfter"`
// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
UpdatedBefore pulumi.StringPtrInput `pulumi:"updatedBefore"`
// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
Weight pulumi.IntPtrInput `pulumi:"weight"`
// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
WithLabelsDetails pulumi.BoolPtrInput `pulumi:"withLabelsDetails"`
}
func (GetProjectIssuesOutputArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetProjectIssuesArgs)(nil)).Elem()
}
// A collection of values returned by getProjectIssues.
type GetProjectIssuesResultOutput struct{ *pulumi.OutputState }
func (GetProjectIssuesResultOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetProjectIssuesResult)(nil)).Elem()
}
func (o GetProjectIssuesResultOutput) ToGetProjectIssuesResultOutput() GetProjectIssuesResultOutput {
return o
}
func (o GetProjectIssuesResultOutput) ToGetProjectIssuesResultOutputWithContext(ctx context.Context) GetProjectIssuesResultOutput {
return o
}
// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
func (o GetProjectIssuesResultOutput) AssigneeId() pulumi.IntPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *int { return v.AssigneeId }).(pulumi.IntPtrOutput)
}
// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
func (o GetProjectIssuesResultOutput) AssigneeUsername() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.AssigneeUsername }).(pulumi.StringPtrOutput)
}
// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
func (o GetProjectIssuesResultOutput) AuthorId() pulumi.IntPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *int { return v.AuthorId }).(pulumi.IntPtrOutput)
}
// Filter confidential or public issues.
func (o GetProjectIssuesResultOutput) Confidential() pulumi.BoolPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *bool { return v.Confidential }).(pulumi.BoolPtrOutput)
}
// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
func (o GetProjectIssuesResultOutput) CreatedAfter() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.CreatedAfter }).(pulumi.StringPtrOutput)
}
// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
func (o GetProjectIssuesResultOutput) CreatedBefore() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.CreatedBefore }).(pulumi.StringPtrOutput)
}
// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
func (o GetProjectIssuesResultOutput) DueDate() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.DueDate }).(pulumi.StringPtrOutput)
}
// The provider-assigned unique ID for this managed resource.
func (o GetProjectIssuesResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectIssuesResult) string { return v.Id }).(pulumi.StringOutput)
}
// Return only the issues having the given iid
func (o GetProjectIssuesResultOutput) Iids() pulumi.IntArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []int { return v.Iids }).(pulumi.IntArrayOutput)
}
// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
func (o GetProjectIssuesResultOutput) IssueType() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.IssueType }).(pulumi.StringPtrOutput)
}
// The list of issues returned by the search.
func (o GetProjectIssuesResultOutput) Issues() GetProjectIssuesIssueArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []GetProjectIssuesIssue { return v.Issues }).(GetProjectIssuesIssueArrayOutput)
}
// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
func (o GetProjectIssuesResultOutput) Labels() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []string { return v.Labels }).(pulumi.StringArrayOutput)
}
// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
func (o GetProjectIssuesResultOutput) Milestone() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.Milestone }).(pulumi.StringPtrOutput)
}
// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
func (o GetProjectIssuesResultOutput) MyReactionEmoji() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.MyReactionEmoji }).(pulumi.StringPtrOutput)
}
// Return issues that do not match the assignee id.
func (o GetProjectIssuesResultOutput) NotAssigneeIds() pulumi.IntArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []int { return v.NotAssigneeIds }).(pulumi.IntArrayOutput)
}
// Return issues that do not match the author id.
func (o GetProjectIssuesResultOutput) NotAuthorIds() pulumi.IntArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []int { return v.NotAuthorIds }).(pulumi.IntArrayOutput)
}
// Return issues that do not match the labels.
func (o GetProjectIssuesResultOutput) NotLabels() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []string { return v.NotLabels }).(pulumi.StringArrayOutput)
}
// Return issues that do not match the milestone.
func (o GetProjectIssuesResultOutput) NotMilestone() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.NotMilestone }).(pulumi.StringPtrOutput)
}
// Return issues not reacted by the authenticated user by the given emoji.
func (o GetProjectIssuesResultOutput) NotMyReactionEmojis() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetProjectIssuesResult) []string { return v.NotMyReactionEmojis }).(pulumi.StringArrayOutput)
}
// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
func (o GetProjectIssuesResultOutput) OrderBy() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.OrderBy }).(pulumi.StringPtrOutput)
}
// The name or id of the project.
func (o GetProjectIssuesResultOutput) Project() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectIssuesResult) string { return v.Project }).(pulumi.StringOutput)
}
// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
func (o GetProjectIssuesResultOutput) Scope() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.Scope }).(pulumi.StringPtrOutput)
}
// Search project issues against their title and description
func (o GetProjectIssuesResultOutput) Search() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.Search }).(pulumi.StringPtrOutput)
}
// Return issues sorted in asc or desc order. Default is desc
func (o GetProjectIssuesResultOutput) Sort() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.Sort }).(pulumi.StringPtrOutput)
}
// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
func (o GetProjectIssuesResultOutput) UpdatedAfter() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.UpdatedAfter }).(pulumi.StringPtrOutput)
}
// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
func (o GetProjectIssuesResultOutput) UpdatedBefore() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *string { return v.UpdatedBefore }).(pulumi.StringPtrOutput)
}
// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
func (o GetProjectIssuesResultOutput) Weight() pulumi.IntPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *int { return v.Weight }).(pulumi.IntPtrOutput)
}
// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
func (o GetProjectIssuesResultOutput) WithLabelsDetails() pulumi.BoolPtrOutput {
return o.ApplyT(func(v GetProjectIssuesResult) *bool { return v.WithLabelsDetails }).(pulumi.BoolPtrOutput)
}
func init() {
pulumi.RegisterOutputType(GetProjectIssuesResultOutput{})
}