package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCommitTransaction creates a new http.Handler for the commit transaction operation.
NewCommitTransactionAccepted creates CommitTransactionAccepted with default headers values.
NewCommitTransactionBadRequest creates CommitTransactionBadRequest with default headers values.
NewCommitTransactionDefault creates CommitTransactionDefault with default headers values.
NewCommitTransactionNotAcceptable creates CommitTransactionNotAcceptable with default headers values.
NewCommitTransactionNotFound creates CommitTransactionNotFound with default headers values.
NewCommitTransactionOK creates CommitTransactionOK with default headers values.
NewCommitTransactionParams creates a new CommitTransactionParams object with the default values initialized.
NewDeleteTransaction creates a new http.Handler for the delete transaction operation.
NewDeleteTransactionDefault creates DeleteTransactionDefault with default headers values.
NewDeleteTransactionNoContent creates DeleteTransactionNoContent with default headers values.
NewDeleteTransactionNotFound creates DeleteTransactionNotFound with default headers values.
NewDeleteTransactionParams creates a new DeleteTransactionParams object
There are no default values defined in the spec.
NewGetTransaction creates a new http.Handler for the get transaction operation.
NewGetTransactionDefault creates GetTransactionDefault with default headers values.
NewGetTransactionNotFound creates GetTransactionNotFound with default headers values.
NewGetTransactionOK creates GetTransactionOK with default headers values.
NewGetTransactionParams creates a new GetTransactionParams object
There are no default values defined in the spec.
NewGetTransactions creates a new http.Handler for the get transactions operation.
NewGetTransactionsDefault creates GetTransactionsDefault with default headers values.
NewGetTransactionsOK creates GetTransactionsOK with default headers values.
NewGetTransactionsParams creates a new GetTransactionsParams object
There are no default values defined in the spec.
NewStartTransaction creates a new http.Handler for the start transaction operation.
NewStartTransactionCreated creates StartTransactionCreated with default headers values.
NewStartTransactionDefault creates StartTransactionDefault with default headers values.
NewStartTransactionParams creates a new StartTransactionParams object
There are no default values defined in the spec.
NewStartTransactionTooManyRequests creates StartTransactionTooManyRequests with default headers values.
# Constants
CommitTransactionAcceptedCode is the HTTP code returned for type CommitTransactionAccepted.
CommitTransactionBadRequestCode is the HTTP code returned for type CommitTransactionBadRequest.
CommitTransactionNotAcceptableCode is the HTTP code returned for type CommitTransactionNotAcceptable.
CommitTransactionNotFoundCode is the HTTP code returned for type CommitTransactionNotFound.
CommitTransactionOKCode is the HTTP code returned for type CommitTransactionOK.
DeleteTransactionNoContentCode is the HTTP code returned for type DeleteTransactionNoContent.
DeleteTransactionNotFoundCode is the HTTP code returned for type DeleteTransactionNotFound.
GetTransactionNotFoundCode is the HTTP code returned for type GetTransactionNotFound.
GetTransactionOKCode is the HTTP code returned for type GetTransactionOK.
GetTransactionsOKCode is the HTTP code returned for type GetTransactionsOK.
StartTransactionCreatedCode is the HTTP code returned for type StartTransactionCreated.
StartTransactionTooManyRequestsCode is the HTTP code returned for type StartTransactionTooManyRequests.
# Structs
CommitTransaction swagger:route PUT /services/haproxy/transactions/{id} Transactions commitTransaction
# Commit transaction
Commit transaction, execute all operations in transaction and return msg
*/.
CommitTransactionAccepted Configuration change accepted and reload requested
swagger:response commitTransactionAccepted
*/.
CommitTransactionBadRequest Bad request
swagger:response commitTransactionBadRequest
*/.
CommitTransactionDefault General Error
swagger:response commitTransactionDefault
*/.
CommitTransactionNotAcceptable The specified resource cannot be handled
swagger:response commitTransactionNotAcceptable
*/.
CommitTransactionNotFound The specified resource was not found
swagger:response commitTransactionNotFound
*/.
CommitTransactionOK Transaction successfully committed
swagger:response commitTransactionOK
*/.
CommitTransactionParams contains all the bound params for the commit transaction operation typically these are obtained from a http.Request
swagger:parameters commitTransaction.
CommitTransactionURL generates an URL for the commit transaction operation.
DeleteTransaction swagger:route DELETE /services/haproxy/transactions/{id} Transactions deleteTransaction
# Delete a transaction
Deletes a transaction.
DeleteTransactionDefault General Error
swagger:response deleteTransactionDefault
*/.
DeleteTransactionNoContent Transaction deleted
swagger:response deleteTransactionNoContent
*/.
DeleteTransactionNotFound The specified resource was not found
swagger:response deleteTransactionNotFound
*/.
DeleteTransactionParams contains all the bound params for the delete transaction operation typically these are obtained from a http.Request
swagger:parameters deleteTransaction.
DeleteTransactionURL generates an URL for the delete transaction operation.
GetTransaction swagger:route GET /services/haproxy/transactions/{id} Transactions getTransaction
# Return one HAProxy configuration transactions
Returns one HAProxy configuration transactions.
GetTransactionDefault General Error
swagger:response getTransactionDefault
*/.
GetTransactionNotFound The specified resource was not found
swagger:response getTransactionNotFound
*/.
GetTransactionOK Successful operation
swagger:response getTransactionOK
*/.
GetTransactionParams contains all the bound params for the get transaction operation typically these are obtained from a http.Request
swagger:parameters getTransaction.
GetTransactions swagger:route GET /services/haproxy/transactions Transactions getTransactions
Return list of HAProxy configuration transactions.
GetTransactionsDefault General Error
swagger:response getTransactionsDefault
*/.
GetTransactionsOK Success
swagger:response getTransactionsOK
*/.
GetTransactionsParams contains all the bound params for the get transactions operation typically these are obtained from a http.Request
swagger:parameters getTransactions.
GetTransactionsURL generates an URL for the get transactions operation.
GetTransactionURL generates an URL for the get transaction operation.
StartTransaction swagger:route POST /services/haproxy/transactions Transactions startTransaction
# Start a new transaction
Starts a new transaction and returns it's id
*/.
StartTransactionCreated Transaction started
swagger:response startTransactionCreated
*/.
StartTransactionDefault General Error
swagger:response startTransactionDefault
*/.
StartTransactionParams contains all the bound params for the start transaction operation typically these are obtained from a http.Request
swagger:parameters startTransaction.
StartTransactionTooManyRequests Too many open transactions
swagger:response startTransactionTooManyRequests
*/.
StartTransactionTooManyRequestsBody start transaction too many requests body Example: {"code":429,"message":"cannot start a new transaction, reached the maximum amount of 20 active transactions available"}
swagger:model StartTransactionTooManyRequestsBody.
StartTransactionURL generates an URL for the start transaction operation.
# Interfaces
CommitTransactionHandler interface for that can handle valid commit transaction params.
DeleteTransactionHandler interface for that can handle valid delete transaction params.
GetTransactionHandler interface for that can handle valid get transaction params.
GetTransactionsHandler interface for that can handle valid get transactions params.
StartTransactionHandler interface for that can handle valid start transaction params.
# Type aliases
CommitTransactionHandlerFunc turns a function with the right signature into a commit transaction handler.
DeleteTransactionHandlerFunc turns a function with the right signature into a delete transaction handler.
GetTransactionHandlerFunc turns a function with the right signature into a get transaction handler.
GetTransactionsHandlerFunc turns a function with the right signature into a get transactions handler.
StartTransactionHandlerFunc turns a function with the right signature into a start transaction handler.