918 lines
39 KiB
Go
918 lines
39 KiB
Go
// Code modified by go.wit.com/apps/autogenpb DO NOT EDIT.
|
|
//
|
|
// user defined Mutex locks were auto added
|
|
//
|
|
// autogenpb version & build time: v0.5.3-11-g737c5b7 2025.09.16_2337
|
|
// autogenpb auto generates Sort(), Unique() and Marshal() functions
|
|
// go install go.wit.com/apps/autogenpb@latest
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v3.21.12
|
|
// source: repo.proto
|
|
|
|
package gitpb // autogenpb changed the package name
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GitTimes struct {
|
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LastPull *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=lastPull,proto3" json:"lastPull,omitempty"` // last time a git pull was done
|
|
LastUpdate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=lastUpdate,proto3" json:"lastUpdate,omitempty"` // when was ReloadGit() last done
|
|
LastDirty *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lastDirty,proto3" json:"lastDirty,omitempty"` // last time CheckDirty() was run
|
|
MtimeDir *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=mtimeDir,proto3" json:"mtimeDir,omitempty"` // mtime for ./git // maybe useful to track
|
|
MtimeHead *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=mtimeHead,proto3" json:"mtimeHead,omitempty"` // mtime for ./git/HEAD // these two mtimes allow really fast checks to see if git has changed
|
|
MtimeIndex *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=mtimeIndex,proto3" json:"mtimeIndex,omitempty"` // mtime for ./git/HEAD // probably always in sync with HEAD
|
|
MtimeFetch *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=mtimeFetch,proto3" json:"mtimeFetch,omitempty"` // mtime for ./git/FETCH_HEAD // last time 'git fetch' or 'git pull' was run on current branch?
|
|
LastGoDep *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=lastGoDep,proto3" json:"lastGoDep,omitempty"` // mtime for last go.sum scan
|
|
NewestCommit *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=newestCommit,proto3" json:"newestCommit,omitempty"` // when the newest commit was
|
|
MtimeConfig *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=mtimeConfig,proto3" json:"mtimeConfig,omitempty"` // mtime for the .git/config file
|
|
}
|
|
|
|
func (x *GitTimes) Reset() {
|
|
*x = GitTimes{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repo_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GitTimes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GitTimes) ProtoMessage() {}
|
|
|
|
func (x *GitTimes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repo_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GitTimes.ProtoReflect.Descriptor instead.
|
|
func (*GitTimes) Descriptor() ([]byte, []int) {
|
|
return file_repo_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GitTimes) GetLastPull() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastPull
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetLastUpdate() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastUpdate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetLastDirty() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastDirty
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetMtimeDir() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MtimeDir
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetMtimeHead() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MtimeHead
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetMtimeIndex() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MtimeIndex
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetMtimeFetch() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MtimeFetch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetLastGoDep() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastGoDep
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetNewestCommit() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.NewestCommit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GitTimes) GetMtimeConfig() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MtimeConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// this is probably better. think about moving to this instead
|
|
type GoInfo struct {
|
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GoPath string `protobuf:"bytes,1,opt,name=goPath,proto3" json:"goPath,omitempty"` // the logical path as used by golang: 'go.wit.com/apps/helloworld'
|
|
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // what is this repo?
|
|
GoLibrary bool `protobuf:"varint,3,opt,name=goLibrary,proto3" json:"goLibrary,omitempty"` // is this a golang library?
|
|
GoBinary bool `protobuf:"varint,4,opt,name=goBinary,proto3" json:"goBinary,omitempty"` // is this a golang binary?
|
|
GoPrimitive bool `protobuf:"varint,5,opt,name=goPrimitive,proto3" json:"goPrimitive,omitempty"` // if this is a golang primitive (only has go.mod)
|
|
GoPlugin bool `protobuf:"varint,6,opt,name=goPlugin,proto3" json:"goPlugin,omitempty"` // is this a golang plugin?
|
|
GoProtobuf bool `protobuf:"varint,7,opt,name=goProtobuf,proto3" json:"goProtobuf,omitempty"` // autogen go files from .proto
|
|
GoDeps *GoDeps `protobuf:"bytes,8,opt,name=goDeps,proto3" json:"goDeps,omitempty"` // what is in the go.sum file
|
|
Published *GoDeps `protobuf:"bytes,9,opt,name=published,proto3" json:"published,omitempty"` // the last published go.mod/go.sum
|
|
GoMod []byte `protobuf:"bytes,10,opt,name=goMod,proto3" json:"goMod,omitempty"` // the last go.mod file
|
|
GoSum []byte `protobuf:"bytes,11,opt,name=goSum,proto3" json:"goSum,omitempty"` // the last go.sum file
|
|
GitIgnoresGoSum bool `protobuf:"varint,12,opt,name=gitIgnoresGoSum,proto3" json:"gitIgnoresGoSum,omitempty"` // does .gitignore ignore go.mod & go.sum?
|
|
}
|
|
|
|
func (x *GoInfo) Reset() {
|
|
*x = GoInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repo_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GoInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GoInfo) ProtoMessage() {}
|
|
|
|
func (x *GoInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repo_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GoInfo.ProtoReflect.Descriptor instead.
|
|
func (*GoInfo) Descriptor() ([]byte, []int) {
|
|
return file_repo_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GoInfo) GetGoPath() string {
|
|
if x != nil {
|
|
return x.GoPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GoInfo) GetDesc() string {
|
|
if x != nil {
|
|
return x.Desc
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GoInfo) GetGoLibrary() bool {
|
|
if x != nil {
|
|
return x.GoLibrary
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GoInfo) GetGoBinary() bool {
|
|
if x != nil {
|
|
return x.GoBinary
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GoInfo) GetGoPrimitive() bool {
|
|
if x != nil {
|
|
return x.GoPrimitive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GoInfo) GetGoPlugin() bool {
|
|
if x != nil {
|
|
return x.GoPlugin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GoInfo) GetGoProtobuf() bool {
|
|
if x != nil {
|
|
return x.GoProtobuf
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GoInfo) GetGoDeps() *GoDeps {
|
|
if x != nil {
|
|
return x.GoDeps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GoInfo) GetPublished() *GoDeps {
|
|
if x != nil {
|
|
return x.Published
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GoInfo) GetGoMod() []byte {
|
|
if x != nil {
|
|
return x.GoMod
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GoInfo) GetGoSum() []byte {
|
|
if x != nil {
|
|
return x.GoSum
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GoInfo) GetGitIgnoresGoSum() bool {
|
|
if x != nil {
|
|
return x.GitIgnoresGoSum
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Repo struct {
|
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // `autogenpb:unique` `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb'
|
|
FullPath string `protobuf:"bytes,2,opt,name=fullPath,proto3" json:"fullPath,omitempty"` // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools'
|
|
MasterBranchName string `protobuf:"bytes,3,opt,name=masterBranchName,proto3" json:"masterBranchName,omitempty"` // git 'main' or 'master' branch name
|
|
DevelBranchName string `protobuf:"bytes,4,opt,name=develBranchName,proto3" json:"develBranchName,omitempty"` // whatever the git 'devel' branch name is
|
|
UserBranchName string `protobuf:"bytes,5,opt,name=userBranchName,proto3" json:"userBranchName,omitempty"` // whatever your username branch is
|
|
Dirty bool `protobuf:"varint,6,opt,name=dirty,proto3" json:"dirty,omitempty"` // if git says things have been changed
|
|
URL string `protobuf:"bytes,7,opt,name=URL,proto3" json:"URL,omitempty"` // the URL
|
|
Tags *GitTags `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"` // known tags
|
|
Times *GitTimes `protobuf:"bytes,9,opt,name=times,proto3" json:"times,omitempty"` // store all the mtime values here. these are temporary
|
|
GoInfo *GoInfo `protobuf:"bytes,10,opt,name=goInfo,proto3" json:"goInfo,omitempty"` // put all the go specifcs here
|
|
GoDeps *GoDeps `protobuf:"bytes,11,opt,name=goDeps,proto3" json:"goDeps,omitempty"` // what is in the go.sum file
|
|
CurrentBranchName string `protobuf:"bytes,12,opt,name=currentBranchName,proto3" json:"currentBranchName,omitempty"` // the branch currently checked out
|
|
CurrentBranchVersion string `protobuf:"bytes,13,opt,name=currentBranchVersion,proto3" json:"currentBranchVersion,omitempty"` // the branch currently checked out
|
|
LastTag string `protobuf:"bytes,14,opt,name=lastTag,proto3" json:"lastTag,omitempty"` // the oldest tag
|
|
TargetVersion string `protobuf:"bytes,15,opt,name=targetVersion,proto3" json:"targetVersion,omitempty"` // useful during the package release process
|
|
ReadOnly bool `protobuf:"varint,16,opt,name=readOnly,proto3" json:"readOnly,omitempty"` // tracks access to 'git push'
|
|
Desc string `protobuf:"bytes,17,opt,name=desc,proto3" json:"desc,omitempty"` // what is this repo?
|
|
StateChange string `protobuf:"bytes,18,opt,name=stateChange,proto3" json:"stateChange,omitempty"` // used for debugging tool logic
|
|
MasterVersion string `protobuf:"bytes,19,opt,name=masterVersion,proto3" json:"masterVersion,omitempty"` // just store this for now
|
|
DevelVersion string `protobuf:"bytes,20,opt,name=develVersion,proto3" json:"develVersion,omitempty"` //
|
|
UserVersion string `protobuf:"bytes,21,opt,name=userVersion,proto3" json:"userVersion,omitempty"` //
|
|
DirtyList []string `protobuf:"bytes,22,rep,name=dirtyList,proto3" json:"dirtyList,omitempty"` // store the list from git status --porcelain
|
|
State string `protobuf:"bytes,23,opt,name=state,proto3" json:"state,omitempty"` // status or state. useful for building tooling
|
|
CurrentTag *GitTag `protobuf:"bytes,24,opt,name=currentTag,proto3" json:"currentTag,omitempty"` // used to examine repo branches
|
|
GitConfig *GitConfig `protobuf:"bytes,25,opt,name=gitConfig,proto3" json:"gitConfig,omitempty"` // protobuf of the current .git/config
|
|
MasterHash string `protobuf:"bytes,26,opt,name=MasterHash,proto3" json:"MasterHash,omitempty"` // hash of the current master branch
|
|
DevelHash string `protobuf:"bytes,27,opt,name=DevelHash,proto3" json:"DevelHash,omitempty"` // hash of the current devel branch
|
|
Control map[string]string `protobuf:"bytes,28,rep,name=control,proto3" json:"control,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // control values. can be used to make packages (like .deb or .rpm)
|
|
}
|
|
|
|
func (x *Repo) Reset() {
|
|
*x = Repo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repo_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Repo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Repo) ProtoMessage() {}
|
|
|
|
func (x *Repo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repo_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Repo.ProtoReflect.Descriptor instead.
|
|
func (*Repo) Descriptor() ([]byte, []int) {
|
|
return file_repo_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Repo) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetFullPath() string {
|
|
if x != nil {
|
|
return x.FullPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetMasterBranchName() string {
|
|
if x != nil {
|
|
return x.MasterBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetDevelBranchName() string {
|
|
if x != nil {
|
|
return x.DevelBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetUserBranchName() string {
|
|
if x != nil {
|
|
return x.UserBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetDirty() bool {
|
|
if x != nil {
|
|
return x.Dirty
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Repo) GetURL() string {
|
|
if x != nil {
|
|
return x.URL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetTags() *GitTags {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetTimes() *GitTimes {
|
|
if x != nil {
|
|
return x.Times
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetGoInfo() *GoInfo {
|
|
if x != nil {
|
|
return x.GoInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetGoDeps() *GoDeps {
|
|
if x != nil {
|
|
return x.GoDeps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetCurrentBranchName() string {
|
|
if x != nil {
|
|
return x.CurrentBranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetCurrentBranchVersion() string {
|
|
if x != nil {
|
|
return x.CurrentBranchVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetLastTag() string {
|
|
if x != nil {
|
|
return x.LastTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetTargetVersion() string {
|
|
if x != nil {
|
|
return x.TargetVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Repo) GetDesc() string {
|
|
if x != nil {
|
|
return x.Desc
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetStateChange() string {
|
|
if x != nil {
|
|
return x.StateChange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetMasterVersion() string {
|
|
if x != nil {
|
|
return x.MasterVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetDevelVersion() string {
|
|
if x != nil {
|
|
return x.DevelVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetUserVersion() string {
|
|
if x != nil {
|
|
return x.UserVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetDirtyList() []string {
|
|
if x != nil {
|
|
return x.DirtyList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetCurrentTag() *GitTag {
|
|
if x != nil {
|
|
return x.CurrentTag
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetGitConfig() *GitConfig {
|
|
if x != nil {
|
|
return x.GitConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repo) GetMasterHash() string {
|
|
if x != nil {
|
|
return x.MasterHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetDevelHash() string {
|
|
if x != nil {
|
|
return x.DevelHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repo) GetControl() map[string]string {
|
|
if x != nil {
|
|
return x.Control
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Repos struct {
|
|
// sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex`
|
|
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:8daaeba1-fb1f-4762-ae6e-95a55d352673`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v4`
|
|
Repos []*Repo `protobuf:"bytes,3,rep,name=repos,proto3" json:"repos,omitempty"` // `autogenpb:append` // generate AppendUnique() function for this
|
|
HasFullScan bool `protobuf:"varint,4,opt,name=hasFullScan,proto3" json:"hasFullScan,omitempty"` // a full repo scan has been saved to disk
|
|
FullScan *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=fullScan,proto3" json:"fullScan,omitempty"` // mtime of the last full scan saved to disk
|
|
}
|
|
|
|
func (x *Repos) Reset() {
|
|
*x = Repos{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_repo_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Repos) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Repos) ProtoMessage() {}
|
|
|
|
func (x *Repos) ProtoReflect() protoreflect.Message {
|
|
mi := &file_repo_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Repos.ProtoReflect.Descriptor instead.
|
|
func (*Repos) Descriptor() ([]byte, []int) {
|
|
return file_repo_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Repos) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repos) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Repos) GetRepos() []*Repo {
|
|
if x != nil {
|
|
return x.Repos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Repos) GetHasFullScan() bool {
|
|
if x != nil {
|
|
return x.HasFullScan
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Repos) GetFullScan() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.FullScan
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_repo_proto protoreflect.FileDescriptor
|
|
|
|
var file_repo_proto_rawDesc = []byte{
|
|
0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x67, 0x69,
|
|
0x74, 0x70, 0x62, 0x1a, 0x0c, 0x67, 0x69, 0x74, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x1a, 0x0b, 0x67, 0x6f, 0x44, 0x65, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
|
|
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0xda, 0x04, 0x0a, 0x08, 0x47, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x08,
|
|
0x6c, 0x61, 0x73, 0x74, 0x50, 0x75, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74,
|
|
0x50, 0x75, 0x6c, 0x6c, 0x12, 0x3a, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x12, 0x38, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x69, 0x72, 0x74, 0x79, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
0x09, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x69, 0x72, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x08, 0x6d, 0x74,
|
|
0x69, 0x6d, 0x65, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x44,
|
|
0x69, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x48, 0x65, 0x61, 0x64, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x52, 0x09, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x3a, 0x0a, 0x0a,
|
|
0x6d, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6d, 0x74,
|
|
0x69, 0x6d, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0a, 0x6d, 0x74, 0x69, 0x6d,
|
|
0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x46,
|
|
0x65, 0x74, 0x63, 0x68, 0x12, 0x38, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x47, 0x6f, 0x44, 0x65,
|
|
0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x47, 0x6f, 0x44, 0x65, 0x70, 0x12, 0x3e,
|
|
0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x09,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
0x52, 0x0c, 0x6e, 0x65, 0x77, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x3c,
|
|
0x0a, 0x0b, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
0x0b, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xf6, 0x02, 0x0a,
|
|
0x06, 0x47, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x50, 0x61, 0x74,
|
|
0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12,
|
|
0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64,
|
|
0x65, 0x73, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x6f, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x67, 0x6f, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
|
|
0x79, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x6f, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x08, 0x67, 0x6f, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x67, 0x6f, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0b, 0x67, 0x6f, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x67, 0x6f, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x08, 0x67, 0x6f, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x67,
|
|
0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x0a, 0x67, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x12, 0x25, 0x0a, 0x06, 0x67,
|
|
0x6f, 0x44, 0x65, 0x70, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x67, 0x69,
|
|
0x74, 0x70, 0x62, 0x2e, 0x47, 0x6f, 0x44, 0x65, 0x70, 0x73, 0x52, 0x06, 0x67, 0x6f, 0x44, 0x65,
|
|
0x70, 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18,
|
|
0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x6f,
|
|
0x44, 0x65, 0x70, 0x73, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12,
|
|
0x14, 0x0a, 0x05, 0x67, 0x6f, 0x4d, 0x6f, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
|
|
0x67, 0x6f, 0x4d, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x6f, 0x53, 0x75, 0x6d, 0x18, 0x0b,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x6f, 0x53, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x67,
|
|
0x69, 0x74, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x73, 0x47, 0x6f, 0x53, 0x75, 0x6d, 0x18, 0x0c,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x67, 0x69, 0x74, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x73,
|
|
0x47, 0x6f, 0x53, 0x75, 0x6d, 0x22, 0xa0, 0x08, 0x0a, 0x04, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x1c,
|
|
0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x66, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
0x66, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x10, 0x6d, 0x61, 0x73, 0x74,
|
|
0x65, 0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x10, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x72, 0x61,
|
|
0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64,
|
|
0x65, 0x76, 0x65, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26,
|
|
0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x42, 0x72, 0x61, 0x6e,
|
|
0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x69, 0x72, 0x74, 0x79, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x69, 0x72, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
0x55, 0x52, 0x4c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x52, 0x4c, 0x12, 0x22,
|
|
0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67,
|
|
0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x04, 0x74, 0x61,
|
|
0x67, 0x73, 0x12, 0x25, 0x0a, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x69, 0x74, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x52, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x6f, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x67, 0x69, 0x74, 0x70,
|
|
0x62, 0x2e, 0x47, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x67, 0x6f, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x12, 0x25, 0x0a, 0x06, 0x67, 0x6f, 0x44, 0x65, 0x70, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x6f, 0x44, 0x65, 0x70, 0x73, 0x52,
|
|
0x06, 0x67, 0x6f, 0x44, 0x65, 0x70, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65,
|
|
0x6e, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63,
|
|
0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
|
|
0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x61, 0x6e,
|
|
0x63, 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x61, 0x73,
|
|
0x74, 0x54, 0x61, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x61, 0x73, 0x74,
|
|
0x54, 0x61, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x56, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67,
|
|
0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61,
|
|
0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61,
|
|
0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x11, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0d, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x56, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72,
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x74, 0x79,
|
|
0x4c, 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x74,
|
|
0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x17,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x63,
|
|
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x0d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x0a,
|
|
0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x2e, 0x0a, 0x09, 0x67, 0x69,
|
|
0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
|
0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
|
0x09, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x61,
|
|
0x73, 0x74, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x44, 0x65,
|
|
0x76, 0x65, 0x6c, 0x48, 0x61, 0x73, 0x68, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x44,
|
|
0x65, 0x76, 0x65, 0x6c, 0x48, 0x61, 0x73, 0x68, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x72, 0x6f, 0x6c, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x70,
|
|
0x62, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x3a, 0x0a, 0x0c,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x01, 0x0a, 0x05, 0x52, 0x65, 0x70,
|
|
0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x21, 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x05, 0x72, 0x65,
|
|
0x70, 0x6f, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x63,
|
|
0x61, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x46, 0x75, 0x6c,
|
|
0x6c, 0x53, 0x63, 0x61, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x53, 0x63, 0x61,
|
|
0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x53, 0x63, 0x61, 0x6e, 0x62, 0x06, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_repo_proto_rawDescOnce sync.Once
|
|
file_repo_proto_rawDescData = file_repo_proto_rawDesc
|
|
)
|
|
|
|
func file_repo_proto_rawDescGZIP() []byte {
|
|
file_repo_proto_rawDescOnce.Do(func() {
|
|
file_repo_proto_rawDescData = protoimpl.X.CompressGZIP(file_repo_proto_rawDescData)
|
|
})
|
|
return file_repo_proto_rawDescData
|
|
}
|
|
|
|
var file_repo_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_repo_proto_goTypes = []interface{}{
|
|
(*GitTimes)(nil), // 0: gitpb.GitTimes
|
|
(*GoInfo)(nil), // 1: gitpb.GoInfo
|
|
(*Repo)(nil), // 2: gitpb.Repo
|
|
(*Repos)(nil), // 3: gitpb.Repos
|
|
nil, // 4: gitpb.Repo.ControlEntry
|
|
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
|
(*GoDeps)(nil), // 6: gitpb.GoDeps
|
|
(*GitTags)(nil), // 7: gitpb.GitTags
|
|
(*GitTag)(nil), // 8: gitpb.GitTag
|
|
(*GitConfig)(nil), // 9: gitpb.GitConfig
|
|
}
|
|
var file_repo_proto_depIdxs = []int32{
|
|
5, // 0: gitpb.GitTimes.lastPull:type_name -> google.protobuf.Timestamp
|
|
5, // 1: gitpb.GitTimes.lastUpdate:type_name -> google.protobuf.Timestamp
|
|
5, // 2: gitpb.GitTimes.lastDirty:type_name -> google.protobuf.Timestamp
|
|
5, // 3: gitpb.GitTimes.mtimeDir:type_name -> google.protobuf.Timestamp
|
|
5, // 4: gitpb.GitTimes.mtimeHead:type_name -> google.protobuf.Timestamp
|
|
5, // 5: gitpb.GitTimes.mtimeIndex:type_name -> google.protobuf.Timestamp
|
|
5, // 6: gitpb.GitTimes.mtimeFetch:type_name -> google.protobuf.Timestamp
|
|
5, // 7: gitpb.GitTimes.lastGoDep:type_name -> google.protobuf.Timestamp
|
|
5, // 8: gitpb.GitTimes.newestCommit:type_name -> google.protobuf.Timestamp
|
|
5, // 9: gitpb.GitTimes.mtimeConfig:type_name -> google.protobuf.Timestamp
|
|
6, // 10: gitpb.GoInfo.goDeps:type_name -> gitpb.GoDeps
|
|
6, // 11: gitpb.GoInfo.published:type_name -> gitpb.GoDeps
|
|
7, // 12: gitpb.Repo.tags:type_name -> gitpb.GitTags
|
|
0, // 13: gitpb.Repo.times:type_name -> gitpb.GitTimes
|
|
1, // 14: gitpb.Repo.goInfo:type_name -> gitpb.GoInfo
|
|
6, // 15: gitpb.Repo.goDeps:type_name -> gitpb.GoDeps
|
|
8, // 16: gitpb.Repo.currentTag:type_name -> gitpb.GitTag
|
|
9, // 17: gitpb.Repo.gitConfig:type_name -> gitpb.GitConfig
|
|
4, // 18: gitpb.Repo.control:type_name -> gitpb.Repo.ControlEntry
|
|
2, // 19: gitpb.Repos.repos:type_name -> gitpb.Repo
|
|
5, // 20: gitpb.Repos.fullScan:type_name -> google.protobuf.Timestamp
|
|
21, // [21:21] is the sub-list for method output_type
|
|
21, // [21:21] is the sub-list for method input_type
|
|
21, // [21:21] is the sub-list for extension type_name
|
|
21, // [21:21] is the sub-list for extension extendee
|
|
0, // [0:21] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_repo_proto_init() }
|
|
func file_repo_proto_init() {
|
|
if File_repo_proto != nil {
|
|
return
|
|
}
|
|
file_gitTag_proto_init()
|
|
file_goDep_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_repo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GitTimes); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GoInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Repo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_repo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Repos); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_repo_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_repo_proto_goTypes,
|
|
DependencyIndexes: file_repo_proto_depIdxs,
|
|
MessageInfos: file_repo_proto_msgTypes,
|
|
}.Build()
|
|
File_repo_proto = out.File
|
|
file_repo_proto_rawDesc = nil
|
|
file_repo_proto_goTypes = nil
|
|
file_repo_proto_depIdxs = nil
|
|
}
|