forked from rancher/rancher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildinfo.go
19 lines (18 loc) · 813 Bytes
/
buildinfo.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package model
type BuildInfo struct {
TriggerType string `json:"triggerType,omitempty"`
TriggerUserName string `json:"triggerUserName,omitempty"`
Commit string `json:"commit,omitempty"`
Event string `json:"event,omitempty"`
RepositoryURL string `json:"repositoryUrl,omitempty"`
Branch string `json:"branch,omitempty"`
Ref string `json:"ref,omitempty"`
RefSpec string `json:"refSpec,omitempty"`
HTMLLink string `json:"htmlLink,omitempty"`
Title string `json:"title,omitempty"`
Message string `json:"message,omitempty"`
Sender string `json:"sender,omitempty"`
Author string `json:"author,omitempty"`
AvatarURL string `json:"avatarUrl,omitempty"`
Email string `json:"email,omitempty"`
}