pgbouncerservice

package
v4.2.0-beta.3+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 10 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 POST /pgbouncerdelete pgbouncerservice pgbouncerdelete ``` 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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