Documentation ¶
Overview ¶
Package monohub is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterGitHooksServer(s *grpc.Server, srv GitHooksServer)
- func RegisterMonoHubHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMonoHubHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MonoHubClient) error
- func RegisterMonoHubHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMonoHubServer(s *grpc.Server, srv MonoHubServer)
- type Author
- func (*Author) Descriptor() ([]byte, []int)
- func (m *Author) GetDate() *timestamp.Timestamp
- func (m *Author) GetEmail() string
- func (m *Author) GetId() int64
- func (m *Author) GetLogin() string
- func (m *Author) GetName() string
- func (*Author) ProtoMessage()
- func (m *Author) Reset()
- func (m *Author) String() string
- func (m *Author) XXX_DiscardUnknown()
- func (m *Author) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Author) XXX_Merge(src proto.Message)
- func (m *Author) XXX_Size() int
- func (m *Author) XXX_Unmarshal(b []byte) error
- type BlobRequest
- func (*BlobRequest) Descriptor() ([]byte, []int)
- func (m *BlobRequest) GetSha() string
- func (*BlobRequest) ProtoMessage()
- func (m *BlobRequest) Reset()
- func (m *BlobRequest) String() string
- func (m *BlobRequest) XXX_DiscardUnknown()
- func (m *BlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlobRequest) XXX_Merge(src proto.Message)
- func (m *BlobRequest) XXX_Size() int
- func (m *BlobRequest) XXX_Unmarshal(b []byte) error
- type BlobResponse
- func (*BlobResponse) Descriptor() ([]byte, []int)
- func (m *BlobResponse) GetContent() string
- func (m *BlobResponse) GetEncoding() string
- func (m *BlobResponse) GetSha() string
- func (m *BlobResponse) GetSize() int64
- func (m *BlobResponse) GetUrl() string
- func (*BlobResponse) ProtoMessage()
- func (m *BlobResponse) Reset()
- func (m *BlobResponse) String() string
- func (m *BlobResponse) XXX_DiscardUnknown()
- func (m *BlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlobResponse) XXX_Merge(src proto.Message)
- func (m *BlobResponse) XXX_Size() int
- func (m *BlobResponse) XXX_Unmarshal(b []byte) error
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)
- func (m *Commit) GetAuthor() *Author
- func (m *Commit) GetCommitter() *Author
- func (m *Commit) GetMessage() string
- func (m *Commit) GetTree() *Tree
- func (*Commit) ProtoMessage()
- func (m *Commit) Reset()
- func (m *Commit) String() string
- func (m *Commit) XXX_DiscardUnknown()
- func (m *Commit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Commit) XXX_Merge(src proto.Message)
- func (m *Commit) XXX_Size() int
- func (m *Commit) XXX_Unmarshal(b []byte) error
- type CommitRequest
- func (*CommitRequest) Descriptor() ([]byte, []int)
- func (m *CommitRequest) GetSha() string
- func (*CommitRequest) ProtoMessage()
- func (m *CommitRequest) Reset()
- func (m *CommitRequest) String() string
- func (m *CommitRequest) XXX_DiscardUnknown()
- func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommitRequest) XXX_Merge(src proto.Message)
- func (m *CommitRequest) XXX_Size() int
- func (m *CommitRequest) XXX_Unmarshal(b []byte) error
- type CommitResponse
- func (*CommitResponse) Descriptor() ([]byte, []int)
- func (m *CommitResponse) GetAuthor() *Author
- func (m *CommitResponse) GetCommit() *Commit
- func (m *CommitResponse) GetFiles() []*File
- func (m *CommitResponse) GetParents() []*Parent
- func (m *CommitResponse) GetSha() string
- func (m *CommitResponse) GetStats() *Stats
- func (*CommitResponse) ProtoMessage()
- func (m *CommitResponse) Reset()
- func (m *CommitResponse) String() string
- func (m *CommitResponse) XXX_DiscardUnknown()
- func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommitResponse) XXX_Merge(src proto.Message)
- func (m *CommitResponse) XXX_Size() int
- func (m *CommitResponse) XXX_Unmarshal(b []byte) error
- type File
- func (*File) Descriptor() ([]byte, []int)
- func (m *File) GetAdditions() int64
- func (m *File) GetBlobUrl() string
- func (m *File) GetChanges() int64
- func (m *File) GetDeletions() int64
- func (m *File) GetFilename() string
- func (m *File) GetPatch() string
- func (m *File) GetStatus() string
- func (*File) ProtoMessage()
- func (m *File) Reset()
- func (m *File) String() string
- func (m *File) XXX_DiscardUnknown()
- func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *File) XXX_Merge(src proto.Message)
- func (m *File) XXX_Size() int
- func (m *File) XXX_Unmarshal(b []byte) error
- type GitHooksClient
- type GitHooksServer
- type HookResult
- func (*HookResult) Descriptor() ([]byte, []int)
- func (m *HookResult) GetMessage() string
- func (m *HookResult) GetStatus() HookStatus
- func (*HookResult) ProtoMessage()
- func (m *HookResult) Reset()
- func (m *HookResult) String() string
- func (m *HookResult) XXX_DiscardUnknown()
- func (m *HookResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HookResult) XXX_Merge(src proto.Message)
- func (m *HookResult) XXX_Size() int
- func (m *HookResult) XXX_Unmarshal(b []byte) error
- type HookStatus
- type MonoHubClient
- type MonoHubServer
- type Parent
- func (*Parent) Descriptor() ([]byte, []int)
- func (m *Parent) GetSha() string
- func (m *Parent) GetUrl() string
- func (*Parent) ProtoMessage()
- func (m *Parent) Reset()
- func (m *Parent) String() string
- func (m *Parent) XXX_DiscardUnknown()
- func (m *Parent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Parent) XXX_Merge(src proto.Message)
- func (m *Parent) XXX_Size() int
- func (m *Parent) XXX_Unmarshal(b []byte) error
- type PingReply
- func (*PingReply) Descriptor() ([]byte, []int)
- func (m *PingReply) GetVersion() string
- func (*PingReply) ProtoMessage()
- func (m *PingReply) Reset()
- func (m *PingReply) String() string
- func (m *PingReply) XXX_DiscardUnknown()
- func (m *PingReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingReply) XXX_Merge(src proto.Message)
- func (m *PingReply) XXX_Size() int
- func (m *PingReply) XXX_Unmarshal(b []byte) error
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) String() string
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type PreReceiveRequest
- func (*PreReceiveRequest) Descriptor() ([]byte, []int)
- func (m *PreReceiveRequest) GetOps() []*ReceiveOperation
- func (*PreReceiveRequest) ProtoMessage()
- func (m *PreReceiveRequest) Reset()
- func (m *PreReceiveRequest) String() string
- func (m *PreReceiveRequest) XXX_DiscardUnknown()
- func (m *PreReceiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PreReceiveRequest) XXX_Merge(src proto.Message)
- func (m *PreReceiveRequest) XXX_Size() int
- func (m *PreReceiveRequest) XXX_Unmarshal(b []byte) error
- type ReceiveOperation
- func (*ReceiveOperation) Descriptor() ([]byte, []int)
- func (m *ReceiveOperation) GetNewValue() string
- func (m *ReceiveOperation) GetOldValue() string
- func (m *ReceiveOperation) GetRefName() string
- func (*ReceiveOperation) ProtoMessage()
- func (m *ReceiveOperation) Reset()
- func (m *ReceiveOperation) String() string
- func (m *ReceiveOperation) XXX_DiscardUnknown()
- func (m *ReceiveOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReceiveOperation) XXX_Merge(src proto.Message)
- func (m *ReceiveOperation) XXX_Size() int
- func (m *ReceiveOperation) XXX_Unmarshal(b []byte) error
- type RefObject
- func (*RefObject) Descriptor() ([]byte, []int)
- func (m *RefObject) GetSha() string
- func (m *RefObject) GetType() string
- func (*RefObject) ProtoMessage()
- func (m *RefObject) Reset()
- func (m *RefObject) String() string
- func (m *RefObject) XXX_DiscardUnknown()
- func (m *RefObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RefObject) XXX_Merge(src proto.Message)
- func (m *RefObject) XXX_Size() int
- func (m *RefObject) XXX_Unmarshal(b []byte) error
- type ReferenceRequest
- func (*ReferenceRequest) Descriptor() ([]byte, []int)
- func (m *ReferenceRequest) GetRef() string
- func (*ReferenceRequest) ProtoMessage()
- func (m *ReferenceRequest) Reset()
- func (m *ReferenceRequest) String() string
- func (m *ReferenceRequest) XXX_DiscardUnknown()
- func (m *ReferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReferenceRequest) XXX_Merge(src proto.Message)
- func (m *ReferenceRequest) XXX_Size() int
- func (m *ReferenceRequest) XXX_Unmarshal(b []byte) error
- type ReferenceResponse
- func (*ReferenceResponse) Descriptor() ([]byte, []int)
- func (m *ReferenceResponse) GetNodeId() string
- func (m *ReferenceResponse) GetObjects() []*RefObject
- func (m *ReferenceResponse) GetRef() string
- func (*ReferenceResponse) ProtoMessage()
- func (m *ReferenceResponse) Reset()
- func (m *ReferenceResponse) String() string
- func (m *ReferenceResponse) XXX_DiscardUnknown()
- func (m *ReferenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReferenceResponse) XXX_Merge(src proto.Message)
- func (m *ReferenceResponse) XXX_Size() int
- func (m *ReferenceResponse) XXX_Unmarshal(b []byte) error
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetAdditions() int64
- func (m *Stats) GetDeletions() int64
- func (m *Stats) GetTotal() int64
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) String() string
- func (m *Stats) XXX_DiscardUnknown()
- func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Stats) XXX_Merge(src proto.Message)
- func (m *Stats) XXX_Size() int
- func (m *Stats) XXX_Unmarshal(b []byte) error
- type TagObject
- func (*TagObject) Descriptor() ([]byte, []int)
- func (m *TagObject) GetSha() string
- func (m *TagObject) GetType() string
- func (*TagObject) ProtoMessage()
- func (m *TagObject) Reset()
- func (m *TagObject) String() string
- func (m *TagObject) XXX_DiscardUnknown()
- func (m *TagObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TagObject) XXX_Merge(src proto.Message)
- func (m *TagObject) XXX_Size() int
- func (m *TagObject) XXX_Unmarshal(b []byte) error
- type TagRequest
- func (*TagRequest) Descriptor() ([]byte, []int)
- func (m *TagRequest) GetSha() string
- func (*TagRequest) ProtoMessage()
- func (m *TagRequest) Reset()
- func (m *TagRequest) String() string
- func (m *TagRequest) XXX_DiscardUnknown()
- func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TagRequest) XXX_Merge(src proto.Message)
- func (m *TagRequest) XXX_Size() int
- func (m *TagRequest) XXX_Unmarshal(b []byte) error
- type TagResponse
- func (*TagResponse) Descriptor() ([]byte, []int)
- func (m *TagResponse) GetMessage() string
- func (m *TagResponse) GetNodeId() string
- func (m *TagResponse) GetObject() *TagObject
- func (m *TagResponse) GetSha() string
- func (m *TagResponse) GetTag() string
- func (m *TagResponse) GetTagger() *Tagger
- func (*TagResponse) ProtoMessage()
- func (m *TagResponse) Reset()
- func (m *TagResponse) String() string
- func (m *TagResponse) XXX_DiscardUnknown()
- func (m *TagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TagResponse) XXX_Merge(src proto.Message)
- func (m *TagResponse) XXX_Size() int
- func (m *TagResponse) XXX_Unmarshal(b []byte) error
- type Tagger
- func (*Tagger) Descriptor() ([]byte, []int)
- func (m *Tagger) GetEmail() string
- func (m *Tagger) GetName() string
- func (*Tagger) ProtoMessage()
- func (m *Tagger) Reset()
- func (m *Tagger) String() string
- func (m *Tagger) XXX_DiscardUnknown()
- func (m *Tagger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tagger) XXX_Merge(src proto.Message)
- func (m *Tagger) XXX_Size() int
- func (m *Tagger) XXX_Unmarshal(b []byte) error
- type Tree
- func (*Tree) Descriptor() ([]byte, []int)
- func (m *Tree) GetSha() string
- func (m *Tree) GetUrl() string
- func (*Tree) ProtoMessage()
- func (m *Tree) Reset()
- func (m *Tree) String() string
- func (m *Tree) XXX_DiscardUnknown()
- func (m *Tree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tree) XXX_Merge(src proto.Message)
- func (m *Tree) XXX_Size() int
- func (m *Tree) XXX_Unmarshal(b []byte) error
- type TreeFile
- func (*TreeFile) Descriptor() ([]byte, []int)
- func (m *TreeFile) GetMode() string
- func (m *TreeFile) GetPath() string
- func (m *TreeFile) GetSha() string
- func (m *TreeFile) GetSize() int64
- func (m *TreeFile) GetType() string
- func (m *TreeFile) GetUrl() string
- func (*TreeFile) ProtoMessage()
- func (m *TreeFile) Reset()
- func (m *TreeFile) String() string
- func (m *TreeFile) XXX_DiscardUnknown()
- func (m *TreeFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TreeFile) XXX_Merge(src proto.Message)
- func (m *TreeFile) XXX_Size() int
- func (m *TreeFile) XXX_Unmarshal(b []byte) error
- type TreeRequest
- func (*TreeRequest) Descriptor() ([]byte, []int)
- func (m *TreeRequest) GetSha() string
- func (*TreeRequest) ProtoMessage()
- func (m *TreeRequest) Reset()
- func (m *TreeRequest) String() string
- func (m *TreeRequest) XXX_DiscardUnknown()
- func (m *TreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TreeRequest) XXX_Merge(src proto.Message)
- func (m *TreeRequest) XXX_Size() int
- func (m *TreeRequest) XXX_Unmarshal(b []byte) error
- type TreeResponse
- func (*TreeResponse) Descriptor() ([]byte, []int)
- func (m *TreeResponse) GetSha() string
- func (m *TreeResponse) GetTree() []*TreeFile
- func (m *TreeResponse) GetTruncated() bool
- func (*TreeResponse) ProtoMessage()
- func (m *TreeResponse) Reset()
- func (m *TreeResponse) String() string
- func (m *TreeResponse) XXX_DiscardUnknown()
- func (m *TreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TreeResponse) XXX_Merge(src proto.Message)
- func (m *TreeResponse) XXX_Size() int
- func (m *TreeResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var HookStatus_name = map[int32]string{
0: "OK",
1: "ERROR",
}
var HookStatus_value = map[string]int32{
"OK": 0,
"ERROR": 1,
}
Functions ¶
func RegisterGitHooksServer ¶
func RegisterGitHooksServer(s *grpc.Server, srv GitHooksServer)
func RegisterMonoHubHandler ¶
func RegisterMonoHubHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMonoHubHandler registers the http handlers for service MonoHub to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMonoHubHandlerClient ¶
func RegisterMonoHubHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MonoHubClient) error
RegisterMonoHubHandlerClient registers the http handlers for service MonoHub to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MonoHubClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MonoHubClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MonoHubClient" to call the correct interceptors.
func RegisterMonoHubHandlerFromEndpoint ¶
func RegisterMonoHubHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMonoHubHandlerFromEndpoint is same as RegisterMonoHubHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMonoHubServer ¶
func RegisterMonoHubServer(s *grpc.Server, srv MonoHubServer)
Types ¶
type Author ¶
type Author struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Login string `protobuf:"bytes,2,opt,name=login" json:"login,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Email string `protobuf:"bytes,4,opt,name=email" json:"email,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,5,opt,name=date" json:"date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Author) Descriptor ¶
func (*Author) ProtoMessage ¶
func (*Author) ProtoMessage()
func (*Author) XXX_DiscardUnknown ¶
func (m *Author) XXX_DiscardUnknown()
func (*Author) XXX_Marshal ¶
func (*Author) XXX_Unmarshal ¶
type BlobRequest ¶
type BlobRequest struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlobRequest) Descriptor ¶
func (*BlobRequest) Descriptor() ([]byte, []int)
func (*BlobRequest) GetSha ¶
func (m *BlobRequest) GetSha() string
func (*BlobRequest) ProtoMessage ¶
func (*BlobRequest) ProtoMessage()
func (*BlobRequest) Reset ¶
func (m *BlobRequest) Reset()
func (*BlobRequest) String ¶
func (m *BlobRequest) String() string
func (*BlobRequest) XXX_DiscardUnknown ¶
func (m *BlobRequest) XXX_DiscardUnknown()
func (*BlobRequest) XXX_Marshal ¶
func (m *BlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlobRequest) XXX_Merge ¶
func (dst *BlobRequest) XXX_Merge(src proto.Message)
func (*BlobRequest) XXX_Size ¶
func (m *BlobRequest) XXX_Size() int
func (*BlobRequest) XXX_Unmarshal ¶
func (m *BlobRequest) XXX_Unmarshal(b []byte) error
type BlobResponse ¶
type BlobResponse struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` Content string `protobuf:"bytes,2,opt,name=content" json:"content,omitempty"` Encoding string `protobuf:"bytes,3,opt,name=encoding" json:"encoding,omitempty"` Url string `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"` Size int64 `protobuf:"varint,5,opt,name=size" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlobResponse) Descriptor ¶
func (*BlobResponse) Descriptor() ([]byte, []int)
func (*BlobResponse) GetContent ¶
func (m *BlobResponse) GetContent() string
func (*BlobResponse) GetEncoding ¶
func (m *BlobResponse) GetEncoding() string
func (*BlobResponse) GetSha ¶
func (m *BlobResponse) GetSha() string
func (*BlobResponse) GetSize ¶
func (m *BlobResponse) GetSize() int64
func (*BlobResponse) GetUrl ¶
func (m *BlobResponse) GetUrl() string
func (*BlobResponse) ProtoMessage ¶
func (*BlobResponse) ProtoMessage()
func (*BlobResponse) Reset ¶
func (m *BlobResponse) Reset()
func (*BlobResponse) String ¶
func (m *BlobResponse) String() string
func (*BlobResponse) XXX_DiscardUnknown ¶
func (m *BlobResponse) XXX_DiscardUnknown()
func (*BlobResponse) XXX_Marshal ¶
func (m *BlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlobResponse) XXX_Merge ¶
func (dst *BlobResponse) XXX_Merge(src proto.Message)
func (*BlobResponse) XXX_Size ¶
func (m *BlobResponse) XXX_Size() int
func (*BlobResponse) XXX_Unmarshal ¶
func (m *BlobResponse) XXX_Unmarshal(b []byte) error
type Commit ¶
type Commit struct { Committer *Author `protobuf:"bytes,2,opt,name=committer" json:"committer,omitempty"` Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` Tree *Tree `protobuf:"bytes,4,opt,name=tree" json:"tree,omitempty"` Author *Author `protobuf:"bytes,5,opt,name=author" json:"author,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Commit) Descriptor ¶
func (*Commit) GetCommitter ¶
func (*Commit) GetMessage ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) XXX_DiscardUnknown ¶
func (m *Commit) XXX_DiscardUnknown()
func (*Commit) XXX_Marshal ¶
func (*Commit) XXX_Unmarshal ¶
type CommitRequest ¶
type CommitRequest struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitRequest) Descriptor ¶
func (*CommitRequest) Descriptor() ([]byte, []int)
func (*CommitRequest) GetSha ¶
func (m *CommitRequest) GetSha() string
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) Reset ¶
func (m *CommitRequest) Reset()
func (*CommitRequest) String ¶
func (m *CommitRequest) String() string
func (*CommitRequest) XXX_DiscardUnknown ¶
func (m *CommitRequest) XXX_DiscardUnknown()
func (*CommitRequest) XXX_Marshal ¶
func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitRequest) XXX_Merge ¶
func (dst *CommitRequest) XXX_Merge(src proto.Message)
func (*CommitRequest) XXX_Size ¶
func (m *CommitRequest) XXX_Size() int
func (*CommitRequest) XXX_Unmarshal ¶
func (m *CommitRequest) XXX_Unmarshal(b []byte) error
type CommitResponse ¶
type CommitResponse struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` Author *Author `protobuf:"bytes,2,opt,name=author" json:"author,omitempty"` Files []*File `protobuf:"bytes,3,rep,name=files" json:"files,omitempty"` Stats *Stats `protobuf:"bytes,4,opt,name=stats" json:"stats,omitempty"` Parents []*Parent `protobuf:"bytes,5,rep,name=parents" json:"parents,omitempty"` Commit *Commit `protobuf:"bytes,6,opt,name=commit" json:"commit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitResponse) Descriptor ¶
func (*CommitResponse) Descriptor() ([]byte, []int)
func (*CommitResponse) GetAuthor ¶
func (m *CommitResponse) GetAuthor() *Author
func (*CommitResponse) GetCommit ¶
func (m *CommitResponse) GetCommit() *Commit
func (*CommitResponse) GetFiles ¶
func (m *CommitResponse) GetFiles() []*File
func (*CommitResponse) GetParents ¶
func (m *CommitResponse) GetParents() []*Parent
func (*CommitResponse) GetSha ¶
func (m *CommitResponse) GetSha() string
func (*CommitResponse) GetStats ¶
func (m *CommitResponse) GetStats() *Stats
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) Reset ¶
func (m *CommitResponse) Reset()
func (*CommitResponse) String ¶
func (m *CommitResponse) String() string
func (*CommitResponse) XXX_DiscardUnknown ¶
func (m *CommitResponse) XXX_DiscardUnknown()
func (*CommitResponse) XXX_Marshal ¶
func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitResponse) XXX_Merge ¶
func (dst *CommitResponse) XXX_Merge(src proto.Message)
func (*CommitResponse) XXX_Size ¶
func (m *CommitResponse) XXX_Size() int
func (*CommitResponse) XXX_Unmarshal ¶
func (m *CommitResponse) XXX_Unmarshal(b []byte) error
type File ¶
type File struct { Filename string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"` Additions int64 `protobuf:"varint,2,opt,name=additions" json:"additions,omitempty"` Changes int64 `protobuf:"varint,3,opt,name=changes" json:"changes,omitempty"` Deletions int64 `protobuf:"varint,4,opt,name=deletions" json:"deletions,omitempty"` Status string `protobuf:"bytes,5,opt,name=status" json:"status,omitempty"` BlobUrl string `protobuf:"bytes,6,opt,name=blob_url,json=blobUrl" json:"blob_url,omitempty"` Patch string `protobuf:"bytes,7,opt,name=patch" json:"patch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*File) Descriptor ¶
func (*File) GetAdditions ¶
func (*File) GetBlobUrl ¶
func (*File) GetChanges ¶
func (*File) GetDeletions ¶
func (*File) GetFilename ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) XXX_DiscardUnknown ¶
func (m *File) XXX_DiscardUnknown()
func (*File) XXX_Unmarshal ¶
type GitHooksClient ¶
type GitHooksClient interface {
PreReceive(ctx context.Context, in *PreReceiveRequest, opts ...grpc.CallOption) (*HookResult, error)
}
GitHooksClient is the client API for GitHooks service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGitHooksClient ¶
func NewGitHooksClient(cc *grpc.ClientConn) GitHooksClient
type GitHooksServer ¶
type GitHooksServer interface {
PreReceive(context.Context, *PreReceiveRequest) (*HookResult, error)
}
GitHooksServer is the server API for GitHooks service.
type HookResult ¶
type HookResult struct { Status HookStatus `protobuf:"varint,1,opt,name=status,enum=monohub.HookStatus" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HookResult) Descriptor ¶
func (*HookResult) Descriptor() ([]byte, []int)
func (*HookResult) GetMessage ¶
func (m *HookResult) GetMessage() string
func (*HookResult) GetStatus ¶
func (m *HookResult) GetStatus() HookStatus
func (*HookResult) ProtoMessage ¶
func (*HookResult) ProtoMessage()
func (*HookResult) Reset ¶
func (m *HookResult) Reset()
func (*HookResult) String ¶
func (m *HookResult) String() string
func (*HookResult) XXX_DiscardUnknown ¶
func (m *HookResult) XXX_DiscardUnknown()
func (*HookResult) XXX_Marshal ¶
func (m *HookResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HookResult) XXX_Merge ¶
func (dst *HookResult) XXX_Merge(src proto.Message)
func (*HookResult) XXX_Size ¶
func (m *HookResult) XXX_Size() int
func (*HookResult) XXX_Unmarshal ¶
func (m *HookResult) XXX_Unmarshal(b []byte) error
type HookStatus ¶
type HookStatus int32
const ( HookStatus_OK HookStatus = 0 HookStatus_ERROR HookStatus = 1 )
func (HookStatus) EnumDescriptor ¶
func (HookStatus) EnumDescriptor() ([]byte, []int)
func (HookStatus) String ¶
func (x HookStatus) String() string
type MonoHubClient ¶
type MonoHubClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) Commits(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) Blobs(ctx context.Context, in *BlobRequest, opts ...grpc.CallOption) (*BlobResponse, error) Trees(ctx context.Context, in *TreeRequest, opts ...grpc.CallOption) (*TreeResponse, error) References(ctx context.Context, in *ReferenceRequest, opts ...grpc.CallOption) (*ReferenceResponse, error) Tags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error) }
MonoHubClient is the client API for MonoHub service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMonoHubClient ¶
func NewMonoHubClient(cc *grpc.ClientConn) MonoHubClient
type MonoHubServer ¶
type MonoHubServer interface { Ping(context.Context, *PingRequest) (*PingReply, error) Commits(context.Context, *CommitRequest) (*CommitResponse, error) Blobs(context.Context, *BlobRequest) (*BlobResponse, error) Trees(context.Context, *TreeRequest) (*TreeResponse, error) References(context.Context, *ReferenceRequest) (*ReferenceResponse, error) Tags(context.Context, *TagRequest) (*TagResponse, error) }
MonoHubServer is the server API for MonoHub service.
type Parent ¶
type Parent struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Parent) Descriptor ¶
func (*Parent) ProtoMessage ¶
func (*Parent) ProtoMessage()
func (*Parent) XXX_DiscardUnknown ¶
func (m *Parent) XXX_DiscardUnknown()
func (*Parent) XXX_Marshal ¶
func (*Parent) XXX_Unmarshal ¶
type PingReply ¶
type PingReply struct { Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingReply) Descriptor ¶
func (*PingReply) GetVersion ¶
func (*PingReply) ProtoMessage ¶
func (*PingReply) ProtoMessage()
func (*PingReply) XXX_DiscardUnknown ¶
func (m *PingReply) XXX_DiscardUnknown()
func (*PingReply) XXX_Marshal ¶
func (*PingReply) XXX_Unmarshal ¶
type PingRequest ¶
type PingRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
func (*PingRequest) XXX_DiscardUnknown ¶
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶
func (dst *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type PreReceiveRequest ¶
type PreReceiveRequest struct { Ops []*ReceiveOperation `protobuf:"bytes,1,rep,name=ops" json:"ops,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PreReceiveRequest) Descriptor ¶
func (*PreReceiveRequest) Descriptor() ([]byte, []int)
func (*PreReceiveRequest) GetOps ¶
func (m *PreReceiveRequest) GetOps() []*ReceiveOperation
func (*PreReceiveRequest) ProtoMessage ¶
func (*PreReceiveRequest) ProtoMessage()
func (*PreReceiveRequest) Reset ¶
func (m *PreReceiveRequest) Reset()
func (*PreReceiveRequest) String ¶
func (m *PreReceiveRequest) String() string
func (*PreReceiveRequest) XXX_DiscardUnknown ¶
func (m *PreReceiveRequest) XXX_DiscardUnknown()
func (*PreReceiveRequest) XXX_Marshal ¶
func (m *PreReceiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PreReceiveRequest) XXX_Merge ¶
func (dst *PreReceiveRequest) XXX_Merge(src proto.Message)
func (*PreReceiveRequest) XXX_Size ¶
func (m *PreReceiveRequest) XXX_Size() int
func (*PreReceiveRequest) XXX_Unmarshal ¶
func (m *PreReceiveRequest) XXX_Unmarshal(b []byte) error
type ReceiveOperation ¶
type ReceiveOperation struct { OldValue string `protobuf:"bytes,1,opt,name=oldValue" json:"oldValue,omitempty"` NewValue string `protobuf:"bytes,2,opt,name=newValue" json:"newValue,omitempty"` RefName string `protobuf:"bytes,3,opt,name=refName" json:"refName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiveOperation) Descriptor ¶
func (*ReceiveOperation) Descriptor() ([]byte, []int)
func (*ReceiveOperation) GetNewValue ¶
func (m *ReceiveOperation) GetNewValue() string
func (*ReceiveOperation) GetOldValue ¶
func (m *ReceiveOperation) GetOldValue() string
func (*ReceiveOperation) GetRefName ¶
func (m *ReceiveOperation) GetRefName() string
func (*ReceiveOperation) ProtoMessage ¶
func (*ReceiveOperation) ProtoMessage()
func (*ReceiveOperation) Reset ¶
func (m *ReceiveOperation) Reset()
func (*ReceiveOperation) String ¶
func (m *ReceiveOperation) String() string
func (*ReceiveOperation) XXX_DiscardUnknown ¶
func (m *ReceiveOperation) XXX_DiscardUnknown()
func (*ReceiveOperation) XXX_Marshal ¶
func (m *ReceiveOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiveOperation) XXX_Merge ¶
func (dst *ReceiveOperation) XXX_Merge(src proto.Message)
func (*ReceiveOperation) XXX_Size ¶
func (m *ReceiveOperation) XXX_Size() int
func (*ReceiveOperation) XXX_Unmarshal ¶
func (m *ReceiveOperation) XXX_Unmarshal(b []byte) error
type RefObject ¶
type RefObject struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RefObject) Descriptor ¶
func (*RefObject) ProtoMessage ¶
func (*RefObject) ProtoMessage()
func (*RefObject) XXX_DiscardUnknown ¶
func (m *RefObject) XXX_DiscardUnknown()
func (*RefObject) XXX_Marshal ¶
func (*RefObject) XXX_Unmarshal ¶
type ReferenceRequest ¶
type ReferenceRequest struct { Ref string `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReferenceRequest) Descriptor ¶
func (*ReferenceRequest) Descriptor() ([]byte, []int)
func (*ReferenceRequest) GetRef ¶
func (m *ReferenceRequest) GetRef() string
func (*ReferenceRequest) ProtoMessage ¶
func (*ReferenceRequest) ProtoMessage()
func (*ReferenceRequest) Reset ¶
func (m *ReferenceRequest) Reset()
func (*ReferenceRequest) String ¶
func (m *ReferenceRequest) String() string
func (*ReferenceRequest) XXX_DiscardUnknown ¶
func (m *ReferenceRequest) XXX_DiscardUnknown()
func (*ReferenceRequest) XXX_Marshal ¶
func (m *ReferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReferenceRequest) XXX_Merge ¶
func (dst *ReferenceRequest) XXX_Merge(src proto.Message)
func (*ReferenceRequest) XXX_Size ¶
func (m *ReferenceRequest) XXX_Size() int
func (*ReferenceRequest) XXX_Unmarshal ¶
func (m *ReferenceRequest) XXX_Unmarshal(b []byte) error
type ReferenceResponse ¶
type ReferenceResponse struct { Ref string `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId" json:"node_id,omitempty"` Objects []*RefObject `protobuf:"bytes,3,rep,name=objects" json:"objects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReferenceResponse) Descriptor ¶
func (*ReferenceResponse) Descriptor() ([]byte, []int)
func (*ReferenceResponse) GetNodeId ¶
func (m *ReferenceResponse) GetNodeId() string
func (*ReferenceResponse) GetObjects ¶
func (m *ReferenceResponse) GetObjects() []*RefObject
func (*ReferenceResponse) GetRef ¶
func (m *ReferenceResponse) GetRef() string
func (*ReferenceResponse) ProtoMessage ¶
func (*ReferenceResponse) ProtoMessage()
func (*ReferenceResponse) Reset ¶
func (m *ReferenceResponse) Reset()
func (*ReferenceResponse) String ¶
func (m *ReferenceResponse) String() string
func (*ReferenceResponse) XXX_DiscardUnknown ¶
func (m *ReferenceResponse) XXX_DiscardUnknown()
func (*ReferenceResponse) XXX_Marshal ¶
func (m *ReferenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReferenceResponse) XXX_Merge ¶
func (dst *ReferenceResponse) XXX_Merge(src proto.Message)
func (*ReferenceResponse) XXX_Size ¶
func (m *ReferenceResponse) XXX_Size() int
func (*ReferenceResponse) XXX_Unmarshal ¶
func (m *ReferenceResponse) XXX_Unmarshal(b []byte) error
type Stats ¶
type Stats struct { Additions int64 `protobuf:"varint,1,opt,name=additions" json:"additions,omitempty"` Deletions int64 `protobuf:"varint,2,opt,name=deletions" json:"deletions,omitempty"` Total int64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stats) Descriptor ¶
func (*Stats) GetAdditions ¶
func (*Stats) GetDeletions ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) XXX_DiscardUnknown ¶
func (m *Stats) XXX_DiscardUnknown()
func (*Stats) XXX_Marshal ¶
func (*Stats) XXX_Unmarshal ¶
type TagObject ¶
type TagObject struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagObject) Descriptor ¶
func (*TagObject) ProtoMessage ¶
func (*TagObject) ProtoMessage()
func (*TagObject) XXX_DiscardUnknown ¶
func (m *TagObject) XXX_DiscardUnknown()
func (*TagObject) XXX_Marshal ¶
func (*TagObject) XXX_Unmarshal ¶
type TagRequest ¶
type TagRequest struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagRequest) Descriptor ¶
func (*TagRequest) Descriptor() ([]byte, []int)
func (*TagRequest) GetSha ¶
func (m *TagRequest) GetSha() string
func (*TagRequest) ProtoMessage ¶
func (*TagRequest) ProtoMessage()
func (*TagRequest) Reset ¶
func (m *TagRequest) Reset()
func (*TagRequest) String ¶
func (m *TagRequest) String() string
func (*TagRequest) XXX_DiscardUnknown ¶
func (m *TagRequest) XXX_DiscardUnknown()
func (*TagRequest) XXX_Marshal ¶
func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagRequest) XXX_Merge ¶
func (dst *TagRequest) XXX_Merge(src proto.Message)
func (*TagRequest) XXX_Size ¶
func (m *TagRequest) XXX_Size() int
func (*TagRequest) XXX_Unmarshal ¶
func (m *TagRequest) XXX_Unmarshal(b []byte) error
type TagResponse ¶
type TagResponse struct { Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId" json:"node_id,omitempty"` Object *TagObject `protobuf:"bytes,3,opt,name=object" json:"object,omitempty"` Sha string `protobuf:"bytes,4,opt,name=sha" json:"sha,omitempty"` Message string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"` Tagger *Tagger `protobuf:"bytes,6,opt,name=tagger" json:"tagger,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagResponse) Descriptor ¶
func (*TagResponse) Descriptor() ([]byte, []int)
func (*TagResponse) GetMessage ¶
func (m *TagResponse) GetMessage() string
func (*TagResponse) GetNodeId ¶
func (m *TagResponse) GetNodeId() string
func (*TagResponse) GetObject ¶
func (m *TagResponse) GetObject() *TagObject
func (*TagResponse) GetSha ¶
func (m *TagResponse) GetSha() string
func (*TagResponse) GetTag ¶
func (m *TagResponse) GetTag() string
func (*TagResponse) GetTagger ¶
func (m *TagResponse) GetTagger() *Tagger
func (*TagResponse) ProtoMessage ¶
func (*TagResponse) ProtoMessage()
func (*TagResponse) Reset ¶
func (m *TagResponse) Reset()
func (*TagResponse) String ¶
func (m *TagResponse) String() string
func (*TagResponse) XXX_DiscardUnknown ¶
func (m *TagResponse) XXX_DiscardUnknown()
func (*TagResponse) XXX_Marshal ¶
func (m *TagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagResponse) XXX_Merge ¶
func (dst *TagResponse) XXX_Merge(src proto.Message)
func (*TagResponse) XXX_Size ¶
func (m *TagResponse) XXX_Size() int
func (*TagResponse) XXX_Unmarshal ¶
func (m *TagResponse) XXX_Unmarshal(b []byte) error
type Tagger ¶
type Tagger struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tagger) Descriptor ¶
func (*Tagger) ProtoMessage ¶
func (*Tagger) ProtoMessage()
func (*Tagger) XXX_DiscardUnknown ¶
func (m *Tagger) XXX_DiscardUnknown()
func (*Tagger) XXX_Marshal ¶
func (*Tagger) XXX_Unmarshal ¶
type Tree ¶
type Tree struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tree) Descriptor ¶
func (*Tree) ProtoMessage ¶
func (*Tree) ProtoMessage()
func (*Tree) XXX_DiscardUnknown ¶
func (m *Tree) XXX_DiscardUnknown()
func (*Tree) XXX_Unmarshal ¶
type TreeFile ¶
type TreeFile struct { Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode" json:"mode,omitempty"` Type string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"` Sha string `protobuf:"bytes,5,opt,name=sha" json:"sha,omitempty"` Url string `protobuf:"bytes,6,opt,name=url" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TreeFile) Descriptor ¶
func (*TreeFile) ProtoMessage ¶
func (*TreeFile) ProtoMessage()
func (*TreeFile) XXX_DiscardUnknown ¶
func (m *TreeFile) XXX_DiscardUnknown()
func (*TreeFile) XXX_Marshal ¶
func (*TreeFile) XXX_Unmarshal ¶
type TreeRequest ¶
type TreeRequest struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TreeRequest) Descriptor ¶
func (*TreeRequest) Descriptor() ([]byte, []int)
func (*TreeRequest) GetSha ¶
func (m *TreeRequest) GetSha() string
func (*TreeRequest) ProtoMessage ¶
func (*TreeRequest) ProtoMessage()
func (*TreeRequest) Reset ¶
func (m *TreeRequest) Reset()
func (*TreeRequest) String ¶
func (m *TreeRequest) String() string
func (*TreeRequest) XXX_DiscardUnknown ¶
func (m *TreeRequest) XXX_DiscardUnknown()
func (*TreeRequest) XXX_Marshal ¶
func (m *TreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeRequest) XXX_Merge ¶
func (dst *TreeRequest) XXX_Merge(src proto.Message)
func (*TreeRequest) XXX_Size ¶
func (m *TreeRequest) XXX_Size() int
func (*TreeRequest) XXX_Unmarshal ¶
func (m *TreeRequest) XXX_Unmarshal(b []byte) error
type TreeResponse ¶
type TreeResponse struct { Sha string `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"` Tree []*TreeFile `protobuf:"bytes,2,rep,name=tree" json:"tree,omitempty"` Truncated bool `protobuf:"varint,3,opt,name=truncated" json:"truncated,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TreeResponse) Descriptor ¶
func (*TreeResponse) Descriptor() ([]byte, []int)
func (*TreeResponse) GetSha ¶
func (m *TreeResponse) GetSha() string
func (*TreeResponse) GetTree ¶
func (m *TreeResponse) GetTree() []*TreeFile
func (*TreeResponse) GetTruncated ¶
func (m *TreeResponse) GetTruncated() bool
func (*TreeResponse) ProtoMessage ¶
func (*TreeResponse) ProtoMessage()
func (*TreeResponse) Reset ¶
func (m *TreeResponse) Reset()
func (*TreeResponse) String ¶
func (m *TreeResponse) String() string
func (*TreeResponse) XXX_DiscardUnknown ¶
func (m *TreeResponse) XXX_DiscardUnknown()
func (*TreeResponse) XXX_Marshal ¶
func (m *TreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeResponse) XXX_Merge ¶
func (dst *TreeResponse) XXX_Merge(src proto.Message)
func (*TreeResponse) XXX_Size ¶
func (m *TreeResponse) XXX_Size() int
func (*TreeResponse) XXX_Unmarshal ¶
func (m *TreeResponse) XXX_Unmarshal(b []byte) error