Documentation ¶
Overview ¶
Package wal contains the implementation of the WAL Manager server
Index ¶
- type Implementation
- func (Implementation) Archive(ctx context.Context, request *wal.WALArchiveRequest) (*wal.WALArchiveResult, error)
- func (Implementation) GetCapabilities(context.Context, *wal.WALCapabilitiesRequest) (*wal.WALCapabilitiesResult, error)
- func (Implementation) Restore(ctx context.Context, request *wal.WALRestoreRequest) (*wal.WALRestoreResult, error)
- func (Implementation) Status(ctx context.Context, request *wal.WALStatusRequest) (*wal.WALStatusResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
Implementation is the implementation of the identity service
func (Implementation) Archive ¶
func (Implementation) Archive( ctx context.Context, request *wal.WALArchiveRequest, ) (*wal.WALArchiveResult, error)
Archive copies one WAL file into the archive
func (Implementation) GetCapabilities ¶
func (Implementation) GetCapabilities( context.Context, *wal.WALCapabilitiesRequest, ) (*wal.WALCapabilitiesResult, error)
GetCapabilities gets the capabilities of the WAL service
func (Implementation) Restore ¶
func (Implementation) Restore( ctx context.Context, request *wal.WALRestoreRequest, ) (*wal.WALRestoreResult, error)
Restore copies WAL file from the archive to the data directory
func (Implementation) Status ¶
func (Implementation) Status( ctx context.Context, request *wal.WALStatusRequest, ) (*wal.WALStatusResult, error)
Status gets the statistics of the WAL file archive
Click to show internal directories.
Click to hide internal directories.