# Functions
TODO: figure out why the Init calls are wrapped in once.Do - implies it can be called multiple times, but once Finalize is called things will not be functional.
GetExporter retrieves an exporter registered with the provided store.
GetExporters returns the set of known importers.
GetImporter retrieves an importer registered with the provided store.
GetImporters returns the set of known importers.
Init performs basic initialization, including population of storage.Config.
NewMountDataSink creates a new data sink associated with a specific mount, with the mount point being the path argument.
NewMountDataSource creates a new data source associated with a specific mount, with the mount point being the path argument.
RegisterExporter registers the specified exporter against the provided store for later retrieval.
RegisterImporter registers the specified importer against the provided store for later retrieval.
# Variables
No description provided by the author
# Structs
Configuration is a slice of the VCH config that is relevant to the storage part of the port layer.
No description provided by the author
MountDataSink implements the DataSink interface for mounted devices This is a single use mechanism and will be tidied up on exit from MountDataSink.Import.
MountDataSource implements the DataSource interface for mounted devices.
ProxyReadCloser is a read closer that provides for wrapping the Close with a custom Close call.
# Interfaces
DataSink defines the methods for importing data to a specific storage element from a tar stream.
DataSource defines the methods for exporting data from a specific storage element as a tar stream.
Exporter defines the methods needed to read data from a storage element, optionally diff with an ancestor.
Importer defines the methods needed to write data into a storage element.
Resolver defines methods for mapping ids to URLS, and urls to owners of that device.