package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCommitSpoeTransaction creates a new http.Handler for the commit spoe transaction operation.
NewCommitSpoeTransactionAccepted creates CommitSpoeTransactionAccepted with default headers values.
NewCommitSpoeTransactionBadRequest creates CommitSpoeTransactionBadRequest with default headers values.
NewCommitSpoeTransactionDefault creates CommitSpoeTransactionDefault with default headers values.
NewCommitSpoeTransactionNotFound creates CommitSpoeTransactionNotFound with default headers values.
NewCommitSpoeTransactionOK creates CommitSpoeTransactionOK with default headers values.
NewCommitSpoeTransactionParams creates a new CommitSpoeTransactionParams object with the default values initialized.
NewDeleteSpoeTransaction creates a new http.Handler for the delete spoe transaction operation.
NewDeleteSpoeTransactionDefault creates DeleteSpoeTransactionDefault with default headers values.
NewDeleteSpoeTransactionNoContent creates DeleteSpoeTransactionNoContent with default headers values.
NewDeleteSpoeTransactionNotFound creates DeleteSpoeTransactionNotFound with default headers values.
NewDeleteSpoeTransactionParams creates a new DeleteSpoeTransactionParams object
There are no default values defined in the spec.
NewGetSpoeTransaction creates a new http.Handler for the get spoe transaction operation.
NewGetSpoeTransactionDefault creates GetSpoeTransactionDefault with default headers values.
NewGetSpoeTransactionNotFound creates GetSpoeTransactionNotFound with default headers values.
NewGetSpoeTransactionOK creates GetSpoeTransactionOK with default headers values.
NewGetSpoeTransactionParams creates a new GetSpoeTransactionParams object
There are no default values defined in the spec.
NewGetSpoeTransactions creates a new http.Handler for the get spoe transactions operation.
NewGetSpoeTransactionsDefault creates GetSpoeTransactionsDefault with default headers values.
NewGetSpoeTransactionsOK creates GetSpoeTransactionsOK with default headers values.
NewGetSpoeTransactionsParams creates a new GetSpoeTransactionsParams object
There are no default values defined in the spec.
NewStartSpoeTransaction creates a new http.Handler for the start spoe transaction operation.
NewStartSpoeTransactionCreated creates StartSpoeTransactionCreated with default headers values.
NewStartSpoeTransactionDefault creates StartSpoeTransactionDefault with default headers values.
NewStartSpoeTransactionParams creates a new StartSpoeTransactionParams object
There are no default values defined in the spec.
NewStartSpoeTransactionTooManyRequests creates StartSpoeTransactionTooManyRequests with default headers values.
# Constants
CommitSpoeTransactionAcceptedCode is the HTTP code returned for type CommitSpoeTransactionAccepted.
CommitSpoeTransactionBadRequestCode is the HTTP code returned for type CommitSpoeTransactionBadRequest.
CommitSpoeTransactionNotFoundCode is the HTTP code returned for type CommitSpoeTransactionNotFound.
CommitSpoeTransactionOKCode is the HTTP code returned for type CommitSpoeTransactionOK.
DeleteSpoeTransactionNoContentCode is the HTTP code returned for type DeleteSpoeTransactionNoContent.
DeleteSpoeTransactionNotFoundCode is the HTTP code returned for type DeleteSpoeTransactionNotFound.
GetSpoeTransactionNotFoundCode is the HTTP code returned for type GetSpoeTransactionNotFound.
GetSpoeTransactionOKCode is the HTTP code returned for type GetSpoeTransactionOK.
GetSpoeTransactionsOKCode is the HTTP code returned for type GetSpoeTransactionsOK.
StartSpoeTransactionCreatedCode is the HTTP code returned for type StartSpoeTransactionCreated.
StartSpoeTransactionTooManyRequestsCode is the HTTP code returned for type StartSpoeTransactionTooManyRequests.
# Structs
CommitSpoeTransaction swagger:route PUT /services/haproxy/spoe_transactions/{id} SpoeTransactions commitSpoeTransaction
# Commit transaction
Commit transaction, execute all operations in transaction and return msg
*/.
CommitSpoeTransactionAccepted Configuration change accepted and reload requested
swagger:response commitSpoeTransactionAccepted
*/.
CommitSpoeTransactionBadRequest Bad request
swagger:response commitSpoeTransactionBadRequest
*/.
CommitSpoeTransactionDefault General Error
swagger:response commitSpoeTransactionDefault
*/.
CommitSpoeTransactionNotFound The specified resource was not found
swagger:response commitSpoeTransactionNotFound
*/.
CommitSpoeTransactionOK Transaction successfully committed
swagger:response commitSpoeTransactionOK
*/.
CommitSpoeTransactionParams contains all the bound params for the commit spoe transaction operation typically these are obtained from a http.Request
swagger:parameters commitSpoeTransaction.
CommitSpoeTransactionURL generates an URL for the commit spoe transaction operation.
DeleteSpoeTransaction swagger:route DELETE /services/haproxy/spoe_transactions/{id} SpoeTransactions deleteSpoeTransaction
# Delete a transaction
Deletes a transaction.
DeleteSpoeTransactionDefault General Error
swagger:response deleteSpoeTransactionDefault
*/.
DeleteSpoeTransactionNoContent Transaction deleted
swagger:response deleteSpoeTransactionNoContent
*/.
DeleteSpoeTransactionNotFound The specified resource was not found
swagger:response deleteSpoeTransactionNotFound
*/.
DeleteSpoeTransactionParams contains all the bound params for the delete spoe transaction operation typically these are obtained from a http.Request
swagger:parameters deleteSpoeTransaction.
DeleteSpoeTransactionURL generates an URL for the delete spoe transaction operation.
GetSpoeTransaction swagger:route GET /services/haproxy/spoe_transactions/{id} SpoeTransactions getSpoeTransaction
# Return one SPOE configuration transactions
Returns one SPOE configuration transactions.
GetSpoeTransactionDefault General Error
swagger:response getSpoeTransactionDefault
*/.
GetSpoeTransactionNotFound The specified resource was not found
swagger:response getSpoeTransactionNotFound
*/.
GetSpoeTransactionOK Successful operation
swagger:response getSpoeTransactionOK
*/.
GetSpoeTransactionParams contains all the bound params for the get spoe transaction operation typically these are obtained from a http.Request
swagger:parameters getSpoeTransaction.
GetSpoeTransactions swagger:route GET /services/haproxy/spoe_transactions SpoeTransactions getSpoeTransactions
Return list of SPOE configuration transactions.
GetSpoeTransactionsDefault General Error
swagger:response getSpoeTransactionsDefault
*/.
GetSpoeTransactionsOK Success
swagger:response getSpoeTransactionsOK
*/.
GetSpoeTransactionsParams contains all the bound params for the get spoe transactions operation typically these are obtained from a http.Request
swagger:parameters getSpoeTransactions.
GetSpoeTransactionsURL generates an URL for the get spoe transactions operation.
GetSpoeTransactionURL generates an URL for the get spoe transaction operation.
StartSpoeTransaction swagger:route POST /services/haproxy/spoe_transactions SpoeTransactions startSpoeTransaction
# Start a new transaction
Starts a new transaction and returns it's id
*/.
StartSpoeTransactionCreated Transaction started
swagger:response startSpoeTransactionCreated
*/.
StartSpoeTransactionDefault General Error
swagger:response startSpoeTransactionDefault
*/.
StartSpoeTransactionParams contains all the bound params for the start spoe transaction operation typically these are obtained from a http.Request
swagger:parameters startSpoeTransaction.
StartSpoeTransactionTooManyRequests Too many open transactions
swagger:response startSpoeTransactionTooManyRequests
*/.
StartSpoeTransactionTooManyRequestsBody start spoe 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 StartSpoeTransactionTooManyRequestsBody.
StartSpoeTransactionURL generates an URL for the start spoe transaction operation.
# Interfaces
CommitSpoeTransactionHandler interface for that can handle valid commit spoe transaction params.
DeleteSpoeTransactionHandler interface for that can handle valid delete spoe transaction params.
GetSpoeTransactionHandler interface for that can handle valid get spoe transaction params.
GetSpoeTransactionsHandler interface for that can handle valid get spoe transactions params.
StartSpoeTransactionHandler interface for that can handle valid start spoe transaction params.
# Type aliases
CommitSpoeTransactionHandlerFunc turns a function with the right signature into a commit spoe transaction handler.
DeleteSpoeTransactionHandlerFunc turns a function with the right signature into a delete spoe transaction handler.
GetSpoeTransactionHandlerFunc turns a function with the right signature into a get spoe transaction handler.
GetSpoeTransactionsHandlerFunc turns a function with the right signature into a get spoe transactions handler.
StartSpoeTransactionHandlerFunc turns a function with the right signature into a start spoe transaction handler.