# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package meta provides tool for reading metadata from services declaring "MetaProvider" support.
Package mocks should provide utils used by tests to mock various layers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AncestorsListFromContext tries to load ancestors or get them from cache.
No description provided by the author
BuildAncestorsList uses ListNodes with "Ancestors" flag to build the list of parent nodes.
BuildAncestorsListOrParent builds ancestors list when the node does not exist yet, by trying to find all existing parents.
CopyMoveNodes performs a recursive copy or move operation of a node to a new location.
CoreMetaSet directly saves a core metadata associated with a node UUID.
CoreMetaWriter lazily loads a ServiceMeta grpc client.
ErrBranchInfoMissing returns a 500 error.
ErrBranchInfoRootMissing returns a 500 error.
ErrCannotFindACL returns a 500 error.
ErrCannotReadStore returns a 403 error.
ErrCannotWriteStore returns a 403 error.
ErrFileNotFound returns a 404 error.
ErrPermanentPrefixMismatch returns a 500 error.
GetBranchInfo finds BranchInfo inside the context.
GetGenericStoreClientConfig finds datasource/bucket for a given store.
GetSessionID returns the session ID in context.
HandlerListNodesWithCallback is a generic implementation of ListNodesWithCallback for any Handler.
HasSkipAclCheck checks if the SkipAclCheck flag is set in context.
Is403 checks if error is not nil and has code 403.
IsDefaultMime checks if cType is not empty and one of "application/octet-stream", "binary/octet-stream".
IsFlatStorage checks a context BranchInfo for the FlatStorage flag.
IsInternal checks a context BranchInfo for the Internal flag.
IsMinioServer checks a context BranchInfo for pure S3.
No description provided by the author
MustCoreMetaSet saves a core metadata without returning errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTeeMimeReader creates a TeeMimeReader from an existing reader and calls the callbackRoutine once the mimetype is guessed.
NewTestPool creates a client Pool and initialises it by calling the registry.
No description provided by the author
No description provided by the author
No description provided by the author
WalkFilterSkipPydioHiddenFile is a preset filter ignoring PydioSyncHiddenFile entries.
No description provided by the author
WithBranchInfo stores a BranchInfo with a given identifier inside context.
WithBucketName creates a copy of a LoadedSource with a bucket name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithSessionID returns a context which knows its service assigned color.
WithSkipAclCheck instructs ACL-oriented handlers to be ignore.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WrapReaderForMime wraps a reader in a TeeMimeReader with a preset callback that stores detected mime in Metadata.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
IsUnitTestEnv flag prevents among others the ClientPool to look for declared datasources in the registry.
# Structs
BranchInfo contains information about a given identifier.
No description provided by the author
ClientsPool is responsible for discovering available datasources and keeping an up to date registry that is used by the routers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeWrappingStreamer wraps an existing N Streamer.
RouterOptions holds configuration flags to pass to a router constructor easily.
TeeMimeReader dynamically looks up for mimetype while consuming the io.Reader.
# Interfaces
No description provided by the author
Client the main accessor to access nodes while going through a preset stack of Handler.
Handler is a composed interface providing abilities to CRUD nodes to datasources.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author