build: golang.org/x/build/maintner/maintnerd/apipb Index | Files

package apipb

import "golang.org/x/build/maintner/maintnerd/apipb"

Package apipb is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

HasAncestorRequest
HasAncestorResponse
GetRefRequest
GetRefResponse
GoFindTryWorkRequest
GoFindTryWorkResponse
GerritTryWorkItem

Index

Package Files

api.pb.go apipb.go

func RegisterMaintnerServiceServer Uses

func RegisterMaintnerServiceServer(s *grpc.Server, srv MaintnerServiceServer)

type GerritTryWorkItem Uses

type GerritTryWorkItem struct {
    Project  string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
    Branch   string `protobuf:"bytes,2,opt,name=branch" json:"branch,omitempty"`
    ChangeId string `protobuf:"bytes,3,opt,name=change_id,json=changeId" json:"change_id,omitempty"`
    Commit   string `protobuf:"bytes,4,opt,name=commit" json:"commit,omitempty"`
    // 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" json:"go_commit,omitempty"`
    GoBranch []string `protobuf:"bytes,6,rep,name=go_branch,json=goBranch" json:"go_branch,omitempty"`
}

func (*GerritTryWorkItem) Descriptor Uses

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

func (*GerritTryWorkItem) GetBranch Uses

func (m *GerritTryWorkItem) GetBranch() string

func (*GerritTryWorkItem) GetChangeId Uses

func (m *GerritTryWorkItem) GetChangeId() string

func (*GerritTryWorkItem) GetCommit Uses

func (m *GerritTryWorkItem) GetCommit() string

func (*GerritTryWorkItem) GetGoBranch Uses

func (m *GerritTryWorkItem) GetGoBranch() []string

func (*GerritTryWorkItem) GetGoCommit Uses

func (m *GerritTryWorkItem) GetGoCommit() []string

func (*GerritTryWorkItem) GetProject Uses

func (m *GerritTryWorkItem) GetProject() string

func (*GerritTryWorkItem) ProtoMessage Uses

func (*GerritTryWorkItem) ProtoMessage()

func (*GerritTryWorkItem) Reset Uses

func (m *GerritTryWorkItem) Reset()

func (*GerritTryWorkItem) String Uses

func (m *GerritTryWorkItem) String() string

type GetRefRequest Uses

type GetRefRequest struct {
    Ref string `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
    // 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" json:"gerrit_server,omitempty"`
    GerritProject string `protobuf:"bytes,3,opt,name=gerrit_project,json=gerritProject" json:"gerrit_project,omitempty"`
}

func (*GetRefRequest) Descriptor Uses

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

func (*GetRefRequest) GetGerritProject Uses

func (m *GetRefRequest) GetGerritProject() string

func (*GetRefRequest) GetGerritServer Uses

func (m *GetRefRequest) GetGerritServer() string

func (*GetRefRequest) GetRef Uses

func (m *GetRefRequest) GetRef() string

func (*GetRefRequest) ProtoMessage Uses

func (*GetRefRequest) ProtoMessage()

func (*GetRefRequest) Reset Uses

func (m *GetRefRequest) Reset()

func (*GetRefRequest) String Uses

func (m *GetRefRequest) String() string

type GetRefResponse Uses

type GetRefResponse struct {
    Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}

func (*GetRefResponse) Descriptor Uses

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

func (*GetRefResponse) GetValue Uses

func (m *GetRefResponse) GetValue() string

func (*GetRefResponse) ProtoMessage Uses

func (*GetRefResponse) ProtoMessage()

func (*GetRefResponse) Reset Uses

func (m *GetRefResponse) Reset()

func (*GetRefResponse) String Uses

func (m *GetRefResponse) String() string

type GoFindTryWorkRequest Uses

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" json:"for_staging,omitempty"`
}

func (*GoFindTryWorkRequest) Descriptor Uses

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

func (*GoFindTryWorkRequest) GetForStaging Uses

func (m *GoFindTryWorkRequest) GetForStaging() bool

func (*GoFindTryWorkRequest) ProtoMessage Uses

func (*GoFindTryWorkRequest) ProtoMessage()

func (*GoFindTryWorkRequest) Reset Uses

func (m *GoFindTryWorkRequest) Reset()

func (*GoFindTryWorkRequest) String Uses

func (m *GoFindTryWorkRequest) String() string

type GoFindTryWorkResponse Uses

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" json:"waiting,omitempty"`
}

func (*GoFindTryWorkResponse) Descriptor Uses

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

func (*GoFindTryWorkResponse) GetWaiting Uses

func (m *GoFindTryWorkResponse) GetWaiting() []*GerritTryWorkItem

func (*GoFindTryWorkResponse) ProtoMessage Uses

func (*GoFindTryWorkResponse) ProtoMessage()

func (*GoFindTryWorkResponse) Reset Uses

func (m *GoFindTryWorkResponse) Reset()

func (*GoFindTryWorkResponse) String Uses

func (m *GoFindTryWorkResponse) String() string

type HasAncestorRequest Uses

type HasAncestorRequest struct {
    Commit   string `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
    Ancestor string `protobuf:"bytes,2,opt,name=ancestor" json:"ancestor,omitempty"`
}

func (*HasAncestorRequest) Descriptor Uses

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

func (*HasAncestorRequest) GetAncestor Uses

func (m *HasAncestorRequest) GetAncestor() string

func (*HasAncestorRequest) GetCommit Uses

func (m *HasAncestorRequest) GetCommit() string

func (*HasAncestorRequest) ProtoMessage Uses

func (*HasAncestorRequest) ProtoMessage()

func (*HasAncestorRequest) Reset Uses

func (m *HasAncestorRequest) Reset()

func (*HasAncestorRequest) String Uses

func (m *HasAncestorRequest) String() string

type HasAncestorResponse Uses

type HasAncestorResponse struct {
    // has_ancestor is whether ancestor appears in commit's history.
    HasAncestor bool `protobuf:"varint,1,opt,name=has_ancestor,json=hasAncestor" 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" json:"unknown_commit,omitempty"`
}

func (*HasAncestorResponse) Descriptor Uses

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

func (*HasAncestorResponse) GetHasAncestor Uses

func (m *HasAncestorResponse) GetHasAncestor() bool

func (*HasAncestorResponse) GetUnknownCommit Uses

func (m *HasAncestorResponse) GetUnknownCommit() bool

func (*HasAncestorResponse) ProtoMessage Uses

func (*HasAncestorResponse) ProtoMessage()

func (*HasAncestorResponse) Reset Uses

func (m *HasAncestorResponse) Reset()

func (*HasAncestorResponse) String Uses

func (m *HasAncestorResponse) String() string

type MaintnerServiceClient Uses

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)
}

func NewMaintnerServiceClient Uses

func NewMaintnerServiceClient(cc *grpc.ClientConn) MaintnerServiceClient

type MaintnerServiceServer Uses

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)
}

Package apipb imports 5 packages (graph) and is imported by 5 packages. Updated 2017-08-16. Refresh now. Tools for package owners.