commands

package
v0.0.0-...-31509f8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigHelp = `` /* 634-byte string literal not displayed */

Variables

View Source
var Commit string
View Source
var ExecuteCompletedText = `
The target cluster is now running. You may now run queries against the target 
database and perform any other validation desired prior to finalizing your upgrade.
source %s
export MASTER_DATA_DIRECTORY=%s
export PGPORT=%d
` + color.RedString(`
WARNING: If any queries modify the target database prior to gpupgrade finalize, 
it will be inconsistent with the source database.`) + `

NEXT ACTIONS
------------
If you are satisfied with the state of the cluster, run "gpupgrade finalize --verbose" 
to proceed with the upgrade.

To return the cluster to its original state, run "gpupgrade revert --verbose".`
View Source
var ExecuteHelp string
View Source
var FinalizeCompletedText = `` /* 1012-byte string literal not displayed */
View Source
var FinalizeHelp string
View Source
var GlobalHelp string
View Source
var Help map[idl.Step]string
View Source
var InitializeCompletedText = `` /* 216-byte string literal not displayed */
View Source
var InitializeHelp string
View Source
var Release string
View Source
var RevertCompletedText = `` /* 412-byte string literal not displayed */
View Source
var RevertHelp string
View Source
var Version string

These variables are set during build time as specified in the Makefile.

Functions

func Agent

func Agent() *cobra.Command

func BuildRootCommand

func BuildRootCommand() *cobra.Command

func Hub

func Hub() *cobra.Command

func ParseConfig

func ParseConfig(config io.Reader) (map[string]string, error)

ParseConfig returns a validated map of flags from a gpupgrade config file.

func ParsePorts

func ParsePorts(val string) ([]int, error)

func VersionString

func VersionString(format string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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