patroni.scripts.barman.cli module

Perform operations on Barman through pg-backup-api.

The actual operations are implemented by separate modules. This module only builds the CLI that makes an interface with the actual commands.

Note

See :class:ExitCode` for possible exit codes of this main script.

class _patroni.scripts.barman.cli.ExitCode(_value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None) View on GitHub

Bases: IntEnum + Possible exit codes of this script. +

Variables:

+

API_NOT_OK_ = -2_

+

NO_COMMAND_ = -1_
patroni.scripts.barman.cli.main() → None View on GitHub

Entry point of patroni_barman application. + Implements the parser for the application and for its sub-commands. + The script exit code may be one of: + The called sub-command is expected to exit execution once finished using its own set of exit codes.


© Copyright 2015 Compose, Zalando SE. Revision 9d231aee.

Built with Sphinx using a theme provided by Read the Docs.

Read the Docs v: latest

+ Builds