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

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

Issue 2238883003: Milo: Use luci-cfg for defining projects and console view. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: review Created 4 years, 4 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/common/config/project.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Code generated by protoc-gen-go.
2 // source: github.com/luci/luci-go/milo/common/config/project.proto
3 // DO NOT EDIT!
4
5 /*
6 Package config is a generated protocol buffer package.
7
8 It is generated from these files:
9 github.com/luci/luci-go/milo/common/config/project.proto
10
11 It has these top-level messages:
12 Project
13 Console
14 Builder
15 */
16 package config
17
18 import proto "github.com/golang/protobuf/proto"
19 import fmt "fmt"
20 import math "math"
21
22 // Reference imports to suppress errors if they are not otherwise used.
23 var _ = proto.Marshal
24 var _ = fmt.Errorf
25 var _ = math.Inf
26
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.
29 // A compilation error at this line likely means your copy of the
30 // proto package needs to be updated.
31 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
32
33 // Project is a project definition for Milo.
34 type Project struct {
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"`
37 // Readers is the list of gaia users or Chrome-infra-auth groups allowed to view
38 // the project.
39 Readers []string `protobuf:"bytes,2,rep,name=Readers,json=readers" json: "Readers,omitempty"`
40 // Writers is the list of gaia users or Chrome-infra-auth groups allowed to
41 // perform actions on parts of the project.
42 Writers []string `protobuf:"bytes,3,rep,name=Writers,json=writers" json: "Writers,omitempty"`
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"`
45 }
46
47 func (m *Project) Reset() { *m = Project{} }
48 func (m *Project) String() string { return proto.CompactTextString(m) }
49 func (*Project) ProtoMessage() {}
50 func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
51
52 func (m *Project) GetConsoles() []*Console {
53 if m != nil {
54 return m.Consoles
55 }
56 return nil
57 }
58
59 // Console is a waterfall definition consisting of one or more builders.
60 type Console struct {
61 // ID is the reference to the console, and will be the address to make t he
62 // console reachable from /console/<Project>/<ID>.
63 ID string `protobuf:"bytes,1,opt,name=ID,json=iD" json:"ID,omitempty"`
64 // Name is the longform name of the waterfall, and will be used to be
65 // displayed in the title.
66 Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omite mpty"`
67 // RepoURL is the name of the git repository to display as the rows of t he console.
68 RepoURL string `protobuf:"bytes,3,opt,name=RepoURL,json=repoURL" json:"R epoURL,omitempty"`
69 // Branch is the branch to pull commits from when displaying the console .
70 Branch string `protobuf:"bytes,4,opt,name=Branch,json=branch" json:"Bran ch,omitempty"`
71 // Builders is a list of builder configurations to display as the column s of the console.
72 Builders []*Builder `protobuf:"bytes,5,rep,name=Builders,json=builders" json:"Builders,omitempty"`
73 }
74
75 func (m *Console) Reset() { *m = Console{} }
76 func (m *Console) String() string { return proto.CompactTextString(m) }
77 func (*Console) ProtoMessage() {}
78 func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
79
80 func (m *Console) GetBuilders() []*Builder {
81 if m != nil {
82 return m.Builders
83 }
84 return nil
85 }
86
87 // A builder is a reference to a Milo builder.
88 type Builder struct {
89 // Module is the name of the Milo module this builder is in reference to .
90 Module string `protobuf:"bytes,1,opt,name=Module,json=module" json:"Modu le,omitempty"`
91 // Name is the identifier to find the builder within the module.
92 Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omite mpty"`
93 // Category describes the hierarchy of the builder on the header of the
94 // console as a "|" delimited list. Neighboring builders with common an cestors
95 // will be have their headers merged.
96 Category string `protobuf:"bytes,3,opt,name=Category,json=category" json :"Category,omitempty"`
97 // ShortName is the 1-3 character abbreviation of the builder.
98 ShortName string `protobuf:"bytes,4,opt,name=ShortName,json=shortName" j son:"ShortName,omitempty"`
99 }
100
101 func (m *Builder) Reset() { *m = Builder{} }
102 func (m *Builder) String() string { return proto.CompactTextString(m) }
103 func (*Builder) ProtoMessage() {}
104 func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
105
106 func init() {
107 proto.RegisterType((*Project)(nil), "config.Project")
108 proto.RegisterType((*Console)(nil), "config.Console")
109 proto.RegisterType((*Builder)(nil), "config.Builder")
110 }
111
112 func init() {
113 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.p roto", fileDescriptor0)
114 }
115
116 var fileDescriptor0 = []byte{
117 // 290 bytes of a gzipped FileDescriptorProto
118 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91, 0xcf, 0x4b, 0xbd, 0x40,
119 0x14, 0xc5, 0xd1, 0xe7, 0xd7, 0x1f, 0xf7, 0x0b, 0x05, 0xb3, 0x08, 0x89, 0x16, 0x0f, 0x57, 0x41,
120 0xa4, 0x50, 0x9b, 0xd6, 0xaf, 0xb7, 0x09, 0x2a, 0xc2, 0x88, 0xd6, 0x3a, 0x6f, 0xd2, 0x09, 0xf5,
121 0x3e, 0xc6, 0x91, 0xa8, 0xbf, 0xa1, 0x3f, 0xba, 0x3b, 0x3f, 0x5a, 0x44, 0x6d, 0x1c, 0xcf, 0xe7,
122 0x5c, 0x3d, 0xe7, 0x32, 0x70, 0xd5, 0x49, 0xdd, 0x2f, 0x6d, 0xc9, 0x71, 0xac, 0x86, 0x85, 0x4b,
123 0xfb, 0x38, 0xef, 0xb0, 0x1a, 0xe5, 0x80, 0x15, 0x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, 0xfc, 0x0d, 0xda,
135 0xd8, 0x5e, 0xc5, 0xe5, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x21, 0xf7, 0xff, 0xc6, 0x01,
136 0x00, 0x00,
137 }
OLDNEW
« no previous file with comments | « milo/common/config/project.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698