-
Notifications
You must be signed in to change notification settings - Fork 1
/
types.go
43 lines (41 loc) · 1.16 KB
/
types.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
package cloudbuild
import (
"time"
)
type customBuild struct {
Type string `json:"@type"`
Build struct {
ID string `json:"id"`
Status string `json:"status"`
Source struct {
StorageSource struct {
Bucket string `json:"bucket"`
Object string `json:"object"`
} `json:"storageSource"`
} `json:"source"`
CreateTime time.Time `json:"createTime"`
Steps []struct {
Name string `json:"name"`
Args []string `json:"args"`
} `json:"steps"`
Timeout string `json:"timeout"`
Images []string `json:"images"`
ProjectID string `json:"projectId"`
LogsBucket string `json:"logsBucket"`
SourceProvenance struct {
ResolvedStorageSource struct {
Bucket string `json:"bucket"`
Object string `json:"object"`
Generation string `json:"generation"`
} `json:"resolvedStorageSource"`
} `json:"sourceProvenance"`
Options struct {
LogStreamingOption string `json:"logStreamingOption"`
Logging string `json:"logging"`
} `json:"options"`
LogURL string `json:"logUrl"`
Artifacts struct {
Images []string `json:"images"`
} `json:"artifacts"`
} `json:"build"`
}