Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
79bdeb00
Commit
79bdeb00
authored
Feb 19, 2018
by
jbguerraz
Committed by
Sander van Harmelen
Feb 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Confidential Issue Hook (#343)
parent
2b4d1c7c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
projects.go
projects.go
+3
-0
services.go
services.go
+1
-0
No files found.
projects.go
View file @
79bdeb00
...
@@ -670,6 +670,7 @@ type ProjectHook struct {
...
@@ -670,6 +670,7 @@ type ProjectHook struct {
ProjectID
int
`json:"project_id"`
ProjectID
int
`json:"project_id"`
PushEvents
bool
`json:"push_events"`
PushEvents
bool
`json:"push_events"`
IssuesEvents
bool
`json:"issues_events"`
IssuesEvents
bool
`json:"issues_events"`
ConfidentialIssuesEvents
bool
`json:"confidential_issues_events"`
MergeRequestsEvents
bool
`json:"merge_requests_events"`
MergeRequestsEvents
bool
`json:"merge_requests_events"`
TagPushEvents
bool
`json:"tag_push_events"`
TagPushEvents
bool
`json:"tag_push_events"`
NoteEvents
bool
`json:"note_events"`
NoteEvents
bool
`json:"note_events"`
...
@@ -743,6 +744,7 @@ type AddProjectHookOptions struct {
...
@@ -743,6 +744,7 @@ type AddProjectHookOptions struct {
URL
*
string
`url:"url,omitempty" json:"url,omitempty"`
URL
*
string
`url:"url,omitempty" json:"url,omitempty"`
PushEvents
*
bool
`url:"push_events,omitempty" json:"push_events,omitempty"`
PushEvents
*
bool
`url:"push_events,omitempty" json:"push_events,omitempty"`
IssuesEvents
*
bool
`url:"issues_events,omitempty" json:"issues_events,omitempty"`
IssuesEvents
*
bool
`url:"issues_events,omitempty" json:"issues_events,omitempty"`
ConfidentialIssuesEvents
*
bool
`url:"confidential_issues_events,omitempty" json:"confidential_issues_events,omitempty"`
MergeRequestsEvents
*
bool
`url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"`
MergeRequestsEvents
*
bool
`url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"`
TagPushEvents
*
bool
`url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"`
TagPushEvents
*
bool
`url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"`
NoteEvents
*
bool
`url:"note_events,omitempty" json:"note_events,omitempty"`
NoteEvents
*
bool
`url:"note_events,omitempty" json:"note_events,omitempty"`
...
@@ -786,6 +788,7 @@ type EditProjectHookOptions struct {
...
@@ -786,6 +788,7 @@ type EditProjectHookOptions struct {
URL
*
string
`url:"url,omitempty" json:"url,omitempty"`
URL
*
string
`url:"url,omitempty" json:"url,omitempty"`
PushEvents
*
bool
`url:"push_events,omitempty" json:"push_events,omitempty"`
PushEvents
*
bool
`url:"push_events,omitempty" json:"push_events,omitempty"`
IssuesEvents
*
bool
`url:"issues_events,omitempty" json:"issues_events,omitempty"`
IssuesEvents
*
bool
`url:"issues_events,omitempty" json:"issues_events,omitempty"`
ConfidentialIssuesEvents
*
bool
`url:"confidential_issues_events,omitempty" json:"confidential_issues_events,omitempty"`
MergeRequestsEvents
*
bool
`url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"`
MergeRequestsEvents
*
bool
`url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"`
TagPushEvents
*
bool
`url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"`
TagPushEvents
*
bool
`url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"`
NoteEvents
*
bool
`url:"note_events,omitempty" json:"note_events,omitempty"`
NoteEvents
*
bool
`url:"note_events,omitempty" json:"note_events,omitempty"`
...
...
services.go
View file @
79bdeb00
...
@@ -41,6 +41,7 @@ type Service struct {
...
@@ -41,6 +41,7 @@ type Service struct {
Active
bool
`json:"active"`
Active
bool
`json:"active"`
PushEvents
bool
`json:"push_events"`
PushEvents
bool
`json:"push_events"`
IssuesEvents
bool
`json:"issues_events"`
IssuesEvents
bool
`json:"issues_events"`
ConfidentialIssuesEvents
bool
`json:"confidential_issues_events"`
MergeRequestsEvents
bool
`json:"merge_requests_events"`
MergeRequestsEvents
bool
`json:"merge_requests_events"`
TagPushEvents
bool
`json:"tag_push_events"`
TagPushEvents
bool
`json:"tag_push_events"`
NoteEvents
bool
`json:"note_events"`
NoteEvents
bool
`json:"note_events"`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment