pgbouncerservice

package
v4.5.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

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