cmd

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfirmFlag            = "confirm"
	DeleteShortDescription = "Clears old backups and WALs"

	DeleteRetainExamples = `` /* 210-byte string literal not displayed */

	DeleteBeforeExamples = `` /* 156-byte string literal not displayed */

)
View Source
const BackupFetchShortDescription = "Fetches a backup from storage"
View Source
const BackupListShortDescription = "Prints available backups"
View Source
const BackupPushShortDescription = "Makes backup and uploads it to storage"
View Source
const WalFetchShortDescription = "Fetches a WAL file from storage"
View Source
const WalPrefetchShortDescription = `Used for prefetching process forking
and should not be called by user.`
View Source
const WalPushShortDescription = "Uploads a WAL file to storage"
View Source
const WalgShortDescription = "PostgreSQL backup tool"

Variables

View Source
var BuildDate = "devel"
View Source
var GitRevision = "devel"
View Source
var RootCmd = &cobra.Command{
	Use:     "wal-g",
	Short:   WalgShortDescription,
	Version: WalgVersion + "\t" + GitRevision + "\t" + BuildDate,
}
View Source
var StringModifiers = []string{"FULL", "FIND_FULL"}
View Source
var WalgVersion = "devel"

These variables are here only to show current version. They are set in makefile during build process

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the RootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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