failoverservice

package
v4.2.1-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFailover

func CreateFailover(request *msgs.CreateFailoverRequest, ns, pgouser string) msgs.CreateFailoverResponse
CreateFailover ...

pgo failover mycluster pgo failover all pgo failover --selector=name=mycluster

func CreateFailoverHandler

func CreateFailoverHandler(w http.ResponseWriter, r *http.Request)

CreateFailoverHandler ... pgo failover mycluster

func QueryFailover

func QueryFailover(name, ns string) msgs.QueryFailoverResponse

QueryFailover provides the user with a list of replicas that can be failed over to pgo failover mycluster --query

func QueryFailoverHandler

func QueryFailoverHandler(w http.ResponseWriter, r *http.Request)

QueryFailoverHandler ... pgo failover mycluster --query

Types

This section is empty.

Jump to

Keyboard shortcuts

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