Documentation ¶
Index ¶
- type Client
- func (a *Client) CommitSpoeTransaction(params *CommitSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*CommitSpoeTransactionOK, *CommitSpoeTransactionAccepted, error)
- func (a *Client) DeleteSpoeTransaction(params *DeleteSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSpoeTransactionNoContent, error)
- func (a *Client) GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSpoeTransactionOK, error)
- func (a *Client) GetSpoeTransactions(params *GetSpoeTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSpoeTransactionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartSpoeTransaction(params *StartSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*StartSpoeTransactionCreated, error)
- type ClientService
- type CommitSpoeTransactionAccepted
- type CommitSpoeTransactionBadRequest
- type CommitSpoeTransactionDefault
- type CommitSpoeTransactionNotFound
- type CommitSpoeTransactionOK
- type CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParams() *CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParamsWithContext(ctx context.Context) *CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParamsWithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParamsWithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *CommitSpoeTransactionParams) SetForceReload(forceReload *bool)
- func (o *CommitSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CommitSpoeTransactionParams) SetID(id string)
- func (o *CommitSpoeTransactionParams) SetSpoe(spoe string)
- func (o *CommitSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CommitSpoeTransactionParams) WithContext(ctx context.Context) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithForceReload(forceReload *bool) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithID(id string) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithSpoe(spoe string) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CommitSpoeTransactionReader
- type DeleteSpoeTransactionDefault
- type DeleteSpoeTransactionNoContent
- type DeleteSpoeTransactionNotFound
- type DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParams() *DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParamsWithContext(ctx context.Context) *DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParamsWithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParamsWithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *DeleteSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSpoeTransactionParams) SetID(id string)
- func (o *DeleteSpoeTransactionParams) SetSpoe(spoe string)
- func (o *DeleteSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSpoeTransactionParams) WithContext(ctx context.Context) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithID(id string) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithSpoe(spoe string) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSpoeTransactionReader
- type GetSpoeTransactionDefault
- type GetSpoeTransactionNotFound
- type GetSpoeTransactionOK
- type GetSpoeTransactionParams
- func NewGetSpoeTransactionParams() *GetSpoeTransactionParams
- func NewGetSpoeTransactionParamsWithContext(ctx context.Context) *GetSpoeTransactionParams
- func NewGetSpoeTransactionParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionParams
- func NewGetSpoeTransactionParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *GetSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *GetSpoeTransactionParams) SetID(id string)
- func (o *GetSpoeTransactionParams) SetSpoe(spoe string)
- func (o *GetSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *GetSpoeTransactionParams) WithContext(ctx context.Context) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithHTTPClient(client *http.Client) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithID(id string) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithSpoe(spoe string) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSpoeTransactionReader
- type GetSpoeTransactionsDefault
- type GetSpoeTransactionsOK
- type GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParams() *GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParamsWithContext(ctx context.Context) *GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) SetContext(ctx context.Context)
- func (o *GetSpoeTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSpoeTransactionsParams) SetSpoe(spoe string)
- func (o *GetSpoeTransactionsParams) SetStatus(status *string)
- func (o *GetSpoeTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSpoeTransactionsParams) WithContext(ctx context.Context) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithHTTPClient(client *http.Client) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithSpoe(spoe string) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithStatus(status *string) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSpoeTransactionsReader
- type StartSpoeTransactionCreated
- type StartSpoeTransactionDefault
- type StartSpoeTransactionParams
- func NewStartSpoeTransactionParams() *StartSpoeTransactionParams
- func NewStartSpoeTransactionParamsWithContext(ctx context.Context) *StartSpoeTransactionParams
- func NewStartSpoeTransactionParamsWithHTTPClient(client *http.Client) *StartSpoeTransactionParams
- func NewStartSpoeTransactionParamsWithTimeout(timeout time.Duration) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *StartSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *StartSpoeTransactionParams) SetSpoe(spoe string)
- func (o *StartSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *StartSpoeTransactionParams) SetVersion(version int64)
- func (o *StartSpoeTransactionParams) WithContext(ctx context.Context) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithHTTPClient(client *http.Client) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithSpoe(spoe string) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithTimeout(timeout time.Duration) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithVersion(version int64) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartSpoeTransactionReader
- type StartSpoeTransactionTooManyRequests
- type StartSpoeTransactionTooManyRequestsBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for spoe transactions API
func (*Client) CommitSpoeTransaction ¶
func (a *Client) CommitSpoeTransaction(params *CommitSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*CommitSpoeTransactionOK, *CommitSpoeTransactionAccepted, error)
CommitSpoeTransaction commits transaction
Commit transaction, execute all operations in transaction and return msg
func (*Client) DeleteSpoeTransaction ¶
func (a *Client) DeleteSpoeTransaction(params *DeleteSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSpoeTransactionNoContent, error)
DeleteSpoeTransaction deletes a transaction
Deletes a transaction.
func (*Client) GetSpoeTransaction ¶
func (a *Client) GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSpoeTransactionOK, error)
GetSpoeTransaction returns one s p o e configuration transactions
Returns one SPOE configuration transactions.
func (*Client) GetSpoeTransactions ¶
func (a *Client) GetSpoeTransactions(params *GetSpoeTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSpoeTransactionsOK, error)
GetSpoeTransactions returns list of s p o e configuration transactions
Returns a list of SPOE configuration transactions. Transactions can be filtered by their status.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartSpoeTransaction ¶
func (a *Client) StartSpoeTransaction(params *StartSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*StartSpoeTransactionCreated, error)
StartSpoeTransaction starts a new transaction
Starts a new transaction and returns it's id
type ClientService ¶
type ClientService interface { CommitSpoeTransaction(params *CommitSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*CommitSpoeTransactionOK, *CommitSpoeTransactionAccepted, error) DeleteSpoeTransaction(params *DeleteSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSpoeTransactionNoContent, error) GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSpoeTransactionOK, error) GetSpoeTransactions(params *GetSpoeTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSpoeTransactionsOK, error) StartSpoeTransaction(params *StartSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*StartSpoeTransactionCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new spoe transactions API client.
type CommitSpoeTransactionAccepted ¶
type CommitSpoeTransactionAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.SpoeTransaction }
CommitSpoeTransactionAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCommitSpoeTransactionAccepted ¶
func NewCommitSpoeTransactionAccepted() *CommitSpoeTransactionAccepted
NewCommitSpoeTransactionAccepted creates a CommitSpoeTransactionAccepted with default headers values
func (*CommitSpoeTransactionAccepted) Error ¶
func (o *CommitSpoeTransactionAccepted) Error() string
func (*CommitSpoeTransactionAccepted) GetPayload ¶
func (o *CommitSpoeTransactionAccepted) GetPayload() *models.SpoeTransaction
type CommitSpoeTransactionBadRequest ¶
type CommitSpoeTransactionBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CommitSpoeTransactionBadRequest handles this case with default header values.
Bad request
func NewCommitSpoeTransactionBadRequest ¶
func NewCommitSpoeTransactionBadRequest() *CommitSpoeTransactionBadRequest
NewCommitSpoeTransactionBadRequest creates a CommitSpoeTransactionBadRequest with default headers values
func (*CommitSpoeTransactionBadRequest) Error ¶
func (o *CommitSpoeTransactionBadRequest) Error() string
func (*CommitSpoeTransactionBadRequest) GetPayload ¶
func (o *CommitSpoeTransactionBadRequest) GetPayload() *models.Error
type CommitSpoeTransactionDefault ¶
type CommitSpoeTransactionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CommitSpoeTransactionDefault handles this case with default header values.
General Error
func NewCommitSpoeTransactionDefault ¶
func NewCommitSpoeTransactionDefault(code int) *CommitSpoeTransactionDefault
NewCommitSpoeTransactionDefault creates a CommitSpoeTransactionDefault with default headers values
func (*CommitSpoeTransactionDefault) Code ¶
func (o *CommitSpoeTransactionDefault) Code() int
Code gets the status code for the commit spoe transaction default response
func (*CommitSpoeTransactionDefault) Error ¶
func (o *CommitSpoeTransactionDefault) Error() string
func (*CommitSpoeTransactionDefault) GetPayload ¶
func (o *CommitSpoeTransactionDefault) GetPayload() *models.Error
type CommitSpoeTransactionNotFound ¶
type CommitSpoeTransactionNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CommitSpoeTransactionNotFound handles this case with default header values.
The specified resource was not found
func NewCommitSpoeTransactionNotFound ¶
func NewCommitSpoeTransactionNotFound() *CommitSpoeTransactionNotFound
NewCommitSpoeTransactionNotFound creates a CommitSpoeTransactionNotFound with default headers values
func (*CommitSpoeTransactionNotFound) Error ¶
func (o *CommitSpoeTransactionNotFound) Error() string
func (*CommitSpoeTransactionNotFound) GetPayload ¶
func (o *CommitSpoeTransactionNotFound) GetPayload() *models.Error
type CommitSpoeTransactionOK ¶
type CommitSpoeTransactionOK struct {
Payload *models.SpoeTransaction
}
CommitSpoeTransactionOK handles this case with default header values.
Transaction successfully committed
func NewCommitSpoeTransactionOK ¶
func NewCommitSpoeTransactionOK() *CommitSpoeTransactionOK
NewCommitSpoeTransactionOK creates a CommitSpoeTransactionOK with default headers values
func (*CommitSpoeTransactionOK) Error ¶
func (o *CommitSpoeTransactionOK) Error() string
func (*CommitSpoeTransactionOK) GetPayload ¶
func (o *CommitSpoeTransactionOK) GetPayload() *models.SpoeTransaction
type CommitSpoeTransactionParams ¶
type CommitSpoeTransactionParams struct { /*ForceReload 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. */ ForceReload *bool /*ID Transaction id */ ID string /*Spoe Spoe file name */ Spoe string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CommitSpoeTransactionParams contains all the parameters to send to the API endpoint for the commit spoe transaction operation typically these are written to a http.Request
func NewCommitSpoeTransactionParams ¶
func NewCommitSpoeTransactionParams() *CommitSpoeTransactionParams
NewCommitSpoeTransactionParams creates a new CommitSpoeTransactionParams object with the default values initialized.
func NewCommitSpoeTransactionParamsWithContext ¶
func NewCommitSpoeTransactionParamsWithContext(ctx context.Context) *CommitSpoeTransactionParams
NewCommitSpoeTransactionParamsWithContext creates a new CommitSpoeTransactionParams object with the default values initialized, and the ability to set a context for a request
func NewCommitSpoeTransactionParamsWithHTTPClient ¶
func NewCommitSpoeTransactionParamsWithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
NewCommitSpoeTransactionParamsWithHTTPClient creates a new CommitSpoeTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCommitSpoeTransactionParamsWithTimeout ¶
func NewCommitSpoeTransactionParamsWithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
NewCommitSpoeTransactionParamsWithTimeout creates a new CommitSpoeTransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CommitSpoeTransactionParams) SetContext ¶
func (o *CommitSpoeTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the commit spoe transaction params
func (*CommitSpoeTransactionParams) SetForceReload ¶
func (o *CommitSpoeTransactionParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the commit spoe transaction params
func (*CommitSpoeTransactionParams) SetHTTPClient ¶
func (o *CommitSpoeTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the commit spoe transaction params
func (*CommitSpoeTransactionParams) SetID ¶
func (o *CommitSpoeTransactionParams) SetID(id string)
SetID adds the id to the commit spoe transaction params
func (*CommitSpoeTransactionParams) SetSpoe ¶
func (o *CommitSpoeTransactionParams) SetSpoe(spoe string)
SetSpoe adds the spoe to the commit spoe transaction params
func (*CommitSpoeTransactionParams) SetTimeout ¶
func (o *CommitSpoeTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithContext ¶
func (o *CommitSpoeTransactionParams) WithContext(ctx context.Context) *CommitSpoeTransactionParams
WithContext adds the context to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithForceReload ¶
func (o *CommitSpoeTransactionParams) WithForceReload(forceReload *bool) *CommitSpoeTransactionParams
WithForceReload adds the forceReload to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithHTTPClient ¶
func (o *CommitSpoeTransactionParams) WithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithID ¶
func (o *CommitSpoeTransactionParams) WithID(id string) *CommitSpoeTransactionParams
WithID adds the id to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithSpoe ¶
func (o *CommitSpoeTransactionParams) WithSpoe(spoe string) *CommitSpoeTransactionParams
WithSpoe adds the spoe to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithTimeout ¶
func (o *CommitSpoeTransactionParams) WithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
WithTimeout adds the timeout to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WriteToRequest ¶
func (o *CommitSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CommitSpoeTransactionReader ¶
type CommitSpoeTransactionReader struct {
// contains filtered or unexported fields
}
CommitSpoeTransactionReader is a Reader for the CommitSpoeTransaction structure.
func (*CommitSpoeTransactionReader) ReadResponse ¶
func (o *CommitSpoeTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSpoeTransactionDefault ¶
type DeleteSpoeTransactionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteSpoeTransactionDefault handles this case with default header values.
General Error
func NewDeleteSpoeTransactionDefault ¶
func NewDeleteSpoeTransactionDefault(code int) *DeleteSpoeTransactionDefault
NewDeleteSpoeTransactionDefault creates a DeleteSpoeTransactionDefault with default headers values
func (*DeleteSpoeTransactionDefault) Code ¶
func (o *DeleteSpoeTransactionDefault) Code() int
Code gets the status code for the delete spoe transaction default response
func (*DeleteSpoeTransactionDefault) Error ¶
func (o *DeleteSpoeTransactionDefault) Error() string
func (*DeleteSpoeTransactionDefault) GetPayload ¶
func (o *DeleteSpoeTransactionDefault) GetPayload() *models.Error
type DeleteSpoeTransactionNoContent ¶
type DeleteSpoeTransactionNoContent struct { }
DeleteSpoeTransactionNoContent handles this case with default header values.
Transaction deleted
func NewDeleteSpoeTransactionNoContent ¶
func NewDeleteSpoeTransactionNoContent() *DeleteSpoeTransactionNoContent
NewDeleteSpoeTransactionNoContent creates a DeleteSpoeTransactionNoContent with default headers values
func (*DeleteSpoeTransactionNoContent) Error ¶
func (o *DeleteSpoeTransactionNoContent) Error() string
type DeleteSpoeTransactionNotFound ¶
type DeleteSpoeTransactionNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteSpoeTransactionNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteSpoeTransactionNotFound ¶
func NewDeleteSpoeTransactionNotFound() *DeleteSpoeTransactionNotFound
NewDeleteSpoeTransactionNotFound creates a DeleteSpoeTransactionNotFound with default headers values
func (*DeleteSpoeTransactionNotFound) Error ¶
func (o *DeleteSpoeTransactionNotFound) Error() string
func (*DeleteSpoeTransactionNotFound) GetPayload ¶
func (o *DeleteSpoeTransactionNotFound) GetPayload() *models.Error
type DeleteSpoeTransactionParams ¶
type DeleteSpoeTransactionParams struct { /*ID Transaction id */ ID string /*Spoe Spoe file name */ Spoe string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSpoeTransactionParams contains all the parameters to send to the API endpoint for the delete spoe transaction operation typically these are written to a http.Request
func NewDeleteSpoeTransactionParams ¶
func NewDeleteSpoeTransactionParams() *DeleteSpoeTransactionParams
NewDeleteSpoeTransactionParams creates a new DeleteSpoeTransactionParams object with the default values initialized.
func NewDeleteSpoeTransactionParamsWithContext ¶
func NewDeleteSpoeTransactionParamsWithContext(ctx context.Context) *DeleteSpoeTransactionParams
NewDeleteSpoeTransactionParamsWithContext creates a new DeleteSpoeTransactionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSpoeTransactionParamsWithHTTPClient ¶
func NewDeleteSpoeTransactionParamsWithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
NewDeleteSpoeTransactionParamsWithHTTPClient creates a new DeleteSpoeTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSpoeTransactionParamsWithTimeout ¶
func NewDeleteSpoeTransactionParamsWithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
NewDeleteSpoeTransactionParamsWithTimeout creates a new DeleteSpoeTransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSpoeTransactionParams) SetContext ¶
func (o *DeleteSpoeTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) SetHTTPClient ¶
func (o *DeleteSpoeTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) SetID ¶
func (o *DeleteSpoeTransactionParams) SetID(id string)
SetID adds the id to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) SetSpoe ¶
func (o *DeleteSpoeTransactionParams) SetSpoe(spoe string)
SetSpoe adds the spoe to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) SetTimeout ¶
func (o *DeleteSpoeTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithContext ¶
func (o *DeleteSpoeTransactionParams) WithContext(ctx context.Context) *DeleteSpoeTransactionParams
WithContext adds the context to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithHTTPClient ¶
func (o *DeleteSpoeTransactionParams) WithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithID ¶
func (o *DeleteSpoeTransactionParams) WithID(id string) *DeleteSpoeTransactionParams
WithID adds the id to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithSpoe ¶
func (o *DeleteSpoeTransactionParams) WithSpoe(spoe string) *DeleteSpoeTransactionParams
WithSpoe adds the spoe to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithTimeout ¶
func (o *DeleteSpoeTransactionParams) WithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
WithTimeout adds the timeout to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WriteToRequest ¶
func (o *DeleteSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSpoeTransactionReader ¶
type DeleteSpoeTransactionReader struct {
// contains filtered or unexported fields
}
DeleteSpoeTransactionReader is a Reader for the DeleteSpoeTransaction structure.
func (*DeleteSpoeTransactionReader) ReadResponse ¶
func (o *DeleteSpoeTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSpoeTransactionDefault ¶
type GetSpoeTransactionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetSpoeTransactionDefault handles this case with default header values.
General Error
func NewGetSpoeTransactionDefault ¶
func NewGetSpoeTransactionDefault(code int) *GetSpoeTransactionDefault
NewGetSpoeTransactionDefault creates a GetSpoeTransactionDefault with default headers values
func (*GetSpoeTransactionDefault) Code ¶
func (o *GetSpoeTransactionDefault) Code() int
Code gets the status code for the get spoe transaction default response
func (*GetSpoeTransactionDefault) Error ¶
func (o *GetSpoeTransactionDefault) Error() string
func (*GetSpoeTransactionDefault) GetPayload ¶
func (o *GetSpoeTransactionDefault) GetPayload() *models.Error
type GetSpoeTransactionNotFound ¶
type GetSpoeTransactionNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetSpoeTransactionNotFound handles this case with default header values.
The specified resource was not found
func NewGetSpoeTransactionNotFound ¶
func NewGetSpoeTransactionNotFound() *GetSpoeTransactionNotFound
NewGetSpoeTransactionNotFound creates a GetSpoeTransactionNotFound with default headers values
func (*GetSpoeTransactionNotFound) Error ¶
func (o *GetSpoeTransactionNotFound) Error() string
func (*GetSpoeTransactionNotFound) GetPayload ¶
func (o *GetSpoeTransactionNotFound) GetPayload() *models.Error
type GetSpoeTransactionOK ¶
type GetSpoeTransactionOK struct {
Payload *models.SpoeTransaction
}
GetSpoeTransactionOK handles this case with default header values.
Successful operation
func NewGetSpoeTransactionOK ¶
func NewGetSpoeTransactionOK() *GetSpoeTransactionOK
NewGetSpoeTransactionOK creates a GetSpoeTransactionOK with default headers values
func (*GetSpoeTransactionOK) Error ¶
func (o *GetSpoeTransactionOK) Error() string
func (*GetSpoeTransactionOK) GetPayload ¶
func (o *GetSpoeTransactionOK) GetPayload() *models.SpoeTransaction
type GetSpoeTransactionParams ¶
type GetSpoeTransactionParams struct { /*ID Transaction id */ ID string /*Spoe Spoe file name */ Spoe string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSpoeTransactionParams contains all the parameters to send to the API endpoint for the get spoe transaction operation typically these are written to a http.Request
func NewGetSpoeTransactionParams ¶
func NewGetSpoeTransactionParams() *GetSpoeTransactionParams
NewGetSpoeTransactionParams creates a new GetSpoeTransactionParams object with the default values initialized.
func NewGetSpoeTransactionParamsWithContext ¶
func NewGetSpoeTransactionParamsWithContext(ctx context.Context) *GetSpoeTransactionParams
NewGetSpoeTransactionParamsWithContext creates a new GetSpoeTransactionParams object with the default values initialized, and the ability to set a context for a request
func NewGetSpoeTransactionParamsWithHTTPClient ¶
func NewGetSpoeTransactionParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionParams
NewGetSpoeTransactionParamsWithHTTPClient creates a new GetSpoeTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSpoeTransactionParamsWithTimeout ¶
func NewGetSpoeTransactionParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionParams
NewGetSpoeTransactionParamsWithTimeout creates a new GetSpoeTransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSpoeTransactionParams) SetContext ¶
func (o *GetSpoeTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the get spoe transaction params
func (*GetSpoeTransactionParams) SetHTTPClient ¶
func (o *GetSpoeTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get spoe transaction params
func (*GetSpoeTransactionParams) SetID ¶
func (o *GetSpoeTransactionParams) SetID(id string)
SetID adds the id to the get spoe transaction params
func (*GetSpoeTransactionParams) SetSpoe ¶
func (o *GetSpoeTransactionParams) SetSpoe(spoe string)
SetSpoe adds the spoe to the get spoe transaction params
func (*GetSpoeTransactionParams) SetTimeout ¶
func (o *GetSpoeTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get spoe transaction params
func (*GetSpoeTransactionParams) WithContext ¶
func (o *GetSpoeTransactionParams) WithContext(ctx context.Context) *GetSpoeTransactionParams
WithContext adds the context to the get spoe transaction params
func (*GetSpoeTransactionParams) WithHTTPClient ¶
func (o *GetSpoeTransactionParams) WithHTTPClient(client *http.Client) *GetSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the get spoe transaction params
func (*GetSpoeTransactionParams) WithID ¶
func (o *GetSpoeTransactionParams) WithID(id string) *GetSpoeTransactionParams
WithID adds the id to the get spoe transaction params
func (*GetSpoeTransactionParams) WithSpoe ¶
func (o *GetSpoeTransactionParams) WithSpoe(spoe string) *GetSpoeTransactionParams
WithSpoe adds the spoe to the get spoe transaction params
func (*GetSpoeTransactionParams) WithTimeout ¶
func (o *GetSpoeTransactionParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionParams
WithTimeout adds the timeout to the get spoe transaction params
func (*GetSpoeTransactionParams) WriteToRequest ¶
func (o *GetSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSpoeTransactionReader ¶
type GetSpoeTransactionReader struct {
// contains filtered or unexported fields
}
GetSpoeTransactionReader is a Reader for the GetSpoeTransaction structure.
func (*GetSpoeTransactionReader) ReadResponse ¶
func (o *GetSpoeTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSpoeTransactionsDefault ¶
type GetSpoeTransactionsDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetSpoeTransactionsDefault handles this case with default header values.
General Error
func NewGetSpoeTransactionsDefault ¶
func NewGetSpoeTransactionsDefault(code int) *GetSpoeTransactionsDefault
NewGetSpoeTransactionsDefault creates a GetSpoeTransactionsDefault with default headers values
func (*GetSpoeTransactionsDefault) Code ¶
func (o *GetSpoeTransactionsDefault) Code() int
Code gets the status code for the get spoe transactions default response
func (*GetSpoeTransactionsDefault) Error ¶
func (o *GetSpoeTransactionsDefault) Error() string
func (*GetSpoeTransactionsDefault) GetPayload ¶
func (o *GetSpoeTransactionsDefault) GetPayload() *models.Error
type GetSpoeTransactionsOK ¶
type GetSpoeTransactionsOK struct {
Payload models.SpoeTransactions
}
GetSpoeTransactionsOK handles this case with default header values.
Success
func NewGetSpoeTransactionsOK ¶
func NewGetSpoeTransactionsOK() *GetSpoeTransactionsOK
NewGetSpoeTransactionsOK creates a GetSpoeTransactionsOK with default headers values
func (*GetSpoeTransactionsOK) Error ¶
func (o *GetSpoeTransactionsOK) Error() string
func (*GetSpoeTransactionsOK) GetPayload ¶
func (o *GetSpoeTransactionsOK) GetPayload() models.SpoeTransactions
type GetSpoeTransactionsParams ¶
type GetSpoeTransactionsParams struct { /*Spoe Spoe file name */ Spoe string /*Status Filter by transaction status */ Status *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSpoeTransactionsParams contains all the parameters to send to the API endpoint for the get spoe transactions operation typically these are written to a http.Request
func NewGetSpoeTransactionsParams ¶
func NewGetSpoeTransactionsParams() *GetSpoeTransactionsParams
NewGetSpoeTransactionsParams creates a new GetSpoeTransactionsParams object with the default values initialized.
func NewGetSpoeTransactionsParamsWithContext ¶
func NewGetSpoeTransactionsParamsWithContext(ctx context.Context) *GetSpoeTransactionsParams
NewGetSpoeTransactionsParamsWithContext creates a new GetSpoeTransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetSpoeTransactionsParamsWithHTTPClient ¶
func NewGetSpoeTransactionsParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionsParams
NewGetSpoeTransactionsParamsWithHTTPClient creates a new GetSpoeTransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSpoeTransactionsParamsWithTimeout ¶
func NewGetSpoeTransactionsParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
NewGetSpoeTransactionsParamsWithTimeout creates a new GetSpoeTransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSpoeTransactionsParams) SetContext ¶
func (o *GetSpoeTransactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get spoe transactions params
func (*GetSpoeTransactionsParams) SetHTTPClient ¶
func (o *GetSpoeTransactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get spoe transactions params
func (*GetSpoeTransactionsParams) SetSpoe ¶
func (o *GetSpoeTransactionsParams) SetSpoe(spoe string)
SetSpoe adds the spoe to the get spoe transactions params
func (*GetSpoeTransactionsParams) SetStatus ¶
func (o *GetSpoeTransactionsParams) SetStatus(status *string)
SetStatus adds the status to the get spoe transactions params
func (*GetSpoeTransactionsParams) SetTimeout ¶
func (o *GetSpoeTransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithContext ¶
func (o *GetSpoeTransactionsParams) WithContext(ctx context.Context) *GetSpoeTransactionsParams
WithContext adds the context to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithHTTPClient ¶
func (o *GetSpoeTransactionsParams) WithHTTPClient(client *http.Client) *GetSpoeTransactionsParams
WithHTTPClient adds the HTTPClient to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithSpoe ¶
func (o *GetSpoeTransactionsParams) WithSpoe(spoe string) *GetSpoeTransactionsParams
WithSpoe adds the spoe to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithStatus ¶
func (o *GetSpoeTransactionsParams) WithStatus(status *string) *GetSpoeTransactionsParams
WithStatus adds the status to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithTimeout ¶
func (o *GetSpoeTransactionsParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
WithTimeout adds the timeout to the get spoe transactions params
func (*GetSpoeTransactionsParams) WriteToRequest ¶
func (o *GetSpoeTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSpoeTransactionsReader ¶
type GetSpoeTransactionsReader struct {
// contains filtered or unexported fields
}
GetSpoeTransactionsReader is a Reader for the GetSpoeTransactions structure.
func (*GetSpoeTransactionsReader) ReadResponse ¶
func (o *GetSpoeTransactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartSpoeTransactionCreated ¶
type StartSpoeTransactionCreated struct {
Payload *models.SpoeTransaction
}
StartSpoeTransactionCreated handles this case with default header values.
Transaction started
func NewStartSpoeTransactionCreated ¶
func NewStartSpoeTransactionCreated() *StartSpoeTransactionCreated
NewStartSpoeTransactionCreated creates a StartSpoeTransactionCreated with default headers values
func (*StartSpoeTransactionCreated) Error ¶
func (o *StartSpoeTransactionCreated) Error() string
func (*StartSpoeTransactionCreated) GetPayload ¶
func (o *StartSpoeTransactionCreated) GetPayload() *models.SpoeTransaction
type StartSpoeTransactionDefault ¶
type StartSpoeTransactionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
StartSpoeTransactionDefault handles this case with default header values.
General Error
func NewStartSpoeTransactionDefault ¶
func NewStartSpoeTransactionDefault(code int) *StartSpoeTransactionDefault
NewStartSpoeTransactionDefault creates a StartSpoeTransactionDefault with default headers values
func (*StartSpoeTransactionDefault) Code ¶
func (o *StartSpoeTransactionDefault) Code() int
Code gets the status code for the start spoe transaction default response
func (*StartSpoeTransactionDefault) Error ¶
func (o *StartSpoeTransactionDefault) Error() string
func (*StartSpoeTransactionDefault) GetPayload ¶
func (o *StartSpoeTransactionDefault) GetPayload() *models.Error
type StartSpoeTransactionParams ¶
type StartSpoeTransactionParams struct { /*Spoe Spoe file name */ Spoe string /*Version Configuration version on which to work on */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartSpoeTransactionParams contains all the parameters to send to the API endpoint for the start spoe transaction operation typically these are written to a http.Request
func NewStartSpoeTransactionParams ¶
func NewStartSpoeTransactionParams() *StartSpoeTransactionParams
NewStartSpoeTransactionParams creates a new StartSpoeTransactionParams object with the default values initialized.
func NewStartSpoeTransactionParamsWithContext ¶
func NewStartSpoeTransactionParamsWithContext(ctx context.Context) *StartSpoeTransactionParams
NewStartSpoeTransactionParamsWithContext creates a new StartSpoeTransactionParams object with the default values initialized, and the ability to set a context for a request
func NewStartSpoeTransactionParamsWithHTTPClient ¶
func NewStartSpoeTransactionParamsWithHTTPClient(client *http.Client) *StartSpoeTransactionParams
NewStartSpoeTransactionParamsWithHTTPClient creates a new StartSpoeTransactionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartSpoeTransactionParamsWithTimeout ¶
func NewStartSpoeTransactionParamsWithTimeout(timeout time.Duration) *StartSpoeTransactionParams
NewStartSpoeTransactionParamsWithTimeout creates a new StartSpoeTransactionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartSpoeTransactionParams) SetContext ¶
func (o *StartSpoeTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the start spoe transaction params
func (*StartSpoeTransactionParams) SetHTTPClient ¶
func (o *StartSpoeTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start spoe transaction params
func (*StartSpoeTransactionParams) SetSpoe ¶
func (o *StartSpoeTransactionParams) SetSpoe(spoe string)
SetSpoe adds the spoe to the start spoe transaction params
func (*StartSpoeTransactionParams) SetTimeout ¶
func (o *StartSpoeTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start spoe transaction params
func (*StartSpoeTransactionParams) SetVersion ¶
func (o *StartSpoeTransactionParams) SetVersion(version int64)
SetVersion adds the version to the start spoe transaction params
func (*StartSpoeTransactionParams) WithContext ¶
func (o *StartSpoeTransactionParams) WithContext(ctx context.Context) *StartSpoeTransactionParams
WithContext adds the context to the start spoe transaction params
func (*StartSpoeTransactionParams) WithHTTPClient ¶
func (o *StartSpoeTransactionParams) WithHTTPClient(client *http.Client) *StartSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the start spoe transaction params
func (*StartSpoeTransactionParams) WithSpoe ¶
func (o *StartSpoeTransactionParams) WithSpoe(spoe string) *StartSpoeTransactionParams
WithSpoe adds the spoe to the start spoe transaction params
func (*StartSpoeTransactionParams) WithTimeout ¶
func (o *StartSpoeTransactionParams) WithTimeout(timeout time.Duration) *StartSpoeTransactionParams
WithTimeout adds the timeout to the start spoe transaction params
func (*StartSpoeTransactionParams) WithVersion ¶
func (o *StartSpoeTransactionParams) WithVersion(version int64) *StartSpoeTransactionParams
WithVersion adds the version to the start spoe transaction params
func (*StartSpoeTransactionParams) WriteToRequest ¶
func (o *StartSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartSpoeTransactionReader ¶
type StartSpoeTransactionReader struct {
// contains filtered or unexported fields
}
StartSpoeTransactionReader is a Reader for the StartSpoeTransaction structure.
func (*StartSpoeTransactionReader) ReadResponse ¶
func (o *StartSpoeTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartSpoeTransactionTooManyRequests ¶
type StartSpoeTransactionTooManyRequests struct {
Payload *StartSpoeTransactionTooManyRequestsBody
}
StartSpoeTransactionTooManyRequests handles this case with default header values.
Too many open transactions
func NewStartSpoeTransactionTooManyRequests ¶
func NewStartSpoeTransactionTooManyRequests() *StartSpoeTransactionTooManyRequests
NewStartSpoeTransactionTooManyRequests creates a StartSpoeTransactionTooManyRequests with default headers values
func (*StartSpoeTransactionTooManyRequests) Error ¶
func (o *StartSpoeTransactionTooManyRequests) Error() string
func (*StartSpoeTransactionTooManyRequests) GetPayload ¶
func (o *StartSpoeTransactionTooManyRequests) GetPayload() *StartSpoeTransactionTooManyRequestsBody
type StartSpoeTransactionTooManyRequestsBody ¶
type StartSpoeTransactionTooManyRequestsBody struct { // code Code int64 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
StartSpoeTransactionTooManyRequestsBody start spoe transaction too many requests body swagger:model StartSpoeTransactionTooManyRequestsBody
func (*StartSpoeTransactionTooManyRequestsBody) MarshalBinary ¶
func (o *StartSpoeTransactionTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartSpoeTransactionTooManyRequestsBody) UnmarshalBinary ¶
func (o *StartSpoeTransactionTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- commit_spoe_transaction_parameters.go
- commit_spoe_transaction_responses.go
- delete_spoe_transaction_parameters.go
- delete_spoe_transaction_responses.go
- get_spoe_transaction_parameters.go
- get_spoe_transaction_responses.go
- get_spoe_transactions_parameters.go
- get_spoe_transactions_responses.go
- spoe_transactions_client.go
- start_spoe_transaction_parameters.go
- start_spoe_transaction_responses.go