package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Create will create a new Share based on the values in CreateOpts.
Delete is a method by which can be able to delete one or all shares of a backup.
ExtractShareList accepts a Page struct, specifically a SharePage struct, and extracts the elements into a slice of Shares struct.
No description provided by the author
Get retrieves a particular share based on its unique ID.
No description provided by the author
List returns collection of share.

# Variables

SortAsc is used to sort a list of Shares in ascending order.
SortDesc is used to sort a list of Shares in descending order.

# Structs

No description provided by the author
CreateOpts contains all the values needed to create a new share.
CreateResult represents the result of a create operation.
No description provided by the author
DeleteResult represents the result of a delete operation.
No description provided by the author
GetResult represents the result of a get operation.
ListOpts allows the filtering and sorting of paginated collections through the API.
No description provided by the author
SharePage is the page returned by a pager when traversing over a collection of Shares.

# Interfaces

CreateOptsBuilder allows extensions to add additional parameters to the Create request.
DeleteOptsBuilder is an interface which can be able to build the query stringof share deletion.

# Type aliases

SortDir is a type for specifying in which direction to sort a list of Shares.