Documentation ¶
Index ¶
- type PersistRepository
- func (r *PersistRepository) CreateSlicingUpload(ctx context.Context, bucketName, objectName string, ...) (uploadId string, err error)
- func (r *PersistRepository) GetObjectHash(ctx context.Context, bucketName, objectName string) (string, error)
- func (r *PersistRepository) ListSlicingFileParts(ctx context.Context, bucketName, objectName, uploadId string, partsNum int64) (minio.ListObjectPartsResult, error)
- func (r *PersistRepository) MergeSlices(ctx context.Context, bucketName, objectName, uploadId string, ...) error
- func (r *PersistRepository) PreSignGetUrl(ctx context.Context, bucketName, objectName, fileName string, ...) (string, error)
- func (r *PersistRepository) PreSignPutUrl(ctx context.Context, bucketName, objectName string, expireSeconds int64) (string, error)
- func (r *PersistRepository) PreSignSlicingPutUrl(ctx context.Context, bucketName, objectName, uploadId string, parts int64) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistRepository ¶
type PersistRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New() *PersistRepository
func (*PersistRepository) CreateSlicingUpload ¶
func (*PersistRepository) GetObjectHash ¶
func (*PersistRepository) ListSlicingFileParts ¶
func (*PersistRepository) MergeSlices ¶
func (r *PersistRepository) MergeSlices(ctx context.Context, bucketName, objectName, uploadId string, parts []minio.CompletePart) error
func (*PersistRepository) PreSignGetUrl ¶
func (*PersistRepository) PreSignPutUrl ¶
func (*PersistRepository) PreSignSlicingPutUrl ¶
Click to show internal directories.
Click to hide internal directories.