| Index: milo/api/proto/console_git_info.pb.go
|
| diff --git a/milo/api/proto/console_git_info.pb.go b/milo/api/proto/console_git_info.pb.go
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9b7d18af09ea39f8b2ad759349a16bccd9979437
|
| --- /dev/null
|
| +++ b/milo/api/proto/console_git_info.pb.go
|
| @@ -0,0 +1,116 @@
|
| +// Code generated by protoc-gen-go. DO NOT EDIT.
|
| +// source: github.com/luci/luci-go/milo/api/proto/console_git_info.proto
|
| +
|
| +package milo
|
| +
|
| +import proto "github.com/golang/protobuf/proto"
|
| +import fmt "fmt"
|
| +import math "math"
|
| +import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
| +
|
| +// Reference imports to suppress errors if they are not otherwise used.
|
| +var _ = proto.Marshal
|
| +var _ = fmt.Errorf
|
| +var _ = math.Inf
|
| +
|
| +// ConsoleGitInfo stores memcache-able data that the console view will use when
|
| +// displaying git commits. A compressed ConsoleGitInfo should always be < 1MB,
|
| +// so don't put anything too big in here.
|
| +type ConsoleGitInfo struct {
|
| + Commits []*ConsoleGitInfo_Commit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
|
| +}
|
| +
|
| +func (m *ConsoleGitInfo) Reset() { *m = ConsoleGitInfo{} }
|
| +func (m *ConsoleGitInfo) String() string { return proto.CompactTextString(m) }
|
| +func (*ConsoleGitInfo) ProtoMessage() {}
|
| +func (*ConsoleGitInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
| +
|
| +func (m *ConsoleGitInfo) GetCommits() []*ConsoleGitInfo_Commit {
|
| + if m != nil {
|
| + return m.Commits
|
| + }
|
| + return nil
|
| +}
|
| +
|
| +type ConsoleGitInfo_Commit struct {
|
| + // The raw commit ID.
|
| + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
| + // The author name (e.g. "Rey Cool")
|
| + AuthorName string `protobuf:"bytes,2,opt,name=author_name,json=authorName" json:"author_name,omitempty"`
|
| + // The author email (e.g. "rey_cool@example.com")
|
| + AuthorEmail string `protobuf:"bytes,3,opt,name=author_email,json=authorEmail" json:"author_email,omitempty"`
|
| + // The commit timestamp (~= when the commit landed... not always true!).
|
| + CommitTime *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=commit_time,json=commitTime" json:"commit_time,omitempty"`
|
| + // The raw commit message as text.
|
| + Msg string `protobuf:"bytes,5,opt,name=msg" json:"msg,omitempty"`
|
| +}
|
| +
|
| +func (m *ConsoleGitInfo_Commit) Reset() { *m = ConsoleGitInfo_Commit{} }
|
| +func (m *ConsoleGitInfo_Commit) String() string { return proto.CompactTextString(m) }
|
| +func (*ConsoleGitInfo_Commit) ProtoMessage() {}
|
| +func (*ConsoleGitInfo_Commit) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 0} }
|
| +
|
| +func (m *ConsoleGitInfo_Commit) GetId() []byte {
|
| + if m != nil {
|
| + return m.Id
|
| + }
|
| + return nil
|
| +}
|
| +
|
| +func (m *ConsoleGitInfo_Commit) GetAuthorName() string {
|
| + if m != nil {
|
| + return m.AuthorName
|
| + }
|
| + return ""
|
| +}
|
| +
|
| +func (m *ConsoleGitInfo_Commit) GetAuthorEmail() string {
|
| + if m != nil {
|
| + return m.AuthorEmail
|
| + }
|
| + return ""
|
| +}
|
| +
|
| +func (m *ConsoleGitInfo_Commit) GetCommitTime() *google_protobuf.Timestamp {
|
| + if m != nil {
|
| + return m.CommitTime
|
| + }
|
| + return nil
|
| +}
|
| +
|
| +func (m *ConsoleGitInfo_Commit) GetMsg() string {
|
| + if m != nil {
|
| + return m.Msg
|
| + }
|
| + return ""
|
| +}
|
| +
|
| +func init() {
|
| + proto.RegisterType((*ConsoleGitInfo)(nil), "milo.ConsoleGitInfo")
|
| + proto.RegisterType((*ConsoleGitInfo_Commit)(nil), "milo.ConsoleGitInfo.Commit")
|
| +}
|
| +
|
| +func init() {
|
| + proto.RegisterFile("github.com/luci/luci-go/milo/api/proto/console_git_info.proto", fileDescriptor2)
|
| +}
|
| +
|
| +var fileDescriptor2 = []byte{
|
| + // 262 bytes of a gzipped FileDescriptorProto
|
| + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xb1, 0x6a, 0xc3, 0x30,
|
| + 0x14, 0x45, 0x91, 0x9d, 0xa6, 0x54, 0x0e, 0xa1, 0x68, 0x12, 0xee, 0x10, 0xb7, 0x93, 0x97, 0x4a,
|
| + 0x90, 0xd2, 0xa9, 0x74, 0x0a, 0xa5, 0x74, 0xe9, 0x60, 0xba, 0x1b, 0xd9, 0x91, 0x95, 0x07, 0x96,
|
| + 0x9f, 0x89, 0xe5, 0xaf, 0xea, 0xf7, 0x75, 0x2f, 0x92, 0xe2, 0x21, 0x8b, 0x10, 0x87, 0x73, 0xef,
|
| + 0xe3, 0xd2, 0x77, 0x03, 0xee, 0x34, 0x37, 0xa2, 0x45, 0x2b, 0xfb, 0xb9, 0x85, 0xf0, 0x3c, 0x1b,
|
| + 0x94, 0x16, 0x7a, 0x94, 0x6a, 0x04, 0x39, 0x9e, 0xd1, 0xa1, 0x6c, 0x71, 0x98, 0xb0, 0xd7, 0xb5,
|
| + 0x01, 0x57, 0xc3, 0xd0, 0xa1, 0x08, 0x98, 0xad, 0xbc, 0x96, 0xef, 0x0c, 0xa2, 0xe9, 0x75, 0x54,
|
| + 0x9b, 0xb9, 0x93, 0x0e, 0xac, 0x9e, 0x9c, 0xb2, 0x63, 0xd4, 0x9e, 0xfe, 0x08, 0xdd, 0x1e, 0x62,
|
| + 0xc3, 0x27, 0xb8, 0xaf, 0xa1, 0x43, 0xf6, 0x4a, 0x6f, 0x5b, 0xb4, 0x16, 0xdc, 0xc4, 0x49, 0x91,
|
| + 0x96, 0xd9, 0xfe, 0x41, 0xf8, 0x2e, 0x71, 0xad, 0x89, 0x43, 0x70, 0xaa, 0xc5, 0xcd, 0x7f, 0x09,
|
| + 0x5d, 0x47, 0xc6, 0xb6, 0x34,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