Documentation ¶
Index ¶
- func NewHandler(region string, cataloger catalog.Cataloger, ...) http.Handler
- func OperationHandler(sc *ServerContext, handler operations.AuthenticatedOperationHandler) http.Handler
- func PathOperationHandler(sc *ServerContext, repoID, refID, path string, ...) http.Handler
- func RepoOperationHandler(sc *ServerContext, repoID string, handler operations.RepoOperationHandler) http.Handler
- func SplitFirst(pth string, parts int) ([]string, bool)
- type ServerContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func OperationHandler ¶
func OperationHandler(sc *ServerContext, handler operations.AuthenticatedOperationHandler) http.Handler
func PathOperationHandler ¶
func PathOperationHandler(sc *ServerContext, repoID, refID, path string, handler operations.PathOperationHandler) http.Handler
func RepoOperationHandler ¶
func RepoOperationHandler(sc *ServerContext, repoID string, handler operations.RepoOperationHandler) http.Handler
Types ¶
type ServerContext ¶
type ServerContext struct {
// contains filtered or unexported fields
}
func (*ServerContext) WithContext ¶
func (c *ServerContext) WithContext(ctx context.Context) *ServerContext
Directories ¶
Path | Synopsis |
---|---|
Package cmd This file implements helper functions to validate Streaming AWS Signature Version '4' authorization header.
|
Package cmd This file implements helper functions to validate Streaming AWS Signature Version '4' authorization header. |
Click to show internal directories.
Click to hide internal directories.