Documentation ¶
Index ¶
- type WAL
- func (WAL) Archive(ctx context.Context, request *wal.WALArchiveRequest) (*wal.WALArchiveResult, error)
- func (WAL) GetCapabilities(context.Context, *wal.WALCapabilitiesRequest) (*wal.WALCapabilitiesResult, error)
- func (WAL) Restore(ctx context.Context, request *wal.WALRestoreRequest) (*wal.WALRestoreResult, error)
- func (WAL) 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 WAL ¶
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 ¶
func (WAL) GetCapabilities( context.Context, *wal.WALCapabilitiesRequest, ) (*wal.WALCapabilitiesResult, error)
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
Click to show internal directories.
Click to hide internal directories.