Documentation ¶
Overview ¶
Package cmd implements all commands in cosutil. In this package, each subcommand is a single go file, and root is the cosutil command itself.
Due to the restriction of dependency cobra, the global cosutil command arguments must be between the `cosutil` and the subcommand. For example, if you want to enable debug mode when downloading, you must use
cosutil -d download cospath localpath
but not
cosutil download -d cospath localpath
which will cause an parse error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CopyConfig ¶
type CopyConfig struct {
// contains filtered or unexported fields
}
type DeleteConfig ¶
type DeleteConfig struct {
// contains filtered or unexported fields
}
type DownloadConfig ¶
type DownloadConfig struct {
// contains filtered or unexported fields
}
type ListConfig ¶
type ListConfig struct {
// contains filtered or unexported fields
}
type PutBucketACLConfig ¶
type PutBucketACLConfig struct {
// contains filtered or unexported fields
}
PutBucketACLConfig defines ACL for an object.
type PutObjectACLConfig ¶
type PutObjectACLConfig struct {
// contains filtered or unexported fields
}
PutObjectACLConfig defines ACL config for object.
type RestoreConfig ¶
type RestoreConfig struct {
// contains filtered or unexported fields
}
type UploadConfig ¶
type UploadConfig struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.