Documentation ¶
Index ¶
- func DeleteBlob(ctx context.Context, blobRepo domain.BlobDescriptorRepo, pubkey string, ...) error
- func GetBlob(ctx context.Context, blobRepo domain.BlobDescriptorRepo, sha256 string) ([]byte, error)
- func HasBlob(ctx context.Context, blobRepo domain.BlobDescriptorRepo, sha256 string) (bool, error)
- func ListBlobs(ctx context.Context, blobDescriptorRepo domain.BlobDescriptorRepo, ...) ([]*domain.BlobDescriptor, error)
- func MirrorBlob(ctx context.Context, blobRepo domain.BlobDescriptorRepo, cdnBaseUrl string, ...) (*domain.BlobDescriptor, error)
- func UploadBlob(ctx context.Context, blobRepo domain.BlobDescriptorRepo, cdnBaseUrl string, ...) (*domain.BlobDescriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBlob ¶
func ListBlobs ¶
func ListBlobs( ctx context.Context, blobDescriptorRepo domain.BlobDescriptorRepo, pubkey string, ) ([]*domain.BlobDescriptor, error)
func MirrorBlob ¶
func UploadBlob ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.