| 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..94246eee7aa8193b1e7a4bf8a63b0016ec575ba0
|
| --- /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 hash.
|
| + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,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) GetHash() []byte {
|
| + if m != nil {
|
| + return m.Hash
|
| + }
|
| + 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{
|
| + // 263 bytes of a gzipped FileDescriptorProto
|
| + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x31, 0x4b, 0xfc, 0x30,
|
| + 0x18, 0xc6, 0xc9, 0xbf, 0xfd, 0x9f, 0xf8, 0xf6, 0x10, 0xc9, 0x14, 0xea, 0x70, 0xd5, 0xa9, 0x8b,
|
| + 0x09, 0x9c, 0x38, 0x89, 0xd3, 0x21, 0xe2, 0xe2, 0x50, 0xdc, 0x4b, 0x5a, 0xd2, 0x34, 0xd0, 0xf4,
|
| + 0x2d, 0x97, 0xf4, 0x73, 0xf9, 0xf9, 0xdc, 0x24, 0xc9, 0x75, 0x70, 0x09, 0x2f, 0x3f, 0x7e, 0xcf,
|
| + 0x13, 0x1e, 0x78, 0xd5, 0xc6, 0x8f, 0x6b, 0xc7, 0x7b, 0xb4, 0x62, 0x5a, 0x7b, 0x13, 0x9f, 0x47,
|
| + 0x8d, 0xc2, 0x9a, 0x09, 0x85, 0x5c, 0x8c, 0x58, 0xce, 0xe8, 0x51, 0xf4, 0x38, 0x3b, 0x9c, 0x54,
|
| + 0xab, 0x8d, 0x6f, 0xcd, 0x3c, 0x20, 0x8f, 0x98, 0xe6, 0x41, 0x2b, 0x0f, 0x1a, 0x51, 0x4f, 0x2a,
|
| + 0xa9, 0xdd, 0x3a, 0x08, 0x6f, 0xac, 0x72, 0x5e, 0xda, 0x25, 0x69, 0x0f, 0x3f, 0x04, 0x6e, 0x4e,
|
| + 0xa9, 0xe1, 0xdd, 0xf8, 0x8f, 0x79, 0x40, 0xfa, 0x0c, 0x57, 0x3d, 0x5a, 0x6b, 0xbc, 0x63, 0xa4,
|
| + 0xca, 0xea, 0xe2, 0x78, 0xc7, 0x43, 0x17, 0xff, 0xab, 0xf1, 0x53, 0x74, 0x9a, 0xcd, 0x2d, 0xbf,
|
| + 0x09, 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