Documentation ¶
Overview ¶
Package common contains interfaces and non-specific protocol entities
Index ¶
Constants ¶
View Source
const GitUploadPackServiceName = "git-upload-pack"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AuthMethod ¶
type Endpoint ¶
func NewEndpoint ¶
type GitUploadPackInfo ¶
type GitUploadPackInfo struct { Capabilities *packp.Capabilities Refs memory.ReferenceStorage }
func NewGitUploadPackInfo ¶
func NewGitUploadPackInfo() *GitUploadPackInfo
func (*GitUploadPackInfo) Bytes ¶
func (i *GitUploadPackInfo) Bytes() []byte
func (*GitUploadPackInfo) Head ¶
func (i *GitUploadPackInfo) Head() *plumbing.Reference
func (*GitUploadPackInfo) String ¶
func (i *GitUploadPackInfo) String() string
type GitUploadPackRequest ¶
func (*GitUploadPackRequest) Have ¶
func (r *GitUploadPackRequest) Have(h ...plumbing.Hash)
func (*GitUploadPackRequest) Reader ¶
func (r *GitUploadPackRequest) Reader() *strings.Reader
func (*GitUploadPackRequest) String ¶
func (r *GitUploadPackRequest) String() string
func (*GitUploadPackRequest) Want ¶
func (r *GitUploadPackRequest) Want(h ...plumbing.Hash)
type GitUploadPackService ¶
type GitUploadPackService interface { Connect() error SetAuth(AuthMethod) error Info() (*GitUploadPackInfo, error) Fetch(*GitUploadPackRequest) (io.ReadCloser, error) Disconnect() error }
Click to show internal directories.
Click to hide internal directories.