Documentation ¶
Index ¶
- func CreateFailover(request *msgs.CreateFailoverRequest, ns, pgouser string) msgs.CreateFailoverResponse
- func CreateFailoverHandler(w http.ResponseWriter, r *http.Request)
- func QueryFailover(name, ns string) msgs.QueryFailoverResponse
- func QueryFailoverHandler(w http.ResponseWriter, r *http.Request)
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 ...
pgo failover mycluster --query
func QueryFailoverHandler ¶
func QueryFailoverHandler(w http.ResponseWriter, r *http.Request)
QueryFailoverHandler ... pgo failover mycluster --query
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.