package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev

# Functions

NewCreateBackend creates a new http.Handler for the create backend operation.
NewCreateBackendAccepted creates CreateBackendAccepted with default headers values.
NewCreateBackendBadRequest creates CreateBackendBadRequest with default headers values.
NewCreateBackendConflict creates CreateBackendConflict with default headers values.
NewCreateBackendCreated creates CreateBackendCreated with default headers values.
NewCreateBackendDefault creates CreateBackendDefault with default headers values.
NewCreateBackendParams creates a new CreateBackendParams object with the default values initialized.
NewDeleteBackend creates a new http.Handler for the delete backend operation.
NewDeleteBackendAccepted creates DeleteBackendAccepted with default headers values.
NewDeleteBackendDefault creates DeleteBackendDefault with default headers values.
NewDeleteBackendNoContent creates DeleteBackendNoContent with default headers values.
NewDeleteBackendNotFound creates DeleteBackendNotFound with default headers values.
NewDeleteBackendParams creates a new DeleteBackendParams object with the default values initialized.
NewGetBackend creates a new http.Handler for the get backend operation.
NewGetBackendDefault creates GetBackendDefault with default headers values.
NewGetBackendNotFound creates GetBackendNotFound with default headers values.
NewGetBackendOK creates GetBackendOK with default headers values.
NewGetBackendParams creates a new GetBackendParams object with the default values initialized.
NewGetBackends creates a new http.Handler for the get backends operation.
NewGetBackendsDefault creates GetBackendsDefault with default headers values.
NewGetBackendsOK creates GetBackendsOK with default headers values.
NewGetBackendsParams creates a new GetBackendsParams object with the default values initialized.
NewReplaceBackend creates a new http.Handler for the replace backend operation.
NewReplaceBackendAccepted creates ReplaceBackendAccepted with default headers values.
NewReplaceBackendBadRequest creates ReplaceBackendBadRequest with default headers values.
NewReplaceBackendDefault creates ReplaceBackendDefault with default headers values.
NewReplaceBackendNotFound creates ReplaceBackendNotFound with default headers values.
NewReplaceBackendOK creates ReplaceBackendOK with default headers values.
NewReplaceBackendParams creates a new ReplaceBackendParams object with the default values initialized.

# Constants

CreateBackendAcceptedCode is the HTTP code returned for type CreateBackendAccepted.
CreateBackendBadRequestCode is the HTTP code returned for type CreateBackendBadRequest.
CreateBackendConflictCode is the HTTP code returned for type CreateBackendConflict.
CreateBackendCreatedCode is the HTTP code returned for type CreateBackendCreated.
DeleteBackendAcceptedCode is the HTTP code returned for type DeleteBackendAccepted.
DeleteBackendNoContentCode is the HTTP code returned for type DeleteBackendNoContent.
DeleteBackendNotFoundCode is the HTTP code returned for type DeleteBackendNotFound.
GetBackendNotFoundCode is the HTTP code returned for type GetBackendNotFound.
GetBackendOKCode is the HTTP code returned for type GetBackendOK.
GetBackendsOKCode is the HTTP code returned for type GetBackendsOK.
ReplaceBackendAcceptedCode is the HTTP code returned for type ReplaceBackendAccepted.
ReplaceBackendBadRequestCode is the HTTP code returned for type ReplaceBackendBadRequest.
ReplaceBackendNotFoundCode is the HTTP code returned for type ReplaceBackendNotFound.
ReplaceBackendOKCode is the HTTP code returned for type ReplaceBackendOK.

# Structs

CreateBackend swagger:route POST /services/haproxy/configuration/backends Backend createBackend # Add a backend Adds a new backend to the configuration file.
CreateBackendAccepted Configuration change accepted and reload requested swagger:response createBackendAccepted */.
CreateBackendBadRequest Bad request swagger:response createBackendBadRequest */.
CreateBackendConflict The specified resource already exists swagger:response createBackendConflict */.
CreateBackendCreated Backend created swagger:response createBackendCreated */.
CreateBackendDefault General Error swagger:response createBackendDefault */.
CreateBackendParams contains all the bound params for the create backend operation typically these are obtained from a http.Request swagger:parameters createBackend.
CreateBackendURL generates an URL for the create backend operation.
DeleteBackend swagger:route DELETE /services/haproxy/configuration/backends/{name} Backend deleteBackend # Delete a backend Deletes a backend from the configuration by it's name.
DeleteBackendAccepted Configuration change accepted and reload requested swagger:response deleteBackendAccepted */.
DeleteBackendDefault General Error swagger:response deleteBackendDefault */.
DeleteBackendNoContent Backend deleted swagger:response deleteBackendNoContent */.
DeleteBackendNotFound The specified resource was not found swagger:response deleteBackendNotFound */.
DeleteBackendParams contains all the bound params for the delete backend operation typically these are obtained from a http.Request swagger:parameters deleteBackend.
DeleteBackendURL generates an URL for the delete backend operation.
GetBackend swagger:route GET /services/haproxy/configuration/backends/{name} Backend getBackend # Return a backend Returns one backend configuration by it's name.
GetBackendDefault General Error swagger:response getBackendDefault */.
GetBackendNotFound The specified resource was not found swagger:response getBackendNotFound */.
GetBackendOK Successful operation swagger:response getBackendOK */.
GetBackendParams contains all the bound params for the get backend operation typically these are obtained from a http.Request swagger:parameters getBackend.
GetBackends swagger:route GET /services/haproxy/configuration/backends Backend getBackends # Return an array of backends Returns an array of all configured backends.
GetBackendsDefault General Error swagger:response getBackendsDefault */.
GetBackendsOK Successful operation swagger:response getBackendsOK */.
GetBackendsParams contains all the bound params for the get backends operation typically these are obtained from a http.Request swagger:parameters getBackends.
GetBackendsURL generates an URL for the get backends operation.
GetBackendURL generates an URL for the get backend operation.
ReplaceBackend swagger:route PUT /services/haproxy/configuration/backends/{name} Backend replaceBackend # Replace a backend Replaces a backend configuration by it's name.
ReplaceBackendAccepted Configuration change accepted and reload requested swagger:response replaceBackendAccepted */.
ReplaceBackendBadRequest Bad request swagger:response replaceBackendBadRequest */.
ReplaceBackendDefault General Error swagger:response replaceBackendDefault */.
ReplaceBackendNotFound The specified resource was not found swagger:response replaceBackendNotFound */.
ReplaceBackendOK Backend replaced swagger:response replaceBackendOK */.
ReplaceBackendParams contains all the bound params for the replace backend operation typically these are obtained from a http.Request swagger:parameters replaceBackend.
ReplaceBackendURL generates an URL for the replace backend operation.

# Interfaces

CreateBackendHandler interface for that can handle valid create backend params.
DeleteBackendHandler interface for that can handle valid delete backend params.
GetBackendHandler interface for that can handle valid get backend params.
GetBackendsHandler interface for that can handle valid get backends params.
ReplaceBackendHandler interface for that can handle valid replace backend params.

# Type aliases

CreateBackendHandlerFunc turns a function with the right signature into a create backend handler.
DeleteBackendHandlerFunc turns a function with the right signature into a delete backend handler.
GetBackendHandlerFunc turns a function with the right signature into a get backend handler.
GetBackendsHandlerFunc turns a function with the right signature into a get backends handler.
ReplaceBackendHandlerFunc turns a function with the right signature into a replace backend handler.