Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchObjectActionResponse ¶
type BatchObjectActionResponse struct {
Href string `json:"href"`
HeadHref string `json:"head_href,omitempty"`
Header map[string]string `json:"header,omitempty"`
ExpiresIn int `json:"expires_in,omitempty"`
ExpiresAt time.Time `json:"expires_at,omitempty"`
}
BatchObjectActionResponse is the action item of a BatchObjectResponse
type BatchObjectErrorResponse ¶ added in v0.2.0
type BatchObjectResponse ¶
type BatchObjectResponse struct {
OID string `json:"oid"`
Size int64 `json:"size"`
Actions map[string]*BatchObjectActionResponse `json:"actions,omitempty"`
Error *BatchObjectErrorResponse `json:"error,omitempty"`
Authenticated bool `json:"authenticated,omitempty"`
}
BatchObjectResponse is the object item of a BatchResponse
type BatchRequest ¶
type BatchResponse ¶
type BatchResponse struct {
Transfer string `json:"transfer,omitempty"`
Objects []*BatchObjectResponse `json:"objects"`
}
BatchResponse represents a batch response payload.
https://github.com/git-lfs/git-lfs/blob/master/docs/api/batch.md#successful-responses
type HealthHandler ¶
type HealthHandler struct{}
func (HealthHandler) Get ¶
func (h HealthHandler) Get(c *gin.Context)
type LFSHandler ¶
type LFSHandler struct {
// contains filtered or unexported fields
}
func NewLFSHandler ¶
func (*LFSHandler) GetManifest ¶ added in v0.4.0
func (l *LFSHandler) GetManifest(c *gin.Context)
func (*LFSHandler) PostBatch ¶
func (l *LFSHandler) PostBatch(c *gin.Context)
func (*LFSHandler) Shutdown ¶ added in v0.4.0
func (l *LFSHandler) Shutdown(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.