package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreatePeer creates a new http.Handler for the create peer operation.
NewCreatePeerAccepted creates CreatePeerAccepted with default headers values.
NewCreatePeerBadRequest creates CreatePeerBadRequest with default headers values.
NewCreatePeerConflict creates CreatePeerConflict with default headers values.
NewCreatePeerCreated creates CreatePeerCreated with default headers values.
NewCreatePeerDefault creates CreatePeerDefault with default headers values.
NewCreatePeerParams creates a new CreatePeerParams object with the default values initialized.
NewDeletePeer creates a new http.Handler for the delete peer operation.
NewDeletePeerAccepted creates DeletePeerAccepted with default headers values.
NewDeletePeerDefault creates DeletePeerDefault with default headers values.
NewDeletePeerNoContent creates DeletePeerNoContent with default headers values.
NewDeletePeerNotFound creates DeletePeerNotFound with default headers values.
NewDeletePeerParams creates a new DeletePeerParams object with the default values initialized.
NewGetPeerSection creates a new http.Handler for the get peer section operation.
NewGetPeerSectionDefault creates GetPeerSectionDefault with default headers values.
NewGetPeerSectionNotFound creates GetPeerSectionNotFound with default headers values.
NewGetPeerSectionOK creates GetPeerSectionOK with default headers values.
NewGetPeerSectionParams creates a new GetPeerSectionParams object with the default values initialized.
NewGetPeerSections creates a new http.Handler for the get peer sections operation.
NewGetPeerSectionsDefault creates GetPeerSectionsDefault with default headers values.
NewGetPeerSectionsOK creates GetPeerSectionsOK with default headers values.
NewGetPeerSectionsParams creates a new GetPeerSectionsParams object with the default values initialized.
# Constants
CreatePeerAcceptedCode is the HTTP code returned for type CreatePeerAccepted.
CreatePeerBadRequestCode is the HTTP code returned for type CreatePeerBadRequest.
CreatePeerConflictCode is the HTTP code returned for type CreatePeerConflict.
CreatePeerCreatedCode is the HTTP code returned for type CreatePeerCreated.
DeletePeerAcceptedCode is the HTTP code returned for type DeletePeerAccepted.
DeletePeerNoContentCode is the HTTP code returned for type DeletePeerNoContent.
DeletePeerNotFoundCode is the HTTP code returned for type DeletePeerNotFound.
GetPeerSectionNotFoundCode is the HTTP code returned for type GetPeerSectionNotFound.
GetPeerSectionOKCode is the HTTP code returned for type GetPeerSectionOK.
GetPeerSectionsOKCode is the HTTP code returned for type GetPeerSectionsOK.
# Structs
CreatePeer swagger:route POST /services/haproxy/configuration/peer_section Peer createPeer
# Add a peer
Adds a new peer to the configuration file.
CreatePeerAccepted Configuration change accepted and reload requested
swagger:response createPeerAccepted
*/.
CreatePeerBadRequest Bad request
swagger:response createPeerBadRequest
*/.
CreatePeerConflict The specified resource already exists
swagger:response createPeerConflict
*/.
CreatePeerCreated Peer created
swagger:response createPeerCreated
*/.
CreatePeerDefault General Error
swagger:response createPeerDefault
*/.
CreatePeerParams contains all the bound params for the create peer operation typically these are obtained from a http.Request
swagger:parameters createPeer.
CreatePeerURL generates an URL for the create peer operation.
DeletePeer swagger:route DELETE /services/haproxy/configuration/peer_section/{name} Peer deletePeer
# Delete a peer
Deletes a peer from the configuration by it's name.
DeletePeerAccepted Configuration change accepted and reload requested
swagger:response deletePeerAccepted
*/.
DeletePeerDefault General Error
swagger:response deletePeerDefault
*/.
DeletePeerNoContent Peer deleted
swagger:response deletePeerNoContent
*/.
DeletePeerNotFound The specified resource was not found
swagger:response deletePeerNotFound
*/.
DeletePeerParams contains all the bound params for the delete peer operation typically these are obtained from a http.Request
swagger:parameters deletePeer.
DeletePeerURL generates an URL for the delete peer operation.
GetPeerSection swagger:route GET /services/haproxy/configuration/peer_section/{name} Peer getPeerSection
# Return a peer
Returns one peer configuration by it's name.
GetPeerSectionDefault General Error
swagger:response getPeerSectionDefault
*/.
GetPeerSectionNotFound The specified resource was not found
swagger:response getPeerSectionNotFound
*/.
GetPeerSectionOK Successful operation
swagger:response getPeerSectionOK
*/.
GetPeerSectionParams contains all the bound params for the get peer section operation typically these are obtained from a http.Request
swagger:parameters getPeerSection.
GetPeerSections swagger:route GET /services/haproxy/configuration/peer_section Peer getPeerSections
Return an array of peer_section
Returns an array of all configured peer_section.
GetPeerSectionsDefault General Error
swagger:response getPeerSectionsDefault
*/.
GetPeerSectionsOK Successful operation
swagger:response getPeerSectionsOK
*/.
GetPeerSectionsParams contains all the bound params for the get peer sections operation typically these are obtained from a http.Request
swagger:parameters getPeerSections.
GetPeerSectionsURL generates an URL for the get peer sections operation.
GetPeerSectionURL generates an URL for the get peer section operation.
# Interfaces
CreatePeerHandler interface for that can handle valid create peer params.
DeletePeerHandler interface for that can handle valid delete peer params.
GetPeerSectionHandler interface for that can handle valid get peer section params.
GetPeerSectionsHandler interface for that can handle valid get peer sections params.
# Type aliases
CreatePeerHandlerFunc turns a function with the right signature into a create peer handler.
DeletePeerHandlerFunc turns a function with the right signature into a delete peer handler.
GetPeerSectionHandlerFunc turns a function with the right signature into a get peer section handler.
GetPeerSectionsHandlerFunc turns a function with the right signature into a get peer sections handler.