apipb

package
v0.0.0-...-80a9e2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: BSD-3-Clause Imports: 8 Imported by: 10

README

Run "go generate" to rebuild after edits.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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: "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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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

func (*GoRelease) Descriptor() ([]byte, []int)

Deprecated: Use GoRelease.ProtoReflect.Descriptor instead.

func (*GoRelease) GetBranchCommit

func (x *GoRelease) GetBranchCommit() string

func (*GoRelease) GetBranchName

func (x *GoRelease) GetBranchName() string

func (*GoRelease) GetMajor

func (x *GoRelease) GetMajor() int32

func (*GoRelease) GetMinor

func (x *GoRelease) GetMinor() int32

func (*GoRelease) GetPatch

func (x *GoRelease) GetPatch() int32

func (*GoRelease) GetTagCommit

func (x *GoRelease) GetTagCommit() string

func (*GoRelease) GetTagName

func (x *GoRelease) GetTagName() string

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

func (x *GoRelease) String() 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 deprecated

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 deprecated

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 deprecated

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 deprecated

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.

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 deprecated

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 deprecated

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.

func (UnimplementedMaintnerServiceServer) GetDashboard

func (UnimplementedMaintnerServiceServer) GetRef

func (UnimplementedMaintnerServiceServer) GoFindTryWork

func (UnimplementedMaintnerServiceServer) HasAncestor

func (UnimplementedMaintnerServiceServer) ListGoReleases

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL