| OLD | NEW |
| 1 // Code generated by protoc-gen-go. DO NOT EDIT. | 1 // Code generated by protoc-gen-go. |
| 2 // source: github.com/luci/luci-go/milo/common/config/project.proto | 2 // source: github.com/luci/luci-go/milo/common/config/project.proto |
| 3 // DO NOT EDIT! |
| 3 | 4 |
| 4 /* | 5 /* |
| 5 Package config is a generated protocol buffer package. | 6 Package config is a generated protocol buffer package. |
| 6 | 7 |
| 7 It is generated from these files: | 8 It is generated from these files: |
| 8 github.com/luci/luci-go/milo/common/config/project.proto | 9 github.com/luci/luci-go/milo/common/config/project.proto |
| 9 github.com/luci/luci-go/milo/common/config/settings.proto | 10 github.com/luci/luci-go/milo/common/config/settings.proto |
| 10 | 11 |
| 11 It has these top-level messages: | 12 It has these top-level messages: |
| 12 Project | 13 Project |
| (...skipping 15 matching lines...) Expand all Loading... |
| 28 // This is a compile-time assertion to ensure that this generated file | 29 // This is a compile-time assertion to ensure that this generated file |
| 29 // is compatible with the proto package it is being compiled against. | 30 // is compatible with the proto package it is being compiled against. |
| 30 // A compilation error at this line likely means your copy of the | 31 // A compilation error at this line likely means your copy of the |
| 31 // proto package needs to be updated. | 32 // proto package needs to be updated. |
| 32 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package | 33 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 33 | 34 |
| 34 // Project is a project definition for Milo. | 35 // Project is a project definition for Milo. |
| 35 type Project struct { | 36 type Project struct { |
| 36 // ID is the identifier for the project, if different from its repositor
y name. | 37 // ID is the identifier for the project, if different from its repositor
y name. |
| 37 ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` | 38 ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` |
| 38 // Readers is the list of gaia users or Chrome-infra-auth groups allowed
to view | |
| 39 // the project. | |
| 40 Readers []string `protobuf:"bytes,2,rep,name=Readers" json:"Readers,omit
empty"` | |
| 41 // Writers is the list of gaia users or Chrome-infra-auth groups allowed
to | |
| 42 // perform actions on parts of the project. | |
| 43 Writers []string `protobuf:"bytes,3,rep,name=Writers" json:"Writers,omit
empty"` | |
| 44 // Consoles is a list of consoles to define under /console/ | 39 // Consoles is a list of consoles to define under /console/ |
| 45 » Consoles []*Console `protobuf:"bytes,4,rep,name=Consoles" json:"Consoles
,omitempty"` | 40 » Consoles []*Console `protobuf:"bytes,2,rep,name=Consoles" json:"Consoles
,omitempty"` |
| 46 } | 41 } |
| 47 | 42 |
| 48 func (m *Project) Reset() { *m = Project{} } | 43 func (m *Project) Reset() { *m = Project{} } |
| 49 func (m *Project) String() string { return proto.CompactTextString(m)
} | 44 func (m *Project) String() string { return proto.CompactTextString(m)
} |
| 50 func (*Project) ProtoMessage() {} | 45 func (*Project) ProtoMessage() {} |
| 51 func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0}
} | 46 func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0}
} |
| 52 | 47 |
| 53 func (m *Project) GetID() string { | 48 func (m *Project) GetID() string { |
| 54 if m != nil { | 49 if m != nil { |
| 55 return m.ID | 50 return m.ID |
| 56 } | 51 } |
| 57 return "" | 52 return "" |
| 58 } | 53 } |
| 59 | 54 |
| 60 func (m *Project) GetReaders() []string { | |
| 61 if m != nil { | |
| 62 return m.Readers | |
| 63 } | |
| 64 return nil | |
| 65 } | |
| 66 | |
| 67 func (m *Project) GetWriters() []string { | |
| 68 if m != nil { | |
| 69 return m.Writers | |
| 70 } | |
| 71 return nil | |
| 72 } | |
| 73 | |
| 74 func (m *Project) GetConsoles() []*Console { | 55 func (m *Project) GetConsoles() []*Console { |
| 75 if m != nil { | 56 if m != nil { |
| 76 return m.Consoles | 57 return m.Consoles |
| 77 } | 58 } |
| 78 return nil | 59 return nil |
| 79 } | 60 } |
| 80 | 61 |
| 81 // Console is a waterfall definition consisting of one or more builders. | 62 // Console is a waterfall definition consisting of one or more builders. |
| 82 type Console struct { | 63 type Console struct { |
| 83 // ID is the reference to the console, and will be the address to make t
he | 64 // ID is the reference to the console, and will be the address to make t
he |
| 84 // console reachable from /console/<Project>/<ID>. | 65 // console reachable from /console/<Project>/<ID>. |
| 85 ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` | 66 ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` |
| 86 // Name is the longform name of the waterfall, and will be used to be | 67 // Name is the longform name of the waterfall, and will be used to be |
| 87 // displayed in the title. | 68 // displayed in the title. |
| 88 Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` | 69 Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` |
| 89 » // RepoURL is the name of the git repository to display as the rows of t
he console. | 70 » // RepoURL is the URL of the git repository to display as the rows of th
e console. |
| 90 RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitem
pty"` | 71 RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitem
pty"` |
| 91 // Branch is the branch to pull commits from when displaying the console
. | 72 // Branch is the branch to pull commits from when displaying the console
. |
| 92 Branch string `protobuf:"bytes,4,opt,name=Branch" json:"Branch,omitempty
"` | 73 Branch string `protobuf:"bytes,4,opt,name=Branch" json:"Branch,omitempty
"` |
| 74 // ManifestName is the name of the manifest the waterfall looks at. |
| 75 // By convention, Manifest Names can be: |
| 76 // * UNPATCHED - For non patched builds, such as continuous builds |
| 77 // * PATCHED - For patched builds, such as those on try jobs |
| 78 ManifestName string `protobuf:"bytes,5,opt,name=ManifestName" json:"Mani
festName,omitempty"` |
| 93 // 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. |
| 94 » Builders []*Builder `protobuf:"bytes,5,rep,name=Builders" json:"Builders
,omitempty"` | 80 » Builders []*Builder `protobuf:"bytes,6,rep,name=Builders" json:"Builders
,omitempty"` |
| 95 } | 81 } |
| 96 | 82 |
| 97 func (m *Console) Reset() { *m = Console{} } | 83 func (m *Console) Reset() { *m = Console{} } |
| 98 func (m *Console) String() string { return proto.CompactTextString(m)
} | 84 func (m *Console) String() string { return proto.CompactTextString(m)
} |
| 99 func (*Console) ProtoMessage() {} | 85 func (*Console) ProtoMessage() {} |
| 100 func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1}
} | 86 func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1}
} |
| 101 | 87 |
| 102 func (m *Console) GetID() string { | 88 func (m *Console) GetID() string { |
| 103 if m != nil { | 89 if m != nil { |
| 104 return m.ID | 90 return m.ID |
| (...skipping 15 matching lines...) Expand all Loading... |
| 120 return "" | 106 return "" |
| 121 } | 107 } |
| 122 | 108 |
| 123 func (m *Console) GetBranch() string { | 109 func (m *Console) GetBranch() string { |
| 124 if m != nil { | 110 if m != nil { |
| 125 return m.Branch | 111 return m.Branch |
| 126 } | 112 } |
| 127 return "" | 113 return "" |
| 128 } | 114 } |
| 129 | 115 |
| 116 func (m *Console) GetManifestName() string { |
| 117 if m != nil { |
| 118 return m.ManifestName |
| 119 } |
| 120 return "" |
| 121 } |
| 122 |
| 130 func (m *Console) GetBuilders() []*Builder { | 123 func (m *Console) GetBuilders() []*Builder { |
| 131 if m != nil { | 124 if m != nil { |
| 132 return m.Builders | 125 return m.Builders |
| 133 } | 126 } |
| 134 return nil | 127 return nil |
| 135 } | 128 } |
| 136 | 129 |
| 137 // A builder is a reference to a Milo builder. | 130 // A builder is a reference to a Milo builder. |
| 138 type Builder struct { | 131 type Builder struct { |
| 139 » // Module is the name of the Milo module this builder is in reference to
. | 132 » // Name is the identifier to find the builder, which includes the module
. |
| 140 » Module string `protobuf:"bytes,1,opt,name=Module" json:"Module,omitempty
"` | 133 » // Buildbot builds would be like "buildbot/chromium.linux/Linux Tests" |
| 141 » // Name is the identifier to find the builder within the module. | 134 » // Buildbucket builds would be like "buildbucket/luci.chromium.try/linux
_chromium_rel_ng" |
| 142 » Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` | 135 » Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"` |
| 143 // Category describes the hierarchy of the builder on the header of the | 136 // Category describes the hierarchy of the builder on the header of the |
| 144 // console as a "|" delimited list. Neighboring builders with common an
cestors | 137 // console as a "|" delimited list. Neighboring builders with common an
cestors |
| 145 // will be have their headers merged. | 138 // will be have their headers merged. |
| 146 » Category string `protobuf:"bytes,3,opt,name=Category" json:"Category,omi
tempty"` | 139 » Category string `protobuf:"bytes,2,opt,name=Category" json:"Category,omi
tempty"` |
| 147 // ShortName is the 1-3 character abbreviation of the builder. | 140 // ShortName is the 1-3 character abbreviation of the builder. |
| 148 » ShortName string `protobuf:"bytes,4,opt,name=ShortName" json:"ShortName,
omitempty"` | 141 » ShortName string `protobuf:"bytes,3,opt,name=ShortName" json:"ShortName,
omitempty"` |
| 149 } | 142 } |
| 150 | 143 |
| 151 func (m *Builder) Reset() { *m = Builder{} } | 144 func (m *Builder) Reset() { *m = Builder{} } |
| 152 func (m *Builder) String() string { return proto.CompactTextString(m)
} | 145 func (m *Builder) String() string { return proto.CompactTextString(m)
} |
| 153 func (*Builder) ProtoMessage() {} | 146 func (*Builder) ProtoMessage() {} |
| 154 func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2}
} | 147 func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2}
} |
| 155 | 148 |
| 156 func (m *Builder) GetModule() string { | |
| 157 if m != nil { | |
| 158 return m.Module | |
| 159 } | |
| 160 return "" | |
| 161 } | |
| 162 | |
| 163 func (m *Builder) GetName() string { | 149 func (m *Builder) GetName() string { |
| 164 if m != nil { | 150 if m != nil { |
| 165 return m.Name | 151 return m.Name |
| 166 } | 152 } |
| 167 return "" | 153 return "" |
| 168 } | 154 } |
| 169 | 155 |
| 170 func (m *Builder) GetCategory() string { | 156 func (m *Builder) GetCategory() string { |
| 171 if m != nil { | 157 if m != nil { |
| 172 return m.Category | 158 return m.Category |
| (...skipping 12 matching lines...) Expand all Loading... |
| 185 proto.RegisterType((*Project)(nil), "config.Project") | 171 proto.RegisterType((*Project)(nil), "config.Project") |
| 186 proto.RegisterType((*Console)(nil), "config.Console") | 172 proto.RegisterType((*Console)(nil), "config.Console") |
| 187 proto.RegisterType((*Builder)(nil), "config.Builder") | 173 proto.RegisterType((*Builder)(nil), "config.Builder") |
| 188 } | 174 } |
| 189 | 175 |
| 190 func init() { | 176 func init() { |
| 191 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.p
roto", fileDescriptor0) | 177 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.p
roto", fileDescriptor0) |
| 192 } | 178 } |
| 193 | 179 |
| 194 var fileDescriptor0 = []byte{ | 180 var fileDescriptor0 = []byte{ |
| 195 » // 280 bytes of a gzipped FileDescriptorProto | 181 » // 266 bytes of a gzipped FileDescriptorProto |
| 196 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91,
0xcd, 0x4a, 0xf4, 0x30, | 182 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90,
0xc1, 0x4b, 0xfb, 0x30, |
| 197 » 0x14, 0x86, 0xe9, 0xcf, 0xd7, 0x4e, 0xcf, 0x07, 0x0a, 0x59, 0x48, 0x10,
0x17, 0xa5, 0xab, 0x82, | 183 » 0x14, 0xc7, 0x69, 0xb7, 0x5f, 0xbb, 0xbd, 0x9f, 0x28, 0xe4, 0x20, 0x41,
0x3c, 0x8c, 0x9e, 0x06, |
| 198 » 0xd8, 0x82, 0x6e, 0x5c, 0xcf, 0xcc, 0x66, 0x40, 0x45, 0x22, 0xe2, 0xba,
0x93, 0x89, 0x6d, 0xa4, | 184 » 0x62, 0x03, 0x7a, 0xf1, 0xbc, 0x0d, 0x61, 0xa0, 0x22, 0x11, 0xf1, 0xdc,
0xc5, 0xac, 0x8d, 0x34, |
| 199 » 0xed, 0x29, 0x69, 0xba, 0xd0, 0x6b, 0xf0, 0xa2, 0xa5, 0x49, 0xa6, 0x22,
0xba, 0x29, 0x79, 0xde, | 185 » 0x79, 0x25, 0x4d, 0x0f, 0xfe, 0x57, 0xfe, 0x89, 0x62, 0x12, 0xab, 0xc3,
0x4b, 0x79, 0xdf, 0xcf, |
| 200 » 0xf7, 0xb4, 0xe7, 0x29, 0x81, 0xdb, 0x5a, 0xea, 0x66, 0xda, 0x17, 0x1c,
0xbb, 0xb2, 0x9d, 0xb8, | 186 » 0xf7, 0xf5, 0xf1, 0x21, 0x70, 0x53, 0x2b, 0xd7, 0x0c, 0xbb, 0x52, 0xa0,
0x66, 0xed, 0x20, 0x94, |
| 201 » 0x34, 0x8f, 0xab, 0x1a, 0xcb, 0x4e, 0xb6, 0x58, 0x72, 0xec, 0x3a, 0xec,
0x4b, 0x8e, 0xfd, 0xab, | 187 » 0xff, 0x5c, 0xd6, 0xc8, 0xb4, 0x6a, 0x91, 0x09, 0xd4, 0x1a, 0x0d, 0x13,
0x68, 0xf6, 0xaa, 0x66, |
| 202 » 0xac, 0xcb, 0x41, 0xe1, 0x9b, 0xe0, 0xba, 0x18, 0x14, 0x6a, 0x24, 0x91,
0x4d, 0xb3, 0x0f, 0x88, | 188 » 0x9d, 0xc5, 0x37, 0x29, 0x5c, 0xd9, 0x59, 0x74, 0x48, 0xb2, 0x40, 0x8b,
0x5b, 0xc8, 0x1f, 0x43, |
| 203 » 0x1f, 0x6d, 0x41, 0x4e, 0xc0, 0xdf, 0x6d, 0xa9, 0x97, 0x7a, 0x79, 0xc2,
0xfc, 0xdd, 0x96, 0x50, | 189 » 0x41, 0x8e, 0x21, 0xdd, 0x6e, 0x68, 0xb2, 0x48, 0x96, 0x73, 0x9e, 0x6e,
0x37, 0xe4, 0x02, 0x66, |
| 204 » 0x88, 0x99, 0xa8, 0x0e, 0x42, 0x8d, 0xd4, 0x4f, 0x83, 0x3c, 0x61, 0x47,
0x9c, 0x9b, 0x17, 0x25, | 190 » 0x6b, 0x34, 0x3d, 0xb6, 0xb2, 0xa7, 0xe9, 0x62, 0xb2, 0xfc, 0x7f, 0x75,
0x52, 0x86, 0xbf, 0xca, |
| 205 » 0xf5, 0xdc, 0x04, 0xb6, 0x71, 0x48, 0x2e, 0x61, 0xb5, 0xc1, 0x7e, 0xc4,
0x56, 0x8c, 0x34, 0x4c, | 191 » 0xc8, 0xf9, 0xb8, 0x50, 0x7c, 0x24, 0x90, 0xc7, 0xf0, 0xe7, 0x10, 0x81,
0xe9, 0x43, 0xa5, 0x25, |
| 206 » 0x83, 0xfc, 0xff, 0xf5, 0x69, 0x61, 0x37, 0x15, 0x2e, 0x67, 0xcb, 0x40,
0xf6, 0xe9, 0x41, 0xec, | 192 » 0x4d, 0x3d, 0xf1, 0x33, 0xa1, 0x90, 0x73, 0xd9, 0xe1, 0x33, 0xbf, 0xa3,
0x13, 0x8f, 0xbf, 0x23, |
| 207 » 0xe0, 0xd7, 0x72, 0x02, 0xe1, 0x43, 0xd5, 0x09, 0xea, 0x9b, 0xc4, 0x9c,
0xad, 0xd0, 0x80, 0xcf, | 193 » 0x39, 0x85, 0x6c, 0x65, 0x2b, 0x23, 0x1a, 0x3a, 0xf5, 0x45, 0x4c, 0xa4,
0x80, 0xa3, 0xfb, 0xca, |
| 208 » 0xec, 0x8e, 0x06, 0x26, 0x3e, 0x22, 0x39, 0x83, 0x68, 0xad, 0xaa, 0x9e,
0x37, 0x34, 0x34, 0x85, | 194 » 0xa8, 0xbd, 0xec, 0x9d, 0xbf, 0xf6, 0xcf, 0xb7, 0x07, 0xec, 0x4b, 0x79,
0x35, 0xa8, 0xf6, 0x55, |
| 209 » 0xa3, 0x59, 0x67, 0x3d, 0xc9, 0xd6, 0xfc, 0xc3, 0xbf, 0x9f, 0x3a, 0x2e,
0x67, 0xcb, 0x40, 0x86, | 195 » 0xda, 0x9e, 0x66, 0x87, 0xca, 0x91, 0xf3, 0x71, 0xa1, 0x78, 0x81, 0x3c,
0xce, 0xa3, 0x61, 0xf2, |
| 210 » 0x10, 0xbb, 0xf3, 0xfc, 0xbd, 0x7b, 0x3c, 0x4c, 0xad, 0x70, 0x46, 0x8e,
0xfe, 0xb4, 0x3a, 0x87, | 196 » 0xcb, 0xf0, 0x0c, 0x66, 0xeb, 0xca, 0xc9, 0x1a, 0xed, 0x7b, 0x34, 0x1f,
0x33, 0x39, 0x87, 0xf9, |
| 211 » 0xd5, 0xa6, 0xd2, 0xa2, 0x46, 0xf5, 0xee, 0xb4, 0x16, 0x26, 0x17, 0x90,
0x3c, 0x35, 0xa8, 0xb4, | 197 » 0x53, 0x83, 0x36, 0x88, 0x04, 0xff, 0x1f, 0xb0, 0xcb, 0xfc, 0x13, 0x5f,
0x7f, 0x06, 0x00, 0x00, |
| 212 » 0x79, 0xc9, 0xaa, 0x7d, 0x07, 0xfb, 0xc8, 0x5c, 0xc5, 0xcd, 0x57, 0x00,
0x00, 0x00, 0xff, 0xff, | 198 » 0xff, 0xff, 0x39, 0xce, 0xf5, 0x55, 0x9e, 0x01, 0x00, 0x00, |
| 213 » 0xc7, 0x79, 0x12, 0xb5, 0xc6, 0x01, 0x00, 0x00, | |
| 214 } | 199 } |
| OLD | NEW |