oss

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver added in v0.0.9

type Driver struct {
	Cred   *credentials.StsTokenCredential
	Region string
}

func (*Driver) GetBuckets added in v0.0.9

func (d *Driver) GetBuckets(ctx context.Context) ([]schema.Storage, error)

func (*Driver) ListObjects added in v0.1.0

func (d *Driver) ListObjects(ctx context.Context, buckets map[string]string)

func (*Driver) NewClient added in v0.1.0

func (d *Driver) NewClient() *oss.Client

func (*Driver) TotalObjects added in v0.1.0

func (d *Driver) TotalObjects(ctx context.Context, buckets map[string]string)

Recommended:

./ossutil64 du oss://examplebucket/dir/ --block-size GB

Links:

https://help.aliyun.com/document_detail/129732.html
https://github.com/aliyun/ossutil

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL