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