| OLD | NEW |
| 1 // Code generated by protoc-gen-go. | 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 // DO NOT EDIT! |
| 4 | 4 |
| 5 /* | 5 /* |
| 6 Package config is a generated protocol buffer package. | 6 Package config is a generated protocol buffer package. |
| 7 | 7 |
| 8 It is generated from these files: | 8 It is generated from these files: |
| 9 github.com/luci/luci-go/milo/common/config/project.proto | 9 github.com/luci/luci-go/milo/common/config/project.proto |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 // This is a compile-time assertion to ensure that this generated file | 27 // This is a compile-time assertion to ensure that this generated file |
| 28 // is compatible with the proto package it is being compiled against. | 28 // is compatible with the proto package it is being compiled against. |
| 29 // A compilation error at this line likely means your copy of the | 29 // A compilation error at this line likely means your copy of the |
| 30 // proto package needs to be updated. | 30 // proto package needs to be updated. |
| 31 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package | 31 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 32 | 32 |
| 33 // Project is a project definition for Milo. | 33 // Project is a project definition for Milo. |
| 34 type Project struct { | 34 type Project struct { |
| 35 // ID is the identifier for the project, if different from its repositor
y name. | 35 // ID is the identifier for the project, if different from its repositor
y name. |
| 36 » ID string `protobuf:"bytes,1,opt,name=ID,json=iD" json:"ID,omitempty"` | 36 » ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` |
| 37 // Readers is the list of gaia users or Chrome-infra-auth groups allowed
to view | 37 // Readers is the list of gaia users or Chrome-infra-auth groups allowed
to view |
| 38 // the project. | 38 // the project. |
| 39 » Readers []string `protobuf:"bytes,2,rep,name=Readers,json=readers" json:
"Readers,omitempty"` | 39 » Readers []string `protobuf:"bytes,2,rep,name=Readers" json:"Readers,omit
empty"` |
| 40 // Writers is the list of gaia users or Chrome-infra-auth groups allowed
to | 40 // Writers is the list of gaia users or Chrome-infra-auth groups allowed
to |
| 41 // perform actions on parts of the project. | 41 // perform actions on parts of the project. |
| 42 » Writers []string `protobuf:"bytes,3,rep,name=Writers,json=writers" json:
"Writers,omitempty"` | 42 » Writers []string `protobuf:"bytes,3,rep,name=Writers" json:"Writers,omit
empty"` |
| 43 // Consoles is a list of consoles to define under /console/ | 43 // Consoles is a list of consoles to define under /console/ |
| 44 » Consoles []*Console `protobuf:"bytes,4,rep,name=Consoles,json=consoles"
json:"Consoles,omitempty"` | 44 » Consoles []*Console `protobuf:"bytes,4,rep,name=Consoles" json:"Consoles
,omitempty"` |
| 45 } | 45 } |
| 46 | 46 |
| 47 func (m *Project) Reset() { *m = Project{} } | 47 func (m *Project) Reset() { *m = Project{} } |
| 48 func (m *Project) String() string { return proto.CompactTextString(m)
} | 48 func (m *Project) String() string { return proto.CompactTextString(m)
} |
| 49 func (*Project) ProtoMessage() {} | 49 func (*Project) ProtoMessage() {} |
| 50 func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0}
} | 50 func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0}
} |
| 51 | 51 |
| 52 func (m *Project) GetID() string { | 52 func (m *Project) GetID() string { |
| 53 if m != nil { | 53 if m != nil { |
| 54 return m.ID | 54 return m.ID |
| (...skipping 19 matching lines...) Expand all Loading... |
| 74 if m != nil { | 74 if m != nil { |
| 75 return m.Consoles | 75 return m.Consoles |
| 76 } | 76 } |
| 77 return nil | 77 return nil |
| 78 } | 78 } |
| 79 | 79 |
| 80 // Console is a waterfall definition consisting of one or more builders. | 80 // Console is a waterfall definition consisting of one or more builders. |
| 81 type Console struct { | 81 type Console struct { |
| 82 // ID is the reference to the console, and will be the address to make t
he | 82 // ID is the reference to the console, and will be the address to make t
he |
| 83 // console reachable from /console/<Project>/<ID>. | 83 // console reachable from /console/<Project>/<ID>. |
| 84 » ID string `protobuf:"bytes,1,opt,name=ID,json=iD" json:"ID,omitempty"` | 84 » ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` |
| 85 // Name is the longform name of the waterfall, and will be used to be | 85 // Name is the longform name of the waterfall, and will be used to be |
| 86 // displayed in the title. | 86 // displayed in the title. |
| 87 » Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omite
mpty"` | 87 » Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` |
| 88 // RepoURL is the name of the git repository to display as the rows of t
he console. | 88 // RepoURL is the name of the git repository to display as the rows of t
he console. |
| 89 » RepoURL string `protobuf:"bytes,3,opt,name=RepoURL,json=repoURL" json:"R
epoURL,omitempty"` | 89 » RepoURL string `protobuf:"bytes,3,opt,name=RepoURL" json:"RepoURL,omitem
pty"` |
| 90 // Branch is the branch to pull commits from when displaying the console
. | 90 // Branch is the branch to pull commits from when displaying the console
. |
| 91 » Branch string `protobuf:"bytes,4,opt,name=Branch,json=branch" json:"Bran
ch,omitempty"` | 91 » Branch string `protobuf:"bytes,4,opt,name=Branch" json:"Branch,omitempty
"` |
| 92 // Builders is a list of builder configurations to display as the column
s of the console. | 92 // Builders is a list of builder configurations to display as the column
s of the console. |
| 93 » Builders []*Builder `protobuf:"bytes,5,rep,name=Builders,json=builders"
json:"Builders,omitempty"` | 93 » Builders []*Builder `protobuf:"bytes,5,rep,name=Builders" json:"Builders
,omitempty"` |
| 94 } | 94 } |
| 95 | 95 |
| 96 func (m *Console) Reset() { *m = Console{} } | 96 func (m *Console) Reset() { *m = Console{} } |
| 97 func (m *Console) String() string { return proto.CompactTextString(m)
} | 97 func (m *Console) String() string { return proto.CompactTextString(m)
} |
| 98 func (*Console) ProtoMessage() {} | 98 func (*Console) ProtoMessage() {} |
| 99 func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1}
} | 99 func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1}
} |
| 100 | 100 |
| 101 func (m *Console) GetID() string { | 101 func (m *Console) GetID() string { |
| 102 if m != nil { | 102 if m != nil { |
| 103 return m.ID | 103 return m.ID |
| (...skipping 25 matching lines...) Expand all Loading... |
| 129 func (m *Console) GetBuilders() []*Builder { | 129 func (m *Console) GetBuilders() []*Builder { |
| 130 if m != nil { | 130 if m != nil { |
| 131 return m.Builders | 131 return m.Builders |
| 132 } | 132 } |
| 133 return nil | 133 return nil |
| 134 } | 134 } |
| 135 | 135 |
| 136 // A builder is a reference to a Milo builder. | 136 // A builder is a reference to a Milo builder. |
| 137 type Builder struct { | 137 type Builder struct { |
| 138 // Module is the name of the Milo module this builder is in reference to
. | 138 // Module is the name of the Milo module this builder is in reference to
. |
| 139 » Module string `protobuf:"bytes,1,opt,name=Module,json=module" json:"Modu
le,omitempty"` | 139 » Module string `protobuf:"bytes,1,opt,name=Module" json:"Module,omitempty
"` |
| 140 // Name is the identifier to find the builder within the module. | 140 // Name is the identifier to find the builder within the module. |
| 141 » Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omite
mpty"` | 141 » Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` |
| 142 // Category describes the hierarchy of the builder on the header of the | 142 // Category describes the hierarchy of the builder on the header of the |
| 143 // console as a "|" delimited list. Neighboring builders with common an
cestors | 143 // console as a "|" delimited list. Neighboring builders with common an
cestors |
| 144 // will be have their headers merged. | 144 // will be have their headers merged. |
| 145 » Category string `protobuf:"bytes,3,opt,name=Category,json=category" json
:"Category,omitempty"` | 145 » Category string `protobuf:"bytes,3,opt,name=Category" json:"Category,omi
tempty"` |
| 146 // ShortName is the 1-3 character abbreviation of the builder. | 146 // ShortName is the 1-3 character abbreviation of the builder. |
| 147 » ShortName string `protobuf:"bytes,4,opt,name=ShortName,json=shortName" j
son:"ShortName,omitempty"` | 147 » ShortName string `protobuf:"bytes,4,opt,name=ShortName" json:"ShortName,
omitempty"` |
| 148 } | 148 } |
| 149 | 149 |
| 150 func (m *Builder) Reset() { *m = Builder{} } | 150 func (m *Builder) Reset() { *m = Builder{} } |
| 151 func (m *Builder) String() string { return proto.CompactTextString(m)
} | 151 func (m *Builder) String() string { return proto.CompactTextString(m)
} |
| 152 func (*Builder) ProtoMessage() {} | 152 func (*Builder) ProtoMessage() {} |
| 153 func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2}
} | 153 func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2}
} |
| 154 | 154 |
| 155 func (m *Builder) GetModule() string { | 155 func (m *Builder) GetModule() string { |
| 156 if m != nil { | 156 if m != nil { |
| 157 return m.Module | 157 return m.Module |
| (...skipping 26 matching lines...) Expand all Loading... |
| 184 proto.RegisterType((*Project)(nil), "config.Project") | 184 proto.RegisterType((*Project)(nil), "config.Project") |
| 185 proto.RegisterType((*Console)(nil), "config.Console") | 185 proto.RegisterType((*Console)(nil), "config.Console") |
| 186 proto.RegisterType((*Builder)(nil), "config.Builder") | 186 proto.RegisterType((*Builder)(nil), "config.Builder") |
| 187 } | 187 } |
| 188 | 188 |
| 189 func init() { | 189 func init() { |
| 190 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.p
roto", fileDescriptor0) | 190 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.p
roto", fileDescriptor0) |
| 191 } | 191 } |
| 192 | 192 |
| 193 var fileDescriptor0 = []byte{ | 193 var fileDescriptor0 = []byte{ |
| 194 » // 289 bytes of a gzipped FileDescriptorProto | 194 » // 280 bytes of a gzipped FileDescriptorProto |
| 195 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91,
0x3d, 0x4b, 0xc5, 0x30, | 195 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91,
0xcd, 0x4a, 0xf4, 0x30, |
| 196 » 0x14, 0x86, 0xe9, 0x87, 0x4d, 0x1b, 0x41, 0x21, 0x83, 0x04, 0x71, 0x28,
0x9d, 0x0a, 0x62, 0x0b, | 196 » 0x14, 0x86, 0xe9, 0xcf, 0xd7, 0x4e, 0xcf, 0x07, 0x0a, 0x59, 0x48, 0x10,
0x17, 0xa5, 0xab, 0x82, |
| 197 » 0xba, 0x38, 0xdf, 0x7b, 0x17, 0x41, 0x45, 0x22, 0xe2, 0xdc, 0xe6, 0xc6,
0x36, 0xd2, 0xf4, 0x94, | 197 » 0xd8, 0x82, 0x6e, 0x5c, 0xcf, 0xcc, 0x66, 0x40, 0x45, 0x22, 0xe2, 0xba,
0x93, 0x89, 0x6d, 0xa4, |
| 198 » 0x34, 0x45, 0xf4, 0x37, 0xf8, 0xa3, 0xa5, 0x49, 0x1c, 0xc4, 0xbb, 0x14,
0xde, 0xe7, 0x3d, 0xcd, | 198 » 0xed, 0x29, 0x69, 0xba, 0xd0, 0x6b, 0xf0, 0xa2, 0xa5, 0x49, 0xa6, 0x22,
0xba, 0x29, 0x79, 0xde, |
| 199 » 0x79, 0x42, 0xf0, 0x6d, 0x27, 0x4d, 0xbf, 0xb4, 0x15, 0x07, 0x55, 0x0f,
0x0b, 0x97, 0xf6, 0x73, | 199 » 0xf7, 0xb4, 0xe7, 0x29, 0x81, 0xdb, 0x5a, 0xea, 0x66, 0xda, 0x17, 0x1c,
0xbb, 0xb2, 0x9d, 0xb8, |
| 200 » 0xd5, 0x41, 0xad, 0xe4, 0x00, 0x35, 0x07, 0xa5, 0x60, 0xac, 0x39, 0x8c,
0x6f, 0xb2, 0xab, 0x27, | 200 » 0x34, 0x8f, 0xab, 0x1a, 0xcb, 0x4e, 0xb6, 0x58, 0x72, 0xec, 0x3a, 0xec,
0x4b, 0x8e, 0xfd, 0xab, |
| 201 » 0x0d, 0xef, 0x82, 0x9b, 0x6a, 0xd2, 0x60, 0x80, 0x24, 0x8e, 0x16, 0x5f,
0x18, 0x3d, 0xb9, 0x82, | 201 » 0xac, 0xcb, 0x41, 0xe1, 0x9b, 0xe0, 0xba, 0x18, 0x14, 0x6a, 0x24, 0x91,
0x4d, 0xb3, 0x0f, 0x88, |
| 202 » 0x9c, 0xe0, 0xf0, 0x6e, 0x47, 0x83, 0x3c, 0x28, 0x33, 0x16, 0xca, 0x1d,
0xa1, 0x18, 0x31, 0xd1, | 202 » 0x1f, 0x6d, 0x41, 0x4e, 0xc0, 0xdf, 0x6d, 0xa9, 0x97, 0x7a, 0x79, 0xc2,
0xfc, 0xdd, 0x96, 0x50, |
| 203 » 0xec, 0x85, 0x9e, 0x69, 0x98, 0x47, 0x65, 0xc6, 0x90, 0x76, 0x71, 0x6d,
0x5e, 0xb5, 0x34, 0x6b, | 203 » 0x88, 0x99, 0xa8, 0x0e, 0x42, 0x8d, 0xd4, 0x4f, 0x83, 0x3c, 0x61, 0x47,
0x9c, 0x9b, 0x17, 0x25, |
| 204 » 0x13, 0xb9, 0xe6, 0xc3, 0x45, 0x72, 0x89, 0xd3, 0x2d, 0x8c, 0x33, 0x0c,
0x62, 0xa6, 0x71, 0x1e, | 204 » 0xf5, 0xdc, 0x04, 0xb6, 0x71, 0x48, 0x2e, 0x61, 0xb5, 0xc1, 0x7e, 0xc4,
0x56, 0x8c, 0x34, 0x4c, |
| 205 » 0x95, 0xc7, 0xd7, 0xa7, 0x95, 0xdb, 0x54, 0x79, 0xce, 0x52, 0xee, 0x07,
0x8a, 0xef, 0x00, 0x23, | 205 » 0x83, 0xfc, 0xff, 0xf5, 0x69, 0x61, 0x37, 0x15, 0x2e, 0x67, 0xcb, 0x40,
0xf6, 0xe9, 0x41, 0xec, |
| 206 » 0x4f, 0xff, 0x2d, 0x27, 0x38, 0x7e, 0x6c, 0x94, 0xa0, 0xa1, 0x25, 0xf1,
0xd8, 0x28, 0xe1, 0x84, | 206 » 0xe0, 0xd7, 0x72, 0x02, 0xe1, 0x43, 0xd5, 0x09, 0xea, 0x9b, 0xc4, 0x9c,
0xad, 0xd0, 0x80, 0xcf, |
| 207 » 0x26, 0x78, 0x61, 0xf7, 0x34, 0xb2, 0x18, 0x69, 0x17, 0xc9, 0x19, 0x4e,
0x36, 0xba, 0x19, 0x79, | 207 » 0xec, 0x8e, 0x06, 0x26, 0x3e, 0x22, 0x39, 0x83, 0x68, 0xad, 0xaa, 0x9e,
0x37, 0x34, 0x34, 0x85, |
| 208 » 0x4f, 0x63, 0x5b, 0x24, 0xad, 0x4d, 0xab, 0xce, 0x66, 0x91, 0x83, 0xbd,
0xc3, 0xd1, 0x5f, 0x1d, | 208 » 0xa3, 0x59, 0x67, 0x3d, 0xc9, 0xd6, 0xfc, 0xc3, 0xbf, 0x9f, 0x3a, 0x2e,
0x67, 0xcb, 0x40, 0x86, |
| 209 » 0xcf, 0x59, 0xda, 0xfa, 0x81, 0x02, 0x30, 0xf2, 0x70, 0x3d, 0xef, 0x01,
0xf6, 0xcb, 0x20, 0xbc, | 209 » 0x10, 0xbb, 0xf3, 0xfc, 0xbd, 0x7b, 0x3c, 0x4c, 0xad, 0x70, 0x46, 0x8e,
0xfe, 0xb4, 0x3a, 0x87, |
| 210 » 0x51, 0xa2, 0x6c, 0x3a, 0x68, 0x75, 0x8e, 0xd3, 0x6d, 0x63, 0x44, 0x07,
0xfa, 0xd3, 0x6b, 0xa5, | 210 » 0xd5, 0xa6, 0xd2, 0xa2, 0x46, 0xf5, 0xee, 0xb4, 0x16, 0x26, 0x17, 0x90,
0x3c, 0x35, 0xa8, 0xb4, |
| 211 » 0xdc, 0x67, 0x72, 0x81, 0xb3, 0xe7, 0x1e, 0xb4, 0xb1, 0x3f, 0x39, 0xb5,
0x6c, 0xfe, 0x05, 0x6d, | 211 » 0x79, 0xc9, 0xaa, 0x7d, 0x07, 0xfb, 0xc8, 0x5c, 0xc5, 0xcd, 0x57, 0x00,
0x00, 0x00, 0xff, 0xff, |
| 212 » 0x62, 0x9f, 0xe2, 0xe6, 0x27, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x21, 0xf7,
0xff, 0xc6, 0x01, 0x00, | 212 » 0xc7, 0x79, 0x12, 0xb5, 0xc6, 0x01, 0x00, 0x00, |
| 213 » 0x00, | |
| 214 } | 213 } |
| OLD | NEW |