Documentation
¶
Index ¶
- Variables
- func ConfigureLogger()
- func EtcdClientOrExit() *clientv3.Client
- func EtcdSessionOrExit(client *clientv3.Client) *concurrency.Session
- func HandleQuitSignal(message string, handler func()) func()
- func LoadConfigFile()
- func NewMigrateCommand() *cobra.Command
- func NewShowConfigCommand() *cobra.Command
- func NewSuperviseCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func PGBouncerOrExit() *pgbouncer.PGBouncer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PgsqlCommand = &cobra.Command{ Use: "pgsql-cluster-manager", Run: func(cmd *cobra.Command, args []string) { cmd.HelpFunc()(cmd, args) }, } )
View Source
var Version string // set at compile-time
Functions ¶
func ConfigureLogger ¶
func ConfigureLogger()
func EtcdClientOrExit ¶
func EtcdSessionOrExit ¶
func EtcdSessionOrExit(client *clientv3.Client) *concurrency.Session
func HandleQuitSignal ¶
func HandleQuitSignal(message string, handler func()) func()
func LoadConfigFile ¶
func LoadConfigFile()
func NewMigrateCommand ¶
func NewShowConfigCommand ¶
func NewSuperviseCommand ¶
func NewVersionCommand ¶
func PGBouncerOrExit ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.