proto

package
v0.0.0-...-9b60f1d Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_commit_career_proto protoreflect.FileDescriptor

Functions

func RegisterCommitCareerServer

func RegisterCommitCareerServer(s *grpc.Server, srv CommitCareerServer)

Types

type CherryPickRequest

type CherryPickRequest struct {
	Base string   `protobuf:"bytes,1,opt,name=Base,json=base,proto3" json:"Base,omitempty"`
	Sha  []string `protobuf:"bytes,2,rep,name=Sha,json=sha,proto3" json:"Sha,omitempty"`
	// contains filtered or unexported fields
}

func (*CherryPickRequest) Descriptor deprecated

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

Deprecated: Use CherryPickRequest.ProtoReflect.Descriptor instead.

func (*CherryPickRequest) GetBase

func (x *CherryPickRequest) GetBase() string

func (*CherryPickRequest) GetSha

func (x *CherryPickRequest) GetSha() []string

func (*CherryPickRequest) ProtoMessage

func (*CherryPickRequest) ProtoMessage()

func (*CherryPickRequest) ProtoReflect

func (x *CherryPickRequest) ProtoReflect() protoreflect.Message

func (*CherryPickRequest) Reset

func (x *CherryPickRequest) Reset()

func (*CherryPickRequest) String

func (x *CherryPickRequest) String() string

type CherryPickResponse

type CherryPickResponse struct {
	Status  int32  `protobuf:"varint,1,opt,name=Status,json=status,proto3" json:"Status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=Message,json=message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

func (*CherryPickResponse) Descriptor deprecated

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

Deprecated: Use CherryPickResponse.ProtoReflect.Descriptor instead.

func (*CherryPickResponse) GetMessage

func (x *CherryPickResponse) GetMessage() string

func (*CherryPickResponse) GetStatus

func (x *CherryPickResponse) GetStatus() int32

func (*CherryPickResponse) ProtoMessage

func (*CherryPickResponse) ProtoMessage()

func (*CherryPickResponse) ProtoReflect

func (x *CherryPickResponse) ProtoReflect() protoreflect.Message

func (*CherryPickResponse) Reset

func (x *CherryPickResponse) Reset()

func (*CherryPickResponse) String

func (x *CherryPickResponse) String() string

type CommitCareerClient

type CommitCareerClient interface {
	FetchBranches(ctx context.Context, in *FetchBranchRequest, opts ...grpc.CallOption) (*FetchBranchResponse, error)
	FetchCommits(ctx context.Context, in *FetchCommitsRequest, opts ...grpc.CallOption) (*FetchCommitsResponse, error)
	CherryPick(ctx context.Context, in *CherryPickRequest, opts ...grpc.CallOption) (*CherryPickResponse, error)
}

CommitCareerClient is the client API for CommitCareer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CommitCareerServer

type CommitCareerServer interface {
	FetchBranches(context.Context, *FetchBranchRequest) (*FetchBranchResponse, error)
	FetchCommits(context.Context, *FetchCommitsRequest) (*FetchCommitsResponse, error)
	CherryPick(context.Context, *CherryPickRequest) (*CherryPickResponse, error)
}

CommitCareerServer is the server API for CommitCareer service.

type FetchBranchRequest

type FetchBranchRequest struct {
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchBranchRequest) Descriptor deprecated

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

Deprecated: Use FetchBranchRequest.ProtoReflect.Descriptor instead.

func (*FetchBranchRequest) GetLimit

func (x *FetchBranchRequest) GetLimit() int32

func (*FetchBranchRequest) ProtoMessage

func (*FetchBranchRequest) ProtoMessage()

func (*FetchBranchRequest) ProtoReflect

func (x *FetchBranchRequest) ProtoReflect() protoreflect.Message

func (*FetchBranchRequest) Reset

func (x *FetchBranchRequest) Reset()

func (*FetchBranchRequest) String

func (x *FetchBranchRequest) String() string

type FetchBranchResponse

type FetchBranchResponse struct {
	Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchBranchResponse) Descriptor deprecated

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

Deprecated: Use FetchBranchResponse.ProtoReflect.Descriptor instead.

func (*FetchBranchResponse) GetName

func (x *FetchBranchResponse) GetName() []string

func (*FetchBranchResponse) ProtoMessage

func (*FetchBranchResponse) ProtoMessage()

func (*FetchBranchResponse) ProtoReflect

func (x *FetchBranchResponse) ProtoReflect() protoreflect.Message

func (*FetchBranchResponse) Reset

func (x *FetchBranchResponse) Reset()

func (*FetchBranchResponse) String

func (x *FetchBranchResponse) String() string

type FetchCommitsRequest

type FetchCommitsRequest struct {
	Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCommitsRequest) Descriptor deprecated

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

Deprecated: Use FetchCommitsRequest.ProtoReflect.Descriptor instead.

func (*FetchCommitsRequest) GetBranch

func (x *FetchCommitsRequest) GetBranch() string

func (*FetchCommitsRequest) ProtoMessage

func (*FetchCommitsRequest) ProtoMessage()

func (*FetchCommitsRequest) ProtoReflect

func (x *FetchCommitsRequest) ProtoReflect() protoreflect.Message

func (*FetchCommitsRequest) Reset

func (x *FetchCommitsRequest) Reset()

func (*FetchCommitsRequest) String

func (x *FetchCommitsRequest) String() string

type FetchCommitsResponse

type FetchCommitsResponse struct {
	Commits []*FetchCommitsResponse_Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCommitsResponse) Descriptor deprecated

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

Deprecated: Use FetchCommitsResponse.ProtoReflect.Descriptor instead.

func (*FetchCommitsResponse) GetCommits

func (*FetchCommitsResponse) ProtoMessage

func (*FetchCommitsResponse) ProtoMessage()

func (*FetchCommitsResponse) ProtoReflect

func (x *FetchCommitsResponse) ProtoReflect() protoreflect.Message

func (*FetchCommitsResponse) Reset

func (x *FetchCommitsResponse) Reset()

func (*FetchCommitsResponse) String

func (x *FetchCommitsResponse) String() string

type FetchCommitsResponse_Commit

type FetchCommitsResponse_Commit struct {
	Sha   string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCommitsResponse_Commit) Descriptor deprecated

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

Deprecated: Use FetchCommitsResponse_Commit.ProtoReflect.Descriptor instead.

func (*FetchCommitsResponse_Commit) GetSha

func (x *FetchCommitsResponse_Commit) GetSha() string

func (*FetchCommitsResponse_Commit) GetTitle

func (x *FetchCommitsResponse_Commit) GetTitle() string

func (*FetchCommitsResponse_Commit) ProtoMessage

func (*FetchCommitsResponse_Commit) ProtoMessage()

func (*FetchCommitsResponse_Commit) ProtoReflect

func (*FetchCommitsResponse_Commit) Reset

func (x *FetchCommitsResponse_Commit) Reset()

func (*FetchCommitsResponse_Commit) String

func (x *FetchCommitsResponse_Commit) String() string

type UnimplementedCommitCareerServer

type UnimplementedCommitCareerServer struct {
}

UnimplementedCommitCareerServer can be embedded to have forward compatible implementations.

func (*UnimplementedCommitCareerServer) CherryPick

func (*UnimplementedCommitCareerServer) FetchBranches

func (*UnimplementedCommitCareerServer) FetchCommits

Jump to

Keyboard shortcuts

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