package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateServerTemplate creates a new http.Handler for the create server template operation.
NewCreateServerTemplateAccepted creates CreateServerTemplateAccepted with default headers values.
NewCreateServerTemplateBadRequest creates CreateServerTemplateBadRequest with default headers values.
NewCreateServerTemplateConflict creates CreateServerTemplateConflict with default headers values.
NewCreateServerTemplateCreated creates CreateServerTemplateCreated with default headers values.
NewCreateServerTemplateDefault creates CreateServerTemplateDefault with default headers values.
NewCreateServerTemplateParams creates a new CreateServerTemplateParams object with the default values initialized.
NewDeleteServerTemplate creates a new http.Handler for the delete server template operation.
NewDeleteServerTemplateAccepted creates DeleteServerTemplateAccepted with default headers values.
NewDeleteServerTemplateDefault creates DeleteServerTemplateDefault with default headers values.
NewDeleteServerTemplateNoContent creates DeleteServerTemplateNoContent with default headers values.
NewDeleteServerTemplateNotFound creates DeleteServerTemplateNotFound with default headers values.
NewDeleteServerTemplateParams creates a new DeleteServerTemplateParams object with the default values initialized.
NewGetServerTemplate creates a new http.Handler for the get server template operation.
NewGetServerTemplateDefault creates GetServerTemplateDefault with default headers values.
NewGetServerTemplateNotFound creates GetServerTemplateNotFound with default headers values.
NewGetServerTemplateOK creates GetServerTemplateOK with default headers values.
NewGetServerTemplateParams creates a new GetServerTemplateParams object
There are no default values defined in the spec.
NewGetServerTemplates creates a new http.Handler for the get server templates operation.
NewGetServerTemplatesDefault creates GetServerTemplatesDefault with default headers values.
NewGetServerTemplatesOK creates GetServerTemplatesOK with default headers values.
NewGetServerTemplatesParams creates a new GetServerTemplatesParams object
There are no default values defined in the spec.
NewReplaceServerTemplate creates a new http.Handler for the replace server template operation.
NewReplaceServerTemplateAccepted creates ReplaceServerTemplateAccepted with default headers values.
NewReplaceServerTemplateBadRequest creates ReplaceServerTemplateBadRequest with default headers values.
NewReplaceServerTemplateDefault creates ReplaceServerTemplateDefault with default headers values.
NewReplaceServerTemplateNotFound creates ReplaceServerTemplateNotFound with default headers values.
NewReplaceServerTemplateOK creates ReplaceServerTemplateOK with default headers values.
NewReplaceServerTemplateParams creates a new ReplaceServerTemplateParams object with the default values initialized.
# Constants
CreateServerTemplateAcceptedCode is the HTTP code returned for type CreateServerTemplateAccepted.
CreateServerTemplateBadRequestCode is the HTTP code returned for type CreateServerTemplateBadRequest.
CreateServerTemplateConflictCode is the HTTP code returned for type CreateServerTemplateConflict.
CreateServerTemplateCreatedCode is the HTTP code returned for type CreateServerTemplateCreated.
DeleteServerTemplateAcceptedCode is the HTTP code returned for type DeleteServerTemplateAccepted.
DeleteServerTemplateNoContentCode is the HTTP code returned for type DeleteServerTemplateNoContent.
DeleteServerTemplateNotFoundCode is the HTTP code returned for type DeleteServerTemplateNotFound.
GetServerTemplateNotFoundCode is the HTTP code returned for type GetServerTemplateNotFound.
GetServerTemplateOKCode is the HTTP code returned for type GetServerTemplateOK.
GetServerTemplatesOKCode is the HTTP code returned for type GetServerTemplatesOK.
ReplaceServerTemplateAcceptedCode is the HTTP code returned for type ReplaceServerTemplateAccepted.
ReplaceServerTemplateBadRequestCode is the HTTP code returned for type ReplaceServerTemplateBadRequest.
ReplaceServerTemplateNotFoundCode is the HTTP code returned for type ReplaceServerTemplateNotFound.
ReplaceServerTemplateOKCode is the HTTP code returned for type ReplaceServerTemplateOK.
# Structs
CreateServerTemplate swagger:route POST /services/haproxy/configuration/server_templates ServerTemplate createServerTemplate
# Add a new server template
Adds a new server template in the specified backend in the configuration file.
CreateServerTemplateAccepted Configuration change accepted and reload requested
swagger:response createServerTemplateAccepted
*/.
CreateServerTemplateBadRequest Bad request
swagger:response createServerTemplateBadRequest
*/.
CreateServerTemplateConflict The specified resource already exists
swagger:response createServerTemplateConflict
*/.
CreateServerTemplateCreated Server template created
swagger:response createServerTemplateCreated
*/.
CreateServerTemplateDefault General Error
swagger:response createServerTemplateDefault
*/.
CreateServerTemplateParams contains all the bound params for the create server template operation typically these are obtained from a http.Request
swagger:parameters createServerTemplate.
CreateServerTemplateURL generates an URL for the create server template operation.
DeleteServerTemplate swagger:route DELETE /services/haproxy/configuration/server_templates/{prefix} ServerTemplate deleteServerTemplate
# Delete a server template
Deletes a server template configuration by it's prefix in the specified backend.
DeleteServerTemplateAccepted Configuration change accepted and reload requested
swagger:response deleteServerTemplateAccepted
*/.
DeleteServerTemplateDefault General Error
swagger:response deleteServerTemplateDefault
*/.
DeleteServerTemplateNoContent Server template deleted
swagger:response deleteServerTemplateNoContent
*/.
DeleteServerTemplateNotFound The specified resource was not found
swagger:response deleteServerTemplateNotFound
*/.
DeleteServerTemplateParams contains all the bound params for the delete server template operation typically these are obtained from a http.Request
swagger:parameters deleteServerTemplate.
DeleteServerTemplateURL generates an URL for the delete server template operation.
GetServerTemplate swagger:route GET /services/haproxy/configuration/server_templates/{prefix} ServerTemplate getServerTemplate
# Return one server template
Returns one server template configuration by it's prefix in the specified backend.
GetServerTemplateDefault General Error
swagger:response getServerTemplateDefault
*/.
GetServerTemplateNotFound The specified resource was not found
swagger:response getServerTemplateNotFound
*/.
GetServerTemplateOK Successful operation
swagger:response getServerTemplateOK
*/.
GetServerTemplateOKBody get server template o k body
swagger:model GetServerTemplateOKBody.
GetServerTemplateParams contains all the bound params for the get server template operation typically these are obtained from a http.Request
swagger:parameters getServerTemplate.
GetServerTemplates swagger:route GET /services/haproxy/configuration/server_templates ServerTemplate getServerTemplates
# Return an array of server templates
Returns an array of all server templates that are configured in specified backend.
GetServerTemplatesDefault General Error
swagger:response getServerTemplatesDefault
*/.
GetServerTemplatesOK Successful operation
swagger:response getServerTemplatesOK
*/.
GetServerTemplatesOKBody get server templates o k body
swagger:model GetServerTemplatesOKBody.
GetServerTemplatesParams contains all the bound params for the get server templates operation typically these are obtained from a http.Request
swagger:parameters getServerTemplates.
GetServerTemplatesURL generates an URL for the get server templates operation.
GetServerTemplateURL generates an URL for the get server template operation.
ReplaceServerTemplate swagger:route PUT /services/haproxy/configuration/server_templates/{prefix} ServerTemplate replaceServerTemplate
# Replace a server template
Replaces a server template configuration by it's prefix in the specified backend.
ReplaceServerTemplateAccepted Configuration change accepted and reload requested
swagger:response replaceServerTemplateAccepted
*/.
ReplaceServerTemplateBadRequest Bad request
swagger:response replaceServerTemplateBadRequest
*/.
ReplaceServerTemplateDefault General Error
swagger:response replaceServerTemplateDefault
*/.
ReplaceServerTemplateNotFound The specified resource was not found
swagger:response replaceServerTemplateNotFound
*/.
ReplaceServerTemplateOK Server template replaced
swagger:response replaceServerTemplateOK
*/.
ReplaceServerTemplateParams contains all the bound params for the replace server template operation typically these are obtained from a http.Request
swagger:parameters replaceServerTemplate.
ReplaceServerTemplateURL generates an URL for the replace server template operation.
# Interfaces
CreateServerTemplateHandler interface for that can handle valid create server template params.
DeleteServerTemplateHandler interface for that can handle valid delete server template params.
GetServerTemplateHandler interface for that can handle valid get server template params.
GetServerTemplatesHandler interface for that can handle valid get server templates params.
ReplaceServerTemplateHandler interface for that can handle valid replace server template params.
# Type aliases
CreateServerTemplateHandlerFunc turns a function with the right signature into a create server template handler.
DeleteServerTemplateHandlerFunc turns a function with the right signature into a delete server template handler.
GetServerTemplateHandlerFunc turns a function with the right signature into a get server template handler.
GetServerTemplatesHandlerFunc turns a function with the right signature into a get server templates handler.
ReplaceServerTemplateHandlerFunc turns a function with the right signature into a replace server template handler.