package
0.1.4
Repository: https://github.com/uber/kraken.git
Documentation: pkg.go.dev

# Packages

Copyright (c) 2016-2019 Uber Technologies, Inc.
Copyright (c) 2016-2019 Uber Technologies, Inc.

# Functions

CADownloadStoreFixture returns a CADownloadStore for testing purposes.
CAStoreConfigFixture returns config for CAStore for testing purposes.
CAStoreFixture returns a CAStore for testing purposes.
NewBufferFileReader returns an in-memory FileReader backed by b.
NewCADownloadStore creates a new CADownloadStore.
NewCAStore creates a new CAStore.
NewMockFileReadWriter returns a new MockFileReadWriter and a cleanup function.
NewSimpleStore creates a new SimpleStore.
RunDownload downloads content to cads.
SimpleStoreFixture returns a SimpleStore for testing purposes.

# Structs

CADownloadStore allows simultaneously downloading and uploading content-adddressable files.
CADownloadStoreConfig defines CADownloadStore configuration.
CADownloadStoreScope scopes what states an operation may be accepted within.
CAStore allows uploading / caching content-addressable files.
CAStoreConfig defines CAStore configuration.
CleanupConfig defines configuration for periodically cleaning up idle files.
MockFileReadWriter is a mock FileReadWriter that is backed by a physical file.
SimpleStore allows uploading / caching raw files of any format.
SimpleStoreConfig defines SimpleStore configuration.
Volume - if provided, volumes are used to store the actual files.

# Type aliases

FileReader is a read-only file.
FileReadWriter is a readable, writable file.