operations

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(cfg *iqshell.Config, info CreateInfo)

func GetBucket added in v2.8.0

func GetBucket(cfg *iqshell.Config, info GetBucketInfo)

func List

func List(cfg *iqshell.Config, info ListInfo)

func ListDomains

func ListDomains(cfg *iqshell.Config, info ListDomainInfo)

Types

type CreateInfo

type CreateInfo struct {
	RegionId string
	Bucket   string
	Private  bool
}

func (*CreateInfo) Check

func (i *CreateInfo) Check() *data.CodeError

type GetBucketInfo added in v2.8.0

type GetBucketInfo struct {
	Bucket string
}

func (*GetBucketInfo) Check added in v2.8.0

func (i *GetBucketInfo) Check() *data.CodeError

type ListDomainInfo

type ListDomainInfo struct {
	Bucket string
	Detail bool
}

func (*ListDomainInfo) Check

func (info *ListDomainInfo) Check() *data.CodeError

type ListInfo

type ListInfo struct {
	Bucket       string
	Prefix       string
	Marker       string
	Delimiter    string
	Limit        int    //  最大输出条数,默认:-1, 无限输出
	StartDate    string // list item 的 put time 区间的开始时间 【闭区间】
	EndDate      string // list item 的 put time 区间的终止时间 【闭区间】
	Suffixes     string // list item 必须包含后缀
	StorageTypes string // list item 存储类型,多个使用逗号隔开, 0:普通存储 1:低频存储 2:归档存储 3:深度归档存储
	MimeTypes    string // list item Mimetype类型,多个使用逗号隔开
	MinFileSize  string // 文件最小值,单位: B
	MaxFileSize  string // 文件最大值,单位: B
	MaxRetry     int    // -1: 无限重试
	SaveToFile   string
	AppendMode   bool
	Readable     bool
}

func (*ListInfo) Check

func (info *ListInfo) Check() *data.CodeError

Jump to

Keyboard shortcuts

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