Documentation ¶
Index ¶
- func ListObjs(loca *LocationInfo, filt *pb.Filter) ([]models.GetBucketResponseContent, error)
- type CreateMultipartUploadOutput
- type GcpS3Mover
- func (mover *GcpS3Mover) AbortMultipartUpload(objKey string, destLoca *LocationInfo) error
- func (mover *GcpS3Mover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error
- func (mover *GcpS3Mover) CompleteMultipartUpload(objKey string, destLoca *LocationInfo) error
- func (mover *GcpS3Mover) DeleteIncompleteMultipartUpload(objKey, uploadId string, destLoca *LocationInfo) error
- func (mover *GcpS3Mover) DeleteObj(objKey string, loca *LocationInfo) error
- func (mover *GcpS3Mover) DownloadObj(objKey string, srcLoca *LocationInfo, buf []byte) (size int64, err error)
- func (mover *GcpS3Mover) DownloadRange(objKey string, srcLoca *LocationInfo, buf []byte, start int64, end int64) (size int64, err error)
- func (mover *GcpS3Mover) MultiPartDownloadInit(srcLoca *LocationInfo) error
- func (mover *GcpS3Mover) MultiPartUploadInit(objKey string, destLoca *LocationInfo) (string, error)
- func (mover *GcpS3Mover) UploadObj(objKey string, destLoca *LocationInfo, buf []byte) error
- func (mover *GcpS3Mover) UploadPart(objKey string, destLoca *LocationInfo, upBytes int64, buf []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateMultipartUploadOutput ¶
type CreateMultipartUploadOutput struct {
UploadID string
}
type GcpS3Mover ¶
type GcpS3Mover struct {
// contains filtered or unexported fields
}
func (*GcpS3Mover) AbortMultipartUpload ¶
func (mover *GcpS3Mover) AbortMultipartUpload(objKey string, destLoca *LocationInfo) error
func (*GcpS3Mover) ChangeStorageClass ¶ added in v0.5.3
func (mover *GcpS3Mover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error
func (*GcpS3Mover) CompleteMultipartUpload ¶
func (mover *GcpS3Mover) CompleteMultipartUpload(objKey string, destLoca *LocationInfo) error
func (*GcpS3Mover) DeleteIncompleteMultipartUpload ¶ added in v0.5.3
func (mover *GcpS3Mover) DeleteIncompleteMultipartUpload(objKey, uploadId string, destLoca *LocationInfo) error
func (*GcpS3Mover) DeleteObj ¶
func (mover *GcpS3Mover) DeleteObj(objKey string, loca *LocationInfo) error
func (*GcpS3Mover) DownloadObj ¶
func (mover *GcpS3Mover) DownloadObj(objKey string, srcLoca *LocationInfo, buf []byte) (size int64, err error)
func (*GcpS3Mover) DownloadRange ¶
func (*GcpS3Mover) MultiPartDownloadInit ¶
func (mover *GcpS3Mover) MultiPartDownloadInit(srcLoca *LocationInfo) error
func (*GcpS3Mover) MultiPartUploadInit ¶
func (mover *GcpS3Mover) MultiPartUploadInit(objKey string, destLoca *LocationInfo) (string, error)
func (*GcpS3Mover) UploadObj ¶
func (mover *GcpS3Mover) UploadObj(objKey string, destLoca *LocationInfo, buf []byte) error
func (*GcpS3Mover) UploadPart ¶
Click to show internal directories.
Click to hide internal directories.