package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Functions
Copy is a function that copies one object to another.
Create is a function that creates a new object or replaces an existing object.
CreateTempURL is a function for creating a temporary URL for an object.
Delete is a function that deletes an object.
Download is a function that retrieves the content and metadata for an object.
ExtractInfo is a function that takes a page of objects and returns their full information.
ExtractNames is a function that takes a page of objects and returns only their names.
Get is a function that retrieves the metadata of an object.
List is a function that retrieves all objects in a container.
Update is a function that creates, updates, or deletes an object's metadata.
# Structs
CopyHeader represents the headers returned in the response from a Copy request.
CopyOpts is a structure that holds parameters for copying one object to another.
CopyResult represents the result of a copy operation.
CreateHeader represents the headers returned in the response from a Create request.
CreateOpts is a structure that holds parameters for creating an object.
CreateResult represents the result of a create operation.
CreateTempURLOpts are options for creating a temporary URL for an object.
DeleteHeader represents the headers returned in the response from a Delete request.
DeleteOpts is a structure that holds parameters for deleting an object.
DeleteResult represents the result of a delete operation.
DownloadHeader represents the headers returned in the response from a Download request.
DownloadOpts is a structure that holds parameters for downloading an object.
DownloadResult is a *http.Response that is returned from a call to the Download function.
ErrWrongChecksum is the error when the checksum generated for an object doesn't match the ETAG header.
GetHeader represents the headers returned in the response from a Get request.
GetOpts is a structure that holds parameters for getting an object's metadata.
GetResult is a *http.Response that is returned from a call to the Get function.
ListOpts is a structure that holds parameters for listing objects.
Object is a structure that holds information related to a storage object.
ObjectPage is a single page of objects that is returned from a call to the List function.
UpdateHeader represents the headers returned in the response from a Update request.
UpdateOpts is a structure that holds parameters for updating, creating, or deleting an object's metadata.
UpdateResult represents the result of an update operation.
# Interfaces
CopyOptsBuilder allows extensions to add additional parameters to the Copy request.
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
DeleteOptsBuilder allows extensions to add additional parameters to the Delete request.
DownloadOptsBuilder allows extensions to add additional parameters to the Download request.
GetOptsBuilder allows extensions to add additional parameters to the Get request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.
# Type aliases
HTTPMethod represents an HTTP method string (e.g.