Documentation ¶
Index ¶
- Constants
- func BatchAsyncFetch(cfg *iqshell.Config, info BatchAsyncFetchInfo)
- func BatchChangeLifecycle(cfg *iqshell.Config, info BatchChangeLifecycleInfo)
- func BatchChangeMime(cfg *iqshell.Config, info BatchChangeMimeInfo)
- func BatchChangeStatus(cfg *iqshell.Config, info BatchChangeStatusInfo)
- func BatchChangeType(cfg *iqshell.Config, info BatchChangeTypeInfo)
- func BatchCopy(cfg *iqshell.Config, info BatchCopyInfo)
- func BatchDelete(cfg *iqshell.Config, info BatchDeleteInfo)
- func BatchDeleteAfter(cfg *iqshell.Config, info BatchDeleteInfo)
- func BatchFetch(cfg *iqshell.Config, info BatchFetchInfo)
- func BatchMatch(cfg *iqshell.Config, info BatchMatchInfo)
- func BatchMove(cfg *iqshell.Config, info BatchMoveInfo)
- func BatchPrivateUrl(cfg *iqshell.Config, info BatchPrivateUrlInfo)
- func BatchRename(cfg *iqshell.Config, info BatchRenameInfo)
- func BatchRestoreArchive(cfg *iqshell.Config, info BatchRestoreArchiveInfo)
- func BatchStatus(cfg *iqshell.Config, info BatchStatusInfo)
- func ChangeLifecycle(cfg *iqshell.Config, info *ChangeLifecycleInfo)
- func ChangeMime(cfg *iqshell.Config, info ChangeMimeInfo)
- func ChangeType(cfg *iqshell.Config, info ChangeTypeInfo)
- func CheckAsyncFetchStatus(cfg *iqshell.Config, info CheckAsyncFetchStatusInfo)
- func Copy(cfg *iqshell.Config, info CopyInfo)
- func CopyShare(cfg *iqshell.Config, info CopyShareInfo)
- func CreateShare(cfg *iqshell.Config, info CreateShareInfo)
- func Delete(cfg *iqshell.Config, info DeleteInfo)
- func DeleteAfter(cfg *iqshell.Config, info DeleteAfterInfo)
- func Fetch(cfg *iqshell.Config, info FetchInfo)
- func ForbiddenObject(cfg *iqshell.Config, info ForbiddenInfo)
- func ListShare(cfg *iqshell.Config, info ListShareInfo)
- func Match(cfg *iqshell.Config, info MatchInfo)
- func MirrorUpdate(cfg *iqshell.Config, info MirrorUpdateInfo)
- func Move(cfg *iqshell.Config, info MoveInfo)
- func Pfop(cfg *iqshell.Config, info PfopInfo)
- func PreFopStatus(cfg *iqshell.Config, info PreFopStatusInfo)
- func PrivateUrl(cfg *iqshell.Config, info PrivateUrlInfo)
- func Rename(cfg *iqshell.Config, info RenameInfo)
- func RestoreArchive(cfg *iqshell.Config, info RestoreArchiveInfo)
- func SaveAs(cfg *iqshell.Config, info SaveAsInfo)
- func Status(cfg *iqshell.Config, info StatusInfo)
- type BatchAsyncFetchInfo
- type BatchChangeLifecycleInfo
- type BatchChangeMimeInfo
- type BatchChangeStatusInfo
- type BatchChangeTypeInfo
- type BatchCopyInfo
- type BatchDeleteInfo
- type BatchFetchInfo
- type BatchMatchInfo
- type BatchMoveInfo
- type BatchPrivateUrlInfo
- type BatchRenameInfo
- type BatchRestoreArchiveInfo
- type BatchStatusInfo
- type ChangeLifecycleInfo
- type ChangeMimeInfo
- type ChangeTypeInfo
- type CheckAsyncFetchStatusInfo
- type CopyInfo
- type CopyShareInfo
- type CreateShareInfo
- type DeleteAfterInfo
- type DeleteInfo
- type FetchInfo
- type ForbiddenInfo
- type ListShareInfo
- type MatchInfo
- type MirrorUpdateInfo
- type MoveInfo
- type PfopInfo
- type PreFopStatusInfo
- type PrivateUrlInfo
- type RenameInfo
- type RestoreArchiveInfo
- type SaveAsInfo
- type StatusInfo
Constants ¶
View Source
const (
DefaultDeadline = 3600
)
Variables ¶
This section is empty.
Functions ¶
func BatchAsyncFetch ¶
func BatchAsyncFetch(cfg *iqshell.Config, info BatchAsyncFetchInfo)
func BatchChangeLifecycle ¶ added in v2.11.0
func BatchChangeLifecycle(cfg *iqshell.Config, info BatchChangeLifecycleInfo)
func BatchChangeMime ¶
func BatchChangeMime(cfg *iqshell.Config, info BatchChangeMimeInfo)
func BatchChangeStatus ¶
func BatchChangeStatus(cfg *iqshell.Config, info BatchChangeStatusInfo)
func BatchChangeType ¶
func BatchChangeType(cfg *iqshell.Config, info BatchChangeTypeInfo)
func BatchCopy ¶
func BatchCopy(cfg *iqshell.Config, info BatchCopyInfo)
func BatchDelete ¶
func BatchDelete(cfg *iqshell.Config, info BatchDeleteInfo)
BatchDelete 批量删除,由于和批量删除的输入读取逻辑不同,所以分开
func BatchDeleteAfter ¶
func BatchDeleteAfter(cfg *iqshell.Config, info BatchDeleteInfo)
func BatchFetch ¶
func BatchFetch(cfg *iqshell.Config, info BatchFetchInfo)
func BatchMatch ¶ added in v2.8.0
func BatchMatch(cfg *iqshell.Config, info BatchMatchInfo)
func BatchMove ¶
func BatchMove(cfg *iqshell.Config, info BatchMoveInfo)
func BatchPrivateUrl ¶
func BatchPrivateUrl(cfg *iqshell.Config, info BatchPrivateUrlInfo)
func BatchRename ¶
func BatchRename(cfg *iqshell.Config, info BatchRenameInfo)
func BatchRestoreArchive ¶
func BatchRestoreArchive(cfg *iqshell.Config, info BatchRestoreArchiveInfo)
func BatchStatus ¶
func BatchStatus(cfg *iqshell.Config, info BatchStatusInfo)
func ChangeLifecycle ¶ added in v2.11.0
func ChangeLifecycle(cfg *iqshell.Config, info *ChangeLifecycleInfo)
func ChangeMime ¶
func ChangeMime(cfg *iqshell.Config, info ChangeMimeInfo)
func ChangeType ¶
func ChangeType(cfg *iqshell.Config, info ChangeTypeInfo)
func CheckAsyncFetchStatus ¶
func CheckAsyncFetchStatus(cfg *iqshell.Config, info CheckAsyncFetchStatusInfo)
func CopyShare ¶ added in v2.16.0
func CopyShare(cfg *iqshell.Config, info CopyShareInfo)
func CreateShare ¶ added in v2.16.0
func CreateShare(cfg *iqshell.Config, info CreateShareInfo)
func Delete ¶
func Delete(cfg *iqshell.Config, info DeleteInfo)
func DeleteAfter ¶
func DeleteAfter(cfg *iqshell.Config, info DeleteAfterInfo)
func ForbiddenObject ¶
func ForbiddenObject(cfg *iqshell.Config, info ForbiddenInfo)
func ListShare ¶ added in v2.16.0
func ListShare(cfg *iqshell.Config, info ListShareInfo)
func MirrorUpdate ¶
func MirrorUpdate(cfg *iqshell.Config, info MirrorUpdateInfo)
func PreFopStatus ¶
func PreFopStatus(cfg *iqshell.Config, info PreFopStatusInfo)
func PrivateUrl ¶
func PrivateUrl(cfg *iqshell.Config, info PrivateUrlInfo)
func Rename ¶
func Rename(cfg *iqshell.Config, info RenameInfo)
func RestoreArchive ¶
func RestoreArchive(cfg *iqshell.Config, info RestoreArchiveInfo)
func SaveAs ¶
func SaveAs(cfg *iqshell.Config, info SaveAsInfo)
func Status ¶
func Status(cfg *iqshell.Config, info StatusInfo)
Types ¶
type BatchAsyncFetchInfo ¶
type BatchAsyncFetchInfo struct { BatchInfo batch.Info Bucket string // fetch 的目的 bucket Host string // 从指定URL下载时指定的HOST CallbackUrl string // 抓取成功的回调地址 CallbackBody string // CallbackBodyType string // CallbackHost string // 回调时使用的HOST FileType int // 文件存储类型, 0 标准存储, 1 低频存储 Overwrite bool // DisableCheckFetchResult bool // 不检测是否 fetch 成功 }
func (*BatchAsyncFetchInfo) Check ¶
func (info *BatchAsyncFetchInfo) Check() *data.CodeError
type BatchChangeLifecycleInfo ¶ added in v2.11.0
type BatchChangeLifecycleInfo struct { BatchInfo batch.Info // Bucket string // ToIAAfterDays int // 转换到 低频存储类型,设置为 -1 表示取消 ToArchiveIRAfterDays int // 转换到 归档直读存储类型, 设置为 -1 表示取消 ToArchiveAfterDays int // 转换到 归档存储类型, 设置为 -1 表示取消 ToDeepArchiveAfterDays int // 转换到 深度归档存储类型, 设置为 -1 表示取消 DeleteAfterDays int // 过期删除,删除后不可恢复,设置为 -1 表示取消 }
func (*BatchChangeLifecycleInfo) Check ¶ added in v2.11.0
func (info *BatchChangeLifecycleInfo) Check() *data.CodeError
type BatchChangeMimeInfo ¶
func (*BatchChangeMimeInfo) Check ¶
func (info *BatchChangeMimeInfo) Check() *data.CodeError
type BatchChangeStatusInfo ¶
func (*BatchChangeStatusInfo) Check ¶
func (info *BatchChangeStatusInfo) Check() *data.CodeError
type BatchChangeTypeInfo ¶
func (*BatchChangeTypeInfo) Check ¶
func (info *BatchChangeTypeInfo) Check() *data.CodeError
type BatchCopyInfo ¶
func (*BatchCopyInfo) Check ¶
func (info *BatchCopyInfo) Check() *data.CodeError
type BatchDeleteInfo ¶
func (*BatchDeleteInfo) Check ¶
func (info *BatchDeleteInfo) Check() *data.CodeError
type BatchFetchInfo ¶
func (*BatchFetchInfo) Check ¶
func (info *BatchFetchInfo) Check() *data.CodeError
type BatchMatchInfo ¶ added in v2.8.0
func (*BatchMatchInfo) Check ¶ added in v2.8.0
func (info *BatchMatchInfo) Check() *data.CodeError
type BatchMoveInfo ¶
func (*BatchMoveInfo) Check ¶
func (info *BatchMoveInfo) Check() *data.CodeError
type BatchPrivateUrlInfo ¶
func (*BatchPrivateUrlInfo) Check ¶
func (info *BatchPrivateUrlInfo) Check() *data.CodeError
type BatchRenameInfo ¶
func (*BatchRenameInfo) Check ¶
func (info *BatchRenameInfo) Check() *data.CodeError
type BatchRestoreArchiveInfo ¶
type BatchRestoreArchiveInfo struct { BatchInfo batch.Info Bucket string FreezeAfterDays string // contains filtered or unexported fields }
func (*BatchRestoreArchiveInfo) Check ¶
func (info *BatchRestoreArchiveInfo) Check() *data.CodeError
type BatchStatusInfo ¶
func (*BatchStatusInfo) Check ¶
func (info *BatchStatusInfo) Check() *data.CodeError
type ChangeLifecycleInfo ¶ added in v2.11.0
type ChangeLifecycleInfo object.ChangeLifecycleApiInfo
func (*ChangeLifecycleInfo) Check ¶ added in v2.11.0
func (info *ChangeLifecycleInfo) Check() *data.CodeError
type ChangeMimeInfo ¶
type ChangeMimeInfo object.ChangeMimeApiInfo
func (*ChangeMimeInfo) Check ¶
func (info *ChangeMimeInfo) Check() *data.CodeError
type ChangeTypeInfo ¶
func (*ChangeTypeInfo) Check ¶
func (info *ChangeTypeInfo) Check() *data.CodeError
type CheckAsyncFetchStatusInfo ¶
func (*CheckAsyncFetchStatusInfo) Check ¶
func (info *CheckAsyncFetchStatusInfo) Check() *data.CodeError
type CopyInfo ¶
type CopyInfo object.CopyApiInfo
type CopyShareInfo ¶ added in v2.16.0
type CopyShareInfo struct {}
func (*CopyShareInfo) Check ¶ added in v2.16.0
func (info *CopyShareInfo) Check() *data.CodeError
type CreateShareInfo ¶ added in v2.16.0
type CreateShareInfo struct {}
func (*CreateShareInfo) Check ¶ added in v2.16.0
func (info *CreateShareInfo) Check() *data.CodeError
type DeleteAfterInfo ¶
func (*DeleteAfterInfo) Check ¶
func (info *DeleteAfterInfo) Check() *data.CodeError
type DeleteInfo ¶
func (*DeleteInfo) Check ¶
func (info *DeleteInfo) Check() *data.CodeError
type FetchInfo ¶
type FetchInfo object.FetchApiInfo
type ForbiddenInfo ¶
func (*ForbiddenInfo) Check ¶
func (info *ForbiddenInfo) Check() *data.CodeError
type ListShareInfo ¶ added in v2.16.0
type ListShareInfo struct {}
func (*ListShareInfo) Check ¶ added in v2.16.0
func (info *ListShareInfo) Check() *data.CodeError
type MatchInfo ¶ added in v2.8.0
type MatchInfo object.MatchApiInfo
type MirrorUpdateInfo ¶
type MirrorUpdateInfo storage.PrefetchApiInfo
func (*MirrorUpdateInfo) Check ¶
func (info *MirrorUpdateInfo) Check() *data.CodeError
type MoveInfo ¶
type MoveInfo object.MoveApiInfo
type PfopInfo ¶ added in v2.16.0
type PfopInfo object.PfopApiInfo
type PreFopStatusInfo ¶
func (*PreFopStatusInfo) Check ¶
func (info *PreFopStatusInfo) Check() *data.CodeError
type PrivateUrlInfo ¶
func (*PrivateUrlInfo) Check ¶
func (p *PrivateUrlInfo) Check() *data.CodeError
func (PrivateUrlInfo) WorkId ¶
func (p PrivateUrlInfo) WorkId() string
type RenameInfo ¶
type RenameInfo object.MoveApiInfo
func (*RenameInfo) Check ¶
func (info *RenameInfo) Check() *data.CodeError
type RestoreArchiveInfo ¶
type RestoreArchiveInfo struct { Bucket string Key string FreezeAfterDays string // contains filtered or unexported fields }
func (*RestoreArchiveInfo) Check ¶
func (info *RestoreArchiveInfo) Check() *data.CodeError
type SaveAsInfo ¶
type SaveAsInfo object.SaveAsApiInfo
func (*SaveAsInfo) Check ¶
func (info *SaveAsInfo) Check() *data.CodeError
type StatusInfo ¶
type StatusInfo object.StatusApiInfo
func (*StatusInfo) Check ¶
func (info *StatusInfo) Check() *data.CodeError
Click to show internal directories.
Click to hide internal directories.