package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateHTTPRequestRule creates a new http.Handler for the create HTTP request rule operation.
NewCreateHTTPRequestRuleAccepted creates CreateHTTPRequestRuleAccepted with default headers values.
NewCreateHTTPRequestRuleBadRequest creates CreateHTTPRequestRuleBadRequest with default headers values.
NewCreateHTTPRequestRuleConflict creates CreateHTTPRequestRuleConflict with default headers values.
NewCreateHTTPRequestRuleCreated creates CreateHTTPRequestRuleCreated with default headers values.
NewCreateHTTPRequestRuleDefault creates CreateHTTPRequestRuleDefault with default headers values.
NewCreateHTTPRequestRuleParams creates a new CreateHTTPRequestRuleParams object with the default values initialized.
NewDeleteHTTPRequestRule creates a new http.Handler for the delete HTTP request rule operation.
NewDeleteHTTPRequestRuleAccepted creates DeleteHTTPRequestRuleAccepted with default headers values.
NewDeleteHTTPRequestRuleDefault creates DeleteHTTPRequestRuleDefault with default headers values.
NewDeleteHTTPRequestRuleNoContent creates DeleteHTTPRequestRuleNoContent with default headers values.
NewDeleteHTTPRequestRuleNotFound creates DeleteHTTPRequestRuleNotFound with default headers values.
NewDeleteHTTPRequestRuleParams creates a new DeleteHTTPRequestRuleParams object with the default values initialized.
NewGetHTTPRequestRule creates a new http.Handler for the get HTTP request rule operation.
NewGetHTTPRequestRuleDefault creates GetHTTPRequestRuleDefault with default headers values.
NewGetHTTPRequestRuleNotFound creates GetHTTPRequestRuleNotFound with default headers values.
NewGetHTTPRequestRuleOK creates GetHTTPRequestRuleOK with default headers values.
NewGetHTTPRequestRuleParams creates a new GetHTTPRequestRuleParams object
There are no default values defined in the spec.
NewGetHTTPRequestRules creates a new http.Handler for the get HTTP request rules operation.
NewGetHTTPRequestRulesDefault creates GetHTTPRequestRulesDefault with default headers values.
NewGetHTTPRequestRulesOK creates GetHTTPRequestRulesOK with default headers values.
NewGetHTTPRequestRulesParams creates a new GetHTTPRequestRulesParams object
There are no default values defined in the spec.
NewReplaceHTTPRequestRule creates a new http.Handler for the replace HTTP request rule operation.
NewReplaceHTTPRequestRuleAccepted creates ReplaceHTTPRequestRuleAccepted with default headers values.
NewReplaceHTTPRequestRuleBadRequest creates ReplaceHTTPRequestRuleBadRequest with default headers values.
NewReplaceHTTPRequestRuleDefault creates ReplaceHTTPRequestRuleDefault with default headers values.
NewReplaceHTTPRequestRuleNotFound creates ReplaceHTTPRequestRuleNotFound with default headers values.
NewReplaceHTTPRequestRuleOK creates ReplaceHTTPRequestRuleOK with default headers values.
NewReplaceHTTPRequestRuleParams creates a new ReplaceHTTPRequestRuleParams object with the default values initialized.
# Constants
CreateHTTPRequestRuleAcceptedCode is the HTTP code returned for type CreateHTTPRequestRuleAccepted.
CreateHTTPRequestRuleBadRequestCode is the HTTP code returned for type CreateHTTPRequestRuleBadRequest.
CreateHTTPRequestRuleConflictCode is the HTTP code returned for type CreateHTTPRequestRuleConflict.
CreateHTTPRequestRuleCreatedCode is the HTTP code returned for type CreateHTTPRequestRuleCreated.
DeleteHTTPRequestRuleAcceptedCode is the HTTP code returned for type DeleteHTTPRequestRuleAccepted.
DeleteHTTPRequestRuleNoContentCode is the HTTP code returned for type DeleteHTTPRequestRuleNoContent.
DeleteHTTPRequestRuleNotFoundCode is the HTTP code returned for type DeleteHTTPRequestRuleNotFound.
GetHTTPRequestRuleNotFoundCode is the HTTP code returned for type GetHTTPRequestRuleNotFound.
GetHTTPRequestRuleOKCode is the HTTP code returned for type GetHTTPRequestRuleOK.
GetHTTPRequestRulesOKCode is the HTTP code returned for type GetHTTPRequestRulesOK.
ReplaceHTTPRequestRuleAcceptedCode is the HTTP code returned for type ReplaceHTTPRequestRuleAccepted.
ReplaceHTTPRequestRuleBadRequestCode is the HTTP code returned for type ReplaceHTTPRequestRuleBadRequest.
ReplaceHTTPRequestRuleNotFoundCode is the HTTP code returned for type ReplaceHTTPRequestRuleNotFound.
ReplaceHTTPRequestRuleOKCode is the HTTP code returned for type ReplaceHTTPRequestRuleOK.
# Structs
CreateHTTPRequestRule swagger:route POST /services/haproxy/configuration/http_request_rules HTTPRequestRule createHttpRequestRule
# Add a new HTTP Request Rule
Adds a new HTTP Request Rule of the specified type in the specified parent.
CreateHTTPRequestRuleAccepted Configuration change accepted and reload requested
swagger:response createHttpRequestRuleAccepted
*/.
CreateHTTPRequestRuleBadRequest Bad request
swagger:response createHttpRequestRuleBadRequest
*/.
CreateHTTPRequestRuleConflict The specified resource already exists
swagger:response createHttpRequestRuleConflict
*/.
CreateHTTPRequestRuleCreated HTTP Request Rule created
swagger:response createHttpRequestRuleCreated
*/.
CreateHTTPRequestRuleDefault General Error
swagger:response createHttpRequestRuleDefault
*/.
CreateHTTPRequestRuleParams contains all the bound params for the create HTTP request rule operation typically these are obtained from a http.Request
swagger:parameters createHTTPRequestRule.
CreateHTTPRequestRuleURL generates an URL for the create HTTP request rule operation.
DeleteHTTPRequestRule swagger:route DELETE /services/haproxy/configuration/http_request_rules/{index} HTTPRequestRule deleteHttpRequestRule
# Delete a HTTP Request Rule
Deletes a HTTP Request Rule configuration by it's index from the specified parent.
DeleteHTTPRequestRuleAccepted Configuration change accepted and reload requested
swagger:response deleteHttpRequestRuleAccepted
*/.
DeleteHTTPRequestRuleDefault General Error
swagger:response deleteHttpRequestRuleDefault
*/.
DeleteHTTPRequestRuleNoContent HTTP Request Rule deleted
swagger:response deleteHttpRequestRuleNoContent
*/.
DeleteHTTPRequestRuleNotFound The specified resource was not found
swagger:response deleteHttpRequestRuleNotFound
*/.
DeleteHTTPRequestRuleParams contains all the bound params for the delete HTTP request rule operation typically these are obtained from a http.Request
swagger:parameters deleteHTTPRequestRule.
DeleteHTTPRequestRuleURL generates an URL for the delete HTTP request rule operation.
GetHTTPRequestRule swagger:route GET /services/haproxy/configuration/http_request_rules/{index} HTTPRequestRule getHttpRequestRule
# Return one HTTP Request Rule
Returns one HTTP Request Rule configuration by it's index in the specified parent.
GetHTTPRequestRuleDefault General Error
swagger:response getHttpRequestRuleDefault
*/.
GetHTTPRequestRuleNotFound The specified resource was not found
swagger:response getHttpRequestRuleNotFound
*/.
GetHTTPRequestRuleOK Successful operation
swagger:response getHttpRequestRuleOK
*/.
GetHTTPRequestRuleOKBody get HTTP request rule o k body
swagger:model GetHTTPRequestRuleOKBody.
GetHTTPRequestRuleParams contains all the bound params for the get HTTP request rule operation typically these are obtained from a http.Request
swagger:parameters getHTTPRequestRule.
GetHTTPRequestRules swagger:route GET /services/haproxy/configuration/http_request_rules HTTPRequestRule getHttpRequestRules
# Return an array of all HTTP Request Rules
Returns all HTTP Request Rules that are configured in specified parent.
GetHTTPRequestRulesDefault General Error
swagger:response getHttpRequestRulesDefault
*/.
GetHTTPRequestRulesOK Successful operation
swagger:response getHttpRequestRulesOK
*/.
GetHTTPRequestRulesOKBody get HTTP request rules o k body
swagger:model GetHTTPRequestRulesOKBody.
GetHTTPRequestRulesParams contains all the bound params for the get HTTP request rules operation typically these are obtained from a http.Request
swagger:parameters getHTTPRequestRules.
GetHTTPRequestRulesURL generates an URL for the get HTTP request rules operation.
GetHTTPRequestRuleURL generates an URL for the get HTTP request rule operation.
ReplaceHTTPRequestRule swagger:route PUT /services/haproxy/configuration/http_request_rules/{index} HTTPRequestRule replaceHttpRequestRule
# Replace a HTTP Request Rule
Replaces a HTTP Request Rule configuration by it's index in the specified parent.
ReplaceHTTPRequestRuleAccepted Configuration change accepted and reload requested
swagger:response replaceHttpRequestRuleAccepted
*/.
ReplaceHTTPRequestRuleBadRequest Bad request
swagger:response replaceHttpRequestRuleBadRequest
*/.
ReplaceHTTPRequestRuleDefault General Error
swagger:response replaceHttpRequestRuleDefault
*/.
ReplaceHTTPRequestRuleNotFound The specified resource was not found
swagger:response replaceHttpRequestRuleNotFound
*/.
ReplaceHTTPRequestRuleOK HTTP Request Rule replaced
swagger:response replaceHttpRequestRuleOK
*/.
ReplaceHTTPRequestRuleParams contains all the bound params for the replace HTTP request rule operation typically these are obtained from a http.Request
swagger:parameters replaceHTTPRequestRule.
ReplaceHTTPRequestRuleURL generates an URL for the replace HTTP request rule operation.
# Interfaces
CreateHTTPRequestRuleHandler interface for that can handle valid create HTTP request rule params.
DeleteHTTPRequestRuleHandler interface for that can handle valid delete HTTP request rule params.
GetHTTPRequestRuleHandler interface for that can handle valid get HTTP request rule params.
GetHTTPRequestRulesHandler interface for that can handle valid get HTTP request rules params.
ReplaceHTTPRequestRuleHandler interface for that can handle valid replace HTTP request rule params.
# Type aliases
CreateHTTPRequestRuleHandlerFunc turns a function with the right signature into a create HTTP request rule handler.
DeleteHTTPRequestRuleHandlerFunc turns a function with the right signature into a delete HTTP request rule handler.
GetHTTPRequestRuleHandlerFunc turns a function with the right signature into a get HTTP request rule handler.
GetHTTPRequestRulesHandlerFunc turns a function with the right signature into a get HTTP request rules handler.
ReplaceHTTPRequestRuleHandlerFunc turns a function with the right signature into a replace HTTP request rule handler.