keepstore

package
v0.0.0-...-d6d9ae6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: AGPL-3.0, Apache-2.0, CC-BY-SA-3.0 Imports: 43 Imported by: 0

Documentation

Overview

Package keepstore implements the keepstore service component and back-end storage drivers.

It is an internal module, only intended to be imported by /cmd/arvados-server and other server-side components in this repository.

Index

Constants

View Source
const BlockSize = 1 << 26

Maximum size of a keep block is 64 MiB.

Variables

View Source
var (
	Command = service.Command(arvados.ServiceNameKeepstore, newHandlerOrErrorHandler)
)

Functions

func SetCORSHeaders

func SetCORSHeaders(w http.ResponseWriter)

Types

type PullListItem

type PullListItem struct {
	Locator   string   `json:"locator"`
	Servers   []string `json:"servers"`
	MountUUID string   `json:"mount_uuid"` // Destination mount, or "" for "anywhere"
}

type TrashListItem

type TrashListItem struct {
	Locator    string `json:"locator"`
	BlockMtime int64  `json:"block_mtime"`
	MountUUID  string `json:"mount_uuid"` // Target mount, or "" for "everywhere"
}

Jump to

Keyboard shortcuts

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