Versions in this module Expand all Collapse all v54 v54.0.0 Dec 14, 2021 Changes in this version + type FileUploader interface + ResumeUploadFile func(ctx context.Context, uploadID string) (response UploadResponse, err error) + UploadFileMultiparts func(ctx context.Context, request UploadFileRequest) (response UploadResponse, err error) + UploadFilePutObject func(ctx context.Context, request UploadFileRequest) (response UploadResponse, err error) + type MultiPartUploadPart struct + Err error + Etag *string + Hash *string + Offset int64 + OpcMD5 *string + PartNum int + Size int64 + TotalParts int + type MultipartUploadResponse struct + UploadID *string + type SinglepartUploadResponse struct + type StreamUploader interface + UploadStream func(ctx context.Context, request UploadStreamRequest) (response UploadResponse, err error) + type UploadCallBack func(multiPartUploadPart MultiPartUploadPart) + type UploadFileRequest struct + FilePath string + type UploadManager struct + FileUploader FileUploader + StreamUploader StreamUploader + func NewUploadManager() *UploadManager + func (uploadManager *UploadManager) ResumeUploadFile(ctx context.Context, uploadID string) (response UploadResponse, err error) + func (uploadManager *UploadManager) UploadFile(ctx context.Context, request UploadFileRequest) (response UploadResponse, err error) + func (uploadManager *UploadManager) UploadStream(ctx context.Context, request UploadStreamRequest) (response UploadResponse, err error) + type UploadRequest struct + AllowMultipartUploads *bool + AllowParrallelUploads *bool + BucketName *string + CallBack UploadCallBack + ContentEncoding *string + ContentLanguage *string + ContentMD5 *string + ContentType *string + EnableMultipartChecksumVerification *bool + IfMatch *string + IfNoneMatch *string + Metadata map[string]string + NamespaceName *string + NumberOfGoroutines *int + ObjectName *string + ObjectStorageClient *objectstorage.ObjectStorageClient + OpcClientRequestID *string + PartSize *int64 + RequestMetadata common.RequestMetadata + StorageTier objectstorage.PutObjectStorageTierEnum + func (request UploadRequest) RetryPolicy() *common.RetryPolicy + type UploadResponse struct + Type UploadResponseType + func (resp UploadResponse) IsResumable() bool + type UploadResponseType string + const MultipartUpload + const SinglepartUpload + type UploadStreamRequest struct + StreamReader io.Reader Other modules containing this package github.com/oracle/oci-go-sdk github.com/oracle/oci-go-sdk/v25 github.com/oracle/oci-go-sdk/v26 github.com/oracle/oci-go-sdk/v27 github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v37 github.com/oracle/oci-go-sdk/v38 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v44 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v55 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65