shares

package
v0.0.0-...-9cb1f83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDFromName

func IDFromName(client *gophercloud.ServiceClient, name string) (string, error)

IDFromName is a convenience function that returns a share's ID given its name. Errors when the number of items found is not one.

func IDsFromName

func IDsFromName(client *gophercloud.ServiceClient, name string) ([]string, error)

IDsFromName returns zero or more IDs corresponding to a name. The returned error is only non-nil in case of failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL