| Index: milo/common/config/project.pb.go
|
| diff --git a/milo/common/config/project.pb.go b/milo/common/config/project.pb.go
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..90bd34f572bf51e4a421de2a1699a77a06276f05
|
| --- /dev/null
|
| +++ b/milo/common/config/project.pb.go
|
| @@ -0,0 +1,137 @@
|
| +// Code generated by protoc-gen-go.
|
| +// source: github.com/luci/luci-go/milo/common/config/project.proto
|
| +// DO NOT EDIT!
|
| +
|
| +/*
|
| +Package config is a generated protocol buffer package.
|
| +
|
| +It is generated from these files:
|
| + github.com/luci/luci-go/milo/common/config/project.proto
|
| +
|
| +It has these top-level messages:
|
| + Project
|
| + Console
|
| + Builder
|
| +*/
|
| +package config
|
| +
|
| +import proto "github.com/golang/protobuf/proto"
|
| +import fmt "fmt"
|
| +import math "math"
|
| +
|
| +// Reference imports to suppress errors if they are not otherwise used.
|
| +var _ = proto.Marshal
|
| +var _ = fmt.Errorf
|
| +var _ = math.Inf
|
| +
|
| +// This is a compile-time assertion to ensure that this generated file
|
| +// is compatible with the proto package it is being compiled against.
|
| +// A compilation error at this line likely means your copy of the
|
| +// proto package needs to be updated.
|
| +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
| +
|
| +// Project is a project definition for Milo.
|
| +type Project struct {
|
| + // ID is the identifier for the project, if different from its repository name.
|
| + ID string `protobuf:"bytes,1,opt,name=ID,json=iD" json:"ID,omitempty"`
|
| + // Readers is the list of gaia users or Chrome-infra-auth groups allowed to view
|
| + // the project.
|
| + Readers []string `protobuf:"bytes,2,rep,name=Readers,json=readers" json:"Readers,omitempty"`
|
| + // Writers is the list of gaia users or Chrome-infra-auth groups allowed to
|
| + // perform actions on parts of the project.
|
| + Writers []string `protobuf:"bytes,3,rep,name=Writers,json=writers" json:"Writers,omitempty"`
|
| + // Consoles is a list of consoles to define under /console/
|
| + Consoles []*Console `protobuf:"bytes,4,rep,name=Consoles,json=consoles" json:"Consoles,omitempty"`
|
| +}
|
| +
|
| +func (m *Project) Reset() { *m = Project{} }
|
| +func (m *Project) String() string { return proto.CompactTextString(m) }
|
| +func (*Project) ProtoMessage() {}
|
| +func (*Project) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
| +
|
| +func (m *Project) GetConsoles() []*Console {
|
| + if m != nil {
|
| + return m.Consoles
|
| + }
|
| + return nil
|
| +}
|
| +
|
| +// Console is a waterfall definition consisting of one or more builders.
|
| +type Console struct {
|
| + // ID is the reference to the console, and will be the address to make the
|
| + // console reachable from /console/<Project>/<ID>.
|
| + ID string `protobuf:"bytes,1,opt,name=ID,json=iD" json:"ID,omitempty"`
|
| + // Name is the longform name of the waterfall, and will be used to be
|
| + // displayed in the title.
|
| + Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omitempty"`
|
| + // RepoURL is the name of the git repository to display as the rows of the console.
|
| + RepoURL string `protobuf:"bytes,3,opt,name=RepoURL,json=repoURL" json:"RepoURL,omitempty"`
|
| + // Branch is the branch to pull commits from when displaying the console.
|
| + Branch string `protobuf:"bytes,4,opt,name=Branch,json=branch" json:"Branch,omitempty"`
|
| + // Builders is a list of builder configurations to display as the columns of the console.
|
| + Builders []*Builder `protobuf:"bytes,5,rep,name=Builders,json=builders" json:"Builders,omitempty"`
|
| +}
|
| +
|
| +func (m *Console) Reset() { *m = Console{} }
|
| +func (m *Console) String() string { return proto.CompactTextString(m) }
|
| +func (*Console) ProtoMessage() {}
|
| +func (*Console) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
| +
|
| +func (m *Console) GetBuilders() []*Builder {
|
| + if m != nil {
|
| + return m.Builders
|
| + }
|
| + return nil
|
| +}
|
| +
|
| +// A builder is a reference to a Milo builder.
|
| +type Builder struct {
|
| + // Module is the name of the Milo module this builder is in reference to.
|
| + Module string `protobuf:"bytes,1,opt,name=Module,json=module" json:"Module,omitempty"`
|
| + // Name is the identifier to find the builder within the module.
|
| + Name string `protobuf:"bytes,2,opt,name=Name,json=name" json:"Name,omitempty"`
|
| + // Category describes the hierarchy of the builder on the header of the
|
| + // console as a "|" delimited list. Neighboring builders with common ancestors
|
| + // will be have their headers merged.
|
| + Category string `protobuf:"bytes,3,opt,name=Category,json=category" json:"Category,omitempty"`
|
| + // ShortName is the 1-3 character abbreviation of the builder.
|
| + ShortName string `protobuf:"bytes,4,opt,name=ShortName,json=shortName" json:"ShortName,omitempty"`
|
| +}
|
| +
|
| +func (m *Builder) Reset() { *m = Builder{} }
|
| +func (m *Builder) String() string { return proto.CompactTextString(m) }
|
| +func (*Builder) ProtoMessage() {}
|
| +func (*Builder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
| +
|
| +func init() {
|
| + proto.RegisterType((*Project)(nil), "config.Project")
|
| + proto.RegisterType((*Console)(nil), "config.Console")
|
| + proto.RegisterType((*Builder)(nil), "config.Builder")
|
| +}
|
| +
|
| +func init() {
|
| + proto.RegisterFile("github.com/luci/luci-go/milo/common/config/project.proto", fileDescriptor0)
|
| +}
|
| +
|
| +var fileDescriptor0 = []byte{
|
| + // 290 bytes of a gzipped FileDescriptorProto
|
| + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91, 0xcf, 0x4b, 0xbd, 0x40,
|
| + 0x14, 0xc5, 0xd1, 0xe7, 0xd7, 0x1f, 0xf7, 0x0b, 0x05, 0xb3, 0x08, 0x89, 0x16, 0x0f, 0x57, 0x41,
|
| + 0xa4, 0x50, 0x9b, 0xd6, 0xaf, 0xb7, 0x09, 0x2a, 0xc2, 0x88, 0xd6, 0x3a, 0x6f, 0xd2, 0x09, 0xf5,
|
| + 0x3e, 0xc6, 0x91, 0xa8, 0xbf, 0xa1, 0x3f, 0xba, 0x3b, 0x3f, 0x5a, 0x44, 0x6d, 0x1c, 0xcf, 0xe7,
|
| + 0x5c, 0x3d, 0xe7, 0x32, 0x70, 0xd5, 0x49, 0xdd, 0x2f, 0x6d, 0xc9, 0x71, 0xac, 0x86, 0x85, 0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