Documentation ¶
Index ¶
- type Builder
- type Client
- func (c Client) CreateShare(opts shares.CreateOptsBuilder) (*shares.Share, error)
- func (c Client) CreateSnapshot(opts snapshots.CreateOptsBuilder) (*snapshots.Snapshot, error)
- func (c Client) DeleteShare(shareID string) error
- func (c Client) DeleteSnapshot(snapID string) error
- func (c Client) ExtendShare(shareID string, opts shares.ExtendOptsBuilder) error
- func (c Client) GetAccessRights(shareID string) ([]shares.AccessRight, error)
- func (c Client) GetExportLocations(shareID string) ([]shares.ExportLocation, error)
- func (c Client) GetExtraSpecs(shareTypeID string) (sharetypes.ExtraSpecs, error)
- func (c Client) GetShareByID(shareID string) (*shares.Share, error)
- func (c Client) GetShareByName(shareName string) (*shares.Share, error)
- func (c Client) GetShareTypeIDFromName(shareTypeName string) (string, error)
- func (c Client) GetShareTypes() ([]sharetypes.ShareType, error)
- func (c Client) GetSnapshotByID(snapID string) (*snapshots.Snapshot, error)
- func (c Client) GetSnapshotByName(snapName string) (*snapshots.Snapshot, error)
- func (c Client) GetUserMessages(opts messages.ListOptsBuilder) ([]messages.Message, error)
- func (c Client) GrantAccess(shareID string, opts shares.GrantAccessOptsBuilder) (*shares.AccessRight, error)
- func (c Client) SetShareMetadata(shareID string, opts shares.SetMetadataOptsBuilder) (map[string]string, error)
- type ClientBuilder
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewFromServiceClient ¶ added in v1.18.0
func NewFromServiceClient(c *gophercloud.ServiceClient) *Client
func (Client) CreateShare ¶
func (Client) CreateSnapshot ¶
func (Client) DeleteShare ¶
func (Client) DeleteSnapshot ¶
func (Client) ExtendShare ¶ added in v1.22.0
func (c Client) ExtendShare(shareID string, opts shares.ExtendOptsBuilder) error
func (Client) GetAccessRights ¶
func (c Client) GetAccessRights(shareID string) ([]shares.AccessRight, error)
func (Client) GetExportLocations ¶
func (c Client) GetExportLocations(shareID string) ([]shares.ExportLocation, error)
func (Client) GetExtraSpecs ¶ added in v1.17.0
func (c Client) GetExtraSpecs(shareTypeID string) (sharetypes.ExtraSpecs, error)
func (Client) GetShareByName ¶
func (Client) GetShareTypeIDFromName ¶ added in v1.17.0
func (Client) GetShareTypes ¶ added in v1.17.0
func (c Client) GetShareTypes() ([]sharetypes.ShareType, error)
func (Client) GetSnapshotByID ¶
func (Client) GetSnapshotByName ¶
func (Client) GetUserMessages ¶
func (Client) GrantAccess ¶
func (c Client) GrantAccess(shareID string, opts shares.GrantAccessOptsBuilder) (*shares.AccessRight, error)
func (Client) SetShareMetadata ¶ added in v1.17.0
type ClientBuilder ¶
type Interface ¶
type Interface interface { GetExportLocations(shareID string) ([]shares.ExportLocation, error) GetAccessRights(shareID string) ([]shares.AccessRight, error) GrantAccess(shareID string, opts shares.GrantAccessOptsBuilder) (*shares.AccessRight, error) GetSnapshotByID(snapID string) (*snapshots.Snapshot, error) GetSnapshotByName(snapName string) (*snapshots.Snapshot, error) CreateSnapshot(opts snapshots.CreateOptsBuilder) (*snapshots.Snapshot, error) DeleteSnapshot(snapID string) error GetExtraSpecs(shareTypeID string) (sharetypes.ExtraSpecs, error) GetUserMessages(opts messages.ListOptsBuilder) ([]messages.Message, error) }
Click to show internal directories.
Click to hide internal directories.