ocm/embedded
Transfers the contents of an OCM embedded share (an RO-Crate JSON payload listing plain or Zenodo files) to a WebDAV destination, streaming each referenced file in the background.
- Package
github.com/cs3org/reva/v3/pkg/ocm/embedded- Source
- pkg/ocm/embedded · Go reference
- Used by
- ocmshareprovider
Overview
Package embedded transfers the contents of an OCM embedded share (an RO-Crate JSON payload listing plain or Zenodo files) to a WebDAV destination, streaming each referenced file in the background.
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
webdav_url | string | - | WebDAVURL is the destination WebDAV endpoint files are uploaded to. source |
embedded_transfer_timeout | int | 3600 | Timeout is the per-file ceiling, in seconds. source |
embedded_transfer_idle_timeout | int | 120 | IdleTimeout, in seconds, aborts a file attempt if no bytes flow for that long. source |
embedded_transfer_retries | int | 3 | Retries is the number of attempts per file (1 = no retry). source |