Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveBlobUploadByID ¶
Remove deletes the data and the model of a blob upload
func UpdateRepositoryNames ¶
UpdateRepositoryNames updates the repository name property for all packages of the specific owner
Types ¶
type BlobUploader ¶
type BlobUploader struct { *packages_model.PackageBlobUpload *packages_module.MultiHasher // contains filtered or unexported fields }
BlobUploader handles chunked blob uploads
func NewBlobUploader ¶
func NewBlobUploader(ctx context.Context, id string) (*BlobUploader, error)
NewBlobUploader creates a new blob uploader for the given id
func (*BlobUploader) Read ¶
func (u *BlobUploader) Read(p []byte) (int, error)
Read implements io.Reader
func (*BlobUploader) Size ¶
func (u *BlobUploader) Size() int64
Click to show internal directories.
Click to hide internal directories.