Documentation
¶
Index ¶
- func ErrorHandler(err error, c echo.Context)
- func GetBlob(c echo.Context, repoID, orgID string) (*prisma.Blob, error)
- func GetImage(c echo.Context, repoID, orgID string) (*prisma.Image, error)
- func GetRepo(c echo.Context) (*prisma.Repository, *prisma.Organization, error)
- func ParseLengthAndStart(c echo.Context) (int32, int32, error)
- func ParsePagination(c echo.Context) (int32, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
ErrorHandler handles errors and writes them in the docker format when needed
func GetRepo ¶
func GetRepo(c echo.Context) (*prisma.Repository, *prisma.Organization, error)
GetRepo parses the repository and organization out of the path and returns the object
func ParseLengthAndStart ¶
ParseLengthAndStart parses the length and range headers from a request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.