package
3.0.259+incompatible
Repository: https://github.com/aliyun/aliyun-cli.git
Documentation: pkg.go.dev

# Functions

AddStringsToOption add strings option to oss option.
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.
No description provided by the author
GetInt is used to get int option from option map parsed by ParseArgOptions.
No description provided by the author
No description provided by the author
GetString is used to get string option from option map parsed by ParseArgOptions.
GetStrings is used to get slice option from option map parsed by ParseArgOptions.
No description provided by the author
LoadConfig load the specified config file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewClient New STS Client.
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'.
ParseAndGetEndpoint get oss endpoint from cli context.
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.
No description provided by the author

# Constants

No description provided by the author
sections in config file.
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.
sections in config file.
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.
HTTPGet http get method.
global public variable.
config items in section AKSerivce.
config items in section Credentials.
global public variable.
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.
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.
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.
option types, only support three kinds now.
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.
global public variable.
PercentEncode '/'.
global public variable.
global public variable.
RespBodyFormat respone body format.
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.
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.
StsAPIVersion sts api version.
StsSignVersion sts sign version.
TimeFormat time fomrat.
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
DefaultOptionMap allows alias name for options in default section name, allow to show in screen.
LEnglishLanguage is the lower case of EnglishLanguage.
No description provided by the author
OptionMap is a collection of ossutil supported options.
StsHost sts host.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
AssumedRoleUser the user to AssumedRole.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BucketError happens when access bucket error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Client sts client.
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
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.
Credentials the credentials obtained by AssumedRole, used for the peration of Alibaba Cloud service.
No description provided by the author
No description provided by the author
for ecs bind ram and get ak by ossutil automaticly.
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.
LcbCommand is the command list region buckets or objects.
ListCommand is the command list buckets or objects.
No description provided by the author
LrbCommand is the command list region buckets or objects.
MakeBucketCommand is the command create bucket.
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 normal object operation.
No description provided by the author
ObjectError happens when access object error.
No description provided by the author
Option describe the component of a option.
No description provided by the author
OssProgressListener progress listener.
OssProgressListener resume progress listener.
No description provided by the author
ReadSymlinkCommand is the command list buckets or objects.
RemoveCommand is the command remove bucket or objects.
No description provided by the author
No description provided by the author
No description provided by the author
Response the response of AssumeRole.
RestoreCommand is the command list buckets or 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 rm.
ServiceError sts service error.
SetACLCommand is the command set acl.
SetMetaCommand is the command set meta for object.
SignurlCommand definition.
SpecText is the spec text of a command.
No description provided by the author
StatCommand is the command get bucket's or objects' meta information.
No description provided by the author
No description provided by the author
SyncCommand is the command upload, download and copy objects.
No description provided by the author
UpdateCommand is the command update ossutil.
No description provided by the author
No description provided by the author

# 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.