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

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: comments 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
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/<ID>. Note that all project share th e same
63 // namespace for IDs, so a duplicate ID will be rejected.
64 ID string `protobuf:"bytes,1,opt,name=ID,json=iD" json:"ID,omitempty"`
65 // Name is the longform name of the waterfall, and will be used to be
66 // displayed in the title.
67 Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omite mpty"`
68 // RepoURL is the name of the git repository to display as the rows of t he console.
69 RepoURL string `protobuf:"bytes,3,opt,name=RepoURL,json=repoURL" json:"R epoURL,omitempty"`
70 // Branch is the branch to pull commits from when displaying the console .
71 Branch string `protobuf:"bytes,4,opt,name=Branch,json=branch" json:"Bran ch,omitempty"`
72 // Builders is a list of builder configurations to display as the column s of the console.
73 Builders []*Builder `protobuf:"bytes,5,rep,name=Builders,json=builders" json:"Builders,omitempty"`
74 }
75
76 func (m *Console) Reset() { *m = Console{} }
77 func (m *Console) String() string { return proto.CompactTextString(m) }
78 func (*Console) ProtoMessage() {}
79 func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
80
81 func (m *Console) GetBuilders() []*Builder {
82 if m != nil {
83 return m.Builders
84 }
85 return nil
86 }
87
88 // A builder is a reference to a Milo builder.
89 type Builder struct {
90 // Module is the name of the Milo module this builder is in reference to .
91 Module string `protobuf:"bytes,1,opt,name=Module,json=module" json:"Modu le,omitempty"`
92 // Name is the identifier to find the builder within the module.
93 Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omite mpty"`
94 // Category describes the hierarchy of the builder on the header of the
95 // console as a "|" delimited list. Neighboring builders with common an cestors
96 // will be have their headers merged.
97 Category string `protobuf:"bytes,3,opt,name=Category,json=category" json :"Category,omitempty"`
98 // ShortName is the 1-3 character abbreviation of the builder.
99 ShortName string `protobuf:"bytes,4,opt,name=ShortName,json=shortName" j son:"ShortName,omitempty"`
100 }
101
102 func (m *Builder) Reset() { *m = Builder{} }
103 func (m *Builder) String() string { return proto.CompactTextString(m) }
104 func (*Builder) ProtoMessage() {}
105 func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
106
107 func init() {
108 proto.RegisterType((*Project)(nil), "config.Project")
109 proto.RegisterType((*Console)(nil), "config.Console")
110 proto.RegisterType((*Builder)(nil), "config.Builder")
111 }
112
113 func init() {
114 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.p roto", fileDescriptor0)
115 }
116
117 var fileDescriptor0 = []byte{
118 // 290 bytes of a gzipped FileDescriptorProto
119 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91, 0xcf, 0x4b, 0xbd, 0x40,
120 0x14, 0xc5, 0xd1, 0xe7, 0xd7, 0x1f, 0xf7, 0x0b, 0x05, 0xb3, 0x08, 0x89, 0x16, 0x0f, 0x57, 0x41,
121 0xa4, 0x50, 0x9b, 0xd6, 0xaf, 0xb7, 0x09, 0x2a, 0xc2, 0x88, 0xd6, 0x3a, 0x6f, 0xd2, 0x09, 0xf5,
122 0x3e, 0xc6, 0x91, 0xa8, 0xbf, 0xa1, 0x3f, 0xba, 0x3b, 0x3f, 0x5a, 0x44, 0x6d, 0x1c, 0xcf, 0xe7,
123 0x5c, 0x3d, 0xe7, 0x32, 0x70, 0xd5, 0x49, 0xdd, 0x2f, 0x6d, 0xc9, 0x71, 0xac, 0x86, 0x85, 0x4b,
124 0xfb, 0x38, 0xef, 0xb0, 0x1a, 0xe5, 0x80, 0x15, 0xd1, 0x11, 0x27, 0x3a, 0xa6, 0x17, 0xd9, 0x55,
125 0x7b, 0x85, 0xaf, 0x82,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0xff, 0xff, 0xd4, 0x21, 0xf7, 0xff, 0xc6, 0x01,
137 0x00, 0x00,
138 }
OLDNEW
« milo/common/config/project.proto ('K') | « milo/common/config/project.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698