package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateHTTPResponseRule creates a new http.Handler for the create HTTP response rule operation.
NewCreateHTTPResponseRuleAccepted creates CreateHTTPResponseRuleAccepted with default headers values.
NewCreateHTTPResponseRuleBadRequest creates CreateHTTPResponseRuleBadRequest with default headers values.
NewCreateHTTPResponseRuleConflict creates CreateHTTPResponseRuleConflict with default headers values.
NewCreateHTTPResponseRuleCreated creates CreateHTTPResponseRuleCreated with default headers values.
NewCreateHTTPResponseRuleDefault creates CreateHTTPResponseRuleDefault with default headers values.
NewCreateHTTPResponseRuleParams creates a new CreateHTTPResponseRuleParams object with the default values initialized.
NewDeleteHTTPResponseRule creates a new http.Handler for the delete HTTP response rule operation.
NewDeleteHTTPResponseRuleAccepted creates DeleteHTTPResponseRuleAccepted with default headers values.
NewDeleteHTTPResponseRuleDefault creates DeleteHTTPResponseRuleDefault with default headers values.
NewDeleteHTTPResponseRuleNoContent creates DeleteHTTPResponseRuleNoContent with default headers values.
NewDeleteHTTPResponseRuleNotFound creates DeleteHTTPResponseRuleNotFound with default headers values.
NewDeleteHTTPResponseRuleParams creates a new DeleteHTTPResponseRuleParams object with the default values initialized.
NewGetHTTPResponseRule creates a new http.Handler for the get HTTP response rule operation.
NewGetHTTPResponseRuleDefault creates GetHTTPResponseRuleDefault with default headers values.
NewGetHTTPResponseRuleNotFound creates GetHTTPResponseRuleNotFound with default headers values.
NewGetHTTPResponseRuleOK creates GetHTTPResponseRuleOK with default headers values.
NewGetHTTPResponseRuleParams creates a new GetHTTPResponseRuleParams object
There are no default values defined in the spec.
NewGetHTTPResponseRules creates a new http.Handler for the get HTTP response rules operation.
NewGetHTTPResponseRulesDefault creates GetHTTPResponseRulesDefault with default headers values.
NewGetHTTPResponseRulesOK creates GetHTTPResponseRulesOK with default headers values.
NewGetHTTPResponseRulesParams creates a new GetHTTPResponseRulesParams object
There are no default values defined in the spec.
NewReplaceHTTPResponseRule creates a new http.Handler for the replace HTTP response rule operation.
NewReplaceHTTPResponseRuleAccepted creates ReplaceHTTPResponseRuleAccepted with default headers values.
NewReplaceHTTPResponseRuleBadRequest creates ReplaceHTTPResponseRuleBadRequest with default headers values.
NewReplaceHTTPResponseRuleDefault creates ReplaceHTTPResponseRuleDefault with default headers values.
NewReplaceHTTPResponseRuleNotFound creates ReplaceHTTPResponseRuleNotFound with default headers values.
NewReplaceHTTPResponseRuleOK creates ReplaceHTTPResponseRuleOK with default headers values.
NewReplaceHTTPResponseRuleParams creates a new ReplaceHTTPResponseRuleParams object with the default values initialized.
# Constants
CreateHTTPResponseRuleAcceptedCode is the HTTP code returned for type CreateHTTPResponseRuleAccepted.
CreateHTTPResponseRuleBadRequestCode is the HTTP code returned for type CreateHTTPResponseRuleBadRequest.
CreateHTTPResponseRuleConflictCode is the HTTP code returned for type CreateHTTPResponseRuleConflict.
CreateHTTPResponseRuleCreatedCode is the HTTP code returned for type CreateHTTPResponseRuleCreated.
DeleteHTTPResponseRuleAcceptedCode is the HTTP code returned for type DeleteHTTPResponseRuleAccepted.
DeleteHTTPResponseRuleNoContentCode is the HTTP code returned for type DeleteHTTPResponseRuleNoContent.
DeleteHTTPResponseRuleNotFoundCode is the HTTP code returned for type DeleteHTTPResponseRuleNotFound.
GetHTTPResponseRuleNotFoundCode is the HTTP code returned for type GetHTTPResponseRuleNotFound.
GetHTTPResponseRuleOKCode is the HTTP code returned for type GetHTTPResponseRuleOK.
GetHTTPResponseRulesOKCode is the HTTP code returned for type GetHTTPResponseRulesOK.
ReplaceHTTPResponseRuleAcceptedCode is the HTTP code returned for type ReplaceHTTPResponseRuleAccepted.
ReplaceHTTPResponseRuleBadRequestCode is the HTTP code returned for type ReplaceHTTPResponseRuleBadRequest.
ReplaceHTTPResponseRuleNotFoundCode is the HTTP code returned for type ReplaceHTTPResponseRuleNotFound.
ReplaceHTTPResponseRuleOKCode is the HTTP code returned for type ReplaceHTTPResponseRuleOK.
# Structs
CreateHTTPResponseRule swagger:route POST /services/haproxy/configuration/http_response_rules HTTPResponseRule createHttpResponseRule
# Add a new HTTP Response Rule
Adds a new HTTP Response Rule of the specified type in the specified parent.
CreateHTTPResponseRuleAccepted Configuration change accepted and reload requested
swagger:response createHttpResponseRuleAccepted
*/.
CreateHTTPResponseRuleBadRequest Bad request
swagger:response createHttpResponseRuleBadRequest
*/.
CreateHTTPResponseRuleConflict The specified resource already exists
swagger:response createHttpResponseRuleConflict
*/.
CreateHTTPResponseRuleCreated HTTP Response Rule created
swagger:response createHttpResponseRuleCreated
*/.
CreateHTTPResponseRuleDefault General Error
swagger:response createHttpResponseRuleDefault
*/.
CreateHTTPResponseRuleParams contains all the bound params for the create HTTP response rule operation typically these are obtained from a http.Request
swagger:parameters createHTTPResponseRule.
CreateHTTPResponseRuleURL generates an URL for the create HTTP response rule operation.
DeleteHTTPResponseRule swagger:route DELETE /services/haproxy/configuration/http_response_rules/{index} HTTPResponseRule deleteHttpResponseRule
# Delete a HTTP Response Rule
Deletes a HTTP Response Rule configuration by it's index from the specified parent.
DeleteHTTPResponseRuleAccepted Configuration change accepted and reload requested
swagger:response deleteHttpResponseRuleAccepted
*/.
DeleteHTTPResponseRuleDefault General Error
swagger:response deleteHttpResponseRuleDefault
*/.
DeleteHTTPResponseRuleNoContent HTTP Response Rule deleted
swagger:response deleteHttpResponseRuleNoContent
*/.
DeleteHTTPResponseRuleNotFound The specified resource was not found
swagger:response deleteHttpResponseRuleNotFound
*/.
DeleteHTTPResponseRuleParams contains all the bound params for the delete HTTP response rule operation typically these are obtained from a http.Request
swagger:parameters deleteHTTPResponseRule.
DeleteHTTPResponseRuleURL generates an URL for the delete HTTP response rule operation.
GetHTTPResponseRule swagger:route GET /services/haproxy/configuration/http_response_rules/{index} HTTPResponseRule getHttpResponseRule
# Return one HTTP Response Rule
Returns one HTTP Response Rule configuration by it's index in the specified parent.
GetHTTPResponseRuleDefault General Error
swagger:response getHttpResponseRuleDefault
*/.
GetHTTPResponseRuleNotFound The specified resource was not found
swagger:response getHttpResponseRuleNotFound
*/.
GetHTTPResponseRuleOK Successful operation
swagger:response getHttpResponseRuleOK
*/.
GetHTTPResponseRuleOKBody get HTTP response rule o k body
swagger:model GetHTTPResponseRuleOKBody.
GetHTTPResponseRuleParams contains all the bound params for the get HTTP response rule operation typically these are obtained from a http.Request
swagger:parameters getHTTPResponseRule.
GetHTTPResponseRules swagger:route GET /services/haproxy/configuration/http_response_rules HTTPResponseRule getHttpResponseRules
# Return an array of all HTTP Response Rules
Returns all HTTP Response Rules that are configured in specified parent.
GetHTTPResponseRulesDefault General Error
swagger:response getHttpResponseRulesDefault
*/.
GetHTTPResponseRulesOK Successful operation
swagger:response getHttpResponseRulesOK
*/.
GetHTTPResponseRulesOKBody get HTTP response rules o k body
swagger:model GetHTTPResponseRulesOKBody.
GetHTTPResponseRulesParams contains all the bound params for the get HTTP response rules operation typically these are obtained from a http.Request
swagger:parameters getHTTPResponseRules.
GetHTTPResponseRulesURL generates an URL for the get HTTP response rules operation.
GetHTTPResponseRuleURL generates an URL for the get HTTP response rule operation.
ReplaceHTTPResponseRule swagger:route PUT /services/haproxy/configuration/http_response_rules/{index} HTTPResponseRule replaceHttpResponseRule
# Replace a HTTP Response Rule
Replaces a HTTP Response Rule configuration by it's index in the specified parent.
ReplaceHTTPResponseRuleAccepted Configuration change accepted and reload requested
swagger:response replaceHttpResponseRuleAccepted
*/.
ReplaceHTTPResponseRuleBadRequest Bad request
swagger:response replaceHttpResponseRuleBadRequest
*/.
ReplaceHTTPResponseRuleDefault General Error
swagger:response replaceHttpResponseRuleDefault
*/.
ReplaceHTTPResponseRuleNotFound The specified resource was not found
swagger:response replaceHttpResponseRuleNotFound
*/.
ReplaceHTTPResponseRuleOK HTTP Response Rule replaced
swagger:response replaceHttpResponseRuleOK
*/.
ReplaceHTTPResponseRuleParams contains all the bound params for the replace HTTP response rule operation typically these are obtained from a http.Request
swagger:parameters replaceHTTPResponseRule.
ReplaceHTTPResponseRuleURL generates an URL for the replace HTTP response rule operation.
# Interfaces
CreateHTTPResponseRuleHandler interface for that can handle valid create HTTP response rule params.
DeleteHTTPResponseRuleHandler interface for that can handle valid delete HTTP response rule params.
GetHTTPResponseRuleHandler interface for that can handle valid get HTTP response rule params.
GetHTTPResponseRulesHandler interface for that can handle valid get HTTP response rules params.
ReplaceHTTPResponseRuleHandler interface for that can handle valid replace HTTP response rule params.
# Type aliases
CreateHTTPResponseRuleHandlerFunc turns a function with the right signature into a create HTTP response rule handler.
DeleteHTTPResponseRuleHandlerFunc turns a function with the right signature into a delete HTTP response rule handler.
GetHTTPResponseRuleHandlerFunc turns a function with the right signature into a get HTTP response rule handler.
GetHTTPResponseRulesHandlerFunc turns a function with the right signature into a get HTTP response rules handler.
ReplaceHTTPResponseRuleHandlerFunc turns a function with the right signature into a replace HTTP response rule handler.