perkeep.org: perkeep.org/pkg/blobserver/overlay Index | Files

package overlay

import "perkeep.org/pkg/blobserver/overlay"

Package overlay registers the "overlay" blobserver storage type that presents storage that is the result of overlaying a storage ("upper") on top of another storage ("lower"). All changes go to the upper storage. The lower storage is never changed.

The optional "deleted" KeyValue store may be provided to keep track of deleted blobs. When "deleted" is missing, deletion returns an error.

Example usage:

"/bs/": {
  "handler": "storage-overlay",
  "handlerArgs": {
    "lower": "/sto-base/",
    "upper": "/bs-local-changes/",
    "deleted": {
      "file": "/volume1/camlistore/home/var/camlistore/blobs/deleted.leveldb",
      "type": "leveldb"
    }
  }
}

Index

Package Files

overlay.go

Package overlay imports 10 packages (graph) and is imported by 1 packages. Updated 2019-07-19. Refresh now. Tools for package owners.