command

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: MIT Imports: 23 Imported by: 0

Documentation

Index

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 EtcdClientOrExit() *clientv3.Client

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 NewMigrateCommand() *cobra.Command

func NewShowConfigCommand

func NewShowConfigCommand() *cobra.Command

func NewSuperviseCommand

func NewSuperviseCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

func PGBouncerOrExit

func PGBouncerOrExit() *pgbouncer.PGBouncer

Types

This section is empty.

Jump to

Keyboard shortcuts

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