Documentation ¶
Index ¶
- Constants
- type CommitTransaction
- type CommitTransactionAccepted
- func (o *CommitTransactionAccepted) SetPayload(payload *models.Transaction)
- func (o *CommitTransactionAccepted) SetReloadID(reloadID string)
- func (o *CommitTransactionAccepted) WithPayload(payload *models.Transaction) *CommitTransactionAccepted
- func (o *CommitTransactionAccepted) WithReloadID(reloadID string) *CommitTransactionAccepted
- func (o *CommitTransactionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CommitTransactionBadRequest
- func (o *CommitTransactionBadRequest) SetConfigurationVersion(configurationVersion int64)
- func (o *CommitTransactionBadRequest) SetPayload(payload *models.Error)
- func (o *CommitTransactionBadRequest) WithConfigurationVersion(configurationVersion int64) *CommitTransactionBadRequest
- func (o *CommitTransactionBadRequest) WithPayload(payload *models.Error) *CommitTransactionBadRequest
- func (o *CommitTransactionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CommitTransactionDefault
- func (o *CommitTransactionDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *CommitTransactionDefault) SetPayload(payload *models.Error)
- func (o *CommitTransactionDefault) SetStatusCode(code int)
- func (o *CommitTransactionDefault) WithConfigurationVersion(configurationVersion int64) *CommitTransactionDefault
- func (o *CommitTransactionDefault) WithPayload(payload *models.Error) *CommitTransactionDefault
- func (o *CommitTransactionDefault) WithStatusCode(code int) *CommitTransactionDefault
- func (o *CommitTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CommitTransactionHandler
- type CommitTransactionHandlerFunc
- type CommitTransactionNotFound
- func (o *CommitTransactionNotFound) SetConfigurationVersion(configurationVersion int64)
- func (o *CommitTransactionNotFound) SetPayload(payload *models.Error)
- func (o *CommitTransactionNotFound) WithConfigurationVersion(configurationVersion int64) *CommitTransactionNotFound
- func (o *CommitTransactionNotFound) WithPayload(payload *models.Error) *CommitTransactionNotFound
- func (o *CommitTransactionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CommitTransactionOK
- type CommitTransactionParams
- type CommitTransactionURL
- func (o *CommitTransactionURL) Build() (*url.URL, error)
- func (o *CommitTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CommitTransactionURL) Must(u *url.URL, err error) *url.URL
- func (o *CommitTransactionURL) SetBasePath(bp string)
- func (o *CommitTransactionURL) String() string
- func (o *CommitTransactionURL) StringFull(scheme, host string) string
- func (o *CommitTransactionURL) WithBasePath(bp string) *CommitTransactionURL
- type DeleteTransaction
- type DeleteTransactionDefault
- func (o *DeleteTransactionDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *DeleteTransactionDefault) SetPayload(payload *models.Error)
- func (o *DeleteTransactionDefault) SetStatusCode(code int)
- func (o *DeleteTransactionDefault) WithConfigurationVersion(configurationVersion int64) *DeleteTransactionDefault
- func (o *DeleteTransactionDefault) WithPayload(payload *models.Error) *DeleteTransactionDefault
- func (o *DeleteTransactionDefault) WithStatusCode(code int) *DeleteTransactionDefault
- func (o *DeleteTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteTransactionHandler
- type DeleteTransactionHandlerFunc
- type DeleteTransactionNoContent
- type DeleteTransactionNotFound
- func (o *DeleteTransactionNotFound) SetConfigurationVersion(configurationVersion int64)
- func (o *DeleteTransactionNotFound) SetPayload(payload *models.Error)
- func (o *DeleteTransactionNotFound) WithConfigurationVersion(configurationVersion int64) *DeleteTransactionNotFound
- func (o *DeleteTransactionNotFound) WithPayload(payload *models.Error) *DeleteTransactionNotFound
- func (o *DeleteTransactionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteTransactionParams
- type DeleteTransactionURL
- func (o *DeleteTransactionURL) Build() (*url.URL, error)
- func (o *DeleteTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteTransactionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteTransactionURL) SetBasePath(bp string)
- func (o *DeleteTransactionURL) String() string
- func (o *DeleteTransactionURL) StringFull(scheme, host string) string
- func (o *DeleteTransactionURL) WithBasePath(bp string) *DeleteTransactionURL
- type GetTransaction
- type GetTransactionDefault
- func (o *GetTransactionDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetTransactionDefault) SetPayload(payload *models.Error)
- func (o *GetTransactionDefault) SetStatusCode(code int)
- func (o *GetTransactionDefault) WithConfigurationVersion(configurationVersion int64) *GetTransactionDefault
- func (o *GetTransactionDefault) WithPayload(payload *models.Error) *GetTransactionDefault
- func (o *GetTransactionDefault) WithStatusCode(code int) *GetTransactionDefault
- func (o *GetTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransactionHandler
- type GetTransactionHandlerFunc
- type GetTransactionNotFound
- func (o *GetTransactionNotFound) SetConfigurationVersion(configurationVersion int64)
- func (o *GetTransactionNotFound) SetPayload(payload *models.Error)
- func (o *GetTransactionNotFound) WithConfigurationVersion(configurationVersion int64) *GetTransactionNotFound
- func (o *GetTransactionNotFound) WithPayload(payload *models.Error) *GetTransactionNotFound
- func (o *GetTransactionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransactionOK
- type GetTransactionParams
- type GetTransactionURL
- func (o *GetTransactionURL) Build() (*url.URL, error)
- func (o *GetTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTransactionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTransactionURL) SetBasePath(bp string)
- func (o *GetTransactionURL) String() string
- func (o *GetTransactionURL) StringFull(scheme, host string) string
- func (o *GetTransactionURL) WithBasePath(bp string) *GetTransactionURL
- type GetTransactions
- type GetTransactionsDefault
- func (o *GetTransactionsDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetTransactionsDefault) SetPayload(payload *models.Error)
- func (o *GetTransactionsDefault) SetStatusCode(code int)
- func (o *GetTransactionsDefault) WithConfigurationVersion(configurationVersion int64) *GetTransactionsDefault
- func (o *GetTransactionsDefault) WithPayload(payload *models.Error) *GetTransactionsDefault
- func (o *GetTransactionsDefault) WithStatusCode(code int) *GetTransactionsDefault
- func (o *GetTransactionsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransactionsHandler
- type GetTransactionsHandlerFunc
- type GetTransactionsOK
- type GetTransactionsParams
- type GetTransactionsURL
- func (o *GetTransactionsURL) Build() (*url.URL, error)
- func (o *GetTransactionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTransactionsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTransactionsURL) SetBasePath(bp string)
- func (o *GetTransactionsURL) String() string
- func (o *GetTransactionsURL) StringFull(scheme, host string) string
- func (o *GetTransactionsURL) WithBasePath(bp string) *GetTransactionsURL
- type StartTransaction
- type StartTransactionCreated
- type StartTransactionDefault
- func (o *StartTransactionDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *StartTransactionDefault) SetPayload(payload *models.Error)
- func (o *StartTransactionDefault) SetStatusCode(code int)
- func (o *StartTransactionDefault) WithConfigurationVersion(configurationVersion int64) *StartTransactionDefault
- func (o *StartTransactionDefault) WithPayload(payload *models.Error) *StartTransactionDefault
- func (o *StartTransactionDefault) WithStatusCode(code int) *StartTransactionDefault
- func (o *StartTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StartTransactionHandler
- type StartTransactionHandlerFunc
- type StartTransactionParams
- type StartTransactionURL
- func (o *StartTransactionURL) Build() (*url.URL, error)
- func (o *StartTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *StartTransactionURL) Must(u *url.URL, err error) *url.URL
- func (o *StartTransactionURL) SetBasePath(bp string)
- func (o *StartTransactionURL) String() string
- func (o *StartTransactionURL) StringFull(scheme, host string) string
- func (o *StartTransactionURL) WithBasePath(bp string) *StartTransactionURL
Constants ¶
const CommitTransactionAcceptedCode int = 202
CommitTransactionAcceptedCode is the HTTP code returned for type CommitTransactionAccepted
const CommitTransactionBadRequestCode int = 400
CommitTransactionBadRequestCode is the HTTP code returned for type CommitTransactionBadRequest
const CommitTransactionNotFoundCode int = 404
CommitTransactionNotFoundCode is the HTTP code returned for type CommitTransactionNotFound
const CommitTransactionOKCode int = 200
CommitTransactionOKCode is the HTTP code returned for type CommitTransactionOK
const DeleteTransactionNoContentCode int = 204
DeleteTransactionNoContentCode is the HTTP code returned for type DeleteTransactionNoContent
const DeleteTransactionNotFoundCode int = 404
DeleteTransactionNotFoundCode is the HTTP code returned for type DeleteTransactionNotFound
const GetTransactionNotFoundCode int = 404
GetTransactionNotFoundCode is the HTTP code returned for type GetTransactionNotFound
const GetTransactionOKCode int = 200
GetTransactionOKCode is the HTTP code returned for type GetTransactionOK
const GetTransactionsOKCode int = 200
GetTransactionsOKCode is the HTTP code returned for type GetTransactionsOK
const StartTransactionCreatedCode int = 201
StartTransactionCreatedCode is the HTTP code returned for type StartTransactionCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitTransaction ¶
type CommitTransaction struct { Context *middleware.Context Handler CommitTransactionHandler }
CommitTransaction swagger:route PUT /services/haproxy/transactions/{id} Transactions commitTransaction
Commit transaction ¶
Commit transaction, execute all operations in transaction and return msg
func NewCommitTransaction ¶
func NewCommitTransaction(ctx *middleware.Context, handler CommitTransactionHandler) *CommitTransaction
NewCommitTransaction creates a new http.Handler for the commit transaction operation
func (*CommitTransaction) ServeHTTP ¶
func (o *CommitTransaction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CommitTransactionAccepted ¶
type CommitTransactionAccepted struct { /*ID of the requested reload */ ReloadID string `json:"Reload-ID"` /* In: Body */ Payload *models.Transaction `json:"body,omitempty"` }
CommitTransactionAccepted Configuration change accepted and reload requested
swagger:response commitTransactionAccepted
func NewCommitTransactionAccepted ¶
func NewCommitTransactionAccepted() *CommitTransactionAccepted
NewCommitTransactionAccepted creates CommitTransactionAccepted with default headers values
func (*CommitTransactionAccepted) SetPayload ¶
func (o *CommitTransactionAccepted) SetPayload(payload *models.Transaction)
SetPayload sets the payload to the commit transaction accepted response
func (*CommitTransactionAccepted) SetReloadID ¶
func (o *CommitTransactionAccepted) SetReloadID(reloadID string)
SetReloadID sets the reloadId to the commit transaction accepted response
func (*CommitTransactionAccepted) WithPayload ¶
func (o *CommitTransactionAccepted) WithPayload(payload *models.Transaction) *CommitTransactionAccepted
WithPayload adds the payload to the commit transaction accepted response
func (*CommitTransactionAccepted) WithReloadID ¶
func (o *CommitTransactionAccepted) WithReloadID(reloadID string) *CommitTransactionAccepted
WithReloadID adds the reloadId to the commit transaction accepted response
func (*CommitTransactionAccepted) WriteResponse ¶
func (o *CommitTransactionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CommitTransactionBadRequest ¶
type CommitTransactionBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CommitTransactionBadRequest Bad request
swagger:response commitTransactionBadRequest
func NewCommitTransactionBadRequest ¶
func NewCommitTransactionBadRequest() *CommitTransactionBadRequest
NewCommitTransactionBadRequest creates CommitTransactionBadRequest with default headers values
func (*CommitTransactionBadRequest) SetConfigurationVersion ¶ added in v1.2.2
func (o *CommitTransactionBadRequest) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the commit transaction bad request response
func (*CommitTransactionBadRequest) SetPayload ¶
func (o *CommitTransactionBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the commit transaction bad request response
func (*CommitTransactionBadRequest) WithConfigurationVersion ¶ added in v1.2.2
func (o *CommitTransactionBadRequest) WithConfigurationVersion(configurationVersion int64) *CommitTransactionBadRequest
WithConfigurationVersion adds the configurationVersion to the commit transaction bad request response
func (*CommitTransactionBadRequest) WithPayload ¶
func (o *CommitTransactionBadRequest) WithPayload(payload *models.Error) *CommitTransactionBadRequest
WithPayload adds the payload to the commit transaction bad request response
func (*CommitTransactionBadRequest) WriteResponse ¶
func (o *CommitTransactionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CommitTransactionDefault ¶
type CommitTransactionDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CommitTransactionDefault General Error
swagger:response commitTransactionDefault
func NewCommitTransactionDefault ¶
func NewCommitTransactionDefault(code int) *CommitTransactionDefault
NewCommitTransactionDefault creates CommitTransactionDefault with default headers values
func (*CommitTransactionDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *CommitTransactionDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the commit transaction default response
func (*CommitTransactionDefault) SetPayload ¶
func (o *CommitTransactionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the commit transaction default response
func (*CommitTransactionDefault) SetStatusCode ¶
func (o *CommitTransactionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the commit transaction default response
func (*CommitTransactionDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *CommitTransactionDefault) WithConfigurationVersion(configurationVersion int64) *CommitTransactionDefault
WithConfigurationVersion adds the configurationVersion to the commit transaction default response
func (*CommitTransactionDefault) WithPayload ¶
func (o *CommitTransactionDefault) WithPayload(payload *models.Error) *CommitTransactionDefault
WithPayload adds the payload to the commit transaction default response
func (*CommitTransactionDefault) WithStatusCode ¶
func (o *CommitTransactionDefault) WithStatusCode(code int) *CommitTransactionDefault
WithStatusCode adds the status to the commit transaction default response
func (*CommitTransactionDefault) WriteResponse ¶
func (o *CommitTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CommitTransactionHandler ¶
type CommitTransactionHandler interface {
Handle(CommitTransactionParams, interface{}) middleware.Responder
}
CommitTransactionHandler interface for that can handle valid commit transaction params
type CommitTransactionHandlerFunc ¶
type CommitTransactionHandlerFunc func(CommitTransactionParams, interface{}) middleware.Responder
CommitTransactionHandlerFunc turns a function with the right signature into a commit transaction handler
func (CommitTransactionHandlerFunc) Handle ¶
func (fn CommitTransactionHandlerFunc) Handle(params CommitTransactionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CommitTransactionNotFound ¶
type CommitTransactionNotFound struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CommitTransactionNotFound The specified resource was not found
swagger:response commitTransactionNotFound
func NewCommitTransactionNotFound ¶
func NewCommitTransactionNotFound() *CommitTransactionNotFound
NewCommitTransactionNotFound creates CommitTransactionNotFound with default headers values
func (*CommitTransactionNotFound) SetConfigurationVersion ¶ added in v1.2.2
func (o *CommitTransactionNotFound) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the commit transaction not found response
func (*CommitTransactionNotFound) SetPayload ¶
func (o *CommitTransactionNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the commit transaction not found response
func (*CommitTransactionNotFound) WithConfigurationVersion ¶ added in v1.2.2
func (o *CommitTransactionNotFound) WithConfigurationVersion(configurationVersion int64) *CommitTransactionNotFound
WithConfigurationVersion adds the configurationVersion to the commit transaction not found response
func (*CommitTransactionNotFound) WithPayload ¶
func (o *CommitTransactionNotFound) WithPayload(payload *models.Error) *CommitTransactionNotFound
WithPayload adds the payload to the commit transaction not found response
func (*CommitTransactionNotFound) WriteResponse ¶
func (o *CommitTransactionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CommitTransactionOK ¶
type CommitTransactionOK struct { /* In: Body */ Payload *models.Transaction `json:"body,omitempty"` }
CommitTransactionOK Transaction succesfully commited
swagger:response commitTransactionOK
func NewCommitTransactionOK ¶
func NewCommitTransactionOK() *CommitTransactionOK
NewCommitTransactionOK creates CommitTransactionOK with default headers values
func (*CommitTransactionOK) SetPayload ¶
func (o *CommitTransactionOK) SetPayload(payload *models.Transaction)
SetPayload sets the payload to the commit transaction o k response
func (*CommitTransactionOK) WithPayload ¶
func (o *CommitTransactionOK) WithPayload(payload *models.Transaction) *CommitTransactionOK
WithPayload adds the payload to the commit transaction o k response
func (*CommitTransactionOK) WriteResponse ¶
func (o *CommitTransactionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CommitTransactionParams ¶
type CommitTransactionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. In: query Default: false */ ForceReload *bool /*Transaction id Required: true In: path */ ID string }
CommitTransactionParams contains all the bound params for the commit transaction operation typically these are obtained from a http.Request
swagger:parameters commitTransaction
func NewCommitTransactionParams ¶
func NewCommitTransactionParams() CommitTransactionParams
NewCommitTransactionParams creates a new CommitTransactionParams object with the default values initialized.
func (*CommitTransactionParams) BindRequest ¶
func (o *CommitTransactionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCommitTransactionParams() beforehand.
type CommitTransactionURL ¶
type CommitTransactionURL struct { ID string ForceReload *bool // contains filtered or unexported fields }
CommitTransactionURL generates an URL for the commit transaction operation
func (*CommitTransactionURL) Build ¶
func (o *CommitTransactionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CommitTransactionURL) BuildFull ¶
func (o *CommitTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CommitTransactionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CommitTransactionURL) SetBasePath ¶
func (o *CommitTransactionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CommitTransactionURL) String ¶
func (o *CommitTransactionURL) String() string
String returns the string representation of the path with query string
func (*CommitTransactionURL) StringFull ¶
func (o *CommitTransactionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CommitTransactionURL) WithBasePath ¶
func (o *CommitTransactionURL) WithBasePath(bp string) *CommitTransactionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteTransaction ¶
type DeleteTransaction struct { Context *middleware.Context Handler DeleteTransactionHandler }
DeleteTransaction swagger:route DELETE /services/haproxy/transactions/{id} Transactions deleteTransaction
Delete a transaction ¶
Deletes a transaction.
func NewDeleteTransaction ¶
func NewDeleteTransaction(ctx *middleware.Context, handler DeleteTransactionHandler) *DeleteTransaction
NewDeleteTransaction creates a new http.Handler for the delete transaction operation
func (*DeleteTransaction) ServeHTTP ¶
func (o *DeleteTransaction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteTransactionDefault ¶
type DeleteTransactionDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteTransactionDefault General Error
swagger:response deleteTransactionDefault
func NewDeleteTransactionDefault ¶
func NewDeleteTransactionDefault(code int) *DeleteTransactionDefault
NewDeleteTransactionDefault creates DeleteTransactionDefault with default headers values
func (*DeleteTransactionDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *DeleteTransactionDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the delete transaction default response
func (*DeleteTransactionDefault) SetPayload ¶
func (o *DeleteTransactionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete transaction default response
func (*DeleteTransactionDefault) SetStatusCode ¶
func (o *DeleteTransactionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete transaction default response
func (*DeleteTransactionDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *DeleteTransactionDefault) WithConfigurationVersion(configurationVersion int64) *DeleteTransactionDefault
WithConfigurationVersion adds the configurationVersion to the delete transaction default response
func (*DeleteTransactionDefault) WithPayload ¶
func (o *DeleteTransactionDefault) WithPayload(payload *models.Error) *DeleteTransactionDefault
WithPayload adds the payload to the delete transaction default response
func (*DeleteTransactionDefault) WithStatusCode ¶
func (o *DeleteTransactionDefault) WithStatusCode(code int) *DeleteTransactionDefault
WithStatusCode adds the status to the delete transaction default response
func (*DeleteTransactionDefault) WriteResponse ¶
func (o *DeleteTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTransactionHandler ¶
type DeleteTransactionHandler interface {
Handle(DeleteTransactionParams, interface{}) middleware.Responder
}
DeleteTransactionHandler interface for that can handle valid delete transaction params
type DeleteTransactionHandlerFunc ¶
type DeleteTransactionHandlerFunc func(DeleteTransactionParams, interface{}) middleware.Responder
DeleteTransactionHandlerFunc turns a function with the right signature into a delete transaction handler
func (DeleteTransactionHandlerFunc) Handle ¶
func (fn DeleteTransactionHandlerFunc) Handle(params DeleteTransactionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteTransactionNoContent ¶
type DeleteTransactionNoContent struct { }
DeleteTransactionNoContent Transaction deleted
swagger:response deleteTransactionNoContent
func NewDeleteTransactionNoContent ¶
func NewDeleteTransactionNoContent() *DeleteTransactionNoContent
NewDeleteTransactionNoContent creates DeleteTransactionNoContent with default headers values
func (*DeleteTransactionNoContent) WriteResponse ¶
func (o *DeleteTransactionNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTransactionNotFound ¶
type DeleteTransactionNotFound struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteTransactionNotFound The specified resource was not found
swagger:response deleteTransactionNotFound
func NewDeleteTransactionNotFound ¶
func NewDeleteTransactionNotFound() *DeleteTransactionNotFound
NewDeleteTransactionNotFound creates DeleteTransactionNotFound with default headers values
func (*DeleteTransactionNotFound) SetConfigurationVersion ¶ added in v1.2.2
func (o *DeleteTransactionNotFound) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the delete transaction not found response
func (*DeleteTransactionNotFound) SetPayload ¶
func (o *DeleteTransactionNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete transaction not found response
func (*DeleteTransactionNotFound) WithConfigurationVersion ¶ added in v1.2.2
func (o *DeleteTransactionNotFound) WithConfigurationVersion(configurationVersion int64) *DeleteTransactionNotFound
WithConfigurationVersion adds the configurationVersion to the delete transaction not found response
func (*DeleteTransactionNotFound) WithPayload ¶
func (o *DeleteTransactionNotFound) WithPayload(payload *models.Error) *DeleteTransactionNotFound
WithPayload adds the payload to the delete transaction not found response
func (*DeleteTransactionNotFound) WriteResponse ¶
func (o *DeleteTransactionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteTransactionParams ¶
type DeleteTransactionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Transaction id Required: true In: path */ ID string }
DeleteTransactionParams contains all the bound params for the delete transaction operation typically these are obtained from a http.Request
swagger:parameters deleteTransaction
func NewDeleteTransactionParams ¶
func NewDeleteTransactionParams() DeleteTransactionParams
NewDeleteTransactionParams creates a new DeleteTransactionParams object no default values defined in spec.
func (*DeleteTransactionParams) BindRequest ¶
func (o *DeleteTransactionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteTransactionParams() beforehand.
type DeleteTransactionURL ¶
type DeleteTransactionURL struct { ID string // contains filtered or unexported fields }
DeleteTransactionURL generates an URL for the delete transaction operation
func (*DeleteTransactionURL) Build ¶
func (o *DeleteTransactionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteTransactionURL) BuildFull ¶
func (o *DeleteTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteTransactionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteTransactionURL) SetBasePath ¶
func (o *DeleteTransactionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteTransactionURL) String ¶
func (o *DeleteTransactionURL) String() string
String returns the string representation of the path with query string
func (*DeleteTransactionURL) StringFull ¶
func (o *DeleteTransactionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteTransactionURL) WithBasePath ¶
func (o *DeleteTransactionURL) WithBasePath(bp string) *DeleteTransactionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTransaction ¶
type GetTransaction struct { Context *middleware.Context Handler GetTransactionHandler }
GetTransaction swagger:route GET /services/haproxy/transactions/{id} Transactions getTransaction
Return one HAProxy configuration transactions ¶
Returns one HAProxy configuration transactions.
func NewGetTransaction ¶
func NewGetTransaction(ctx *middleware.Context, handler GetTransactionHandler) *GetTransaction
NewGetTransaction creates a new http.Handler for the get transaction operation
func (*GetTransaction) ServeHTTP ¶
func (o *GetTransaction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTransactionDefault ¶
type GetTransactionDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTransactionDefault General Error
swagger:response getTransactionDefault
func NewGetTransactionDefault ¶
func NewGetTransactionDefault(code int) *GetTransactionDefault
NewGetTransactionDefault creates GetTransactionDefault with default headers values
func (*GetTransactionDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetTransactionDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get transaction default response
func (*GetTransactionDefault) SetPayload ¶
func (o *GetTransactionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get transaction default response
func (*GetTransactionDefault) SetStatusCode ¶
func (o *GetTransactionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get transaction default response
func (*GetTransactionDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetTransactionDefault) WithConfigurationVersion(configurationVersion int64) *GetTransactionDefault
WithConfigurationVersion adds the configurationVersion to the get transaction default response
func (*GetTransactionDefault) WithPayload ¶
func (o *GetTransactionDefault) WithPayload(payload *models.Error) *GetTransactionDefault
WithPayload adds the payload to the get transaction default response
func (*GetTransactionDefault) WithStatusCode ¶
func (o *GetTransactionDefault) WithStatusCode(code int) *GetTransactionDefault
WithStatusCode adds the status to the get transaction default response
func (*GetTransactionDefault) WriteResponse ¶
func (o *GetTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransactionHandler ¶
type GetTransactionHandler interface {
Handle(GetTransactionParams, interface{}) middleware.Responder
}
GetTransactionHandler interface for that can handle valid get transaction params
type GetTransactionHandlerFunc ¶
type GetTransactionHandlerFunc func(GetTransactionParams, interface{}) middleware.Responder
GetTransactionHandlerFunc turns a function with the right signature into a get transaction handler
func (GetTransactionHandlerFunc) Handle ¶
func (fn GetTransactionHandlerFunc) Handle(params GetTransactionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetTransactionNotFound ¶
type GetTransactionNotFound struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetTransactionNotFound The specified resource was not found
swagger:response getTransactionNotFound
func NewGetTransactionNotFound ¶
func NewGetTransactionNotFound() *GetTransactionNotFound
NewGetTransactionNotFound creates GetTransactionNotFound with default headers values
func (*GetTransactionNotFound) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetTransactionNotFound) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get transaction not found response
func (*GetTransactionNotFound) SetPayload ¶
func (o *GetTransactionNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get transaction not found response
func (*GetTransactionNotFound) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetTransactionNotFound) WithConfigurationVersion(configurationVersion int64) *GetTransactionNotFound
WithConfigurationVersion adds the configurationVersion to the get transaction not found response
func (*GetTransactionNotFound) WithPayload ¶
func (o *GetTransactionNotFound) WithPayload(payload *models.Error) *GetTransactionNotFound
WithPayload adds the payload to the get transaction not found response
func (*GetTransactionNotFound) WriteResponse ¶
func (o *GetTransactionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransactionOK ¶
type GetTransactionOK struct { /* In: Body */ Payload *models.Transaction `json:"body,omitempty"` }
GetTransactionOK Successful operation
swagger:response getTransactionOK
func NewGetTransactionOK ¶
func NewGetTransactionOK() *GetTransactionOK
NewGetTransactionOK creates GetTransactionOK with default headers values
func (*GetTransactionOK) SetPayload ¶
func (o *GetTransactionOK) SetPayload(payload *models.Transaction)
SetPayload sets the payload to the get transaction o k response
func (*GetTransactionOK) WithPayload ¶
func (o *GetTransactionOK) WithPayload(payload *models.Transaction) *GetTransactionOK
WithPayload adds the payload to the get transaction o k response
func (*GetTransactionOK) WriteResponse ¶
func (o *GetTransactionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransactionParams ¶
type GetTransactionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Transaction id Required: true In: path */ ID string }
GetTransactionParams contains all the bound params for the get transaction operation typically these are obtained from a http.Request
swagger:parameters getTransaction
func NewGetTransactionParams ¶
func NewGetTransactionParams() GetTransactionParams
NewGetTransactionParams creates a new GetTransactionParams object no default values defined in spec.
func (*GetTransactionParams) BindRequest ¶
func (o *GetTransactionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTransactionParams() beforehand.
type GetTransactionURL ¶
type GetTransactionURL struct { ID string // contains filtered or unexported fields }
GetTransactionURL generates an URL for the get transaction operation
func (*GetTransactionURL) Build ¶
func (o *GetTransactionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTransactionURL) BuildFull ¶
func (o *GetTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTransactionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTransactionURL) SetBasePath ¶
func (o *GetTransactionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTransactionURL) String ¶
func (o *GetTransactionURL) String() string
String returns the string representation of the path with query string
func (*GetTransactionURL) StringFull ¶
func (o *GetTransactionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTransactionURL) WithBasePath ¶
func (o *GetTransactionURL) WithBasePath(bp string) *GetTransactionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTransactions ¶
type GetTransactions struct { Context *middleware.Context Handler GetTransactionsHandler }
GetTransactions swagger:route GET /services/haproxy/transactions Transactions getTransactions
Return list of HAProxy configuration transactions.
Returns a list of HAProxy configuration transactions. Transactions can be filtered by their status.
func NewGetTransactions ¶
func NewGetTransactions(ctx *middleware.Context, handler GetTransactionsHandler) *GetTransactions
NewGetTransactions creates a new http.Handler for the get transactions operation
func (*GetTransactions) ServeHTTP ¶
func (o *GetTransactions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTransactionsDefault ¶
type GetTransactionsDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetTransactionsDefault General Error
swagger:response getTransactionsDefault
func NewGetTransactionsDefault ¶
func NewGetTransactionsDefault(code int) *GetTransactionsDefault
NewGetTransactionsDefault creates GetTransactionsDefault with default headers values
func (*GetTransactionsDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetTransactionsDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get transactions default response
func (*GetTransactionsDefault) SetPayload ¶
func (o *GetTransactionsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get transactions default response
func (*GetTransactionsDefault) SetStatusCode ¶
func (o *GetTransactionsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get transactions default response
func (*GetTransactionsDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetTransactionsDefault) WithConfigurationVersion(configurationVersion int64) *GetTransactionsDefault
WithConfigurationVersion adds the configurationVersion to the get transactions default response
func (*GetTransactionsDefault) WithPayload ¶
func (o *GetTransactionsDefault) WithPayload(payload *models.Error) *GetTransactionsDefault
WithPayload adds the payload to the get transactions default response
func (*GetTransactionsDefault) WithStatusCode ¶
func (o *GetTransactionsDefault) WithStatusCode(code int) *GetTransactionsDefault
WithStatusCode adds the status to the get transactions default response
func (*GetTransactionsDefault) WriteResponse ¶
func (o *GetTransactionsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransactionsHandler ¶
type GetTransactionsHandler interface {
Handle(GetTransactionsParams, interface{}) middleware.Responder
}
GetTransactionsHandler interface for that can handle valid get transactions params
type GetTransactionsHandlerFunc ¶
type GetTransactionsHandlerFunc func(GetTransactionsParams, interface{}) middleware.Responder
GetTransactionsHandlerFunc turns a function with the right signature into a get transactions handler
func (GetTransactionsHandlerFunc) Handle ¶
func (fn GetTransactionsHandlerFunc) Handle(params GetTransactionsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetTransactionsOK ¶
type GetTransactionsOK struct { /* In: Body */ Payload models.Transactions `json:"body,omitempty"` }
GetTransactionsOK Success
swagger:response getTransactionsOK
func NewGetTransactionsOK ¶
func NewGetTransactionsOK() *GetTransactionsOK
NewGetTransactionsOK creates GetTransactionsOK with default headers values
func (*GetTransactionsOK) SetPayload ¶
func (o *GetTransactionsOK) SetPayload(payload models.Transactions)
SetPayload sets the payload to the get transactions o k response
func (*GetTransactionsOK) WithPayload ¶
func (o *GetTransactionsOK) WithPayload(payload models.Transactions) *GetTransactionsOK
WithPayload adds the payload to the get transactions o k response
func (*GetTransactionsOK) WriteResponse ¶
func (o *GetTransactionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransactionsParams ¶
type GetTransactionsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Filter by transaction status In: query */ Status *string }
GetTransactionsParams contains all the bound params for the get transactions operation typically these are obtained from a http.Request
swagger:parameters getTransactions
func NewGetTransactionsParams ¶
func NewGetTransactionsParams() GetTransactionsParams
NewGetTransactionsParams creates a new GetTransactionsParams object no default values defined in spec.
func (*GetTransactionsParams) BindRequest ¶
func (o *GetTransactionsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTransactionsParams() beforehand.
type GetTransactionsURL ¶
type GetTransactionsURL struct { Status *string // contains filtered or unexported fields }
GetTransactionsURL generates an URL for the get transactions operation
func (*GetTransactionsURL) Build ¶
func (o *GetTransactionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTransactionsURL) BuildFull ¶
func (o *GetTransactionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTransactionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTransactionsURL) SetBasePath ¶
func (o *GetTransactionsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTransactionsURL) String ¶
func (o *GetTransactionsURL) String() string
String returns the string representation of the path with query string
func (*GetTransactionsURL) StringFull ¶
func (o *GetTransactionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTransactionsURL) WithBasePath ¶
func (o *GetTransactionsURL) WithBasePath(bp string) *GetTransactionsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type StartTransaction ¶
type StartTransaction struct { Context *middleware.Context Handler StartTransactionHandler }
StartTransaction swagger:route POST /services/haproxy/transactions Transactions startTransaction
Start a new transaction ¶
Starts a new transaction and returns it's id
func NewStartTransaction ¶
func NewStartTransaction(ctx *middleware.Context, handler StartTransactionHandler) *StartTransaction
NewStartTransaction creates a new http.Handler for the start transaction operation
func (*StartTransaction) ServeHTTP ¶
func (o *StartTransaction) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type StartTransactionCreated ¶
type StartTransactionCreated struct { /* In: Body */ Payload *models.Transaction `json:"body,omitempty"` }
StartTransactionCreated Transaction started
swagger:response startTransactionCreated
func NewStartTransactionCreated ¶
func NewStartTransactionCreated() *StartTransactionCreated
NewStartTransactionCreated creates StartTransactionCreated with default headers values
func (*StartTransactionCreated) SetPayload ¶
func (o *StartTransactionCreated) SetPayload(payload *models.Transaction)
SetPayload sets the payload to the start transaction created response
func (*StartTransactionCreated) WithPayload ¶
func (o *StartTransactionCreated) WithPayload(payload *models.Transaction) *StartTransactionCreated
WithPayload adds the payload to the start transaction created response
func (*StartTransactionCreated) WriteResponse ¶
func (o *StartTransactionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type StartTransactionDefault ¶
type StartTransactionDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
StartTransactionDefault General Error
swagger:response startTransactionDefault
func NewStartTransactionDefault ¶
func NewStartTransactionDefault(code int) *StartTransactionDefault
NewStartTransactionDefault creates StartTransactionDefault with default headers values
func (*StartTransactionDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *StartTransactionDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the start transaction default response
func (*StartTransactionDefault) SetPayload ¶
func (o *StartTransactionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the start transaction default response
func (*StartTransactionDefault) SetStatusCode ¶
func (o *StartTransactionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the start transaction default response
func (*StartTransactionDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *StartTransactionDefault) WithConfigurationVersion(configurationVersion int64) *StartTransactionDefault
WithConfigurationVersion adds the configurationVersion to the start transaction default response
func (*StartTransactionDefault) WithPayload ¶
func (o *StartTransactionDefault) WithPayload(payload *models.Error) *StartTransactionDefault
WithPayload adds the payload to the start transaction default response
func (*StartTransactionDefault) WithStatusCode ¶
func (o *StartTransactionDefault) WithStatusCode(code int) *StartTransactionDefault
WithStatusCode adds the status to the start transaction default response
func (*StartTransactionDefault) WriteResponse ¶
func (o *StartTransactionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type StartTransactionHandler ¶
type StartTransactionHandler interface {
Handle(StartTransactionParams, interface{}) middleware.Responder
}
StartTransactionHandler interface for that can handle valid start transaction params
type StartTransactionHandlerFunc ¶
type StartTransactionHandlerFunc func(StartTransactionParams, interface{}) middleware.Responder
StartTransactionHandlerFunc turns a function with the right signature into a start transaction handler
func (StartTransactionHandlerFunc) Handle ¶
func (fn StartTransactionHandlerFunc) Handle(params StartTransactionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type StartTransactionParams ¶
type StartTransactionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Configuration version on which to work on Required: true In: query */ Version int64 }
StartTransactionParams contains all the bound params for the start transaction operation typically these are obtained from a http.Request
swagger:parameters startTransaction
func NewStartTransactionParams ¶
func NewStartTransactionParams() StartTransactionParams
NewStartTransactionParams creates a new StartTransactionParams object no default values defined in spec.
func (*StartTransactionParams) BindRequest ¶
func (o *StartTransactionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewStartTransactionParams() beforehand.
type StartTransactionURL ¶
type StartTransactionURL struct { Version int64 // contains filtered or unexported fields }
StartTransactionURL generates an URL for the start transaction operation
func (*StartTransactionURL) Build ¶
func (o *StartTransactionURL) Build() (*url.URL, error)
Build a url path and query string
func (*StartTransactionURL) BuildFull ¶
func (o *StartTransactionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*StartTransactionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*StartTransactionURL) SetBasePath ¶
func (o *StartTransactionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*StartTransactionURL) String ¶
func (o *StartTransactionURL) String() string
String returns the string representation of the path with query string
func (*StartTransactionURL) StringFull ¶
func (o *StartTransactionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*StartTransactionURL) WithBasePath ¶
func (o *StartTransactionURL) WithBasePath(bp string) *StartTransactionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- commit_transaction.go
- commit_transaction_parameters.go
- commit_transaction_responses.go
- commit_transaction_urlbuilder.go
- delete_transaction.go
- delete_transaction_parameters.go
- delete_transaction_responses.go
- delete_transaction_urlbuilder.go
- get_transaction.go
- get_transaction_parameters.go
- get_transaction_responses.go
- get_transaction_urlbuilder.go
- get_transactions.go
- get_transactions_parameters.go
- get_transactions_responses.go
- get_transactions_urlbuilder.go
- start_transaction.go
- start_transaction_parameters.go
- start_transaction_responses.go
- start_transaction_urlbuilder.go