init
This commit is contained in:
commit
c0f618a9db
133 files changed
+55621
No files matched your search
@@ -0,0 +1,41 @@
|
||||
package gitlab
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// WebhookInfo Provides information about group or project hooks.
|
||||
type WebhookInfo struct {
|
||||
ID int
|
||||
URL string
|
||||
ConfidentialNoteEvents bool
|
||||
PushEvents bool
|
||||
IssuesEvents bool
|
||||
ConfidentialIssuesEvents bool
|
||||
MergeRequestsEvents bool
|
||||
TagPushEvents bool
|
||||
NoteEvents bool
|
||||
JobEvents bool
|
||||
PipelineEvents bool
|
||||
WikiPageEvents bool
|
||||
EnableSSLVerification bool
|
||||
CreatedAt *time.Time
|
||||
Scope Scope
|
||||
}
|
||||
|
||||
// AddWebhookOptions is a paramater object with options for creating a project or group hook.
|
||||
type AddWebhookOptions struct {
|
||||
URL string
|
||||
ConfidentialNoteEvents bool
|
||||
PushEvents bool
|
||||
IssuesEvents bool
|
||||
ConfidentialIssuesEvents bool
|
||||
MergeRequestsEvents bool
|
||||
TagPushEvents bool
|
||||
NoteEvents bool
|
||||
JobEvents bool
|
||||
PipelineEvents bool
|
||||
WikiPageEvents bool
|
||||
EnableSSLVerification bool
|
||||
Token string
|
||||
}
|
||||
Reference in new issue
Block a user