readfallback

package
v0.0.0-...-a9d0937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadFallbackBlobAccess

func NewReadFallbackBlobAccess(primary, secondary blobstore.BlobAccess, replicator replication.BlobReplicator) blobstore.BlobAccess

NewReadFallbackBlobAccess creates a decorator for BlobAccess that causes reads for non-existent to be forwarded to a secondary storage backend. Data is never written to the latter.

This decorator can be used to integrate external data sets into the system, e.g. by combining it with ReferenceExpandingBlobAccess.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL