package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateProgram creates a new http.Handler for the create program operation.
NewCreateProgramAccepted creates CreateProgramAccepted with default headers values.
NewCreateProgramBadRequest creates CreateProgramBadRequest with default headers values.
NewCreateProgramConflict creates CreateProgramConflict with default headers values.
NewCreateProgramCreated creates CreateProgramCreated with default headers values.
NewCreateProgramDefault creates CreateProgramDefault with default headers values.
NewCreateProgramParams creates a new CreateProgramParams object with the default values initialized.
NewDeleteProgram creates a new http.Handler for the delete program operation.
NewDeleteProgramAccepted creates DeleteProgramAccepted with default headers values.
NewDeleteProgramDefault creates DeleteProgramDefault with default headers values.
NewDeleteProgramNoContent creates DeleteProgramNoContent with default headers values.
NewDeleteProgramNotFound creates DeleteProgramNotFound with default headers values.
NewDeleteProgramParams creates a new DeleteProgramParams object with the default values initialized.
NewGetProgram creates a new http.Handler for the get program operation.
NewGetProgramDefault creates GetProgramDefault with default headers values.
NewGetProgramNotFound creates GetProgramNotFound with default headers values.
NewGetProgramOK creates GetProgramOK with default headers values.
NewGetProgramParams creates a new GetProgramParams object
There are no default values defined in the spec.
NewGetPrograms creates a new http.Handler for the get programs operation.
NewGetProgramsDefault creates GetProgramsDefault with default headers values.
NewGetProgramsOK creates GetProgramsOK with default headers values.
NewGetProgramsParams creates a new GetProgramsParams object
There are no default values defined in the spec.
NewReplaceProgram creates a new http.Handler for the replace program operation.
NewReplaceProgramAccepted creates ReplaceProgramAccepted with default headers values.
NewReplaceProgramBadRequest creates ReplaceProgramBadRequest with default headers values.
NewReplaceProgramDefault creates ReplaceProgramDefault with default headers values.
NewReplaceProgramNotFound creates ReplaceProgramNotFound with default headers values.
NewReplaceProgramOK creates ReplaceProgramOK with default headers values.
NewReplaceProgramParams creates a new ReplaceProgramParams object with the default values initialized.
# Constants
CreateProgramAcceptedCode is the HTTP code returned for type CreateProgramAccepted.
CreateProgramBadRequestCode is the HTTP code returned for type CreateProgramBadRequest.
CreateProgramConflictCode is the HTTP code returned for type CreateProgramConflict.
CreateProgramCreatedCode is the HTTP code returned for type CreateProgramCreated.
DeleteProgramAcceptedCode is the HTTP code returned for type DeleteProgramAccepted.
DeleteProgramNoContentCode is the HTTP code returned for type DeleteProgramNoContent.
DeleteProgramNotFoundCode is the HTTP code returned for type DeleteProgramNotFound.
GetProgramNotFoundCode is the HTTP code returned for type GetProgramNotFound.
GetProgramOKCode is the HTTP code returned for type GetProgramOK.
GetProgramsOKCode is the HTTP code returned for type GetProgramsOK.
ReplaceProgramAcceptedCode is the HTTP code returned for type ReplaceProgramAccepted.
ReplaceProgramBadRequestCode is the HTTP code returned for type ReplaceProgramBadRequest.
ReplaceProgramNotFoundCode is the HTTP code returned for type ReplaceProgramNotFound.
ReplaceProgramOKCode is the HTTP code returned for type ReplaceProgramOK.
# Structs
CreateProgram swagger:route POST /services/haproxy/configuration/programs ProcessManager createProgram
# Add a program
Adds a new program to the process-manager configuration file.
CreateProgramAccepted Configuration change accepted and reload requested
swagger:response createProgramAccepted
*/.
CreateProgramBadRequest Bad request
swagger:response createProgramBadRequest
*/.
CreateProgramConflict The specified resource already exists
swagger:response createProgramConflict
*/.
CreateProgramCreated Program created
swagger:response createProgramCreated
*/.
CreateProgramDefault General Error
swagger:response createProgramDefault
*/.
CreateProgramParams contains all the bound params for the create program operation typically these are obtained from a http.Request
swagger:parameters createProgram.
CreateProgramURL generates an URL for the create program operation.
DeleteProgram swagger:route DELETE /services/haproxy/configuration/programs/{name} ProcessManager deleteProgram
# Delete a program
Deletes a program from the process-manager configuration file by its name.
DeleteProgramAccepted Configuration change accepted and reload requested
swagger:response deleteProgramAccepted
*/.
DeleteProgramDefault General Error
swagger:response deleteProgramDefault
*/.
DeleteProgramNoContent Program deleted
swagger:response deleteProgramNoContent
*/.
DeleteProgramNotFound The specified resource was not found
swagger:response deleteProgramNotFound
*/.
DeleteProgramParams contains all the bound params for the delete program operation typically these are obtained from a http.Request
swagger:parameters deleteProgram.
DeleteProgramURL generates an URL for the delete program operation.
GetProgram swagger:route GET /services/haproxy/configuration/programs/{name} ProcessManager getProgram
# Return a program
Returns one program by its name from the process-manager configuration file.
GetProgramDefault General Error
swagger:response getProgramDefault
*/.
GetProgramNotFound The specified resource was not found
swagger:response getProgramNotFound
*/.
GetProgramOK Successful operation
swagger:response getProgramOK
*/.
GetProgramOKBody get program o k body
swagger:model GetProgramOKBody.
GetProgramParams contains all the bound params for the get program operation typically these are obtained from a http.Request
swagger:parameters getProgram.
GetPrograms swagger:route GET /services/haproxy/configuration/programs ProcessManager getPrograms
# Return an array of programs
Returns an array of all configured programs in the process-manager configuration file.
GetProgramsDefault General Error
swagger:response getProgramsDefault
*/.
GetProgramsOK Successful operation
swagger:response getProgramsOK
*/.
GetProgramsOKBody get programs o k body
swagger:model GetProgramsOKBody.
GetProgramsParams contains all the bound params for the get programs operation typically these are obtained from a http.Request
swagger:parameters getPrograms.
GetProgramsURL generates an URL for the get programs operation.
GetProgramURL generates an URL for the get program operation.
ReplaceProgram swagger:route PUT /services/haproxy/configuration/programs/{name} ProcessManager replaceProgram
# Replace a program
Replaces a program from the process-manager configuration by its name.
ReplaceProgramAccepted Configuration change accepted and reload requested
swagger:response replaceProgramAccepted
*/.
ReplaceProgramBadRequest Bad request
swagger:response replaceProgramBadRequest
*/.
ReplaceProgramDefault General Error
swagger:response replaceProgramDefault
*/.
ReplaceProgramNotFound The specified resource was not found
swagger:response replaceProgramNotFound
*/.
ReplaceProgramOK Program replaced
swagger:response replaceProgramOK
*/.
ReplaceProgramParams contains all the bound params for the replace program operation typically these are obtained from a http.Request
swagger:parameters replaceProgram.
ReplaceProgramURL generates an URL for the replace program operation.
# Interfaces
CreateProgramHandler interface for that can handle valid create program params.
DeleteProgramHandler interface for that can handle valid delete program params.
GetProgramHandler interface for that can handle valid get program params.
GetProgramsHandler interface for that can handle valid get programs params.
ReplaceProgramHandler interface for that can handle valid replace program params.
# Type aliases
CreateProgramHandlerFunc turns a function with the right signature into a create program handler.
DeleteProgramHandlerFunc turns a function with the right signature into a delete program handler.
GetProgramHandlerFunc turns a function with the right signature into a get program handler.
GetProgramsHandlerFunc turns a function with the right signature into a get programs handler.
ReplaceProgramHandlerFunc turns a function with the right signature into a replace program handler.