Documentation
¶
Overview ¶
Package datatx provides a library to abstract the complexity of using various data transfer protocols.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmitFileUploadedEvent ¶
func EmitFileUploadedEvent(spaceOwnerOrManager, executant *userv1beta1.UserId, ref *provider.Reference, publisher events.Publisher) error
EmitFileUploadedEvent is a helper function which publishes a FileUploaded event
Types ¶
type DataTX ¶
type DataTX interface {
// Handler serves the protocol's data path. Uploads go through coord, which
// owns the upload lifecycle for every driver; downloads read from driver.
Handler(coord upload.Coordinator, driver storage.FS) (http.Handler, error)
}
DataTX provides an abstraction around various data transfer protocols.
Directories
¶
| Path | Synopsis |
|---|---|
|
manager
|
|
|
Package metrics provides prometheus metrics for the data managers.
|
Package metrics provides prometheus metrics for the data managers. |
|
utils
|
|
|
download
Package download provides a library to handle file download requests.
|
Package download provides a library to handle file download requests. |