package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewAddRuntimeServer creates a new http.Handler for the add runtime server operation.
NewAddRuntimeServerBadRequest creates AddRuntimeServerBadRequest with default headers values.
NewAddRuntimeServerConflict creates AddRuntimeServerConflict with default headers values.
NewAddRuntimeServerCreated creates AddRuntimeServerCreated with default headers values.
NewAddRuntimeServerDefault creates AddRuntimeServerDefault with default headers values.
NewAddRuntimeServerNotFound creates AddRuntimeServerNotFound with default headers values.
NewAddRuntimeServerParams creates a new AddRuntimeServerParams object
There are no default values defined in the spec.
NewCreateServer creates a new http.Handler for the create server operation.
NewCreateServerAccepted creates CreateServerAccepted with default headers values.
NewCreateServerBadRequest creates CreateServerBadRequest with default headers values.
NewCreateServerConflict creates CreateServerConflict with default headers values.
NewCreateServerCreated creates CreateServerCreated with default headers values.
NewCreateServerDefault creates CreateServerDefault with default headers values.
NewCreateServerParams creates a new CreateServerParams object with the default values initialized.
NewDeleteRuntimeServer creates a new http.Handler for the delete runtime server operation.
NewDeleteRuntimeServerBadRequest creates DeleteRuntimeServerBadRequest with default headers values.
NewDeleteRuntimeServerDefault creates DeleteRuntimeServerDefault with default headers values.
NewDeleteRuntimeServerNoContent creates DeleteRuntimeServerNoContent with default headers values.
NewDeleteRuntimeServerNotFound creates DeleteRuntimeServerNotFound with default headers values.
NewDeleteRuntimeServerParams creates a new DeleteRuntimeServerParams object
There are no default values defined in the spec.
NewDeleteServer creates a new http.Handler for the delete server operation.
NewDeleteServerAccepted creates DeleteServerAccepted with default headers values.
NewDeleteServerDefault creates DeleteServerDefault with default headers values.
NewDeleteServerNoContent creates DeleteServerNoContent with default headers values.
NewDeleteServerNotFound creates DeleteServerNotFound with default headers values.
NewDeleteServerParams creates a new DeleteServerParams object with the default values initialized.
NewGetRuntimeServer creates a new http.Handler for the get runtime server operation.
NewGetRuntimeServerDefault creates GetRuntimeServerDefault with default headers values.
NewGetRuntimeServerNotFound creates GetRuntimeServerNotFound with default headers values.
NewGetRuntimeServerOK creates GetRuntimeServerOK with default headers values.
NewGetRuntimeServerParams creates a new GetRuntimeServerParams object
There are no default values defined in the spec.
NewGetRuntimeServers creates a new http.Handler for the get runtime servers operation.
NewGetRuntimeServersDefault creates GetRuntimeServersDefault with default headers values.
NewGetRuntimeServersOK creates GetRuntimeServersOK with default headers values.
NewGetRuntimeServersParams creates a new GetRuntimeServersParams object
There are no default values defined in the spec.
NewGetServer creates a new http.Handler for the get server operation.
NewGetServerDefault creates GetServerDefault with default headers values.
NewGetServerNotFound creates GetServerNotFound with default headers values.
NewGetServerOK creates GetServerOK with default headers values.
NewGetServerParams creates a new GetServerParams object
There are no default values defined in the spec.
NewGetServers creates a new http.Handler for the get servers operation.
NewGetServersDefault creates GetServersDefault with default headers values.
NewGetServersOK creates GetServersOK with default headers values.
NewGetServersParams creates a new GetServersParams object
There are no default values defined in the spec.
NewReplaceRuntimeServer creates a new http.Handler for the replace runtime server operation.
NewReplaceRuntimeServerBadRequest creates ReplaceRuntimeServerBadRequest with default headers values.
NewReplaceRuntimeServerDefault creates ReplaceRuntimeServerDefault with default headers values.
NewReplaceRuntimeServerNotFound creates ReplaceRuntimeServerNotFound with default headers values.
NewReplaceRuntimeServerOK creates ReplaceRuntimeServerOK with default headers values.
NewReplaceRuntimeServerParams creates a new ReplaceRuntimeServerParams object
There are no default values defined in the spec.
NewReplaceServer creates a new http.Handler for the replace server operation.
NewReplaceServerAccepted creates ReplaceServerAccepted with default headers values.
NewReplaceServerBadRequest creates ReplaceServerBadRequest with default headers values.
NewReplaceServerDefault creates ReplaceServerDefault with default headers values.
NewReplaceServerNotFound creates ReplaceServerNotFound with default headers values.
NewReplaceServerOK creates ReplaceServerOK with default headers values.
NewReplaceServerParams creates a new ReplaceServerParams object with the default values initialized.
# Constants
AddRuntimeServerBadRequestCode is the HTTP code returned for type AddRuntimeServerBadRequest.
AddRuntimeServerConflictCode is the HTTP code returned for type AddRuntimeServerConflict.
AddRuntimeServerCreatedCode is the HTTP code returned for type AddRuntimeServerCreated.
AddRuntimeServerNotFoundCode is the HTTP code returned for type AddRuntimeServerNotFound.
CreateServerAcceptedCode is the HTTP code returned for type CreateServerAccepted.
CreateServerBadRequestCode is the HTTP code returned for type CreateServerBadRequest.
CreateServerConflictCode is the HTTP code returned for type CreateServerConflict.
CreateServerCreatedCode is the HTTP code returned for type CreateServerCreated.
DeleteRuntimeServerBadRequestCode is the HTTP code returned for type DeleteRuntimeServerBadRequest.
DeleteRuntimeServerNoContentCode is the HTTP code returned for type DeleteRuntimeServerNoContent.
DeleteRuntimeServerNotFoundCode is the HTTP code returned for type DeleteRuntimeServerNotFound.
DeleteServerAcceptedCode is the HTTP code returned for type DeleteServerAccepted.
DeleteServerNoContentCode is the HTTP code returned for type DeleteServerNoContent.
DeleteServerNotFoundCode is the HTTP code returned for type DeleteServerNotFound.
GetRuntimeServerNotFoundCode is the HTTP code returned for type GetRuntimeServerNotFound.
GetRuntimeServerOKCode is the HTTP code returned for type GetRuntimeServerOK.
GetRuntimeServersOKCode is the HTTP code returned for type GetRuntimeServersOK.
GetServerNotFoundCode is the HTTP code returned for type GetServerNotFound.
GetServerOKCode is the HTTP code returned for type GetServerOK.
GetServersOKCode is the HTTP code returned for type GetServersOK.
ReplaceRuntimeServerBadRequestCode is the HTTP code returned for type ReplaceRuntimeServerBadRequest.
ReplaceRuntimeServerNotFoundCode is the HTTP code returned for type ReplaceRuntimeServerNotFound.
ReplaceRuntimeServerOKCode is the HTTP code returned for type ReplaceRuntimeServerOK.
ReplaceServerAcceptedCode is the HTTP code returned for type ReplaceServerAccepted.
ReplaceServerBadRequestCode is the HTTP code returned for type ReplaceServerBadRequest.
ReplaceServerNotFoundCode is the HTTP code returned for type ReplaceServerNotFound.
ReplaceServerOKCode is the HTTP code returned for type ReplaceServerOK.
# Structs
AddRuntimeServer swagger:route POST /services/haproxy/runtime/servers Server addRuntimeServer
# Adds a new server to a backend
Adds a new server to the specified backend
*/.
AddRuntimeServerBadRequest Bad request
swagger:response addRuntimeServerBadRequest
*/.
AddRuntimeServerConflict The specified resource already exists
swagger:response addRuntimeServerConflict
*/.
AddRuntimeServerCreated Server added
swagger:response addRuntimeServerCreated
*/.
AddRuntimeServerDefault General Error
swagger:response addRuntimeServerDefault
*/.
AddRuntimeServerNotFound The specified resource was not found
swagger:response addRuntimeServerNotFound
*/.
AddRuntimeServerParams contains all the bound params for the add runtime server operation typically these are obtained from a http.Request
swagger:parameters addRuntimeServer.
AddRuntimeServerURL generates an URL for the add runtime server operation.
CreateServer swagger:route POST /services/haproxy/configuration/servers Server createServer
# Add a new server
Adds a new server in the specified backend in the configuration file.
CreateServerAccepted Configuration change accepted and reload requested
swagger:response createServerAccepted
*/.
CreateServerBadRequest Bad request
swagger:response createServerBadRequest
*/.
CreateServerConflict The specified resource already exists
swagger:response createServerConflict
*/.
CreateServerCreated Server created
swagger:response createServerCreated
*/.
CreateServerDefault General Error
swagger:response createServerDefault
*/.
CreateServerParams contains all the bound params for the create server operation typically these are obtained from a http.Request
swagger:parameters createServer.
CreateServerURL generates an URL for the create server operation.
DeleteRuntimeServer swagger:route DELETE /services/haproxy/runtime/servers/{name} Server deleteRuntimeServer
# Deletes a server from a backend
Deletes a server from the specified backend
*/.
DeleteRuntimeServerBadRequest Bad request
swagger:response deleteRuntimeServerBadRequest
*/.
DeleteRuntimeServerDefault General Error
swagger:response deleteRuntimeServerDefault
*/.
DeleteRuntimeServerNoContent Server deleted
swagger:response deleteRuntimeServerNoContent
*/.
DeleteRuntimeServerNotFound The specified resource was not found
swagger:response deleteRuntimeServerNotFound
*/.
DeleteRuntimeServerParams contains all the bound params for the delete runtime server operation typically these are obtained from a http.Request
swagger:parameters deleteRuntimeServer.
DeleteRuntimeServerURL generates an URL for the delete runtime server operation.
DeleteServer swagger:route DELETE /services/haproxy/configuration/servers/{name} Server deleteServer
# Delete a server
Deletes a server configuration by it's name in the specified backend.
DeleteServerAccepted Configuration change accepted and reload requested
swagger:response deleteServerAccepted
*/.
DeleteServerDefault General Error
swagger:response deleteServerDefault
*/.
DeleteServerNoContent Server deleted
swagger:response deleteServerNoContent
*/.
DeleteServerNotFound The specified resource was not found
swagger:response deleteServerNotFound
*/.
DeleteServerParams contains all the bound params for the delete server operation typically these are obtained from a http.Request
swagger:parameters deleteServer.
DeleteServerURL generates an URL for the delete server operation.
GetRuntimeServer swagger:route GET /services/haproxy/runtime/servers/{name} Server getRuntimeServer
# Return one server runtime settings
Returns one server runtime settings by it's name in the specified backend.
GetRuntimeServerDefault General Error
swagger:response getRuntimeServerDefault
*/.
GetRuntimeServerNotFound The specified resource was not found
swagger:response getRuntimeServerNotFound
*/.
GetRuntimeServerOK Successful operation
swagger:response getRuntimeServerOK
*/.
GetRuntimeServerParams contains all the bound params for the get runtime server operation typically these are obtained from a http.Request
swagger:parameters getRuntimeServer.
GetRuntimeServers swagger:route GET /services/haproxy/runtime/servers Server getRuntimeServers
Return an array of runtime servers' settings
Returns an array of all servers' runtime settings.
GetRuntimeServersDefault General Error
swagger:response getRuntimeServersDefault
*/.
GetRuntimeServersOK Successful operation
swagger:response getRuntimeServersOK
*/.
GetRuntimeServersParams contains all the bound params for the get runtime servers operation typically these are obtained from a http.Request
swagger:parameters getRuntimeServers.
GetRuntimeServersURL generates an URL for the get runtime servers operation.
GetRuntimeServerURL generates an URL for the get runtime server operation.
GetServer swagger:route GET /services/haproxy/configuration/servers/{name} Server getServer
# Return one server
Returns one server configuration by it's name in the specified backend.
GetServerDefault General Error
swagger:response getServerDefault
*/.
GetServerNotFound The specified resource was not found
swagger:response getServerNotFound
*/.
GetServerOK Successful operation
swagger:response getServerOK
*/.
GetServerOKBody get server o k body
swagger:model GetServerOKBody.
GetServerParams contains all the bound params for the get server operation typically these are obtained from a http.Request
swagger:parameters getServer.
GetServers swagger:route GET /services/haproxy/configuration/servers Server getServers
# Return an array of servers
Returns an array of all servers that are configured in specified backend.
GetServersDefault General Error
swagger:response getServersDefault
*/.
GetServersOK Successful operation
swagger:response getServersOK
*/.
GetServersOKBody get servers o k body
swagger:model GetServersOKBody.
GetServersParams contains all the bound params for the get servers operation typically these are obtained from a http.Request
swagger:parameters getServers.
GetServersURL generates an URL for the get servers operation.
GetServerURL generates an URL for the get server operation.
ReplaceRuntimeServer swagger:route PUT /services/haproxy/runtime/servers/{name} Server replaceRuntimeServer
# Replace server transient settings
Replaces a server transient settings by it's name in the specified backend.
ReplaceRuntimeServerBadRequest Bad request
swagger:response replaceRuntimeServerBadRequest
*/.
ReplaceRuntimeServerDefault General Error
swagger:response replaceRuntimeServerDefault
*/.
ReplaceRuntimeServerNotFound The specified resource was not found
swagger:response replaceRuntimeServerNotFound
*/.
ReplaceRuntimeServerOK Server transient settings replaced
swagger:response replaceRuntimeServerOK
*/.
ReplaceRuntimeServerParams contains all the bound params for the replace runtime server operation typically these are obtained from a http.Request
swagger:parameters replaceRuntimeServer.
ReplaceRuntimeServerURL generates an URL for the replace runtime server operation.
ReplaceServer swagger:route PUT /services/haproxy/configuration/servers/{name} Server replaceServer
# Replace a server
Replaces a server configuration by it's name in the specified backend.
ReplaceServerAccepted Configuration change accepted and reload requested
swagger:response replaceServerAccepted
*/.
ReplaceServerBadRequest Bad request
swagger:response replaceServerBadRequest
*/.
ReplaceServerDefault General Error
swagger:response replaceServerDefault
*/.
ReplaceServerNotFound The specified resource was not found
swagger:response replaceServerNotFound
*/.
ReplaceServerOK Server replaced
swagger:response replaceServerOK
*/.
ReplaceServerParams contains all the bound params for the replace server operation typically these are obtained from a http.Request
swagger:parameters replaceServer.
ReplaceServerURL generates an URL for the replace server operation.
# Interfaces
AddRuntimeServerHandler interface for that can handle valid add runtime server params.
CreateServerHandler interface for that can handle valid create server params.
DeleteRuntimeServerHandler interface for that can handle valid delete runtime server params.
DeleteServerHandler interface for that can handle valid delete server params.
GetRuntimeServerHandler interface for that can handle valid get runtime server params.
GetRuntimeServersHandler interface for that can handle valid get runtime servers params.
GetServerHandler interface for that can handle valid get server params.
GetServersHandler interface for that can handle valid get servers params.
ReplaceRuntimeServerHandler interface for that can handle valid replace runtime server params.
ReplaceServerHandler interface for that can handle valid replace server params.
# Type aliases
AddRuntimeServerHandlerFunc turns a function with the right signature into a add runtime server handler.
CreateServerHandlerFunc turns a function with the right signature into a create server handler.
DeleteRuntimeServerHandlerFunc turns a function with the right signature into a delete runtime server handler.
DeleteServerHandlerFunc turns a function with the right signature into a delete server handler.
GetRuntimeServerHandlerFunc turns a function with the right signature into a get runtime server handler.
GetRuntimeServersHandlerFunc turns a function with the right signature into a get runtime servers handler.
GetServerHandlerFunc turns a function with the right signature into a get server handler.
GetServersHandlerFunc turns a function with the right signature into a get servers handler.
ReplaceRuntimeServerHandlerFunc turns a function with the right signature into a replace runtime server handler.
ReplaceServerHandlerFunc turns a function with the right signature into a replace server handler.