package apipb
import "golang.org/x/build/maintner/maintnerd/apipb"
Index ¶
- Constants
- Variables
- func RegisterMaintnerServiceServer(s grpc.ServiceRegistrar, srv MaintnerServiceServer)
- type DashCommit
- func (*DashCommit) Descriptor() ([]byte, []int)
- func (x *DashCommit) GetAuthorEmail() string
- func (x *DashCommit) GetAuthorName() string
- func (x *DashCommit) GetBranch() string
- func (x *DashCommit) GetCommit() string
- func (x *DashCommit) GetCommitTimeSec() int64
- func (x *DashCommit) GetGoCommitAtTime() string
- func (x *DashCommit) GetGoCommitLatest() string
- func (x *DashCommit) GetTitle() string
- func (*DashCommit) ProtoMessage()
- func (x *DashCommit) ProtoReflect() protoreflect.Message
- func (x *DashCommit) Reset()
- func (x *DashCommit) String() string
- type DashRepoHead
- func (*DashRepoHead) Descriptor() ([]byte, []int)
- func (x *DashRepoHead) GetCommit() *DashCommit
- func (x *DashRepoHead) GetGerritProject() string
- func (*DashRepoHead) ProtoMessage()
- func (x *DashRepoHead) ProtoReflect() protoreflect.Message
- func (x *DashRepoHead) Reset()
- func (x *DashRepoHead) String() string
- type DashboardRequest
- func (*DashboardRequest) Descriptor() ([]byte, []int)
- func (x *DashboardRequest) GetBranch() string
- func (x *DashboardRequest) GetMaxCommits() int32
- func (x *DashboardRequest) GetPage() int32
- func (x *DashboardRequest) GetRepo() string
- func (*DashboardRequest) ProtoMessage()
- func (x *DashboardRequest) ProtoReflect() protoreflect.Message
- func (x *DashboardRequest) Reset()
- func (x *DashboardRequest) String() string
- type DashboardResponse
- func (*DashboardResponse) Descriptor() ([]byte, []int)
- func (x *DashboardResponse) GetBranches() []string
- func (x *DashboardResponse) GetCommits() []*DashCommit
- func (x *DashboardResponse) GetCommitsTruncated() bool
- func (x *DashboardResponse) GetReleases() []*GoRelease
- func (x *DashboardResponse) GetRepoHeads() []*DashRepoHead
- func (*DashboardResponse) ProtoMessage()
- func (x *DashboardResponse) ProtoReflect() protoreflect.Message
- func (x *DashboardResponse) Reset()
- func (x *DashboardResponse) String() string
- type GerritTryWorkItem
- func (*GerritTryWorkItem) Descriptor() ([]byte, []int)
- func (x *GerritTryWorkItem) GetAuthorEmail() string
- func (x *GerritTryWorkItem) GetBranch() string
- func (x *GerritTryWorkItem) GetChangeId() string
- func (x *GerritTryWorkItem) GetCommit() string
- func (x *GerritTryWorkItem) GetGoBranch() []string
- func (x *GerritTryWorkItem) GetGoCommit() []string
- func (x *GerritTryWorkItem) GetGoVersion() []*MajorMinor
- func (x *GerritTryWorkItem) GetProject() string
- func (x *GerritTryWorkItem) GetTryMessage() []*TryVoteMessage
- func (x *GerritTryWorkItem) GetVersion() int32
- func (*GerritTryWorkItem) ProtoMessage()
- func (x *GerritTryWorkItem) ProtoReflect() protoreflect.Message
- func (x *GerritTryWorkItem) Reset()
- func (x *GerritTryWorkItem) String() string
- type GetRefRequest
- func (*GetRefRequest) Descriptor() ([]byte, []int)
- func (x *GetRefRequest) GetGerritProject() string
- func (x *GetRefRequest) GetGerritServer() string
- func (x *GetRefRequest) GetRef() string
- func (*GetRefRequest) ProtoMessage()
- func (x *GetRefRequest) ProtoReflect() protoreflect.Message
- func (x *GetRefRequest) Reset()
- func (x *GetRefRequest) String() string
- type GetRefResponse
- func (*GetRefResponse) Descriptor() ([]byte, []int)
- func (x *GetRefResponse) GetValue() string
- func (*GetRefResponse) ProtoMessage()
- func (x *GetRefResponse) ProtoReflect() protoreflect.Message
- func (x *GetRefResponse) Reset()
- func (x *GetRefResponse) String() string
- type GoFindTryWorkRequest
- func (*GoFindTryWorkRequest) Descriptor() ([]byte, []int)
- func (x *GoFindTryWorkRequest) GetForStaging() bool
- func (*GoFindTryWorkRequest) ProtoMessage()
- func (x *GoFindTryWorkRequest) ProtoReflect() protoreflect.Message
- func (x *GoFindTryWorkRequest) Reset()
- func (x *GoFindTryWorkRequest) String() string
- type GoFindTryWorkResponse
- func (*GoFindTryWorkResponse) Descriptor() ([]byte, []int)
- func (x *GoFindTryWorkResponse) GetWaiting() []*GerritTryWorkItem
- func (*GoFindTryWorkResponse) ProtoMessage()
- func (x *GoFindTryWorkResponse) ProtoReflect() protoreflect.Message
- func (x *GoFindTryWorkResponse) Reset()
- func (x *GoFindTryWorkResponse) String() string
- type GoRelease
- func (*GoRelease) Descriptor() ([]byte, []int)
- func (x *GoRelease) GetBranchCommit() string
- func (x *GoRelease) GetBranchName() string
- func (x *GoRelease) GetMajor() int32
- func (x *GoRelease) GetMinor() int32
- func (x *GoRelease) GetPatch() int32
- func (x *GoRelease) GetTagCommit() string
- func (x *GoRelease) GetTagName() string
- func (*GoRelease) ProtoMessage()
- func (x *GoRelease) ProtoReflect() protoreflect.Message
- func (x *GoRelease) Reset()
- func (x *GoRelease) String() string
- type HasAncestorRequest
- func (*HasAncestorRequest) Descriptor() ([]byte, []int)
- func (x *HasAncestorRequest) GetAncestor() string
- func (x *HasAncestorRequest) GetCommit() string
- func (*HasAncestorRequest) ProtoMessage()
- func (x *HasAncestorRequest) ProtoReflect() protoreflect.Message
- func (x *HasAncestorRequest) Reset()
- func (x *HasAncestorRequest) String() string
- type HasAncestorResponse
- func (*HasAncestorResponse) Descriptor() ([]byte, []int)
- func (x *HasAncestorResponse) GetHasAncestor() bool
- func (x *HasAncestorResponse) GetUnknownCommit() bool
- func (*HasAncestorResponse) ProtoMessage()
- func (x *HasAncestorResponse) ProtoReflect() protoreflect.Message
- func (x *HasAncestorResponse) Reset()
- func (x *HasAncestorResponse) String() string
- type ListGoReleasesRequest
- func (*ListGoReleasesRequest) Descriptor() ([]byte, []int)
- func (*ListGoReleasesRequest) ProtoMessage()
- func (x *ListGoReleasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListGoReleasesRequest) Reset()
- func (x *ListGoReleasesRequest) String() string
- type ListGoReleasesResponse
- func (*ListGoReleasesResponse) Descriptor() ([]byte, []int)
- func (x *ListGoReleasesResponse) GetReleases() []*GoRelease
- func (*ListGoReleasesResponse) ProtoMessage()
- func (x *ListGoReleasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListGoReleasesResponse) Reset()
- func (x *ListGoReleasesResponse) String() string
- type MaintnerServiceClient
- type MaintnerServiceServer
- type MajorMinor
- func (*MajorMinor) Descriptor() ([]byte, []int)
- func (x *MajorMinor) GetMajor() int32
- func (x *MajorMinor) GetMinor() int32
- func (*MajorMinor) ProtoMessage()
- func (x *MajorMinor) ProtoReflect() protoreflect.Message
- func (x *MajorMinor) Reset()
- func (x *MajorMinor) String() string
- type TryVoteMessage
- func (*TryVoteMessage) Descriptor() ([]byte, []int)
- func (x *TryVoteMessage) GetAuthorId() int64
- func (x *TryVoteMessage) GetMessage() string
- func (x *TryVoteMessage) GetVersion() int32
- func (*TryVoteMessage) ProtoMessage()
- func (x *TryVoteMessage) ProtoReflect() protoreflect.Message
- func (x *TryVoteMessage) Reset()
- func (x *TryVoteMessage) String() string
- type UnimplementedMaintnerServiceServer
- func (UnimplementedMaintnerServiceServer) GetDashboard(context.Context, *DashboardRequest) (*DashboardResponse, error)
- func (UnimplementedMaintnerServiceServer) GetRef(context.Context, *GetRefRequest) (*GetRefResponse, error)
- func (UnimplementedMaintnerServiceServer) GoFindTryWork(context.Context, *GoFindTryWorkRequest) (*GoFindTryWorkResponse, error)
- func (UnimplementedMaintnerServiceServer) HasAncestor(context.Context, *HasAncestorRequest) (*HasAncestorResponse, error)
- func (UnimplementedMaintnerServiceServer) ListGoReleases(context.Context, *ListGoReleasesRequest) (*ListGoReleasesResponse, error)
- type UnsafeMaintnerServiceServer
Constants ¶
const ( MaintnerService_HasAncestor_FullMethodName = "/apipb.MaintnerService/HasAncestor" MaintnerService_GetRef_FullMethodName = "/apipb.MaintnerService/GetRef" MaintnerService_GoFindTryWork_FullMethodName = "/apipb.MaintnerService/GoFindTryWork" MaintnerService_ListGoReleases_FullMethodName = "/apipb.MaintnerService/ListGoReleases" MaintnerService_GetDashboard_FullMethodName = "/apipb.MaintnerService/GetDashboard" )
Variables ¶
var File_maintner_maintnerd_apipb_api_proto protoreflect.FileDescriptor
var MaintnerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "apipb.MaintnerService", HandlerType: (*MaintnerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HasAncestor", Handler: _MaintnerService_HasAncestor_Handler, }, { MethodName: "GetRef", Handler: _MaintnerService_GetRef_Handler, }, { MethodName: "GoFindTryWork", Handler: _MaintnerService_GoFindTryWork_Handler, }, { MethodName: "ListGoReleases", Handler: _MaintnerService_ListGoReleases_Handler, }, { MethodName: "GetDashboard", Handler: _MaintnerService_GetDashboard_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "maintner/maintnerd/apipb/api.proto", }
MaintnerService_ServiceDesc is the grpc.ServiceDesc for MaintnerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMaintnerServiceServer ¶
func RegisterMaintnerServiceServer(s grpc.ServiceRegistrar, srv MaintnerServiceServer)
Types ¶
type DashCommit ¶
type DashCommit struct { // commit is the git commit hash ("26957168c4c0cdcc7ca4f0b19d0eb19474d224ac"). Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // author_name is the git author name part ("Foo Bar"). AuthorName string `protobuf:"bytes,2,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` // "Foo Bar" // author_email is the git author email part ("foo@bar.com"). AuthorEmail string `protobuf:"bytes,3,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` // "foo@bar.com" // commit_time_sec is the timestamp of git commit time, in unix seconds. CommitTimeSec int64 `protobuf:"varint,4,opt,name=commit_time_sec,json=commitTimeSec,proto3" json:"commit_time_sec,omitempty"` // title is the git commit's first line ("runtime: fix all the bugs"). Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // branch is the branch this commit was queried from ("master", "release-branch.go1.14")/ // This is normally redundant but is useful when DashboardRequest.branch == "mixed". Branch string `protobuf:"bytes,7,opt,name=branch,proto3" json:"branch,omitempty"` // For non-go repos, go_commit_at_time is what the Go master commit was at // the time of DashCommit.commit_time. GoCommitAtTime string `protobuf:"bytes,6,opt,name=go_commit_at_time,json=goCommitAtTime,proto3" json:"go_commit_at_time,omitempty"` // For non-go repos, go_commit_latest is the most recent Go master commit that's // older than the following x/foo commit's commit_time. // If DashCommit is the current HEAD, go_commit_at_time can continue to update. // go_commit_at_time might be the same as go_commit_at_time. GoCommitLatest string `protobuf:"bytes,8,opt,name=go_commit_latest,json=goCommitLatest,proto3" json:"go_commit_latest,omitempty"` // contains filtered or unexported fields }
func (*DashCommit) Descriptor ¶
func (*DashCommit) Descriptor() ([]byte, []int)
Deprecated: Use DashCommit.ProtoReflect.Descriptor instead.
func (*DashCommit) GetAuthorEmail ¶
func (x *DashCommit) GetAuthorEmail() string
func (*DashCommit) GetAuthorName ¶
func (x *DashCommit) GetAuthorName() string
func (*DashCommit) GetBranch ¶
func (x *DashCommit) GetBranch() string
func (*DashCommit) GetCommit ¶
func (x *DashCommit) GetCommit() string
func (*DashCommit) GetCommitTimeSec ¶
func (x *DashCommit) GetCommitTimeSec() int64
func (*DashCommit) GetGoCommitAtTime ¶
func (x *DashCommit) GetGoCommitAtTime() string
func (*DashCommit) GetGoCommitLatest ¶
func (x *DashCommit) GetGoCommitLatest() string
func (*DashCommit) GetTitle ¶
func (x *DashCommit) GetTitle() string
func (*DashCommit) ProtoMessage ¶
func (*DashCommit) ProtoMessage()
func (*DashCommit) ProtoReflect ¶
func (x *DashCommit) ProtoReflect() protoreflect.Message
func (*DashCommit) Reset ¶
func (x *DashCommit) Reset()
func (*DashCommit) String ¶
func (x *DashCommit) String() string
type DashRepoHead ¶
type DashRepoHead struct { // gerrit_project is Gerrit project name ("net", "go"). GerritProject string `protobuf:"bytes,1,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` // commit is the current top-level commit in that project. // (currently always on the master branch) Commit *DashCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*DashRepoHead) Descriptor ¶
func (*DashRepoHead) Descriptor() ([]byte, []int)
Deprecated: Use DashRepoHead.ProtoReflect.Descriptor instead.
func (*DashRepoHead) GetCommit ¶
func (x *DashRepoHead) GetCommit() *DashCommit
func (*DashRepoHead) GetGerritProject ¶
func (x *DashRepoHead) GetGerritProject() string
func (*DashRepoHead) ProtoMessage ¶
func (*DashRepoHead) ProtoMessage()
func (*DashRepoHead) ProtoReflect ¶
func (x *DashRepoHead) ProtoReflect() protoreflect.Message
func (*DashRepoHead) Reset ¶
func (x *DashRepoHead) Reset()
func (*DashRepoHead) String ¶
func (x *DashRepoHead) String() string
type DashboardRequest ¶
type DashboardRequest struct { // page is the zero-based page number. // TODO: deprecate, replace with time or commit continuation token. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // repo is which repo to show ("go", "golang.org/x/net", "" means go). Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // branch specifies which branch to show ("master", "release-branch.go1.13"). // Empty means "master". // The special branch value "mixed" means to blend together all branches by commit time. Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` // max_commits specifies the number of commits that are desired. // Zero means to use a default. MaxCommits int32 `protobuf:"varint,4,opt,name=max_commits,json=maxCommits,proto3" json:"max_commits,omitempty"` // contains filtered or unexported fields }
func (*DashboardRequest) Descriptor ¶
func (*DashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DashboardRequest.ProtoReflect.Descriptor instead.
func (*DashboardRequest) GetBranch ¶
func (x *DashboardRequest) GetBranch() string
func (*DashboardRequest) GetMaxCommits ¶
func (x *DashboardRequest) GetMaxCommits() int32
func (*DashboardRequest) GetPage ¶
func (x *DashboardRequest) GetPage() int32
func (*DashboardRequest) GetRepo ¶
func (x *DashboardRequest) GetRepo() string
func (*DashboardRequest) ProtoMessage ¶
func (*DashboardRequest) ProtoMessage()
func (*DashboardRequest) ProtoReflect ¶
func (x *DashboardRequest) ProtoReflect() protoreflect.Message
func (*DashboardRequest) Reset ¶
func (x *DashboardRequest) Reset()
func (*DashboardRequest) String ¶
func (x *DashboardRequest) String() string
type DashboardResponse ¶
type DashboardResponse struct { // commits are the commits to display, starting with the newest. Commits []*DashCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // commits_truncated is whether the returned commits were truncated. CommitsTruncated bool `protobuf:"varint,5,opt,name=commits_truncated,json=commitsTruncated,proto3" json:"commits_truncated,omitempty"` // repo_heads contains the current head commit (of their master // branch) for every repo on Go's Gerrit server. RepoHeads []*DashRepoHead `protobuf:"bytes,2,rep,name=repo_heads,json=repoHeads,proto3" json:"repo_heads,omitempty"` Branches []string `protobuf:"bytes,3,rep,name=branches,proto3" json:"branches,omitempty"` // releases is the same content is ListGoReleasesResponse, but with the addition of a "master" // release first, containing the info for the "master" branch, which is just commits[0] // if page 0. But if page != 0, the master head wouldn't be // available otherwise, so we denormalize it a bit here: // It's sorted from newest to oldest (master, release-branch.go1.latest, release-branch.go1.prior) // Only the branch_name and branch_commit fields are guaranteed to be populated. Releases []*GoRelease `protobuf:"bytes,4,rep,name=releases,proto3" json:"releases,omitempty"` // contains filtered or unexported fields }
func (*DashboardResponse) Descriptor ¶
func (*DashboardResponse) Descriptor() ([]byte, []int)
Deprecated: Use DashboardResponse.ProtoReflect.Descriptor instead.
func (*DashboardResponse) GetBranches ¶
func (x *DashboardResponse) GetBranches() []string
func (*DashboardResponse) GetCommits ¶
func (x *DashboardResponse) GetCommits() []*DashCommit
func (*DashboardResponse) GetCommitsTruncated ¶
func (x *DashboardResponse) GetCommitsTruncated() bool
func (*DashboardResponse) GetReleases ¶
func (x *DashboardResponse) GetReleases() []*GoRelease
func (*DashboardResponse) GetRepoHeads ¶
func (x *DashboardResponse) GetRepoHeads() []*DashRepoHead
func (*DashboardResponse) ProtoMessage ¶
func (*DashboardResponse) ProtoMessage()
func (*DashboardResponse) ProtoReflect ¶
func (x *DashboardResponse) ProtoReflect() protoreflect.Message
func (*DashboardResponse) Reset ¶
func (x *DashboardResponse) Reset()
func (*DashboardResponse) String ¶
func (x *DashboardResponse) String() string
type GerritTryWorkItem ¶
type GerritTryWorkItem struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // "go", "net", etc. (Gerrit Project) Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // "master", "release-branch.go1.8", etc. ChangeId string `protobuf:"bytes,3,opt,name=change_id,json=changeId,proto3" json:"change_id,omitempty"` // "I1a27695838409259d1586a0adfa9f92bccf7ceba" Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` // "ecf3dffc81dc21408fb02159af352651882a8383" // go_commit is set for subrepos and is the Go commit(s) to test against. // go_branch is a branch name of go_commit, for showing to users when // a try set fails. GoCommit []string `protobuf:"bytes,5,rep,name=go_commit,json=goCommit,proto3" json:"go_commit,omitempty"` // "4833e920c1d7f6b23458e6ff3c73951fcf754219" GoBranch []string `protobuf:"bytes,6,rep,name=go_branch,json=goBranch,proto3" json:"go_branch,omitempty"` // "master", "release-branch.go1.8", etc. // go_version specifies the major and minor version of the targeted Go toolchain. // For Go repo, it contains exactly one element. // For subrepos, it contains elements that correspond to go_commit. GoVersion []*MajorMinor `protobuf:"bytes,7,rep,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` // try_message is the list of TRY=xxxx messages associated with Run-TryBot votes. // It's sorted from oldest to newest. TryMessage []*TryVoteMessage `protobuf:"bytes,8,rep,name=try_message,json=tryMessage,proto3" json:"try_message,omitempty"` Version int32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` // which Gerrit revision number commit is AuthorEmail string `protobuf:"bytes,10,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` // "foo@bar.com" // contains filtered or unexported fields }
func (*GerritTryWorkItem) Descriptor ¶
func (*GerritTryWorkItem) Descriptor() ([]byte, []int)
Deprecated: Use GerritTryWorkItem.ProtoReflect.Descriptor instead.
func (*GerritTryWorkItem) GetAuthorEmail ¶
func (x *GerritTryWorkItem) GetAuthorEmail() string
func (*GerritTryWorkItem) GetBranch ¶
func (x *GerritTryWorkItem) GetBranch() string
func (*GerritTryWorkItem) GetChangeId ¶
func (x *GerritTryWorkItem) GetChangeId() string
func (*GerritTryWorkItem) GetCommit ¶
func (x *GerritTryWorkItem) GetCommit() string
func (*GerritTryWorkItem) GetGoBranch ¶
func (x *GerritTryWorkItem) GetGoBranch() []string
func (*GerritTryWorkItem) GetGoCommit ¶
func (x *GerritTryWorkItem) GetGoCommit() []string
func (*GerritTryWorkItem) GetGoVersion ¶
func (x *GerritTryWorkItem) GetGoVersion() []*MajorMinor
func (*GerritTryWorkItem) GetProject ¶
func (x *GerritTryWorkItem) GetProject() string
func (*GerritTryWorkItem) GetTryMessage ¶
func (x *GerritTryWorkItem) GetTryMessage() []*TryVoteMessage
func (*GerritTryWorkItem) GetVersion ¶
func (x *GerritTryWorkItem) GetVersion() int32
func (*GerritTryWorkItem) ProtoMessage ¶
func (*GerritTryWorkItem) ProtoMessage()
func (*GerritTryWorkItem) ProtoReflect ¶
func (x *GerritTryWorkItem) ProtoReflect() protoreflect.Message
func (*GerritTryWorkItem) Reset ¶
func (x *GerritTryWorkItem) Reset()
func (*GerritTryWorkItem) String ¶
func (x *GerritTryWorkItem) String() string
type GetRefRequest ¶
type GetRefRequest struct { Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // "HEAD", "refs/heads/master", etc. // Either gerrit_server & gerrit_project must be specified, or // github. Currently only Gerrit is supported. GerritServer string `protobuf:"bytes,2,opt,name=gerrit_server,json=gerritServer,proto3" json:"gerrit_server,omitempty"` // "go.googlesource.com" GerritProject string `protobuf:"bytes,3,opt,name=gerrit_project,json=gerritProject,proto3" json:"gerrit_project,omitempty"` // "go" // contains filtered or unexported fields }
func (*GetRefRequest) Descriptor ¶
func (*GetRefRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRefRequest.ProtoReflect.Descriptor instead.
func (*GetRefRequest) GetGerritProject ¶
func (x *GetRefRequest) GetGerritProject() string
func (*GetRefRequest) GetGerritServer ¶
func (x *GetRefRequest) GetGerritServer() string
func (*GetRefRequest) GetRef ¶
func (x *GetRefRequest) GetRef() string
func (*GetRefRequest) ProtoMessage ¶
func (*GetRefRequest) ProtoMessage()
func (*GetRefRequest) ProtoReflect ¶
func (x *GetRefRequest) ProtoReflect() protoreflect.Message
func (*GetRefRequest) Reset ¶
func (x *GetRefRequest) Reset()
func (*GetRefRequest) String ¶
func (x *GetRefRequest) String() string
type GetRefResponse ¶
type GetRefResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // git commit, or empty string on miss // contains filtered or unexported fields }
func (*GetRefResponse) Descriptor ¶
func (*GetRefResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRefResponse.ProtoReflect.Descriptor instead.
func (*GetRefResponse) GetValue ¶
func (x *GetRefResponse) GetValue() string
func (*GetRefResponse) ProtoMessage ¶
func (*GetRefResponse) ProtoMessage()
func (*GetRefResponse) ProtoReflect ¶
func (x *GetRefResponse) ProtoReflect() protoreflect.Message
func (*GetRefResponse) Reset ¶
func (x *GetRefResponse) Reset()
func (*GetRefResponse) String ¶
func (x *GetRefResponse) String() string
type GoFindTryWorkRequest ¶
type GoFindTryWorkRequest struct { // for_staging says whether this is a trybot request for the staging // cluster. When using staging, the comment "Run-StagingTryBot" // is used instead of label:Run-TryBot=1. ForStaging bool `protobuf:"varint,1,opt,name=for_staging,json=forStaging,proto3" json:"for_staging,omitempty"` // contains filtered or unexported fields }
func (*GoFindTryWorkRequest) Descriptor ¶
func (*GoFindTryWorkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GoFindTryWorkRequest.ProtoReflect.Descriptor instead.
func (*GoFindTryWorkRequest) GetForStaging ¶
func (x *GoFindTryWorkRequest) GetForStaging() bool
func (*GoFindTryWorkRequest) ProtoMessage ¶
func (*GoFindTryWorkRequest) ProtoMessage()
func (*GoFindTryWorkRequest) ProtoReflect ¶
func (x *GoFindTryWorkRequest) ProtoReflect() protoreflect.Message
func (*GoFindTryWorkRequest) Reset ¶
func (x *GoFindTryWorkRequest) Reset()
func (*GoFindTryWorkRequest) String ¶
func (x *GoFindTryWorkRequest) String() string
type GoFindTryWorkResponse ¶
type GoFindTryWorkResponse struct { // waiting are the Gerrit CLs wanting a trybot run and not yet with results. // These might already be running. Waiting []*GerritTryWorkItem `protobuf:"bytes,1,rep,name=waiting,proto3" json:"waiting,omitempty"` // contains filtered or unexported fields }
func (*GoFindTryWorkResponse) Descriptor ¶
func (*GoFindTryWorkResponse) Descriptor() ([]byte, []int)
Deprecated: Use GoFindTryWorkResponse.ProtoReflect.Descriptor instead.
func (*GoFindTryWorkResponse) GetWaiting ¶
func (x *GoFindTryWorkResponse) GetWaiting() []*GerritTryWorkItem
func (*GoFindTryWorkResponse) ProtoMessage ¶
func (*GoFindTryWorkResponse) ProtoMessage()
func (*GoFindTryWorkResponse) ProtoReflect ¶
func (x *GoFindTryWorkResponse) ProtoReflect() protoreflect.Message
func (*GoFindTryWorkResponse) Reset ¶
func (x *GoFindTryWorkResponse) Reset()
func (*GoFindTryWorkResponse) String ¶
func (x *GoFindTryWorkResponse) String() string
type GoRelease ¶
type GoRelease struct { Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` // "go1.11.1", etc. TagCommit string `protobuf:"bytes,5,opt,name=tag_commit,json=tagCommit,proto3" json:"tag_commit,omitempty"` // "26957168c4c0cdcc7ca4f0b19d0eb19474d224ac" // Release branch information for this major-minor version pair. BranchName string `protobuf:"bytes,6,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // "release-branch.go1.11", etc. BranchCommit string `protobuf:"bytes,7,opt,name=branch_commit,json=branchCommit,proto3" json:"branch_commit,omitempty"` // most recent commit on the release branch, e.g., "edb6c16b9b62ed8586d2e3e422911d646095b7e5" // contains filtered or unexported fields }
func (*GoRelease) Descriptor ¶
Deprecated: Use GoRelease.ProtoReflect.Descriptor instead.
func (*GoRelease) GetBranchCommit ¶
func (*GoRelease) GetBranchName ¶
func (*GoRelease) GetMajor ¶
func (*GoRelease) GetMinor ¶
func (*GoRelease) GetPatch ¶
func (*GoRelease) GetTagCommit ¶
func (*GoRelease) GetTagName ¶
func (*GoRelease) ProtoMessage ¶
func (*GoRelease) ProtoMessage()
func (*GoRelease) ProtoReflect ¶
func (x *GoRelease) ProtoReflect() protoreflect.Message
func (*GoRelease) Reset ¶
func (x *GoRelease) Reset()
func (*GoRelease) String ¶
type HasAncestorRequest ¶
type HasAncestorRequest struct { Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // full git commit hash (subject of query) Ancestor string `protobuf:"bytes,2,opt,name=ancestor,proto3" json:"ancestor,omitempty"` // full git commit hash of sought ancestor // contains filtered or unexported fields }
func (*HasAncestorRequest) Descriptor ¶
func (*HasAncestorRequest) Descriptor() ([]byte, []int)
Deprecated: Use HasAncestorRequest.ProtoReflect.Descriptor instead.
func (*HasAncestorRequest) GetAncestor ¶
func (x *HasAncestorRequest) GetAncestor() string
func (*HasAncestorRequest) GetCommit ¶
func (x *HasAncestorRequest) GetCommit() string
func (*HasAncestorRequest) ProtoMessage ¶
func (*HasAncestorRequest) ProtoMessage()
func (*HasAncestorRequest) ProtoReflect ¶
func (x *HasAncestorRequest) ProtoReflect() protoreflect.Message
func (*HasAncestorRequest) Reset ¶
func (x *HasAncestorRequest) Reset()
func (*HasAncestorRequest) String ¶
func (x *HasAncestorRequest) String() string
type HasAncestorResponse ¶
type HasAncestorResponse struct { // has_ancestor is whether ancestor appears in commit's history. HasAncestor bool `protobuf:"varint,1,opt,name=has_ancestor,json=hasAncestor,proto3" json:"has_ancestor,omitempty"` // unknown_commit is true if the provided commit was unknown. UnknownCommit bool `protobuf:"varint,2,opt,name=unknown_commit,json=unknownCommit,proto3" json:"unknown_commit,omitempty"` // contains filtered or unexported fields }
func (*HasAncestorResponse) Descriptor ¶
func (*HasAncestorResponse) Descriptor() ([]byte, []int)
Deprecated: Use HasAncestorResponse.ProtoReflect.Descriptor instead.
func (*HasAncestorResponse) GetHasAncestor ¶
func (x *HasAncestorResponse) GetHasAncestor() bool
func (*HasAncestorResponse) GetUnknownCommit ¶
func (x *HasAncestorResponse) GetUnknownCommit() bool
func (*HasAncestorResponse) ProtoMessage ¶
func (*HasAncestorResponse) ProtoMessage()
func (*HasAncestorResponse) ProtoReflect ¶
func (x *HasAncestorResponse) ProtoReflect() protoreflect.Message
func (*HasAncestorResponse) Reset ¶
func (x *HasAncestorResponse) Reset()
func (*HasAncestorResponse) String ¶
func (x *HasAncestorResponse) String() string
type ListGoReleasesRequest ¶
type ListGoReleasesRequest struct {
// contains filtered or unexported fields
}
func (*ListGoReleasesRequest) Descriptor ¶
func (*ListGoReleasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGoReleasesRequest.ProtoReflect.Descriptor instead.
func (*ListGoReleasesRequest) ProtoMessage ¶
func (*ListGoReleasesRequest) ProtoMessage()
func (*ListGoReleasesRequest) ProtoReflect ¶
func (x *ListGoReleasesRequest) ProtoReflect() protoreflect.Message
func (*ListGoReleasesRequest) Reset ¶
func (x *ListGoReleasesRequest) Reset()
func (*ListGoReleasesRequest) String ¶
func (x *ListGoReleasesRequest) String() string
type ListGoReleasesResponse ¶
type ListGoReleasesResponse struct { Releases []*GoRelease `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"` // contains filtered or unexported fields }
func (*ListGoReleasesResponse) Descriptor ¶
func (*ListGoReleasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGoReleasesResponse.ProtoReflect.Descriptor instead.
func (*ListGoReleasesResponse) GetReleases ¶
func (x *ListGoReleasesResponse) GetReleases() []*GoRelease
func (*ListGoReleasesResponse) ProtoMessage ¶
func (*ListGoReleasesResponse) ProtoMessage()
func (*ListGoReleasesResponse) ProtoReflect ¶
func (x *ListGoReleasesResponse) ProtoReflect() protoreflect.Message
func (*ListGoReleasesResponse) Reset ¶
func (x *ListGoReleasesResponse) Reset()
func (*ListGoReleasesResponse) String ¶
func (x *ListGoReleasesResponse) String() string
type MaintnerServiceClient ¶
type MaintnerServiceClient interface { // HasAncestor reports whether one commit contains another commit // in its git history. HasAncestor(ctx context.Context, in *HasAncestorRequest, opts ...grpc.CallOption) (*HasAncestorResponse, error) // GetRef returns information about a git ref. GetRef(ctx context.Context, in *GetRefRequest, opts ...grpc.CallOption) (*GetRefResponse, error) // GoFindTryWork finds trybot work for the coordinator to build & test. GoFindTryWork(ctx context.Context, in *GoFindTryWorkRequest, opts ...grpc.CallOption) (*GoFindTryWorkResponse, error) // ListGoReleases lists Go releases sorted by version with latest first. // // A release is considered to exist for each git tag named "goX", "goX.Y", or // "goX.Y.Z", as long as it has a corresponding "release-branch.goX" or // "release-branch.goX.Y" release branch. // // ListGoReleases returns only the latest patch versions of releases which // are considered supported per policy. For example, Go 1.12.6 and 1.11.11. // The response is guaranteed to have two versions, otherwise an error // is returned. ListGoReleases(ctx context.Context, in *ListGoReleasesRequest, opts ...grpc.CallOption) (*ListGoReleasesResponse, error) // GetDashboard returns the information for the build.golang.org // dashboard. It does not (at least currently) // contain any pass/fail information; it only contains information on the branches // and commits themselves. GetDashboard(ctx context.Context, in *DashboardRequest, opts ...grpc.CallOption) (*DashboardResponse, error) }
MaintnerServiceClient is the client API for MaintnerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMaintnerServiceClient ¶
func NewMaintnerServiceClient(cc grpc.ClientConnInterface) MaintnerServiceClient
type MaintnerServiceServer ¶
type MaintnerServiceServer interface { // HasAncestor reports whether one commit contains another commit // in its git history. HasAncestor(context.Context, *HasAncestorRequest) (*HasAncestorResponse, error) // GetRef returns information about a git ref. GetRef(context.Context, *GetRefRequest) (*GetRefResponse, error) // GoFindTryWork finds trybot work for the coordinator to build & test. GoFindTryWork(context.Context, *GoFindTryWorkRequest) (*GoFindTryWorkResponse, error) // ListGoReleases lists Go releases sorted by version with latest first. // // A release is considered to exist for each git tag named "goX", "goX.Y", or // "goX.Y.Z", as long as it has a corresponding "release-branch.goX" or // "release-branch.goX.Y" release branch. // // ListGoReleases returns only the latest patch versions of releases which // are considered supported per policy. For example, Go 1.12.6 and 1.11.11. // The response is guaranteed to have two versions, otherwise an error // is returned. ListGoReleases(context.Context, *ListGoReleasesRequest) (*ListGoReleasesResponse, error) // GetDashboard returns the information for the build.golang.org // dashboard. It does not (at least currently) // contain any pass/fail information; it only contains information on the branches // and commits themselves. GetDashboard(context.Context, *DashboardRequest) (*DashboardResponse, error) // contains filtered or unexported methods }
MaintnerServiceServer is the server API for MaintnerService service. All implementations must embed UnimplementedMaintnerServiceServer for forward compatibility.
type MajorMinor ¶
type MajorMinor struct { Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` // contains filtered or unexported fields }
func (*MajorMinor) Descriptor ¶
func (*MajorMinor) Descriptor() ([]byte, []int)
Deprecated: Use MajorMinor.ProtoReflect.Descriptor instead.
func (*MajorMinor) GetMajor ¶
func (x *MajorMinor) GetMajor() int32
func (*MajorMinor) GetMinor ¶
func (x *MajorMinor) GetMinor() int32
func (*MajorMinor) ProtoMessage ¶
func (*MajorMinor) ProtoMessage()
func (*MajorMinor) ProtoReflect ¶
func (x *MajorMinor) ProtoReflect() protoreflect.Message
func (*MajorMinor) Reset ¶
func (x *MajorMinor) Reset()
func (*MajorMinor) String ¶
func (x *MajorMinor) String() string
type TryVoteMessage ¶
type TryVoteMessage struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // just the part after "TRY=" until end of line, without \n AuthorId int64 `protobuf:"varint,2,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` // Gerrit-internal ID Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // revision number comment was for // contains filtered or unexported fields }
func (*TryVoteMessage) Descriptor ¶
func (*TryVoteMessage) Descriptor() ([]byte, []int)
Deprecated: Use TryVoteMessage.ProtoReflect.Descriptor instead.
func (*TryVoteMessage) GetAuthorId ¶
func (x *TryVoteMessage) GetAuthorId() int64
func (*TryVoteMessage) GetMessage ¶
func (x *TryVoteMessage) GetMessage() string
func (*TryVoteMessage) GetVersion ¶
func (x *TryVoteMessage) GetVersion() int32
func (*TryVoteMessage) ProtoMessage ¶
func (*TryVoteMessage) ProtoMessage()
func (*TryVoteMessage) ProtoReflect ¶
func (x *TryVoteMessage) ProtoReflect() protoreflect.Message
func (*TryVoteMessage) Reset ¶
func (x *TryVoteMessage) Reset()
func (*TryVoteMessage) String ¶
func (x *TryVoteMessage) String() string
type UnimplementedMaintnerServiceServer ¶
type UnimplementedMaintnerServiceServer struct{}
UnimplementedMaintnerServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMaintnerServiceServer) GetDashboard ¶
func (UnimplementedMaintnerServiceServer) GetDashboard(context.Context, *DashboardRequest) (*DashboardResponse, error)
func (UnimplementedMaintnerServiceServer) GetRef ¶
func (UnimplementedMaintnerServiceServer) GetRef(context.Context, *GetRefRequest) (*GetRefResponse, error)
func (UnimplementedMaintnerServiceServer) GoFindTryWork ¶
func (UnimplementedMaintnerServiceServer) GoFindTryWork(context.Context, *GoFindTryWorkRequest) (*GoFindTryWorkResponse, error)
func (UnimplementedMaintnerServiceServer) HasAncestor ¶
func (UnimplementedMaintnerServiceServer) HasAncestor(context.Context, *HasAncestorRequest) (*HasAncestorResponse, error)
func (UnimplementedMaintnerServiceServer) ListGoReleases ¶
func (UnimplementedMaintnerServiceServer) ListGoReleases(context.Context, *ListGoReleasesRequest) (*ListGoReleasesResponse, error)
type UnsafeMaintnerServiceServer ¶
type UnsafeMaintnerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMaintnerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MaintnerServiceServer will result in compilation errors.
Source Files ¶
api.pb.go api_grpc.pb.go
- Version
- v0.0.0-20250421191922-3619c213cff3 (latest)
- Published
- Apr 21, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 3 months ago –
Tools for package owners.