Documentation ¶
Index ¶
- func CreatePgbouncer(request *msgs.CreatePgbouncerRequest, ns, pgouser string) msgs.CreatePgbouncerResponse
- func CreatePgbouncerHandler(w http.ResponseWriter, r *http.Request)
- func DeletePgbouncer(request *msgs.DeletePgbouncerRequest, ns string) msgs.DeletePgbouncerResponse
- func DeletePgbouncerHandler(w http.ResponseWriter, r *http.Request)
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.
Click to show internal directories.
Click to hide internal directories.