adopter

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "node.archive.adopter"

Variables

This section is empty.

Functions

This section is empty.

Types

type Adopter

type Adopter interface {
	app.Component
	AdoptArchive(ctx context.Context, req *nodesyncproto.AdoptArchiveRequest) (resp *nodesyncproto.AdoptArchiveResponse, err error)
}

Adopter handles AdoptArchive requests: another node hands over an archived space snapshot parked in the shared bucket; we server-side copy the object into our own prefix and register the space as archived without ever materializing the SQLite DB.

func New

func New() Adopter

Directories

Path Synopsis
Package mock_adopter is a generated GoMock package.
Package mock_adopter is a generated GoMock package.

Jump to

Keyboard shortcuts

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