Documentation ¶
Index ¶
- func LookUpStorageSpaceByID(ctx context.Context, client gateway.GatewayAPIClient, spaceID string) (*storageProvider.StorageSpace, *rpc.Status, error)
- func LookUpStorageSpaceForPath(ctx context.Context, client gateway.GatewayAPIClient, path string) (*storageProvider.StorageSpace, *rpc.Status, error)
- func LookUpStorageSpacesForPathWithChildren(ctx context.Context, client gateway.GatewayAPIClient, path string) ([]*storageProvider.StorageSpace, *rpc.Status, error)
- func LookupReferenceForPath(ctx context.Context, client gateway.GatewayAPIClient, path string) (*storageProvider.Reference, *rpc.Status, error)
- func MakeRelativeReference(space *storageProvider.StorageSpace, relativePath string, ...) *storageProvider.Reference
- func MakeStorageSpaceReference(spaceID string, relativePath string) (storageProvider.Reference, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookUpStorageSpaceByID ¶
func LookUpStorageSpaceByID(ctx context.Context, client gateway.GatewayAPIClient, spaceID string) (*storageProvider.StorageSpace, *rpc.Status, error)
LookUpStorageSpaceByID find a space by ID
func LookUpStorageSpaceForPath ¶
func LookUpStorageSpaceForPath(ctx context.Context, client gateway.GatewayAPIClient, path string) (*storageProvider.StorageSpace, *rpc.Status, error)
LookUpStorageSpaceForPath returns: the storage spaces responsible for a path the status and error for the lookup
func LookUpStorageSpacesForPathWithChildren ¶
func LookUpStorageSpacesForPathWithChildren(ctx context.Context, client gateway.GatewayAPIClient, path string) ([]*storageProvider.StorageSpace, *rpc.Status, error)
LookUpStorageSpacesForPathWithChildren returns: the list of storage spaces responsible for a path the status and error for the lookup
func LookupReferenceForPath ¶
func LookupReferenceForPath(ctx context.Context, client gateway.GatewayAPIClient, path string) (*storageProvider.Reference, *rpc.Status, error)
LookupReferenceForPath returns: a reference with root and relative path the status and error for the lookup
func MakeRelativeReference ¶
func MakeRelativeReference(space *storageProvider.StorageSpace, relativePath string, spacesDavRequest bool) *storageProvider.Reference
MakeRelativeReference returns a relative reference for the given space and path
func MakeStorageSpaceReference ¶ added in v2.6.1
func MakeStorageSpaceReference(spaceID string, relativePath string) (storageProvider.Reference, error)
MakeStorageSpaceReference find a space by id and returns a relative reference
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.