wal

package
v0.0.0-...-31b6cb5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WAL

type WAL struct {
	wal.WALServer
}

Server is the implementation of the identity service

func (WAL) Archive

func (WAL) Archive(
	ctx context.Context,
	request *wal.WALArchiveRequest,
) (*wal.WALArchiveResult, error)

Archive copies one WAL file into the archive

func (WAL) GetCapabilities

GetCapabilities gets the capabilities of the WAL service

func (WAL) Restore

func (WAL) Restore(
	ctx context.Context,
	request *wal.WALRestoreRequest,
) (*wal.WALRestoreResult, error)

Restore copies WAL file from the archive to the data directory

func (WAL) Status

func (WAL) Status(
	ctx context.Context,
	request *wal.WALStatusRequest,
) (*wal.WALStatusResult, error)

Status gets the statistics of the WAL file archive

Jump to

Keyboard shortcuts

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