storage

package
v2.9.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	DB *pachsql.DB
	// ObjectStore is a client from the obj package
	ObjectStore obj.Client

	// Bucket is an object storage bucket from the Go CDK packages.
	// If set, it takes priority over ObjectStore
	Bucket *blob.Bucket
}

type Server

type Server struct {
	Filesets *fileset.Storage
	Chunks   *chunk.Storage
	Tracker  track.Tracker
}

Server contains the storage layer servers. Eventually this will be it's own gRPC server.

func New

func New(env Env, config pachconfig.StorageConfiguration) (*Server, error)

New creates a new Server

Directories

Path Synopsis
Package chunk provides access to data through content-addressed chunks.
Package chunk provides access to data through content-addressed chunks.
Package fileset provides access to files through file sets.
Package fileset provides access to files through file sets.
index
Package index provides access to files through multilevel indexes.
Package index provides access to files through multilevel indexes.
Package kv provides a Key-Value Store interface and a few implementations.
Package kv provides a Key-Value Store interface and a few implementations.

Jump to

Keyboard shortcuts

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