package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateTable creates a new http.Handler for the create table operation.
NewCreateTableAccepted creates CreateTableAccepted with default headers values.
NewCreateTableBadRequest creates CreateTableBadRequest with default headers values.
NewCreateTableConflict creates CreateTableConflict with default headers values.
NewCreateTableCreated creates CreateTableCreated with default headers values.
NewCreateTableDefault creates CreateTableDefault with default headers values.
NewCreateTableParams creates a new CreateTableParams object with the default values initialized.
NewDeleteTable creates a new http.Handler for the delete table operation.
NewDeleteTableAccepted creates DeleteTableAccepted with default headers values.
NewDeleteTableDefault creates DeleteTableDefault with default headers values.
NewDeleteTableNoContent creates DeleteTableNoContent with default headers values.
NewDeleteTableNotFound creates DeleteTableNotFound with default headers values.
NewDeleteTableParams creates a new DeleteTableParams object with the default values initialized.
NewGetTable creates a new http.Handler for the get table operation.
NewGetTableDefault creates GetTableDefault with default headers values.
NewGetTableNotFound creates GetTableNotFound with default headers values.
NewGetTableOK creates GetTableOK with default headers values.
NewGetTableParams creates a new GetTableParams object
There are no default values defined in the spec.
NewGetTables creates a new http.Handler for the get tables operation.
NewGetTablesDefault creates GetTablesDefault with default headers values.
NewGetTablesOK creates GetTablesOK with default headers values.
NewGetTablesParams creates a new GetTablesParams object
There are no default values defined in the spec.
NewReplaceTable creates a new http.Handler for the replace table operation.
NewReplaceTableAccepted creates ReplaceTableAccepted with default headers values.
NewReplaceTableBadRequest creates ReplaceTableBadRequest with default headers values.
NewReplaceTableDefault creates ReplaceTableDefault with default headers values.
NewReplaceTableNotFound creates ReplaceTableNotFound with default headers values.
NewReplaceTableOK creates ReplaceTableOK with default headers values.
NewReplaceTableParams creates a new ReplaceTableParams object with the default values initialized.
# Constants
CreateTableAcceptedCode is the HTTP code returned for type CreateTableAccepted.
CreateTableBadRequestCode is the HTTP code returned for type CreateTableBadRequest.
CreateTableConflictCode is the HTTP code returned for type CreateTableConflict.
CreateTableCreatedCode is the HTTP code returned for type CreateTableCreated.
DeleteTableAcceptedCode is the HTTP code returned for type DeleteTableAccepted.
DeleteTableNoContentCode is the HTTP code returned for type DeleteTableNoContent.
DeleteTableNotFoundCode is the HTTP code returned for type DeleteTableNotFound.
GetTableNotFoundCode is the HTTP code returned for type GetTableNotFound.
GetTableOKCode is the HTTP code returned for type GetTableOK.
GetTablesOKCode is the HTTP code returned for type GetTablesOK.
ReplaceTableAcceptedCode is the HTTP code returned for type ReplaceTableAccepted.
ReplaceTableBadRequestCode is the HTTP code returned for type ReplaceTableBadRequest.
ReplaceTableNotFoundCode is the HTTP code returned for type ReplaceTableNotFound.
ReplaceTableOKCode is the HTTP code returned for type ReplaceTableOK.
# Structs
CreateTable swagger:route POST /services/haproxy/configuration/peers/{parent_name}/tables Table createTable
# Add a new table
Adds a new table in the specified peer section in the configuration file.
CreateTableAccepted Configuration change accepted and reload requested
swagger:response createTableAccepted
*/.
CreateTableBadRequest Bad request
swagger:response createTableBadRequest
*/.
CreateTableConflict The specified resource already exists
swagger:response createTableConflict
*/.
CreateTableCreated Table created
swagger:response createTableCreated
*/.
CreateTableDefault General Error
swagger:response createTableDefault
*/.
CreateTableParams contains all the bound params for the create table operation typically these are obtained from a http.Request
swagger:parameters createTable.
CreateTableURL generates an URL for the create table operation.
DeleteTable swagger:route DELETE /services/haproxy/configuration/peers/{parent_name}/tables/{name} Table deleteTable
# Delete a table
Deletes a table configuration by it's name in the specified peer section.
DeleteTableAccepted Configuration change accepted and reload requested
swagger:response deleteTableAccepted
*/.
DeleteTableDefault General Error
swagger:response deleteTableDefault
*/.
DeleteTableNoContent Table deleted
swagger:response deleteTableNoContent
*/.
DeleteTableNotFound The specified resource was not found
swagger:response deleteTableNotFound
*/.
DeleteTableParams contains all the bound params for the delete table operation typically these are obtained from a http.Request
swagger:parameters deleteTable.
DeleteTableURL generates an URL for the delete table operation.
GetTable swagger:route GET /services/haproxy/configuration/peers/{parent_name}/tables/{name} Table getTable
# Return one table
Returns one table configuration by it's name in the specified peer section.
GetTableDefault General Error
swagger:response getTableDefault
*/.
GetTableNotFound The specified resource already exists
swagger:response getTableNotFound
*/.
GetTableOK Successful operation
swagger:response getTableOK
*/.
GetTableParams contains all the bound params for the get table operation typically these are obtained from a http.Request
swagger:parameters getTable.
GetTables swagger:route GET /services/haproxy/configuration/peers/{parent_name}/tables Table getTables
# Return an array of tables
Returns an array of all tables that are configured in specified peer section.
GetTablesDefault General Error
swagger:response getTablesDefault
*/.
GetTablesOK Successful operation
swagger:response getTablesOK
*/.
GetTablesParams contains all the bound params for the get tables operation typically these are obtained from a http.Request
swagger:parameters getTables.
GetTablesURL generates an URL for the get tables operation.
GetTableURL generates an URL for the get table operation.
ReplaceTable swagger:route PUT /services/haproxy/configuration/peers/{parent_name}/tables/{name} Table replaceTable
# Replace a table
Replaces a table configuration by it's name in the specified peer section.
ReplaceTableAccepted Configuration change accepted and reload requested
swagger:response replaceTableAccepted
*/.
ReplaceTableBadRequest Bad request
swagger:response replaceTableBadRequest
*/.
ReplaceTableDefault General Error
swagger:response replaceTableDefault
*/.
ReplaceTableNotFound The specified resource was not found
swagger:response replaceTableNotFound
*/.
ReplaceTableOK Table replaced
swagger:response replaceTableOK
*/.
ReplaceTableParams contains all the bound params for the replace table operation typically these are obtained from a http.Request
swagger:parameters replaceTable.
ReplaceTableURL generates an URL for the replace table operation.
# Interfaces
CreateTableHandler interface for that can handle valid create table params.
DeleteTableHandler interface for that can handle valid delete table params.
GetTableHandler interface for that can handle valid get table params.
GetTablesHandler interface for that can handle valid get tables params.
ReplaceTableHandler interface for that can handle valid replace table params.
# Type aliases
CreateTableHandlerFunc turns a function with the right signature into a create table handler.
DeleteTableHandlerFunc turns a function with the right signature into a delete table handler.
GetTableHandlerFunc turns a function with the right signature into a get table handler.
GetTablesHandlerFunc turns a function with the right signature into a get tables handler.
ReplaceTableHandlerFunc turns a function with the right signature into a replace table handler.