Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseExportLocation ¶
func ChooseExportLocation(locs []shares.ExportLocation) (*shares.ExportLocation, error)
Chooses one ExportLocation according to the below rules: 1. Path is not empty 2. IsAdminOnly == false 3. Preferred == true are preferred over Preferred == false 4. Locations with lower slice index are preferred over locations with higher slice index
func GetChosenExportLocation ¶
func GetChosenExportLocation(shareID string, manilaClient manilaclient.Interface) (*shares.ExportLocation, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.