package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateHTTPErrorRule creates a new http.Handler for the create HTTP error rule operation.
NewCreateHTTPErrorRuleAccepted creates CreateHTTPErrorRuleAccepted with default headers values.
NewCreateHTTPErrorRuleBadRequest creates CreateHTTPErrorRuleBadRequest with default headers values.
NewCreateHTTPErrorRuleConflict creates CreateHTTPErrorRuleConflict with default headers values.
NewCreateHTTPErrorRuleCreated creates CreateHTTPErrorRuleCreated with default headers values.
NewCreateHTTPErrorRuleDefault creates CreateHTTPErrorRuleDefault with default headers values.
NewCreateHTTPErrorRuleParams creates a new CreateHTTPErrorRuleParams object with the default values initialized.
NewDeleteHTTPErrorRule creates a new http.Handler for the delete HTTP error rule operation.
NewDeleteHTTPErrorRuleAccepted creates DeleteHTTPErrorRuleAccepted with default headers values.
NewDeleteHTTPErrorRuleDefault creates DeleteHTTPErrorRuleDefault with default headers values.
NewDeleteHTTPErrorRuleNoContent creates DeleteHTTPErrorRuleNoContent with default headers values.
NewDeleteHTTPErrorRuleNotFound creates DeleteHTTPErrorRuleNotFound with default headers values.
NewDeleteHTTPErrorRuleParams creates a new DeleteHTTPErrorRuleParams object with the default values initialized.
NewGetHTTPErrorRule creates a new http.Handler for the get HTTP error rule operation.
NewGetHTTPErrorRuleDefault creates GetHTTPErrorRuleDefault with default headers values.
NewGetHTTPErrorRuleNotFound creates GetHTTPErrorRuleNotFound with default headers values.
NewGetHTTPErrorRuleOK creates GetHTTPErrorRuleOK with default headers values.
NewGetHTTPErrorRuleParams creates a new GetHTTPErrorRuleParams object
There are no default values defined in the spec.
NewGetHTTPErrorRules creates a new http.Handler for the get HTTP error rules operation.
NewGetHTTPErrorRulesDefault creates GetHTTPErrorRulesDefault with default headers values.
NewGetHTTPErrorRulesOK creates GetHTTPErrorRulesOK with default headers values.
NewGetHTTPErrorRulesParams creates a new GetHTTPErrorRulesParams object
There are no default values defined in the spec.
NewReplaceHTTPErrorRule creates a new http.Handler for the replace HTTP error rule operation.
NewReplaceHTTPErrorRuleAccepted creates ReplaceHTTPErrorRuleAccepted with default headers values.
NewReplaceHTTPErrorRuleBadRequest creates ReplaceHTTPErrorRuleBadRequest with default headers values.
NewReplaceHTTPErrorRuleDefault creates ReplaceHTTPErrorRuleDefault with default headers values.
NewReplaceHTTPErrorRuleNotFound creates ReplaceHTTPErrorRuleNotFound with default headers values.
NewReplaceHTTPErrorRuleOK creates ReplaceHTTPErrorRuleOK with default headers values.
NewReplaceHTTPErrorRuleParams creates a new ReplaceHTTPErrorRuleParams object with the default values initialized.
# Constants
CreateHTTPErrorRuleAcceptedCode is the HTTP code returned for type CreateHTTPErrorRuleAccepted.
CreateHTTPErrorRuleBadRequestCode is the HTTP code returned for type CreateHTTPErrorRuleBadRequest.
CreateHTTPErrorRuleConflictCode is the HTTP code returned for type CreateHTTPErrorRuleConflict.
CreateHTTPErrorRuleCreatedCode is the HTTP code returned for type CreateHTTPErrorRuleCreated.
DeleteHTTPErrorRuleAcceptedCode is the HTTP code returned for type DeleteHTTPErrorRuleAccepted.
DeleteHTTPErrorRuleNoContentCode is the HTTP code returned for type DeleteHTTPErrorRuleNoContent.
DeleteHTTPErrorRuleNotFoundCode is the HTTP code returned for type DeleteHTTPErrorRuleNotFound.
GetHTTPErrorRuleNotFoundCode is the HTTP code returned for type GetHTTPErrorRuleNotFound.
GetHTTPErrorRuleOKCode is the HTTP code returned for type GetHTTPErrorRuleOK.
GetHTTPErrorRulesOKCode is the HTTP code returned for type GetHTTPErrorRulesOK.
ReplaceHTTPErrorRuleAcceptedCode is the HTTP code returned for type ReplaceHTTPErrorRuleAccepted.
ReplaceHTTPErrorRuleBadRequestCode is the HTTP code returned for type ReplaceHTTPErrorRuleBadRequest.
ReplaceHTTPErrorRuleNotFoundCode is the HTTP code returned for type ReplaceHTTPErrorRuleNotFound.
ReplaceHTTPErrorRuleOKCode is the HTTP code returned for type ReplaceHTTPErrorRuleOK.
# Structs
CreateHTTPErrorRule swagger:route POST /services/haproxy/configuration/http_error_rules HTTPErrorRule createHttpErrorRule
# Add a new HTTP Error Rule
Adds a new HTTP Error Rule of the specified type in the specified parent.
CreateHTTPErrorRuleAccepted Configuration change accepted and reload requested
swagger:response createHttpErrorRuleAccepted
*/.
CreateHTTPErrorRuleBadRequest Bad request
swagger:response createHttpErrorRuleBadRequest
*/.
CreateHTTPErrorRuleConflict The specified resource already exists
swagger:response createHttpErrorRuleConflict
*/.
CreateHTTPErrorRuleCreated HTTP Error Rule created
swagger:response createHttpErrorRuleCreated
*/.
CreateHTTPErrorRuleDefault General Error
swagger:response createHttpErrorRuleDefault
*/.
CreateHTTPErrorRuleParams contains all the bound params for the create HTTP error rule operation typically these are obtained from a http.Request
swagger:parameters createHTTPErrorRule.
CreateHTTPErrorRuleURL generates an URL for the create HTTP error rule operation.
DeleteHTTPErrorRule swagger:route DELETE /services/haproxy/configuration/http_error_rules/{index} HTTPErrorRule deleteHttpErrorRule
# Delete a HTTP Error Rule
Deletes a HTTP Error Rule configuration by its index from the specified parent.
DeleteHTTPErrorRuleAccepted Configuration change accepted and reload requested
swagger:response deleteHttpErrorRuleAccepted
*/.
DeleteHTTPErrorRuleDefault General Error
swagger:response deleteHttpErrorRuleDefault
*/.
DeleteHTTPErrorRuleNoContent HTTP Error Rule deleted
swagger:response deleteHttpErrorRuleNoContent
*/.
DeleteHTTPErrorRuleNotFound The specified resource was not found
swagger:response deleteHttpErrorRuleNotFound
*/.
DeleteHTTPErrorRuleParams contains all the bound params for the delete HTTP error rule operation typically these are obtained from a http.Request
swagger:parameters deleteHTTPErrorRule.
DeleteHTTPErrorRuleURL generates an URL for the delete HTTP error rule operation.
GetHTTPErrorRule swagger:route GET /services/haproxy/configuration/http_error_rules/{index} HTTPErrorRule getHttpErrorRule
# Return one HTTP Error Rule
Returns one HTTP Error Rule configuration by its index in the specified parent.
GetHTTPErrorRuleDefault General Error
swagger:response getHttpErrorRuleDefault
*/.
GetHTTPErrorRuleNotFound The specified resource was not found
swagger:response getHttpErrorRuleNotFound
*/.
GetHTTPErrorRuleOK Successful operation
swagger:response getHttpErrorRuleOK
*/.
GetHTTPErrorRuleOKBody get HTTP error rule o k body
swagger:model GetHTTPErrorRuleOKBody.
GetHTTPErrorRuleParams contains all the bound params for the get HTTP error rule operation typically these are obtained from a http.Request
swagger:parameters getHTTPErrorRule.
GetHTTPErrorRules swagger:route GET /services/haproxy/configuration/http_error_rules HTTPErrorRule getHttpErrorRules
# Return an array of all HTTP Error Rules
Returns all HTTP Error Rules that are configured in the specified parent.
GetHTTPErrorRulesDefault General Error
swagger:response getHttpErrorRulesDefault
*/.
GetHTTPErrorRulesOK Successful operation
swagger:response getHttpErrorRulesOK
*/.
GetHTTPErrorRulesOKBody get HTTP error rules o k body
swagger:model GetHTTPErrorRulesOKBody.
GetHTTPErrorRulesParams contains all the bound params for the get HTTP error rules operation typically these are obtained from a http.Request
swagger:parameters getHTTPErrorRules.
GetHTTPErrorRulesURL generates an URL for the get HTTP error rules operation.
GetHTTPErrorRuleURL generates an URL for the get HTTP error rule operation.
ReplaceHTTPErrorRule swagger:route PUT /services/haproxy/configuration/http_error_rules/{index} HTTPErrorRule replaceHttpErrorRule
# Replace a HTTP Error Rule
Replaces a HTTP Error Rule configuration by its index in the specified parent.
ReplaceHTTPErrorRuleAccepted Configuration change accepted and reload requested
swagger:response replaceHttpErrorRuleAccepted
*/.
ReplaceHTTPErrorRuleBadRequest Bad request
swagger:response replaceHttpErrorRuleBadRequest
*/.
ReplaceHTTPErrorRuleDefault General Error
swagger:response replaceHttpErrorRuleDefault
*/.
ReplaceHTTPErrorRuleNotFound The specified resource was not found
swagger:response replaceHttpErrorRuleNotFound
*/.
ReplaceHTTPErrorRuleOK HTTP Error Rule replaced
swagger:response replaceHttpErrorRuleOK
*/.
ReplaceHTTPErrorRuleParams contains all the bound params for the replace HTTP error rule operation typically these are obtained from a http.Request
swagger:parameters replaceHTTPErrorRule.
ReplaceHTTPErrorRuleURL generates an URL for the replace HTTP error rule operation.
# Interfaces
CreateHTTPErrorRuleHandler interface for that can handle valid create HTTP error rule params.
DeleteHTTPErrorRuleHandler interface for that can handle valid delete HTTP error rule params.
GetHTTPErrorRuleHandler interface for that can handle valid get HTTP error rule params.
GetHTTPErrorRulesHandler interface for that can handle valid get HTTP error rules params.
ReplaceHTTPErrorRuleHandler interface for that can handle valid replace HTTP error rule params.
# Type aliases
CreateHTTPErrorRuleHandlerFunc turns a function with the right signature into a create HTTP error rule handler.
DeleteHTTPErrorRuleHandlerFunc turns a function with the right signature into a delete HTTP error rule handler.
GetHTTPErrorRuleHandlerFunc turns a function with the right signature into a get HTTP error rule handler.
GetHTTPErrorRulesHandlerFunc turns a function with the right signature into a get HTTP error rules handler.
ReplaceHTTPErrorRuleHandlerFunc turns a function with the right signature into a replace HTTP error rule handler.