package
0.0.0-20241220171159-391a2326e1f1
Repository: https://github.com/kbase/dts.git
Documentation: pkg.go.dev
# Functions
loads a previously saved map of save states for all databases, restoring their previous states.
creates a database proxy associated with the given ORCID, based on the configured type, or returns an existing instance.
registers a database creation function under the given database name to allow for e.g.
saves the internal states of all resident databases, returning a map to their save states.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
staging in progress.
staging failed.
staging completed successfully.
unknown staging operation or status not available.
# Structs
indicates that a database is already registered and an attempt has been made to register it again.
represents a saved database state (for service restarts).
represents a collection of saved database states.
this error type is returned when a database's endpoint configuration is invalid.
this error type is returned when an endpoint associated with a resource is invalid.
This error type is returned when an invalid database-specific search parameter is specified.
This error type is returned when a database is sought but not found.
this error type is returned when a resource is requested for which the requester does not have permission.
this error type is returned when an endpoint cannot be found for a file ID.
this error type is returned when a resource is requested and is not found.
No description provided by the author
parameters that define a search for files.
results from a file search.
indicates that a user could not be authorized to access a database with their ORCID.
indicates that a database exists but is currently unavailable.
# Interfaces
Database defines the interface for a database that is used to search for files and initiate file transfers.
# Type aliases
allows searching for files that are staged, not yet staged, etc.
This enum identifies the status of a staging operation that moves files into place on a Database's endpoint.