package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreatePeerEntry creates a new http.Handler for the create peer entry operation.
NewCreatePeerEntryAccepted creates CreatePeerEntryAccepted with default headers values.
NewCreatePeerEntryBadRequest creates CreatePeerEntryBadRequest with default headers values.
NewCreatePeerEntryConflict creates CreatePeerEntryConflict with default headers values.
NewCreatePeerEntryCreated creates CreatePeerEntryCreated with default headers values.
NewCreatePeerEntryDefault creates CreatePeerEntryDefault with default headers values.
NewCreatePeerEntryParams creates a new CreatePeerEntryParams object with the default values initialized.
NewDeletePeerEntry creates a new http.Handler for the delete peer entry operation.
NewDeletePeerEntryAccepted creates DeletePeerEntryAccepted with default headers values.
NewDeletePeerEntryDefault creates DeletePeerEntryDefault with default headers values.
NewDeletePeerEntryNoContent creates DeletePeerEntryNoContent with default headers values.
NewDeletePeerEntryNotFound creates DeletePeerEntryNotFound with default headers values.
NewDeletePeerEntryParams creates a new DeletePeerEntryParams object with the default values initialized.
NewGetPeerEntries creates a new http.Handler for the get peer entries operation.
NewGetPeerEntriesDefault creates GetPeerEntriesDefault with default headers values.
NewGetPeerEntriesOK creates GetPeerEntriesOK with default headers values.
NewGetPeerEntriesParams creates a new GetPeerEntriesParams object
There are no default values defined in the spec.
NewGetPeerEntry creates a new http.Handler for the get peer entry operation.
NewGetPeerEntryDefault creates GetPeerEntryDefault with default headers values.
NewGetPeerEntryNotFound creates GetPeerEntryNotFound with default headers values.
NewGetPeerEntryOK creates GetPeerEntryOK with default headers values.
NewGetPeerEntryParams creates a new GetPeerEntryParams object
There are no default values defined in the spec.
NewReplacePeerEntry creates a new http.Handler for the replace peer entry operation.
NewReplacePeerEntryAccepted creates ReplacePeerEntryAccepted with default headers values.
NewReplacePeerEntryBadRequest creates ReplacePeerEntryBadRequest with default headers values.
NewReplacePeerEntryDefault creates ReplacePeerEntryDefault with default headers values.
NewReplacePeerEntryNotFound creates ReplacePeerEntryNotFound with default headers values.
NewReplacePeerEntryOK creates ReplacePeerEntryOK with default headers values.
NewReplacePeerEntryParams creates a new ReplacePeerEntryParams object with the default values initialized.
# Constants
CreatePeerEntryAcceptedCode is the HTTP code returned for type CreatePeerEntryAccepted.
CreatePeerEntryBadRequestCode is the HTTP code returned for type CreatePeerEntryBadRequest.
CreatePeerEntryConflictCode is the HTTP code returned for type CreatePeerEntryConflict.
CreatePeerEntryCreatedCode is the HTTP code returned for type CreatePeerEntryCreated.
DeletePeerEntryAcceptedCode is the HTTP code returned for type DeletePeerEntryAccepted.
DeletePeerEntryNoContentCode is the HTTP code returned for type DeletePeerEntryNoContent.
DeletePeerEntryNotFoundCode is the HTTP code returned for type DeletePeerEntryNotFound.
GetPeerEntriesOKCode is the HTTP code returned for type GetPeerEntriesOK.
GetPeerEntryNotFoundCode is the HTTP code returned for type GetPeerEntryNotFound.
GetPeerEntryOKCode is the HTTP code returned for type GetPeerEntryOK.
ReplacePeerEntryAcceptedCode is the HTTP code returned for type ReplacePeerEntryAccepted.
ReplacePeerEntryBadRequestCode is the HTTP code returned for type ReplacePeerEntryBadRequest.
ReplacePeerEntryNotFoundCode is the HTTP code returned for type ReplacePeerEntryNotFound.
ReplacePeerEntryOKCode is the HTTP code returned for type ReplacePeerEntryOK.
# Structs
CreatePeerEntry swagger:route POST /services/haproxy/configuration/peer_entries PeerEntry createPeerEntry
Add a new peer_entry
Adds a new peer entry in the specified peer section in the configuration file.
CreatePeerEntryAccepted Configuration change accepted and reload requested
swagger:response createPeerEntryAccepted
*/.
CreatePeerEntryBadRequest Bad request
swagger:response createPeerEntryBadRequest
*/.
CreatePeerEntryConflict The specified resource already exists
swagger:response createPeerEntryConflict
*/.
CreatePeerEntryCreated PeerEntry created
swagger:response createPeerEntryCreated
*/.
CreatePeerEntryDefault General Error
swagger:response createPeerEntryDefault
*/.
CreatePeerEntryParams contains all the bound params for the create peer entry operation typically these are obtained from a http.Request
swagger:parameters createPeerEntry.
CreatePeerEntryURL generates an URL for the create peer entry operation.
DeletePeerEntry swagger:route DELETE /services/haproxy/configuration/peer_entries/{name} PeerEntry deletePeerEntry
Delete a peer_entry
Deletes a peer entry configuration by it's name in the specified peer section.
DeletePeerEntryAccepted Configuration change accepted and reload requested
swagger:response deletePeerEntryAccepted
*/.
DeletePeerEntryDefault General Error
swagger:response deletePeerEntryDefault
*/.
DeletePeerEntryNoContent PeerEntry deleted
swagger:response deletePeerEntryNoContent
*/.
DeletePeerEntryNotFound The specified resource was not found
swagger:response deletePeerEntryNotFound
*/.
DeletePeerEntryParams contains all the bound params for the delete peer entry operation typically these are obtained from a http.Request
swagger:parameters deletePeerEntry.
DeletePeerEntryURL generates an URL for the delete peer entry operation.
GetPeerEntries swagger:route GET /services/haproxy/configuration/peer_entries PeerEntry getPeerEntries
Return an array of peer_entries
Returns an array of all peer_entries that are configured in specified peer section.
GetPeerEntriesDefault General Error
swagger:response getPeerEntriesDefault
*/.
GetPeerEntriesOK Successful operation
swagger:response getPeerEntriesOK
*/.
GetPeerEntriesParams contains all the bound params for the get peer entries operation typically these are obtained from a http.Request
swagger:parameters getPeerEntries.
GetPeerEntriesURL generates an URL for the get peer entries operation.
GetPeerEntry swagger:route GET /services/haproxy/configuration/peer_entries/{name} PeerEntry getPeerEntry
Return one peer_entry
Returns one peer_entry configuration by it's name in the specified peer section.
GetPeerEntryDefault General Error
swagger:response getPeerEntryDefault
*/.
GetPeerEntryNotFound The specified resource already exists
swagger:response getPeerEntryNotFound
*/.
GetPeerEntryOK Successful operation
swagger:response getPeerEntryOK
*/.
GetPeerEntryParams contains all the bound params for the get peer entry operation typically these are obtained from a http.Request
swagger:parameters getPeerEntry.
GetPeerEntryURL generates an URL for the get peer entry operation.
ReplacePeerEntry swagger:route PUT /services/haproxy/configuration/peer_entries/{name} PeerEntry replacePeerEntry
Replace a peer_entry
Replaces a peer entry configuration by it's name in the specified peer section.
ReplacePeerEntryAccepted Configuration change accepted and reload requested
swagger:response replacePeerEntryAccepted
*/.
ReplacePeerEntryBadRequest Bad request
swagger:response replacePeerEntryBadRequest
*/.
ReplacePeerEntryDefault General Error
swagger:response replacePeerEntryDefault
*/.
ReplacePeerEntryNotFound The specified resource was not found
swagger:response replacePeerEntryNotFound
*/.
ReplacePeerEntryOK PeerEntry replaced
swagger:response replacePeerEntryOK
*/.
ReplacePeerEntryParams contains all the bound params for the replace peer entry operation typically these are obtained from a http.Request
swagger:parameters replacePeerEntry.
ReplacePeerEntryURL generates an URL for the replace peer entry operation.
# Interfaces
CreatePeerEntryHandler interface for that can handle valid create peer entry params.
DeletePeerEntryHandler interface for that can handle valid delete peer entry params.
GetPeerEntriesHandler interface for that can handle valid get peer entries params.
GetPeerEntryHandler interface for that can handle valid get peer entry params.
ReplacePeerEntryHandler interface for that can handle valid replace peer entry params.
# Type aliases
CreatePeerEntryHandlerFunc turns a function with the right signature into a create peer entry handler.
DeletePeerEntryHandlerFunc turns a function with the right signature into a delete peer entry handler.
GetPeerEntriesHandlerFunc turns a function with the right signature into a get peer entries handler.
GetPeerEntryHandlerFunc turns a function with the right signature into a get peer entry handler.
ReplacePeerEntryHandlerFunc turns a function with the right signature into a replace peer entry handler.