Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: milo/api/config/project.pb.go

Issue 2982183002: Milo: Store console defs as their own entities (Closed)
Patch Set: Rebase fixes and Working Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « milo/api/config/project.proto ('k') | milo/api/resp/build.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Code generated by protoc-gen-go. DO NOT EDIT. 1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: github.com/luci/luci-go/milo/api/config/project.proto 2 // source: github.com/luci/luci-go/milo/api/config/project.proto
3 3
4 /* 4 /*
5 Package config is a generated protocol buffer package. 5 Package config is a generated protocol buffer package.
6 6
7 It is generated from these files: 7 It is generated from these files:
8 github.com/luci/luci-go/milo/api/config/project.proto 8 github.com/luci/luci-go/milo/api/config/project.proto
9 github.com/luci/luci-go/milo/api/config/settings.proto 9 github.com/luci/luci-go/milo/api/config/settings.proto
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Console is a waterfall definition consisting of one or more builders. 61 // Console is a waterfall definition consisting of one or more builders.
62 type Console struct { 62 type Console struct {
63 // ID is the reference to the console, and will be the address to make t he 63 // ID is the reference to the console, and will be the address to make t he
64 // console reachable from /console/<Project>/<ID>. 64 // console reachable from /console/<Project>/<ID>.
65 ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` 65 ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
66 // Name is the longform name of the waterfall, and will be used to be 66 // Name is the longform name of the waterfall, and will be used to be
67 // displayed in the title. 67 // displayed in the title.
68 Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` 68 Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"`
69 // RepoURL is the URL of the git repository to display as the rows of th e console. 69 // RepoURL is the URL of the git repository to display as the rows of th e console.
70 RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitem pty"` 70 RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitem pty"`
71 » // Branch is the branch to pull commits from when displaying the console . 71 » // Ref is the ref to pull commits from when displaying the console.
72 » Branch string `protobuf:"bytes,4,opt,name=Branch" json:"Branch,omitempty "` 72 » // Eg. refs/heads/master
73 » Ref string `protobuf:"bytes,4,opt,name=Ref" json:"Ref,omitempty"`
73 // ManifestName is the name of the manifest the waterfall looks at. 74 // ManifestName is the name of the manifest the waterfall looks at.
74 // By convention, Manifest Names can be: 75 // By convention, Manifest Names can be:
75 // * UNPATCHED - For non patched builds, such as continuous builds 76 // * UNPATCHED - For non patched builds, such as continuous builds
76 // * PATCHED - For patched builds, such as those on try jobs 77 // * PATCHED - For patched builds, such as those on try jobs
77 ManifestName string `protobuf:"bytes,5,opt,name=ManifestName" json:"Mani festName,omitempty"` 78 ManifestName string `protobuf:"bytes,5,opt,name=ManifestName" json:"Mani festName,omitempty"`
78 // Builders is a list of builder configurations to display as the column s of the console. 79 // Builders is a list of builder configurations to display as the column s of the console.
79 Builders []*Builder `protobuf:"bytes,6,rep,name=Builders" json:"Builders ,omitempty"` 80 Builders []*Builder `protobuf:"bytes,6,rep,name=Builders" json:"Builders ,omitempty"`
80 } 81 }
81 82
82 func (m *Console) Reset() { *m = Console{} } 83 func (m *Console) Reset() { *m = Console{} }
(...skipping 15 matching lines...) Expand all
98 return "" 99 return ""
99 } 100 }
100 101
101 func (m *Console) GetRepoURL() string { 102 func (m *Console) GetRepoURL() string {
102 if m != nil { 103 if m != nil {
103 return m.RepoURL 104 return m.RepoURL
104 } 105 }
105 return "" 106 return ""
106 } 107 }
107 108
108 func (m *Console) GetBranch() string { 109 func (m *Console) GetRef() string {
109 if m != nil { 110 if m != nil {
110 » » return m.Branch 111 » » return m.Ref
111 } 112 }
112 return "" 113 return ""
113 } 114 }
114 115
115 func (m *Console) GetManifestName() string { 116 func (m *Console) GetManifestName() string {
116 if m != nil { 117 if m != nil {
117 return m.ManifestName 118 return m.ManifestName
118 } 119 }
119 return "" 120 return ""
120 } 121 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 proto.RegisterType((*Project)(nil), "config.Project") 171 proto.RegisterType((*Project)(nil), "config.Project")
171 proto.RegisterType((*Console)(nil), "config.Console") 172 proto.RegisterType((*Console)(nil), "config.Console")
172 proto.RegisterType((*Builder)(nil), "config.Builder") 173 proto.RegisterType((*Builder)(nil), "config.Builder")
173 } 174 }
174 175
175 func init() { 176 func init() {
176 proto.RegisterFile("github.com/luci/luci-go/milo/api/config/project.prot o", fileDescriptor0) 177 proto.RegisterFile("github.com/luci/luci-go/milo/api/config/project.prot o", fileDescriptor0)
177 } 178 }
178 179
179 var fileDescriptor0 = []byte{ 180 var fileDescriptor0 = []byte{
180 » // 263 bytes of a gzipped FileDescriptorProto 181 » // 260 bytes of a gzipped FileDescriptorProto
181 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xd1, 0x4a, 0xc3, 0x30, 182 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
182 » 0x14, 0x86, 0x69, 0x37, 0xdb, 0xed, 0x28, 0x0a, 0xb9, 0x90, 0x20, 0x5e, 0x8c, 0x5e, 0x0d, 0xc4, 183 » 0x10, 0x86, 0x49, 0x52, 0x93, 0x76, 0x14, 0x95, 0x3d, 0x2d, 0xe2, 0xa1, 0xe4, 0x54, 0x10, 0xb3,
183 » 0x06, 0x14, 0x5f, 0x60, 0x1b, 0xc2, 0x40, 0x45, 0x22, 0xe2, 0x75, 0x16, 0xb3, 0x36, 0xd2, 0xf6, 184 » 0xa0, 0xf8, 0x02, 0xb6, 0x08, 0x05, 0x15, 0x59, 0x11, 0xcf, 0x69, 0xdc, 0xa4, 0x2b, 0x49, 0x26,
184 » 0x94, 0x34, 0xbd, 0xf0, 0xad, 0x7c, 0x44, 0x31, 0x89, 0xd5, 0xb2, 0x9b, 0x72, 0xfe, 0xef, 0x3f, 185 » 0x6c, 0x36, 0x07, 0x5f, 0xc9, 0xa7, 0x94, 0xce, 0xae, 0xd1, 0xd2, 0x4b, 0xf8, 0xff, 0x6f, 0x26,
185 » 0x3d, 0x7c, 0x04, 0xee, 0x0a, 0x6d, 0xcb, 0x7e, 0x97, 0x4b, 0xac, 0x59, 0xd5, 0x4b, 0xed, 0x3e, 186 » 0xc3, 0xc7, 0xc2, 0x5d, 0xa5, 0xed, 0x76, 0xd8, 0x64, 0x05, 0x36, 0xa2, 0x1e, 0x0a, 0x4d, 0x9f,
186 » 0xd7, 0x05, 0xb2, 0x5a, 0x57, 0xc8, 0x44, 0xab, 0x99, 0xc4, 0x66, 0xaf, 0x0b, 0xd6, 0x1a, 0xfc, 187 » 0xeb, 0x0a, 0x45, 0xa3, 0x6b, 0x14, 0x79, 0xa7, 0x45, 0x81, 0x6d, 0xa9, 0x2b, 0xd1, 0x19, 0xfc,
187 » 0x50, 0xd2, 0xe6, 0xad, 0x41, 0x8b, 0x24, 0xf1, 0x34, 0xbb, 0x87, 0xf4, 0xd9, 0x17, 0xe4, 0x14, 188 » 0x54, 0x85, 0xcd, 0x3a, 0x83, 0x16, 0x59, 0xec, 0x68, 0xfa, 0x00, 0xc9, 0x8b, 0x1b, 0xb0, 0x53,
188 » 0xe2, 0xed, 0x86, 0x46, 0x8b, 0x68, 0x39, 0xe7, 0xf1, 0x76, 0x43, 0xae, 0x60, 0xb6, 0xc6, 0xa6, 189 » 0x08, 0xd7, 0x2b, 0x1e, 0xcc, 0x83, 0xc5, 0x4c, 0x86, 0xeb, 0x15, 0xbb, 0x82, 0xe9, 0x12, 0xdb,
189 » 0xc3, 0x4a, 0x75, 0x34, 0x5e, 0x4c, 0x96, 0xc7, 0x37, 0x67, 0xb9, 0xff, 0x2b, 0x0f, 0x9c, 0x0f, 190 » 0x1e, 0x6b, 0xd5, 0xf3, 0x70, 0x1e, 0x2d, 0x8e, 0x6f, 0xce, 0x32, 0xf7, 0x57, 0xe6, 0xb9, 0x1c,
190 » 0x0b, 0xd9, 0x57, 0x04, 0x69, 0x08, 0x07, 0x87, 0x08, 0x4c, 0x9f, 0x44, 0xad, 0x68, 0xec, 0x88, 191 » 0x17, 0xd2, 0xef, 0x00, 0x12, 0x5f, 0x0e, 0x0e, 0x31, 0x98, 0x3c, 0xe7, 0x8d, 0xe2, 0x21, 0x11,
191 » 0x9b, 0x09, 0x85, 0x94, 0xab, 0x16, 0x5f, 0xf9, 0x03, 0x9d, 0x38, 0xfc, 0x1b, 0xc9, 0x39, 0x24, 192 » 0xca, 0x8c, 0x43, 0x22, 0x55, 0x87, 0x6f, 0xf2, 0x91, 0x47, 0x84, 0x7f, 0x2b, 0x3b, 0x87, 0x48,
192 » 0x2b, 0x23, 0x1a, 0x59, 0xd2, 0xa9, 0x2b, 0x42, 0x22, 0x19, 0x9c, 0x3c, 0x8a, 0x46, 0xef, 0x55, 193 » 0xaa, 0x92, 0x4f, 0x88, 0xee, 0x22, 0x4b, 0xe1, 0xe4, 0x29, 0x6f, 0x75, 0xa9, 0x7a, 0x4b, 0x77,
193 » 0x67, 0xdd, 0xb5, 0x23, 0xd7, 0x8e, 0xd8, 0x8f, 0xf2, 0xaa, 0xd7, 0xd5, 0xbb, 0x32, 0x1d, 0x4d, 194 » 0x8e, 0x68, 0xb4, 0xc7, 0x76, 0xb2, 0xf7, 0x83, 0xae, 0x3f, 0x94, 0xe9, 0x79, 0xbc, 0x2f, 0xeb,
194 » 0xc6, 0xca, 0x81, 0xf3, 0x61, 0x21, 0x7b, 0x83, 0x34, 0xcc, 0x83, 0x61, 0xf4, 0xcf, 0xf0, 0x02, 195 » 0xb9, 0x1c, 0x17, 0xd2, 0x77, 0x48, 0x7c, 0x1e, 0xdd, 0x82, 0x7f, 0x6e, 0x17, 0x30, 0x5d, 0xe6,
195 » 0x66, 0x6b, 0x61, 0x55, 0x81, 0xe6, 0x33, 0x98, 0x0f, 0x99, 0x5c, 0xc2, 0xfc, 0xa5, 0x44, 0xe3, 196 » 0x56, 0x55, 0x68, 0xbe, 0xbc, 0xf3, 0xd8, 0xd9, 0x25, 0xcc, 0x5e, 0xb7, 0x68, 0x9c, 0x88, 0x33,
196 » 0x45, 0xbc, 0xff, 0x1f, 0xd8, 0x25, 0xee, 0x89, 0x6f, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfb, 197 » 0xff, 0x03, 0x9b, 0x98, 0x1e, 0xf7, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x83, 0x36, 0x82, 0xe0,
197 » 0x59, 0x08, 0x73, 0x9b, 0x01, 0x00, 0x00, 198 » 0x95, 0x01, 0x00, 0x00,
198 } 199 }
OLDNEW
« no previous file with comments | « milo/api/config/project.proto ('k') | milo/api/resp/build.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698