package
3.0.16+incompatible
Repository: https://github.com/mehtab123/aliyuncloud.git
Documentation: pkg.go.dev
# Functions
CloudURLFromString get a oss url from url, if url is not a cloud url, return error.
CloudURLToString format url string from input.
DecideConfigFile return the config file, if user not specified, return default one.
FindPos find the elem position in a string array.
FindPosCaseInsen find the elem position in a string array, ignore case.
GetAllCommands returns all commands list.
GetBool is used to get bool option from option map parsed by ParseArgOptions.
GetInt is used to get int option from option map parsed by ParseArgOptions.
No description provided by the author
GetString is used to get string option from option map parsed by ParseArgOptions.
LoadConfig load the specified config file.
No description provided by the author
No description provided by the author
ObjectURLFromString get a oss url from url, if url is not a cloud url, return error.
Output print input string to stdout and add '\n'.
ParseAndRunCommand parse command line user input, get command and options, then run command.
No description provided by the author
ParseArgOptions parse command line and returns args and options.
No description provided by the author
StorageURLFromString analysis input url type and build a storage url from the url.
# Constants
sections in config file.
sections in config file.
global public variable.
global public variable.
global public variable.
global public variable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
sections in config file.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable for formating help text.
group spec text of all commands.
group spec text of all commands.
group spec text of all commands.
the elements show in hash file.
the elements show in hash file.
the elements show in hash file.
global public variable.
global public variable.
global public variable.
global public variable for formating help text.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
option types, only support three kinds now.
option types, only support three kinds now.
option types, only support three kinds now.
option types, only support three kinds now.
all supported options of ossutil.
all supported options of ossutil.
all supported options of ossutil.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable.
SchemePrefix is the prefix of oss url.
global public variable.
global public variable.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
the elements show in stat object.
global public variable.
global public variable.
global public variable.
global public variable.
global public variable for formating help text.
global public variable for formating help text.
global public variable.
# Variables
CommandGroups is the array of all group types.
CredOptionList is all options in Credentials section.
CredOptionMap allows alias name for options in Credentials section name, allow to show in screen.
No description provided by the author
LEnglishLanguage is the lower case of EnglishLanguage.
OptionMap is a collection of ossutil supported options.
# Structs
BucketError happens when access bucket error.
CloudURL describes oss url.
Command contains all elements of a command, it's the base class of all commands.
CommandError happens when use command in invalid way.
CommandManager is used to manager commands, such as build command map and run command.
ConfigCommand is the command config user's credentials information.
CopyCommand is the command upload, download and copy objects.
No description provided by the author
* Put same type variables together to make them 64bits alignment to avoid
* atomic.AddInt64() panic
* Please guarantee the alignment if you add new filed
*/.
for cp.
CreateSymlinkCommand is the command list buckets or objects.
FileError happens when access file error.
FileURL describes file url.
HashCommand is the command to get crc64/md5 of local file.
HelpCommand is the command format help text.
ListCommand is the command list buckets or objects.
MakeBucketCommand is the command create bucket.
* Put same type variables together to make them 64bits alignment to avoid
* atomic.AddInt64() panic
* Please guarantee the alignment if you add new filed
*/.
for normal object operation.
ObjectError happens when access object error.
Option describe the component of a option.
OssProgressListener progress listener.
ReadSymlinkCommand is the command list buckets or objects.
RemoveCommand is the command remove bucket or objects.
No description provided by the author
RestoreCommand is the command list buckets or objects.
* Put same type variables together to make them 64bits alignment to avoid
* atomic.AddInt64() panic
* Please guarantee the alignment if you add new filed
*/.
For rm.
SetACLCommand is the command set acl.
SetMetaCommand is the command set meta for object.
SignurlCommand definition.
SpecText is the spec text of a command.
StatCommand is the command get bucket's or objects' meta information.
UpdateCommand is the command update ossutil.
# Interfaces
Commander is the interface of all commands.
FormatHelper is the interface for all commands to format spec information.
No description provided by the author
RewriteAssembleOptioner is the interface for those commands, which do not need to assemble options.
RewriteLoadConfiger is the interface for those commands, which do not need to load config, or have other action.
StorageURLer is the interface for all url.
# Type aliases
No description provided by the author
OptionMapType is the type for ossutil got options.