Documentation ¶
Overview ¶
Package hoard contains the public API of Hoard
Index ¶
- Constants
- func Audit(c *config.Config, startOpt *time.Time, end time.Time, enforceCompression bool, ...) error
- func Download(c *config.Config) error
- func Merge(c *config.Config) error
- func Pack(c *config.Config) error
- func Retrieve(c *config.Config, options RetrieveOptions) error
- func RunCollector(ctx context.Context, c *config.Config) error
- func Upload(c *config.Config) error
- func Vacate(c *config.Config, removeWorkspace bool) error
- type RetrieveOptions
Constants ¶
View Source
const ArchivesSubDir = actions.ArchivesSubDir
View Source
const DownloadsSubDir = actions.DownloadsSubDir
View Source
const ManifestFileName = archive.ManifestFileName
View Source
const TmpSubDir = actions.TmpSubDir
Variables ¶
This section is empty.
Functions ¶
func RunCollector ¶
RunCollector runs a Hoard collection server.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
actions
Package actions contains the definition of the Session which is used in all of the Hoard actions.
|
Package actions contains the definition of the Session which is used in all of the Hoard actions. |
actions/audit
Package audit contains the audit action.
|
Package audit contains the audit action. |
actions/download
Package download contains the download action.
|
Package download contains the download action. |
actions/merge
Package merge contains the merge action.
|
Package merge contains the merge action. |
actions/pack
Package pack contains the pack action.
|
Package pack contains the pack action. |
actions/retrieve
Package retrieve contains the retrieve action.
|
Package retrieve contains the retrieve action. |
actions/upload
Package upload contains the upload action.
|
Package upload contains the upload action. |
archive
Package archive has exclusive responsibility for creating and reading from the contents of archive files (i.e., AFiles in Hoard terminology).
|
Package archive has exclusive responsibility for creating and reading from the contents of archive files (i.e., AFiles in Hoard terminology). |
storage/astore
Package astore contains implementations for different AStores used in Hoard
|
Package astore contains implementations for different AStores used in Hoard |
storage/dstore
Package dstore contains implementations for different DStores used in Hoard
|
Package dstore contains implementations for different DStores used in Hoard |
Click to show internal directories.
Click to hide internal directories.