apipb

package
v0.0.0-...-529bf19 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package apipb is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

HasAncestorRequest
HasAncestorResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMaintnerServiceServer

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

Types

type HasAncestorRequest

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

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

func (*HasAncestorRequest) GetAncestor

func (m *HasAncestorRequest) GetAncestor() string

func (*HasAncestorRequest) GetCommit

func (m *HasAncestorRequest) GetCommit() string

func (*HasAncestorRequest) ProtoMessage

func (*HasAncestorRequest) ProtoMessage()

func (*HasAncestorRequest) Reset

func (m *HasAncestorRequest) Reset()

func (*HasAncestorRequest) String

func (m *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" 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

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

func (*HasAncestorResponse) GetHasAncestor

func (m *HasAncestorResponse) GetHasAncestor() bool

func (*HasAncestorResponse) GetUnknownCommit

func (m *HasAncestorResponse) GetUnknownCommit() bool

func (*HasAncestorResponse) ProtoMessage

func (*HasAncestorResponse) ProtoMessage()

func (*HasAncestorResponse) Reset

func (m *HasAncestorResponse) Reset()

func (*HasAncestorResponse) String

func (m *HasAncestorResponse) 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)
}

func NewMaintnerServiceClient

func NewMaintnerServiceClient(cc *grpc.ClientConn) MaintnerServiceClient

type MaintnerServiceServer

type MaintnerServiceServer interface {
	// HasAncestor reports whether one commit contains another commit
	// in its git history.
	HasAncestor(context.Context, *HasAncestorRequest) (*HasAncestorResponse, error)
}

Jump to

Keyboard shortcuts

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