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