pgbouncerservice

package
v4.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePgbouncer

func CreatePgbouncer(request *msgs.CreatePgbouncerRequest, ns, pgouser string) msgs.CreatePgbouncerResponse

CreatePgbouncer ... pgo create pgbouncer mycluster pgo create pgbouncer --selector=name=mycluster

func CreatePgbouncerHandler

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

CreatePgbouncerHandler ... pgo create pgbouncer

func DeletePgbouncer

func DeletePgbouncer(request *msgs.DeletePgbouncerRequest, ns string) msgs.DeletePgbouncerResponse

DeletePgbouncer ... pgo delete pgbouncer mycluster pgo delete pgbouncer --selector=name=mycluster

func DeletePgbouncerHandler

func DeletePgbouncerHandler(w http.ResponseWriter, r *http.Request)
The delete pgboucner handler is setup to be used by two different routes. To keep

the documentation consistent with the API this endpoint is documented along with the /pgbouncer (DELETE) enpoint. This endpoint should be deprecated in future API versions.

swagger:operation DELETE /pgbouncer pgbouncerservice pgbouncer-delete ``` Delete a pgbouncer from a cluster

---

produces:
- application/json
parameters:
- name: "Delete PgBouncer Request"
  in: "body"
  schema:
    "$ref": "#/definitions/DeletePgbouncerRequest"
responses:
  '200':
    description: Output
    schema:
      "$ref": "#/definitions/DeletePgbouncerResponse"

DeletePgbouncerHandler ... pgo delete pgbouncer

func ShowPgBouncer

func ShowPgBouncer(request *msgs.ShowPgBouncerRequest, namespace string) msgs.ShowPgBouncerResponse

ShowPgBouncer gets information about a PostgreSQL cluster's pgBouncer deployment

pgo show pgbouncer pgo show pgbouncer --selector

func ShowPgBouncerHandler

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

ShowPgBouncerHandler is the HTTP handler to get information about a pgBouncer deployment, aka `pgo show pgbouncer`

func UpdatePgBouncer

func UpdatePgBouncer(request *msgs.UpdatePgBouncerRequest, namespace, pgouser string) msgs.UpdatePgBouncerResponse

UpdatePgBouncer updates a cluster's pgBouncer deployment based on the parameters passed in. This includes:

- password rotation - updating CPU/memory resources

func UpdatePgBouncerHandler

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

UpdatePgBouncerHandler is the HTTP handler to perform update tasks on a pgbouncer instance, such as rotating the password

Types

This section is empty.

Jump to

Keyboard shortcuts

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