Documentation ¶
Index ¶
- func NewOSS() (s3.Interface, error)
- type OSS
- func (o *OSS) AbortMultipartUpload(ctx context.Context, uploadID string, name string) error
- func (o *OSS) AccessURL(ctx context.Context, name string, expire time.Duration, ...) (string, error)
- func (o *OSS) AuthSign(ctx context.Context, uploadID string, name string, expire time.Duration, ...) (*s3.AuthSignResult, error)
- func (o *OSS) CompleteMultipartUpload(ctx context.Context, uploadID string, name string, parts []s3.Part) (*s3.CompleteMultipartUploadResult, error)
- func (o *OSS) CopyObject(ctx context.Context, src string, dst string) (*s3.CopyObjectInfo, error)
- func (o *OSS) DeleteObject(ctx context.Context, name string) error
- func (o *OSS) Engine() string
- func (o *OSS) FormData(ctx context.Context, name string, size int64, contentType string, ...) (*s3.FormData, error)
- func (o *OSS) InitiateMultipartUpload(ctx context.Context, name string) (*s3.InitiateMultipartUploadResult, error)
- func (o *OSS) IsNotFound(err error) bool
- func (o *OSS) ListUploadedParts(ctx context.Context, uploadID string, name string, partNumberMarker int, ...) (*s3.ListUploadedPartsResult, error)
- func (o *OSS) PartLimit() *s3.PartLimit
- func (o *OSS) PartSize(ctx context.Context, size int64) (int64, error)
- func (o *OSS) PresignedPutObject(ctx context.Context, name string, expire time.Duration) (string, error)
- func (o *OSS) StatObject(ctx context.Context, name string) (*s3.ObjectInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OSS ¶
type OSS struct {
// contains filtered or unexported fields
}
func (*OSS) AbortMultipartUpload ¶
func (*OSS) CompleteMultipartUpload ¶
func (*OSS) CopyObject ¶
func (*OSS) InitiateMultipartUpload ¶
func (*OSS) IsNotFound ¶
func (*OSS) ListUploadedParts ¶
func (*OSS) PresignedPutObject ¶
func (*OSS) StatObject ¶
Click to show internal directories.
Click to hide internal directories.