Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTCPResponseRule(params *CreateTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTCPResponseRuleCreated, *CreateTCPResponseRuleAccepted, error)
- func (a *Client) DeleteTCPResponseRule(params *DeleteTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTCPResponseRuleAccepted, *DeleteTCPResponseRuleNoContent, error)
- func (a *Client) GetTCPResponseRule(params *GetTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPResponseRuleOK, error)
- func (a *Client) GetTCPResponseRules(params *GetTCPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPResponseRulesOK, error)
- func (a *Client) ReplaceTCPResponseRule(params *ReplaceTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceTCPResponseRuleOK, *ReplaceTCPResponseRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateTCPResponseRuleAccepted
- type CreateTCPResponseRuleBadRequest
- type CreateTCPResponseRuleConflict
- type CreateTCPResponseRuleCreated
- type CreateTCPResponseRuleDefault
- type CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParams() *CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParamsWithContext(ctx context.Context) *CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) SetBackend(backend string)
- func (o *CreateTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *CreateTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
- func (o *CreateTCPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateTCPResponseRuleParams) SetVersion(version *int64)
- func (o *CreateTCPResponseRuleParams) WithBackend(backend string) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithContext(ctx context.Context) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithForceReload(forceReload *bool) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithTransactionID(transactionID *string) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithVersion(version *int64) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTCPResponseRuleReader
- type DeleteTCPResponseRuleAccepted
- type DeleteTCPResponseRuleDefault
- type DeleteTCPResponseRuleNoContent
- type DeleteTCPResponseRuleNotFound
- type DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParams() *DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParamsWithContext(ctx context.Context) *DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) SetBackend(backend string)
- func (o *DeleteTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *DeleteTCPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTCPResponseRuleParams) SetIndex(index int64)
- func (o *DeleteTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteTCPResponseRuleParams) SetVersion(version *int64)
- func (o *DeleteTCPResponseRuleParams) WithBackend(backend string) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithContext(ctx context.Context) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithIndex(index int64) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithVersion(version *int64) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTCPResponseRuleReader
- type GetTCPResponseRuleDefault
- type GetTCPResponseRuleNotFound
- type GetTCPResponseRuleOK
- type GetTCPResponseRuleOKBody
- type GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParams() *GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParamsWithContext(ctx context.Context) *GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParamsWithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParamsWithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) SetBackend(backend string)
- func (o *GetTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *GetTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPResponseRuleParams) SetIndex(index int64)
- func (o *GetTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *GetTCPResponseRuleParams) WithBackend(backend string) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithContext(ctx context.Context) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithIndex(index int64) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithTransactionID(transactionID *string) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPResponseRuleReader
- type GetTCPResponseRulesDefault
- type GetTCPResponseRulesOK
- type GetTCPResponseRulesOKBody
- type GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParams() *GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParamsWithContext(ctx context.Context) *GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParamsWithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParamsWithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) SetBackend(backend string)
- func (o *GetTCPResponseRulesParams) SetContext(ctx context.Context)
- func (o *GetTCPResponseRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPResponseRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPResponseRulesParams) SetTransactionID(transactionID *string)
- func (o *GetTCPResponseRulesParams) WithBackend(backend string) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithContext(ctx context.Context) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithTransactionID(transactionID *string) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPResponseRulesReader
- type ReplaceTCPResponseRuleAccepted
- type ReplaceTCPResponseRuleBadRequest
- type ReplaceTCPResponseRuleDefault
- type ReplaceTCPResponseRuleNotFound
- type ReplaceTCPResponseRuleOK
- type ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParams() *ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParamsWithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) SetBackend(backend string)
- func (o *ReplaceTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
- func (o *ReplaceTCPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceTCPResponseRuleParams) SetIndex(index int64)
- func (o *ReplaceTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceTCPResponseRuleParams) SetVersion(version *int64)
- func (o *ReplaceTCPResponseRuleParams) WithBackend(backend string) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithIndex(index int64) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithVersion(version *int64) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceTCPResponseRuleReader
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 tcp response rule API
func (*Client) CreateTCPResponseRule ¶
func (a *Client) CreateTCPResponseRule(params *CreateTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTCPResponseRuleCreated, *CreateTCPResponseRuleAccepted, error)
CreateTCPResponseRule adds a new TCP response rule
Adds a new TCP Response Rule of the specified type in the specified backend.
func (*Client) DeleteTCPResponseRule ¶
func (a *Client) DeleteTCPResponseRule(params *DeleteTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTCPResponseRuleAccepted, *DeleteTCPResponseRuleNoContent, error)
DeleteTCPResponseRule deletes a TCP response rule
Deletes a TCP Response Rule configuration by it's index from the specified backend.
func (*Client) GetTCPResponseRule ¶
func (a *Client) GetTCPResponseRule(params *GetTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPResponseRuleOK, error)
GetTCPResponseRule returns one TCP response rule
Returns one TCP Response Rule configuration by it's index in the specified backend.
func (*Client) GetTCPResponseRules ¶
func (a *Client) GetTCPResponseRules(params *GetTCPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPResponseRulesOK, error)
GetTCPResponseRules returns an array of all TCP response rules
Returns all TCP Response Rules that are configured in specified backend.
func (*Client) ReplaceTCPResponseRule ¶
func (a *Client) ReplaceTCPResponseRule(params *ReplaceTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceTCPResponseRuleOK, *ReplaceTCPResponseRuleAccepted, error)
ReplaceTCPResponseRule replaces a TCP response rule
Replaces a TCP Response Rule configuration by it's Index in the specified backend.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateTCPResponseRule(params *CreateTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTCPResponseRuleCreated, *CreateTCPResponseRuleAccepted, error) DeleteTCPResponseRule(params *DeleteTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTCPResponseRuleAccepted, *DeleteTCPResponseRuleNoContent, error) GetTCPResponseRule(params *GetTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPResponseRuleOK, error) GetTCPResponseRules(params *GetTCPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPResponseRulesOK, error) ReplaceTCPResponseRule(params *ReplaceTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceTCPResponseRuleOK, *ReplaceTCPResponseRuleAccepted, 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 tcp response rule API client.
type CreateTCPResponseRuleAccepted ¶
type CreateTCPResponseRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.TCPResponseRule }
CreateTCPResponseRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateTCPResponseRuleAccepted ¶
func NewCreateTCPResponseRuleAccepted() *CreateTCPResponseRuleAccepted
NewCreateTCPResponseRuleAccepted creates a CreateTCPResponseRuleAccepted with default headers values
func (*CreateTCPResponseRuleAccepted) Error ¶
func (o *CreateTCPResponseRuleAccepted) Error() string
func (*CreateTCPResponseRuleAccepted) GetPayload ¶
func (o *CreateTCPResponseRuleAccepted) GetPayload() *models.TCPResponseRule
type CreateTCPResponseRuleBadRequest ¶
type CreateTCPResponseRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTCPResponseRuleBadRequest handles this case with default header values.
Bad request
func NewCreateTCPResponseRuleBadRequest ¶
func NewCreateTCPResponseRuleBadRequest() *CreateTCPResponseRuleBadRequest
NewCreateTCPResponseRuleBadRequest creates a CreateTCPResponseRuleBadRequest with default headers values
func (*CreateTCPResponseRuleBadRequest) Error ¶
func (o *CreateTCPResponseRuleBadRequest) Error() string
func (*CreateTCPResponseRuleBadRequest) GetPayload ¶
func (o *CreateTCPResponseRuleBadRequest) GetPayload() *models.Error
type CreateTCPResponseRuleConflict ¶
type CreateTCPResponseRuleConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTCPResponseRuleConflict handles this case with default header values.
The specified resource already exists
func NewCreateTCPResponseRuleConflict ¶
func NewCreateTCPResponseRuleConflict() *CreateTCPResponseRuleConflict
NewCreateTCPResponseRuleConflict creates a CreateTCPResponseRuleConflict with default headers values
func (*CreateTCPResponseRuleConflict) Error ¶
func (o *CreateTCPResponseRuleConflict) Error() string
func (*CreateTCPResponseRuleConflict) GetPayload ¶
func (o *CreateTCPResponseRuleConflict) GetPayload() *models.Error
type CreateTCPResponseRuleCreated ¶
type CreateTCPResponseRuleCreated struct {
Payload *models.TCPResponseRule
}
CreateTCPResponseRuleCreated handles this case with default header values.
TCP Response Rule created
func NewCreateTCPResponseRuleCreated ¶
func NewCreateTCPResponseRuleCreated() *CreateTCPResponseRuleCreated
NewCreateTCPResponseRuleCreated creates a CreateTCPResponseRuleCreated with default headers values
func (*CreateTCPResponseRuleCreated) Error ¶
func (o *CreateTCPResponseRuleCreated) Error() string
func (*CreateTCPResponseRuleCreated) GetPayload ¶
func (o *CreateTCPResponseRuleCreated) GetPayload() *models.TCPResponseRule
type CreateTCPResponseRuleDefault ¶
type CreateTCPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateTCPResponseRuleDefault handles this case with default header values.
General Error
func NewCreateTCPResponseRuleDefault ¶
func NewCreateTCPResponseRuleDefault(code int) *CreateTCPResponseRuleDefault
NewCreateTCPResponseRuleDefault creates a CreateTCPResponseRuleDefault with default headers values
func (*CreateTCPResponseRuleDefault) Code ¶
func (o *CreateTCPResponseRuleDefault) Code() int
Code gets the status code for the create TCP response rule default response
func (*CreateTCPResponseRuleDefault) Error ¶
func (o *CreateTCPResponseRuleDefault) Error() string
func (*CreateTCPResponseRuleDefault) GetPayload ¶
func (o *CreateTCPResponseRuleDefault) GetPayload() *models.Error
type CreateTCPResponseRuleParams ¶
type CreateTCPResponseRuleParams struct { /*Backend Parent backend name */ Backend string /*Data*/ Data *models.TCPResponseRule /*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 /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTCPResponseRuleParams contains all the parameters to send to the API endpoint for the create TCP response rule operation typically these are written to a http.Request
func NewCreateTCPResponseRuleParams ¶
func NewCreateTCPResponseRuleParams() *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParams creates a new CreateTCPResponseRuleParams object with the default values initialized.
func NewCreateTCPResponseRuleParamsWithContext ¶
func NewCreateTCPResponseRuleParamsWithContext(ctx context.Context) *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParamsWithContext creates a new CreateTCPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateTCPResponseRuleParamsWithHTTPClient ¶
func NewCreateTCPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParamsWithHTTPClient creates a new CreateTCPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateTCPResponseRuleParamsWithTimeout ¶
func NewCreateTCPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParamsWithTimeout creates a new CreateTCPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateTCPResponseRuleParams) SetBackend ¶
func (o *CreateTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetContext ¶
func (o *CreateTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetData ¶
func (o *CreateTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
SetData adds the data to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetForceReload ¶
func (o *CreateTCPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetHTTPClient ¶
func (o *CreateTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetTimeout ¶
func (o *CreateTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetTransactionID ¶
func (o *CreateTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetVersion ¶
func (o *CreateTCPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithBackend ¶
func (o *CreateTCPResponseRuleParams) WithBackend(backend string) *CreateTCPResponseRuleParams
WithBackend adds the backend to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithContext ¶
func (o *CreateTCPResponseRuleParams) WithContext(ctx context.Context) *CreateTCPResponseRuleParams
WithContext adds the context to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithData ¶
func (o *CreateTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *CreateTCPResponseRuleParams
WithData adds the data to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithForceReload ¶
func (o *CreateTCPResponseRuleParams) WithForceReload(forceReload *bool) *CreateTCPResponseRuleParams
WithForceReload adds the forceReload to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithHTTPClient ¶
func (o *CreateTCPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithTimeout ¶
func (o *CreateTCPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
WithTimeout adds the timeout to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithTransactionID ¶
func (o *CreateTCPResponseRuleParams) WithTransactionID(transactionID *string) *CreateTCPResponseRuleParams
WithTransactionID adds the transactionID to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithVersion ¶
func (o *CreateTCPResponseRuleParams) WithVersion(version *int64) *CreateTCPResponseRuleParams
WithVersion adds the version to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WriteToRequest ¶
func (o *CreateTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTCPResponseRuleReader ¶
type CreateTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
CreateTCPResponseRuleReader is a Reader for the CreateTCPResponseRule structure.
func (*CreateTCPResponseRuleReader) ReadResponse ¶
func (o *CreateTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTCPResponseRuleAccepted ¶
type DeleteTCPResponseRuleAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteTCPResponseRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteTCPResponseRuleAccepted ¶
func NewDeleteTCPResponseRuleAccepted() *DeleteTCPResponseRuleAccepted
NewDeleteTCPResponseRuleAccepted creates a DeleteTCPResponseRuleAccepted with default headers values
func (*DeleteTCPResponseRuleAccepted) Error ¶
func (o *DeleteTCPResponseRuleAccepted) Error() string
type DeleteTCPResponseRuleDefault ¶
type DeleteTCPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteTCPResponseRuleDefault handles this case with default header values.
General Error
func NewDeleteTCPResponseRuleDefault ¶
func NewDeleteTCPResponseRuleDefault(code int) *DeleteTCPResponseRuleDefault
NewDeleteTCPResponseRuleDefault creates a DeleteTCPResponseRuleDefault with default headers values
func (*DeleteTCPResponseRuleDefault) Code ¶
func (o *DeleteTCPResponseRuleDefault) Code() int
Code gets the status code for the delete TCP response rule default response
func (*DeleteTCPResponseRuleDefault) Error ¶
func (o *DeleteTCPResponseRuleDefault) Error() string
func (*DeleteTCPResponseRuleDefault) GetPayload ¶
func (o *DeleteTCPResponseRuleDefault) GetPayload() *models.Error
type DeleteTCPResponseRuleNoContent ¶
type DeleteTCPResponseRuleNoContent struct { }
DeleteTCPResponseRuleNoContent handles this case with default header values.
TCP Response Rule deleted
func NewDeleteTCPResponseRuleNoContent ¶
func NewDeleteTCPResponseRuleNoContent() *DeleteTCPResponseRuleNoContent
NewDeleteTCPResponseRuleNoContent creates a DeleteTCPResponseRuleNoContent with default headers values
func (*DeleteTCPResponseRuleNoContent) Error ¶
func (o *DeleteTCPResponseRuleNoContent) Error() string
type DeleteTCPResponseRuleNotFound ¶
type DeleteTCPResponseRuleNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteTCPResponseRuleNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteTCPResponseRuleNotFound ¶
func NewDeleteTCPResponseRuleNotFound() *DeleteTCPResponseRuleNotFound
NewDeleteTCPResponseRuleNotFound creates a DeleteTCPResponseRuleNotFound with default headers values
func (*DeleteTCPResponseRuleNotFound) Error ¶
func (o *DeleteTCPResponseRuleNotFound) Error() string
func (*DeleteTCPResponseRuleNotFound) GetPayload ¶
func (o *DeleteTCPResponseRuleNotFound) GetPayload() *models.Error
type DeleteTCPResponseRuleParams ¶
type DeleteTCPResponseRuleParams struct { /*Backend Parent backend name */ Backend string /*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 /*Index TCP Response Rule Index */ Index int64 /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTCPResponseRuleParams contains all the parameters to send to the API endpoint for the delete TCP response rule operation typically these are written to a http.Request
func NewDeleteTCPResponseRuleParams ¶
func NewDeleteTCPResponseRuleParams() *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParams creates a new DeleteTCPResponseRuleParams object with the default values initialized.
func NewDeleteTCPResponseRuleParamsWithContext ¶
func NewDeleteTCPResponseRuleParamsWithContext(ctx context.Context) *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParamsWithContext creates a new DeleteTCPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTCPResponseRuleParamsWithHTTPClient ¶
func NewDeleteTCPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParamsWithHTTPClient creates a new DeleteTCPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTCPResponseRuleParamsWithTimeout ¶
func NewDeleteTCPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParamsWithTimeout creates a new DeleteTCPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTCPResponseRuleParams) SetBackend ¶
func (o *DeleteTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetContext ¶
func (o *DeleteTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetForceReload ¶
func (o *DeleteTCPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetHTTPClient ¶
func (o *DeleteTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetIndex ¶
func (o *DeleteTCPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetTimeout ¶
func (o *DeleteTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetTransactionID ¶
func (o *DeleteTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetVersion ¶
func (o *DeleteTCPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithBackend ¶
func (o *DeleteTCPResponseRuleParams) WithBackend(backend string) *DeleteTCPResponseRuleParams
WithBackend adds the backend to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithContext ¶
func (o *DeleteTCPResponseRuleParams) WithContext(ctx context.Context) *DeleteTCPResponseRuleParams
WithContext adds the context to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithForceReload ¶
func (o *DeleteTCPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteTCPResponseRuleParams
WithForceReload adds the forceReload to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithHTTPClient ¶
func (o *DeleteTCPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithIndex ¶
func (o *DeleteTCPResponseRuleParams) WithIndex(index int64) *DeleteTCPResponseRuleParams
WithIndex adds the index to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithTimeout ¶
func (o *DeleteTCPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
WithTimeout adds the timeout to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithTransactionID ¶
func (o *DeleteTCPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteTCPResponseRuleParams
WithTransactionID adds the transactionID to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithVersion ¶
func (o *DeleteTCPResponseRuleParams) WithVersion(version *int64) *DeleteTCPResponseRuleParams
WithVersion adds the version to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WriteToRequest ¶
func (o *DeleteTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTCPResponseRuleReader ¶
type DeleteTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
DeleteTCPResponseRuleReader is a Reader for the DeleteTCPResponseRule structure.
func (*DeleteTCPResponseRuleReader) ReadResponse ¶
func (o *DeleteTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPResponseRuleDefault ¶
type GetTCPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTCPResponseRuleDefault handles this case with default header values.
General Error
func NewGetTCPResponseRuleDefault ¶
func NewGetTCPResponseRuleDefault(code int) *GetTCPResponseRuleDefault
NewGetTCPResponseRuleDefault creates a GetTCPResponseRuleDefault with default headers values
func (*GetTCPResponseRuleDefault) Code ¶
func (o *GetTCPResponseRuleDefault) Code() int
Code gets the status code for the get TCP response rule default response
func (*GetTCPResponseRuleDefault) Error ¶
func (o *GetTCPResponseRuleDefault) Error() string
func (*GetTCPResponseRuleDefault) GetPayload ¶
func (o *GetTCPResponseRuleDefault) GetPayload() *models.Error
type GetTCPResponseRuleNotFound ¶
type GetTCPResponseRuleNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetTCPResponseRuleNotFound handles this case with default header values.
The specified resource was not found
func NewGetTCPResponseRuleNotFound ¶
func NewGetTCPResponseRuleNotFound() *GetTCPResponseRuleNotFound
NewGetTCPResponseRuleNotFound creates a GetTCPResponseRuleNotFound with default headers values
func (*GetTCPResponseRuleNotFound) Error ¶
func (o *GetTCPResponseRuleNotFound) Error() string
func (*GetTCPResponseRuleNotFound) GetPayload ¶
func (o *GetTCPResponseRuleNotFound) GetPayload() *models.Error
type GetTCPResponseRuleOK ¶
type GetTCPResponseRuleOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetTCPResponseRuleOKBody }
GetTCPResponseRuleOK handles this case with default header values.
Successful operation
func NewGetTCPResponseRuleOK ¶
func NewGetTCPResponseRuleOK() *GetTCPResponseRuleOK
NewGetTCPResponseRuleOK creates a GetTCPResponseRuleOK with default headers values
func (*GetTCPResponseRuleOK) Error ¶
func (o *GetTCPResponseRuleOK) Error() string
func (*GetTCPResponseRuleOK) GetPayload ¶
func (o *GetTCPResponseRuleOK) GetPayload() *GetTCPResponseRuleOKBody
type GetTCPResponseRuleOKBody ¶
type GetTCPResponseRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.TCPResponseRule `json:"data,omitempty"` }
GetTCPResponseRuleOKBody get TCP response rule o k body swagger:model GetTCPResponseRuleOKBody
func (*GetTCPResponseRuleOKBody) MarshalBinary ¶
func (o *GetTCPResponseRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPResponseRuleOKBody) UnmarshalBinary ¶
func (o *GetTCPResponseRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPResponseRuleParams ¶
type GetTCPResponseRuleParams struct { /*Backend Parent backend name */ Backend string /*Index TCP Response Rule Index */ Index int64 /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTCPResponseRuleParams contains all the parameters to send to the API endpoint for the get TCP response rule operation typically these are written to a http.Request
func NewGetTCPResponseRuleParams ¶
func NewGetTCPResponseRuleParams() *GetTCPResponseRuleParams
NewGetTCPResponseRuleParams creates a new GetTCPResponseRuleParams object with the default values initialized.
func NewGetTCPResponseRuleParamsWithContext ¶
func NewGetTCPResponseRuleParamsWithContext(ctx context.Context) *GetTCPResponseRuleParams
NewGetTCPResponseRuleParamsWithContext creates a new GetTCPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewGetTCPResponseRuleParamsWithHTTPClient ¶
func NewGetTCPResponseRuleParamsWithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
NewGetTCPResponseRuleParamsWithHTTPClient creates a new GetTCPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTCPResponseRuleParamsWithTimeout ¶
func NewGetTCPResponseRuleParamsWithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
NewGetTCPResponseRuleParamsWithTimeout creates a new GetTCPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTCPResponseRuleParams) SetBackend ¶
func (o *GetTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetContext ¶
func (o *GetTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetHTTPClient ¶
func (o *GetTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetIndex ¶
func (o *GetTCPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetTimeout ¶
func (o *GetTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetTransactionID ¶
func (o *GetTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithBackend ¶
func (o *GetTCPResponseRuleParams) WithBackend(backend string) *GetTCPResponseRuleParams
WithBackend adds the backend to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithContext ¶
func (o *GetTCPResponseRuleParams) WithContext(ctx context.Context) *GetTCPResponseRuleParams
WithContext adds the context to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithHTTPClient ¶
func (o *GetTCPResponseRuleParams) WithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithIndex ¶
func (o *GetTCPResponseRuleParams) WithIndex(index int64) *GetTCPResponseRuleParams
WithIndex adds the index to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithTimeout ¶
func (o *GetTCPResponseRuleParams) WithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
WithTimeout adds the timeout to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithTransactionID ¶
func (o *GetTCPResponseRuleParams) WithTransactionID(transactionID *string) *GetTCPResponseRuleParams
WithTransactionID adds the transactionID to the get TCP response rule params
func (*GetTCPResponseRuleParams) WriteToRequest ¶
func (o *GetTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPResponseRuleReader ¶
type GetTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
GetTCPResponseRuleReader is a Reader for the GetTCPResponseRule structure.
func (*GetTCPResponseRuleReader) ReadResponse ¶
func (o *GetTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPResponseRulesDefault ¶
type GetTCPResponseRulesDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTCPResponseRulesDefault handles this case with default header values.
General Error
func NewGetTCPResponseRulesDefault ¶
func NewGetTCPResponseRulesDefault(code int) *GetTCPResponseRulesDefault
NewGetTCPResponseRulesDefault creates a GetTCPResponseRulesDefault with default headers values
func (*GetTCPResponseRulesDefault) Code ¶
func (o *GetTCPResponseRulesDefault) Code() int
Code gets the status code for the get TCP response rules default response
func (*GetTCPResponseRulesDefault) Error ¶
func (o *GetTCPResponseRulesDefault) Error() string
func (*GetTCPResponseRulesDefault) GetPayload ¶
func (o *GetTCPResponseRulesDefault) GetPayload() *models.Error
type GetTCPResponseRulesOK ¶
type GetTCPResponseRulesOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetTCPResponseRulesOKBody }
GetTCPResponseRulesOK handles this case with default header values.
Successful operation
func NewGetTCPResponseRulesOK ¶
func NewGetTCPResponseRulesOK() *GetTCPResponseRulesOK
NewGetTCPResponseRulesOK creates a GetTCPResponseRulesOK with default headers values
func (*GetTCPResponseRulesOK) Error ¶
func (o *GetTCPResponseRulesOK) Error() string
func (*GetTCPResponseRulesOK) GetPayload ¶
func (o *GetTCPResponseRulesOK) GetPayload() *GetTCPResponseRulesOKBody
type GetTCPResponseRulesOKBody ¶
type GetTCPResponseRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.TCPResponseRules `json:"data"` }
GetTCPResponseRulesOKBody get TCP response rules o k body swagger:model GetTCPResponseRulesOKBody
func (*GetTCPResponseRulesOKBody) MarshalBinary ¶
func (o *GetTCPResponseRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPResponseRulesOKBody) UnmarshalBinary ¶
func (o *GetTCPResponseRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPResponseRulesParams ¶
type GetTCPResponseRulesParams struct { /*Backend Parent backend name */ Backend string /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTCPResponseRulesParams contains all the parameters to send to the API endpoint for the get TCP response rules operation typically these are written to a http.Request
func NewGetTCPResponseRulesParams ¶
func NewGetTCPResponseRulesParams() *GetTCPResponseRulesParams
NewGetTCPResponseRulesParams creates a new GetTCPResponseRulesParams object with the default values initialized.
func NewGetTCPResponseRulesParamsWithContext ¶
func NewGetTCPResponseRulesParamsWithContext(ctx context.Context) *GetTCPResponseRulesParams
NewGetTCPResponseRulesParamsWithContext creates a new GetTCPResponseRulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetTCPResponseRulesParamsWithHTTPClient ¶
func NewGetTCPResponseRulesParamsWithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
NewGetTCPResponseRulesParamsWithHTTPClient creates a new GetTCPResponseRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTCPResponseRulesParamsWithTimeout ¶
func NewGetTCPResponseRulesParamsWithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
NewGetTCPResponseRulesParamsWithTimeout creates a new GetTCPResponseRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTCPResponseRulesParams) SetBackend ¶
func (o *GetTCPResponseRulesParams) SetBackend(backend string)
SetBackend adds the backend to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetContext ¶
func (o *GetTCPResponseRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetHTTPClient ¶
func (o *GetTCPResponseRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetTimeout ¶
func (o *GetTCPResponseRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetTransactionID ¶
func (o *GetTCPResponseRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithBackend ¶
func (o *GetTCPResponseRulesParams) WithBackend(backend string) *GetTCPResponseRulesParams
WithBackend adds the backend to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithContext ¶
func (o *GetTCPResponseRulesParams) WithContext(ctx context.Context) *GetTCPResponseRulesParams
WithContext adds the context to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithHTTPClient ¶
func (o *GetTCPResponseRulesParams) WithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
WithHTTPClient adds the HTTPClient to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithTimeout ¶
func (o *GetTCPResponseRulesParams) WithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
WithTimeout adds the timeout to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithTransactionID ¶
func (o *GetTCPResponseRulesParams) WithTransactionID(transactionID *string) *GetTCPResponseRulesParams
WithTransactionID adds the transactionID to the get TCP response rules params
func (*GetTCPResponseRulesParams) WriteToRequest ¶
func (o *GetTCPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPResponseRulesReader ¶
type GetTCPResponseRulesReader struct {
// contains filtered or unexported fields
}
GetTCPResponseRulesReader is a Reader for the GetTCPResponseRules structure.
func (*GetTCPResponseRulesReader) ReadResponse ¶
func (o *GetTCPResponseRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceTCPResponseRuleAccepted ¶
type ReplaceTCPResponseRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.TCPResponseRule }
ReplaceTCPResponseRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceTCPResponseRuleAccepted ¶
func NewReplaceTCPResponseRuleAccepted() *ReplaceTCPResponseRuleAccepted
NewReplaceTCPResponseRuleAccepted creates a ReplaceTCPResponseRuleAccepted with default headers values
func (*ReplaceTCPResponseRuleAccepted) Error ¶
func (o *ReplaceTCPResponseRuleAccepted) Error() string
func (*ReplaceTCPResponseRuleAccepted) GetPayload ¶
func (o *ReplaceTCPResponseRuleAccepted) GetPayload() *models.TCPResponseRule
type ReplaceTCPResponseRuleBadRequest ¶
type ReplaceTCPResponseRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTCPResponseRuleBadRequest handles this case with default header values.
Bad request
func NewReplaceTCPResponseRuleBadRequest ¶
func NewReplaceTCPResponseRuleBadRequest() *ReplaceTCPResponseRuleBadRequest
NewReplaceTCPResponseRuleBadRequest creates a ReplaceTCPResponseRuleBadRequest with default headers values
func (*ReplaceTCPResponseRuleBadRequest) Error ¶
func (o *ReplaceTCPResponseRuleBadRequest) Error() string
func (*ReplaceTCPResponseRuleBadRequest) GetPayload ¶
func (o *ReplaceTCPResponseRuleBadRequest) GetPayload() *models.Error
type ReplaceTCPResponseRuleDefault ¶
type ReplaceTCPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceTCPResponseRuleDefault handles this case with default header values.
General Error
func NewReplaceTCPResponseRuleDefault ¶
func NewReplaceTCPResponseRuleDefault(code int) *ReplaceTCPResponseRuleDefault
NewReplaceTCPResponseRuleDefault creates a ReplaceTCPResponseRuleDefault with default headers values
func (*ReplaceTCPResponseRuleDefault) Code ¶
func (o *ReplaceTCPResponseRuleDefault) Code() int
Code gets the status code for the replace TCP response rule default response
func (*ReplaceTCPResponseRuleDefault) Error ¶
func (o *ReplaceTCPResponseRuleDefault) Error() string
func (*ReplaceTCPResponseRuleDefault) GetPayload ¶
func (o *ReplaceTCPResponseRuleDefault) GetPayload() *models.Error
type ReplaceTCPResponseRuleNotFound ¶
type ReplaceTCPResponseRuleNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTCPResponseRuleNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceTCPResponseRuleNotFound ¶
func NewReplaceTCPResponseRuleNotFound() *ReplaceTCPResponseRuleNotFound
NewReplaceTCPResponseRuleNotFound creates a ReplaceTCPResponseRuleNotFound with default headers values
func (*ReplaceTCPResponseRuleNotFound) Error ¶
func (o *ReplaceTCPResponseRuleNotFound) Error() string
func (*ReplaceTCPResponseRuleNotFound) GetPayload ¶
func (o *ReplaceTCPResponseRuleNotFound) GetPayload() *models.Error
type ReplaceTCPResponseRuleOK ¶
type ReplaceTCPResponseRuleOK struct {
Payload *models.TCPResponseRule
}
ReplaceTCPResponseRuleOK handles this case with default header values.
TCP Response Rule replaced
func NewReplaceTCPResponseRuleOK ¶
func NewReplaceTCPResponseRuleOK() *ReplaceTCPResponseRuleOK
NewReplaceTCPResponseRuleOK creates a ReplaceTCPResponseRuleOK with default headers values
func (*ReplaceTCPResponseRuleOK) Error ¶
func (o *ReplaceTCPResponseRuleOK) Error() string
func (*ReplaceTCPResponseRuleOK) GetPayload ¶
func (o *ReplaceTCPResponseRuleOK) GetPayload() *models.TCPResponseRule
type ReplaceTCPResponseRuleParams ¶
type ReplaceTCPResponseRuleParams struct { /*Backend Parent backend name */ Backend string /*Data*/ Data *models.TCPResponseRule /*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 /*Index TCP Response Rule Index */ Index int64 /*TransactionID ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /*Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceTCPResponseRuleParams contains all the parameters to send to the API endpoint for the replace TCP response rule operation typically these are written to a http.Request
func NewReplaceTCPResponseRuleParams ¶
func NewReplaceTCPResponseRuleParams() *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParams creates a new ReplaceTCPResponseRuleParams object with the default values initialized.
func NewReplaceTCPResponseRuleParamsWithContext ¶
func NewReplaceTCPResponseRuleParamsWithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParamsWithContext creates a new ReplaceTCPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceTCPResponseRuleParamsWithHTTPClient ¶
func NewReplaceTCPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParamsWithHTTPClient creates a new ReplaceTCPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceTCPResponseRuleParamsWithTimeout ¶
func NewReplaceTCPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParamsWithTimeout creates a new ReplaceTCPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceTCPResponseRuleParams) SetBackend ¶
func (o *ReplaceTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetContext ¶
func (o *ReplaceTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetData ¶
func (o *ReplaceTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
SetData adds the data to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetForceReload ¶
func (o *ReplaceTCPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetHTTPClient ¶
func (o *ReplaceTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetIndex ¶
func (o *ReplaceTCPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetTimeout ¶
func (o *ReplaceTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetTransactionID ¶
func (o *ReplaceTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetVersion ¶
func (o *ReplaceTCPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithBackend ¶
func (o *ReplaceTCPResponseRuleParams) WithBackend(backend string) *ReplaceTCPResponseRuleParams
WithBackend adds the backend to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithContext ¶
func (o *ReplaceTCPResponseRuleParams) WithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
WithContext adds the context to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithData ¶
func (o *ReplaceTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *ReplaceTCPResponseRuleParams
WithData adds the data to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithForceReload ¶
func (o *ReplaceTCPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceTCPResponseRuleParams
WithForceReload adds the forceReload to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithHTTPClient ¶
func (o *ReplaceTCPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithIndex ¶
func (o *ReplaceTCPResponseRuleParams) WithIndex(index int64) *ReplaceTCPResponseRuleParams
WithIndex adds the index to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithTimeout ¶
func (o *ReplaceTCPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
WithTimeout adds the timeout to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithTransactionID ¶
func (o *ReplaceTCPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceTCPResponseRuleParams
WithTransactionID adds the transactionID to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithVersion ¶
func (o *ReplaceTCPResponseRuleParams) WithVersion(version *int64) *ReplaceTCPResponseRuleParams
WithVersion adds the version to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WriteToRequest ¶
func (o *ReplaceTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceTCPResponseRuleReader ¶
type ReplaceTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
ReplaceTCPResponseRuleReader is a Reader for the ReplaceTCPResponseRule structure.
func (*ReplaceTCPResponseRuleReader) ReadResponse ¶
func (o *ReplaceTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_tcp_response_rule_parameters.go
- create_tcp_response_rule_responses.go
- delete_tcp_response_rule_parameters.go
- delete_tcp_response_rule_responses.go
- get_tcp_response_rule_parameters.go
- get_tcp_response_rule_responses.go
- get_tcp_response_rules_parameters.go
- get_tcp_response_rules_responses.go
- replace_tcp_response_rule_parameters.go
- replace_tcp_response_rule_responses.go
- tcp_response_rule_client.go