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

# Functions

NewCreateBackendSwitchingRule creates a new http.Handler for the create backend switching rule operation.
NewCreateBackendSwitchingRuleAccepted creates CreateBackendSwitchingRuleAccepted with default headers values.
NewCreateBackendSwitchingRuleBadRequest creates CreateBackendSwitchingRuleBadRequest with default headers values.
NewCreateBackendSwitchingRuleConflict creates CreateBackendSwitchingRuleConflict with default headers values.
NewCreateBackendSwitchingRuleCreated creates CreateBackendSwitchingRuleCreated with default headers values.
NewCreateBackendSwitchingRuleDefault creates CreateBackendSwitchingRuleDefault with default headers values.
NewCreateBackendSwitchingRuleParams creates a new CreateBackendSwitchingRuleParams object with the default values initialized.
NewDeleteBackendSwitchingRule creates a new http.Handler for the delete backend switching rule operation.
NewDeleteBackendSwitchingRuleAccepted creates DeleteBackendSwitchingRuleAccepted with default headers values.
NewDeleteBackendSwitchingRuleDefault creates DeleteBackendSwitchingRuleDefault with default headers values.
NewDeleteBackendSwitchingRuleNoContent creates DeleteBackendSwitchingRuleNoContent with default headers values.
NewDeleteBackendSwitchingRuleNotFound creates DeleteBackendSwitchingRuleNotFound with default headers values.
NewDeleteBackendSwitchingRuleParams creates a new DeleteBackendSwitchingRuleParams object with the default values initialized.
NewGetBackendSwitchingRule creates a new http.Handler for the get backend switching rule operation.
NewGetBackendSwitchingRuleDefault creates GetBackendSwitchingRuleDefault with default headers values.
NewGetBackendSwitchingRuleNotFound creates GetBackendSwitchingRuleNotFound with default headers values.
NewGetBackendSwitchingRuleOK creates GetBackendSwitchingRuleOK with default headers values.
NewGetBackendSwitchingRuleParams creates a new GetBackendSwitchingRuleParams object There are no default values defined in the spec.
NewGetBackendSwitchingRules creates a new http.Handler for the get backend switching rules operation.
NewGetBackendSwitchingRulesDefault creates GetBackendSwitchingRulesDefault with default headers values.
NewGetBackendSwitchingRulesOK creates GetBackendSwitchingRulesOK with default headers values.
NewGetBackendSwitchingRulesParams creates a new GetBackendSwitchingRulesParams object There are no default values defined in the spec.
NewReplaceBackendSwitchingRule creates a new http.Handler for the replace backend switching rule operation.
NewReplaceBackendSwitchingRuleAccepted creates ReplaceBackendSwitchingRuleAccepted with default headers values.
NewReplaceBackendSwitchingRuleBadRequest creates ReplaceBackendSwitchingRuleBadRequest with default headers values.
NewReplaceBackendSwitchingRuleDefault creates ReplaceBackendSwitchingRuleDefault with default headers values.
NewReplaceBackendSwitchingRuleNotFound creates ReplaceBackendSwitchingRuleNotFound with default headers values.
NewReplaceBackendSwitchingRuleOK creates ReplaceBackendSwitchingRuleOK with default headers values.
NewReplaceBackendSwitchingRuleParams creates a new ReplaceBackendSwitchingRuleParams object with the default values initialized.
NewReplaceBackendSwitchingRules creates a new http.Handler for the replace backend switching rules operation.
NewReplaceBackendSwitchingRulesAccepted creates ReplaceBackendSwitchingRulesAccepted with default headers values.
NewReplaceBackendSwitchingRulesBadRequest creates ReplaceBackendSwitchingRulesBadRequest with default headers values.
NewReplaceBackendSwitchingRulesDefault creates ReplaceBackendSwitchingRulesDefault with default headers values.
NewReplaceBackendSwitchingRulesOK creates ReplaceBackendSwitchingRulesOK with default headers values.
NewReplaceBackendSwitchingRulesParams creates a new ReplaceBackendSwitchingRulesParams object with the default values initialized.

# Constants

CreateBackendSwitchingRuleAcceptedCode is the HTTP code returned for type CreateBackendSwitchingRuleAccepted.
CreateBackendSwitchingRuleBadRequestCode is the HTTP code returned for type CreateBackendSwitchingRuleBadRequest.
CreateBackendSwitchingRuleConflictCode is the HTTP code returned for type CreateBackendSwitchingRuleConflict.
CreateBackendSwitchingRuleCreatedCode is the HTTP code returned for type CreateBackendSwitchingRuleCreated.
DeleteBackendSwitchingRuleAcceptedCode is the HTTP code returned for type DeleteBackendSwitchingRuleAccepted.
DeleteBackendSwitchingRuleNoContentCode is the HTTP code returned for type DeleteBackendSwitchingRuleNoContent.
DeleteBackendSwitchingRuleNotFoundCode is the HTTP code returned for type DeleteBackendSwitchingRuleNotFound.
GetBackendSwitchingRuleNotFoundCode is the HTTP code returned for type GetBackendSwitchingRuleNotFound.
GetBackendSwitchingRuleOKCode is the HTTP code returned for type GetBackendSwitchingRuleOK.
GetBackendSwitchingRulesOKCode is the HTTP code returned for type GetBackendSwitchingRulesOK.
ReplaceBackendSwitchingRuleAcceptedCode is the HTTP code returned for type ReplaceBackendSwitchingRuleAccepted.
ReplaceBackendSwitchingRuleBadRequestCode is the HTTP code returned for type ReplaceBackendSwitchingRuleBadRequest.
ReplaceBackendSwitchingRuleNotFoundCode is the HTTP code returned for type ReplaceBackendSwitchingRuleNotFound.
ReplaceBackendSwitchingRuleOKCode is the HTTP code returned for type ReplaceBackendSwitchingRuleOK.
ReplaceBackendSwitchingRulesAcceptedCode is the HTTP code returned for type ReplaceBackendSwitchingRulesAccepted.
ReplaceBackendSwitchingRulesBadRequestCode is the HTTP code returned for type ReplaceBackendSwitchingRulesBadRequest.
ReplaceBackendSwitchingRulesOKCode is the HTTP code returned for type ReplaceBackendSwitchingRulesOK.

# Structs

CreateBackendSwitchingRule swagger:route POST /services/haproxy/configuration/frontends/{parent_name}/backend_switching_rules/{index} BackendSwitchingRule createBackendSwitchingRule # Add a new Backend Switching Rule Adds a new Backend Switching Rule of the specified type in the specified frontend.
CreateBackendSwitchingRuleAccepted Configuration change accepted and reload requested swagger:response createBackendSwitchingRuleAccepted */.
CreateBackendSwitchingRuleBadRequest Bad request swagger:response createBackendSwitchingRuleBadRequest */.
CreateBackendSwitchingRuleConflict The specified resource already exists swagger:response createBackendSwitchingRuleConflict */.
CreateBackendSwitchingRuleCreated Backend Switching Rule created swagger:response createBackendSwitchingRuleCreated */.
CreateBackendSwitchingRuleDefault General Error swagger:response createBackendSwitchingRuleDefault */.
CreateBackendSwitchingRuleParams contains all the bound params for the create backend switching rule operation typically these are obtained from a http.Request swagger:parameters createBackendSwitchingRule.
CreateBackendSwitchingRuleURL generates an URL for the create backend switching rule operation.
DeleteBackendSwitchingRule swagger:route DELETE /services/haproxy/configuration/frontends/{parent_name}/backend_switching_rules/{index} BackendSwitchingRule deleteBackendSwitchingRule # Delete a Backend Switching Rule Deletes a Backend Switching Rule configuration by it's index from the specified frontend.
DeleteBackendSwitchingRuleAccepted Configuration change accepted and reload requested swagger:response deleteBackendSwitchingRuleAccepted */.
DeleteBackendSwitchingRuleDefault General Error swagger:response deleteBackendSwitchingRuleDefault */.
DeleteBackendSwitchingRuleNoContent Backend Switching Rule deleted swagger:response deleteBackendSwitchingRuleNoContent */.
DeleteBackendSwitchingRuleNotFound The specified resource was not found swagger:response deleteBackendSwitchingRuleNotFound */.
DeleteBackendSwitchingRuleParams contains all the bound params for the delete backend switching rule operation typically these are obtained from a http.Request swagger:parameters deleteBackendSwitchingRule.
DeleteBackendSwitchingRuleURL generates an URL for the delete backend switching rule operation.
GetBackendSwitchingRule swagger:route GET /services/haproxy/configuration/frontends/{parent_name}/backend_switching_rules/{index} BackendSwitchingRule getBackendSwitchingRule # Return one Backend Switching Rule Returns one Backend Switching Rule configuration by it's index in the specified frontend.
GetBackendSwitchingRuleDefault General Error swagger:response getBackendSwitchingRuleDefault */.
GetBackendSwitchingRuleNotFound The specified resource was not found swagger:response getBackendSwitchingRuleNotFound */.
GetBackendSwitchingRuleOK Successful operation swagger:response getBackendSwitchingRuleOK */.
GetBackendSwitchingRuleParams contains all the bound params for the get backend switching rule operation typically these are obtained from a http.Request swagger:parameters getBackendSwitchingRule.
GetBackendSwitchingRules swagger:route GET /services/haproxy/configuration/frontends/{parent_name}/backend_switching_rules BackendSwitchingRule getBackendSwitchingRules # Return an array of all Backend Switching Rules Returns all Backend Switching Rules that are configured in specified frontend.
GetBackendSwitchingRulesDefault General Error swagger:response getBackendSwitchingRulesDefault */.
GetBackendSwitchingRulesOK Successful operation swagger:response getBackendSwitchingRulesOK */.
GetBackendSwitchingRulesParams contains all the bound params for the get backend switching rules operation typically these are obtained from a http.Request swagger:parameters getBackendSwitchingRules.
GetBackendSwitchingRulesURL generates an URL for the get backend switching rules operation.
GetBackendSwitchingRuleURL generates an URL for the get backend switching rule operation.
ReplaceBackendSwitchingRule swagger:route PUT /services/haproxy/configuration/frontends/{parent_name}/backend_switching_rules/{index} BackendSwitchingRule replaceBackendSwitchingRule # Replace a Backend Switching Rule Replaces a Backend Switching Rule configuration by it's index in the specified frontend.
ReplaceBackendSwitchingRuleAccepted Configuration change accepted and reload requested swagger:response replaceBackendSwitchingRuleAccepted */.
ReplaceBackendSwitchingRuleBadRequest Bad request swagger:response replaceBackendSwitchingRuleBadRequest */.
ReplaceBackendSwitchingRuleDefault General Error swagger:response replaceBackendSwitchingRuleDefault */.
ReplaceBackendSwitchingRuleNotFound The specified resource was not found swagger:response replaceBackendSwitchingRuleNotFound */.
ReplaceBackendSwitchingRuleOK Backend Switching Rule replaced swagger:response replaceBackendSwitchingRuleOK */.
ReplaceBackendSwitchingRuleParams contains all the bound params for the replace backend switching rule operation typically these are obtained from a http.Request swagger:parameters replaceBackendSwitchingRule.
ReplaceBackendSwitchingRules swagger:route PUT /services/haproxy/configuration/frontends/{parent_name}/backend_switching_rules BackendSwitchingRule replaceBackendSwitchingRules # Replace an Backend Switching Rule list Replaces a whole list of Backend Switching Rules with the list given in parameter */.
ReplaceBackendSwitchingRulesAccepted Configuration change accepted and reload requested swagger:response replaceBackendSwitchingRulesAccepted */.
ReplaceBackendSwitchingRulesBadRequest Bad request swagger:response replaceBackendSwitchingRulesBadRequest */.
ReplaceBackendSwitchingRulesDefault General Error swagger:response replaceBackendSwitchingRulesDefault */.
ReplaceBackendSwitchingRulesOK All Backend Switching Rule lines replaced swagger:response replaceBackendSwitchingRulesOK */.
ReplaceBackendSwitchingRulesParams contains all the bound params for the replace backend switching rules operation typically these are obtained from a http.Request swagger:parameters replaceBackendSwitchingRules.
ReplaceBackendSwitchingRulesURL generates an URL for the replace backend switching rules operation.
ReplaceBackendSwitchingRuleURL generates an URL for the replace backend switching rule operation.

# Interfaces

CreateBackendSwitchingRuleHandler interface for that can handle valid create backend switching rule params.
DeleteBackendSwitchingRuleHandler interface for that can handle valid delete backend switching rule params.
GetBackendSwitchingRuleHandler interface for that can handle valid get backend switching rule params.
GetBackendSwitchingRulesHandler interface for that can handle valid get backend switching rules params.
ReplaceBackendSwitchingRuleHandler interface for that can handle valid replace backend switching rule params.
ReplaceBackendSwitchingRulesHandler interface for that can handle valid replace backend switching rules params.

# Type aliases

CreateBackendSwitchingRuleHandlerFunc turns a function with the right signature into a create backend switching rule handler.
DeleteBackendSwitchingRuleHandlerFunc turns a function with the right signature into a delete backend switching rule handler.
GetBackendSwitchingRuleHandlerFunc turns a function with the right signature into a get backend switching rule handler.
GetBackendSwitchingRulesHandlerFunc turns a function with the right signature into a get backend switching rules handler.
ReplaceBackendSwitchingRuleHandlerFunc turns a function with the right signature into a replace backend switching rule handler.
ReplaceBackendSwitchingRulesHandlerFunc turns a function with the right signature into a replace backend switching rules handler.