Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateHTTPResponseRule(params *CreateHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPResponseRuleCreated, *CreateHTTPResponseRuleAccepted, error)
- func (a *Client) DeleteHTTPResponseRule(params *DeleteHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPResponseRuleAccepted, *DeleteHTTPResponseRuleNoContent, error)
- func (a *Client) GetHTTPResponseRule(params *GetHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPResponseRuleOK, error)
- func (a *Client) GetHTTPResponseRules(params *GetHTTPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPResponseRulesOK, error)
- func (a *Client) ReplaceHTTPResponseRule(params *ReplaceHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPResponseRuleOK, *ReplaceHTTPResponseRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateHTTPResponseRuleAccepted
- type CreateHTTPResponseRuleBadRequest
- type CreateHTTPResponseRuleConflict
- type CreateHTTPResponseRuleCreated
- type CreateHTTPResponseRuleDefault
- type CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParams() *CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *CreateHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
- func (o *CreateHTTPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *CreateHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *CreateHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPResponseRuleParams) SetVersion(version *int64)
- func (o *CreateHTTPResponseRuleParams) WithContext(ctx context.Context) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithForceReload(forceReload *bool) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithParentName(parentName string) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithParentType(parentType string) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithTransactionID(transactionID *string) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithVersion(version *int64) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPResponseRuleReader
- type DeleteHTTPResponseRuleAccepted
- type DeleteHTTPResponseRuleDefault
- type DeleteHTTPResponseRuleNoContent
- type DeleteHTTPResponseRuleNotFound
- type DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParams() *DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPResponseRuleParams) SetIndex(index int64)
- func (o *DeleteHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *DeleteHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *DeleteHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPResponseRuleParams) SetVersion(version *int64)
- func (o *DeleteHTTPResponseRuleParams) WithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithIndex(index int64) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithParentName(parentName string) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithParentType(parentType string) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithVersion(version *int64) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPResponseRuleReader
- type GetHTTPResponseRuleDefault
- type GetHTTPResponseRuleNotFound
- type GetHTTPResponseRuleOK
- type GetHTTPResponseRuleOKBody
- type GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParams() *GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParamsWithContext(ctx context.Context) *GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *GetHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPResponseRuleParams) SetIndex(index int64)
- func (o *GetHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *GetHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *GetHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPResponseRuleParams) WithContext(ctx context.Context) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithIndex(index int64) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithParentName(parentName string) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithParentType(parentType string) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithTransactionID(transactionID *string) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPResponseRuleReader
- type GetHTTPResponseRulesDefault
- type GetHTTPResponseRulesOK
- type GetHTTPResponseRulesOKBody
- type GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParams() *GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParamsWithContext(ctx context.Context) *GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) SetContext(ctx context.Context)
- func (o *GetHTTPResponseRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPResponseRulesParams) SetParentName(parentName string)
- func (o *GetHTTPResponseRulesParams) SetParentType(parentType string)
- func (o *GetHTTPResponseRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPResponseRulesParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPResponseRulesParams) WithContext(ctx context.Context) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithParentName(parentName string) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithParentType(parentType string) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithTransactionID(transactionID *string) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPResponseRulesReader
- type ReplaceHTTPResponseRuleAccepted
- type ReplaceHTTPResponseRuleBadRequest
- type ReplaceHTTPResponseRuleDefault
- type ReplaceHTTPResponseRuleNotFound
- type ReplaceHTTPResponseRuleOK
- type ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParams() *ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
- func (o *ReplaceHTTPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPResponseRuleParams) SetIndex(index int64)
- func (o *ReplaceHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *ReplaceHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *ReplaceHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPResponseRuleParams) SetVersion(version *int64)
- func (o *ReplaceHTTPResponseRuleParams) WithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithIndex(index int64) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithParentName(parentName string) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithParentType(parentType string) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithVersion(version *int64) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPResponseRuleReader
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 http response rule API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new http response rule API client.
func (*Client) CreateHTTPResponseRule ¶
func (a *Client) CreateHTTPResponseRule(params *CreateHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPResponseRuleCreated, *CreateHTTPResponseRuleAccepted, error)
CreateHTTPResponseRule adds a new HTTP response rule
Adds a new HTTP Response Rule of the specified type in the specified parent.
func (*Client) DeleteHTTPResponseRule ¶
func (a *Client) DeleteHTTPResponseRule(params *DeleteHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPResponseRuleAccepted, *DeleteHTTPResponseRuleNoContent, error)
DeleteHTTPResponseRule deletes a HTTP response rule
Deletes a HTTP Response Rule configuration by it's index from the specified parent.
func (*Client) GetHTTPResponseRule ¶
func (a *Client) GetHTTPResponseRule(params *GetHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPResponseRuleOK, error)
GetHTTPResponseRule returns one HTTP response rule
Returns one HTTP Response Rule configuration by it's index in the specified parent.
func (*Client) GetHTTPResponseRules ¶
func (a *Client) GetHTTPResponseRules(params *GetHTTPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPResponseRulesOK, error)
GetHTTPResponseRules returns an array of all HTTP response rules
Returns all HTTP Response Rules that are configured in specified parent.
func (*Client) ReplaceHTTPResponseRule ¶
func (a *Client) ReplaceHTTPResponseRule(params *ReplaceHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPResponseRuleOK, *ReplaceHTTPResponseRuleAccepted, error)
ReplaceHTTPResponseRule replaces a HTTP response rule
Replaces a HTTP Response Rule configuration by it's index in the specified parent.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateHTTPResponseRuleAccepted ¶
type CreateHTTPResponseRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.HTTPResponseRule }
CreateHTTPResponseRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPResponseRuleAccepted ¶
func NewCreateHTTPResponseRuleAccepted() *CreateHTTPResponseRuleAccepted
NewCreateHTTPResponseRuleAccepted creates a CreateHTTPResponseRuleAccepted with default headers values
func (*CreateHTTPResponseRuleAccepted) Error ¶
func (o *CreateHTTPResponseRuleAccepted) Error() string
type CreateHTTPResponseRuleBadRequest ¶
type CreateHTTPResponseRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateHTTPResponseRuleBadRequest handles this case with default header values.
Bad request
func NewCreateHTTPResponseRuleBadRequest ¶
func NewCreateHTTPResponseRuleBadRequest() *CreateHTTPResponseRuleBadRequest
NewCreateHTTPResponseRuleBadRequest creates a CreateHTTPResponseRuleBadRequest with default headers values
func (*CreateHTTPResponseRuleBadRequest) Error ¶
func (o *CreateHTTPResponseRuleBadRequest) Error() string
type CreateHTTPResponseRuleConflict ¶
type CreateHTTPResponseRuleConflict struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateHTTPResponseRuleConflict handles this case with default header values.
The specified resource already exists
func NewCreateHTTPResponseRuleConflict ¶
func NewCreateHTTPResponseRuleConflict() *CreateHTTPResponseRuleConflict
NewCreateHTTPResponseRuleConflict creates a CreateHTTPResponseRuleConflict with default headers values
func (*CreateHTTPResponseRuleConflict) Error ¶
func (o *CreateHTTPResponseRuleConflict) Error() string
type CreateHTTPResponseRuleCreated ¶
type CreateHTTPResponseRuleCreated struct {
Payload *models.HTTPResponseRule
}
CreateHTTPResponseRuleCreated handles this case with default header values.
HTTP Response Rule created
func NewCreateHTTPResponseRuleCreated ¶
func NewCreateHTTPResponseRuleCreated() *CreateHTTPResponseRuleCreated
NewCreateHTTPResponseRuleCreated creates a CreateHTTPResponseRuleCreated with default headers values
func (*CreateHTTPResponseRuleCreated) Error ¶
func (o *CreateHTTPResponseRuleCreated) Error() string
type CreateHTTPResponseRuleDefault ¶
type CreateHTTPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
CreateHTTPResponseRuleDefault handles this case with default header values.
General Error
func NewCreateHTTPResponseRuleDefault ¶
func NewCreateHTTPResponseRuleDefault(code int) *CreateHTTPResponseRuleDefault
NewCreateHTTPResponseRuleDefault creates a CreateHTTPResponseRuleDefault with default headers values
func (*CreateHTTPResponseRuleDefault) Code ¶
func (o *CreateHTTPResponseRuleDefault) Code() int
Code gets the status code for the create HTTP response rule default response
func (*CreateHTTPResponseRuleDefault) Error ¶
func (o *CreateHTTPResponseRuleDefault) Error() string
type CreateHTTPResponseRuleParams ¶
type CreateHTTPResponseRuleParams struct { /*Data*/ Data *models.HTTPResponseRule /*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 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*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 }
CreateHTTPResponseRuleParams contains all the parameters to send to the API endpoint for the create HTTP response rule operation typically these are written to a http.Request
func NewCreateHTTPResponseRuleParams ¶
func NewCreateHTTPResponseRuleParams() *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParams creates a new CreateHTTPResponseRuleParams object with the default values initialized.
func NewCreateHTTPResponseRuleParamsWithContext ¶
func NewCreateHTTPResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParamsWithContext creates a new CreateHTTPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateHTTPResponseRuleParamsWithHTTPClient ¶
func NewCreateHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParamsWithHTTPClient creates a new CreateHTTPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateHTTPResponseRuleParamsWithTimeout ¶
func NewCreateHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParamsWithTimeout creates a new CreateHTTPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateHTTPResponseRuleParams) SetContext ¶
func (o *CreateHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetData ¶
func (o *CreateHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
SetData adds the data to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetForceReload ¶
func (o *CreateHTTPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetHTTPClient ¶
func (o *CreateHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetParentName ¶
func (o *CreateHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetParentType ¶
func (o *CreateHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetTimeout ¶
func (o *CreateHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetTransactionID ¶
func (o *CreateHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetVersion ¶
func (o *CreateHTTPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithContext ¶
func (o *CreateHTTPResponseRuleParams) WithContext(ctx context.Context) *CreateHTTPResponseRuleParams
WithContext adds the context to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithData ¶
func (o *CreateHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *CreateHTTPResponseRuleParams
WithData adds the data to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithForceReload ¶
func (o *CreateHTTPResponseRuleParams) WithForceReload(forceReload *bool) *CreateHTTPResponseRuleParams
WithForceReload adds the forceReload to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithHTTPClient ¶
func (o *CreateHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithParentName ¶
func (o *CreateHTTPResponseRuleParams) WithParentName(parentName string) *CreateHTTPResponseRuleParams
WithParentName adds the parentName to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithParentType ¶
func (o *CreateHTTPResponseRuleParams) WithParentType(parentType string) *CreateHTTPResponseRuleParams
WithParentType adds the parentType to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithTimeout ¶
func (o *CreateHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
WithTimeout adds the timeout to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithTransactionID ¶
func (o *CreateHTTPResponseRuleParams) WithTransactionID(transactionID *string) *CreateHTTPResponseRuleParams
WithTransactionID adds the transactionID to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithVersion ¶
func (o *CreateHTTPResponseRuleParams) WithVersion(version *int64) *CreateHTTPResponseRuleParams
WithVersion adds the version to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WriteToRequest ¶
func (o *CreateHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPResponseRuleReader ¶
type CreateHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
CreateHTTPResponseRuleReader is a Reader for the CreateHTTPResponseRule structure.
func (*CreateHTTPResponseRuleReader) ReadResponse ¶
func (o *CreateHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPResponseRuleAccepted ¶
type DeleteHTTPResponseRuleAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteHTTPResponseRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPResponseRuleAccepted ¶
func NewDeleteHTTPResponseRuleAccepted() *DeleteHTTPResponseRuleAccepted
NewDeleteHTTPResponseRuleAccepted creates a DeleteHTTPResponseRuleAccepted with default headers values
func (*DeleteHTTPResponseRuleAccepted) Error ¶
func (o *DeleteHTTPResponseRuleAccepted) Error() string
type DeleteHTTPResponseRuleDefault ¶
type DeleteHTTPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPResponseRuleDefault handles this case with default header values.
General Error
func NewDeleteHTTPResponseRuleDefault ¶
func NewDeleteHTTPResponseRuleDefault(code int) *DeleteHTTPResponseRuleDefault
NewDeleteHTTPResponseRuleDefault creates a DeleteHTTPResponseRuleDefault with default headers values
func (*DeleteHTTPResponseRuleDefault) Code ¶
func (o *DeleteHTTPResponseRuleDefault) Code() int
Code gets the status code for the delete HTTP response rule default response
func (*DeleteHTTPResponseRuleDefault) Error ¶
func (o *DeleteHTTPResponseRuleDefault) Error() string
type DeleteHTTPResponseRuleNoContent ¶
type DeleteHTTPResponseRuleNoContent struct { }
DeleteHTTPResponseRuleNoContent handles this case with default header values.
HTTP Response Rule deleted
func NewDeleteHTTPResponseRuleNoContent ¶
func NewDeleteHTTPResponseRuleNoContent() *DeleteHTTPResponseRuleNoContent
NewDeleteHTTPResponseRuleNoContent creates a DeleteHTTPResponseRuleNoContent with default headers values
func (*DeleteHTTPResponseRuleNoContent) Error ¶
func (o *DeleteHTTPResponseRuleNoContent) Error() string
type DeleteHTTPResponseRuleNotFound ¶
type DeleteHTTPResponseRuleNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
DeleteHTTPResponseRuleNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteHTTPResponseRuleNotFound ¶
func NewDeleteHTTPResponseRuleNotFound() *DeleteHTTPResponseRuleNotFound
NewDeleteHTTPResponseRuleNotFound creates a DeleteHTTPResponseRuleNotFound with default headers values
func (*DeleteHTTPResponseRuleNotFound) Error ¶
func (o *DeleteHTTPResponseRuleNotFound) Error() string
type DeleteHTTPResponseRuleParams ¶
type DeleteHTTPResponseRuleParams 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 /*Index HTTP Response Rule Index */ Index int64 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*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 }
DeleteHTTPResponseRuleParams contains all the parameters to send to the API endpoint for the delete HTTP response rule operation typically these are written to a http.Request
func NewDeleteHTTPResponseRuleParams ¶
func NewDeleteHTTPResponseRuleParams() *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParams creates a new DeleteHTTPResponseRuleParams object with the default values initialized.
func NewDeleteHTTPResponseRuleParamsWithContext ¶
func NewDeleteHTTPResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParamsWithContext creates a new DeleteHTTPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteHTTPResponseRuleParamsWithHTTPClient ¶
func NewDeleteHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParamsWithHTTPClient creates a new DeleteHTTPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteHTTPResponseRuleParamsWithTimeout ¶
func NewDeleteHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParamsWithTimeout creates a new DeleteHTTPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteHTTPResponseRuleParams) SetContext ¶
func (o *DeleteHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetForceReload ¶
func (o *DeleteHTTPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetHTTPClient ¶
func (o *DeleteHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetIndex ¶
func (o *DeleteHTTPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetParentName ¶
func (o *DeleteHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetParentType ¶
func (o *DeleteHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetTimeout ¶
func (o *DeleteHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetTransactionID ¶
func (o *DeleteHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetVersion ¶
func (o *DeleteHTTPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithContext ¶
func (o *DeleteHTTPResponseRuleParams) WithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
WithContext adds the context to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithForceReload ¶
func (o *DeleteHTTPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPResponseRuleParams
WithForceReload adds the forceReload to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithHTTPClient ¶
func (o *DeleteHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithIndex ¶
func (o *DeleteHTTPResponseRuleParams) WithIndex(index int64) *DeleteHTTPResponseRuleParams
WithIndex adds the index to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithParentName ¶
func (o *DeleteHTTPResponseRuleParams) WithParentName(parentName string) *DeleteHTTPResponseRuleParams
WithParentName adds the parentName to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithParentType ¶
func (o *DeleteHTTPResponseRuleParams) WithParentType(parentType string) *DeleteHTTPResponseRuleParams
WithParentType adds the parentType to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithTimeout ¶
func (o *DeleteHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
WithTimeout adds the timeout to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithTransactionID ¶
func (o *DeleteHTTPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPResponseRuleParams
WithTransactionID adds the transactionID to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithVersion ¶
func (o *DeleteHTTPResponseRuleParams) WithVersion(version *int64) *DeleteHTTPResponseRuleParams
WithVersion adds the version to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WriteToRequest ¶
func (o *DeleteHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPResponseRuleReader ¶
type DeleteHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
DeleteHTTPResponseRuleReader is a Reader for the DeleteHTTPResponseRule structure.
func (*DeleteHTTPResponseRuleReader) ReadResponse ¶
func (o *DeleteHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPResponseRuleDefault ¶
type GetHTTPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetHTTPResponseRuleDefault handles this case with default header values.
General Error
func NewGetHTTPResponseRuleDefault ¶
func NewGetHTTPResponseRuleDefault(code int) *GetHTTPResponseRuleDefault
NewGetHTTPResponseRuleDefault creates a GetHTTPResponseRuleDefault with default headers values
func (*GetHTTPResponseRuleDefault) Code ¶
func (o *GetHTTPResponseRuleDefault) Code() int
Code gets the status code for the get HTTP response rule default response
func (*GetHTTPResponseRuleDefault) Error ¶
func (o *GetHTTPResponseRuleDefault) Error() string
type GetHTTPResponseRuleNotFound ¶
type GetHTTPResponseRuleNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
GetHTTPResponseRuleNotFound handles this case with default header values.
The specified resource was not found
func NewGetHTTPResponseRuleNotFound ¶
func NewGetHTTPResponseRuleNotFound() *GetHTTPResponseRuleNotFound
NewGetHTTPResponseRuleNotFound creates a GetHTTPResponseRuleNotFound with default headers values
func (*GetHTTPResponseRuleNotFound) Error ¶
func (o *GetHTTPResponseRuleNotFound) Error() string
type GetHTTPResponseRuleOK ¶
type GetHTTPResponseRuleOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetHTTPResponseRuleOKBody }
GetHTTPResponseRuleOK handles this case with default header values.
Successful operation
func NewGetHTTPResponseRuleOK ¶
func NewGetHTTPResponseRuleOK() *GetHTTPResponseRuleOK
NewGetHTTPResponseRuleOK creates a GetHTTPResponseRuleOK with default headers values
func (*GetHTTPResponseRuleOK) Error ¶
func (o *GetHTTPResponseRuleOK) Error() string
type GetHTTPResponseRuleOKBody ¶
type GetHTTPResponseRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPResponseRule `json:"data,omitempty"` }
GetHTTPResponseRuleOKBody get HTTP response rule o k body swagger:model GetHTTPResponseRuleOKBody
func (*GetHTTPResponseRuleOKBody) MarshalBinary ¶
func (o *GetHTTPResponseRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPResponseRuleOKBody) UnmarshalBinary ¶
func (o *GetHTTPResponseRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPResponseRuleParams ¶
type GetHTTPResponseRuleParams struct { /*Index HTTP Response Rule Index */ Index int64 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType 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 }
GetHTTPResponseRuleParams contains all the parameters to send to the API endpoint for the get HTTP response rule operation typically these are written to a http.Request
func NewGetHTTPResponseRuleParams ¶
func NewGetHTTPResponseRuleParams() *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParams creates a new GetHTTPResponseRuleParams object with the default values initialized.
func NewGetHTTPResponseRuleParamsWithContext ¶
func NewGetHTTPResponseRuleParamsWithContext(ctx context.Context) *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParamsWithContext creates a new GetHTTPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewGetHTTPResponseRuleParamsWithHTTPClient ¶
func NewGetHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParamsWithHTTPClient creates a new GetHTTPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHTTPResponseRuleParamsWithTimeout ¶
func NewGetHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParamsWithTimeout creates a new GetHTTPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetHTTPResponseRuleParams) SetContext ¶
func (o *GetHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetHTTPClient ¶
func (o *GetHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetIndex ¶
func (o *GetHTTPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetParentName ¶
func (o *GetHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetParentType ¶
func (o *GetHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetTimeout ¶
func (o *GetHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetTransactionID ¶
func (o *GetHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithContext ¶
func (o *GetHTTPResponseRuleParams) WithContext(ctx context.Context) *GetHTTPResponseRuleParams
WithContext adds the context to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithHTTPClient ¶
func (o *GetHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithIndex ¶
func (o *GetHTTPResponseRuleParams) WithIndex(index int64) *GetHTTPResponseRuleParams
WithIndex adds the index to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithParentName ¶
func (o *GetHTTPResponseRuleParams) WithParentName(parentName string) *GetHTTPResponseRuleParams
WithParentName adds the parentName to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithParentType ¶
func (o *GetHTTPResponseRuleParams) WithParentType(parentType string) *GetHTTPResponseRuleParams
WithParentType adds the parentType to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithTimeout ¶
func (o *GetHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
WithTimeout adds the timeout to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithTransactionID ¶
func (o *GetHTTPResponseRuleParams) WithTransactionID(transactionID *string) *GetHTTPResponseRuleParams
WithTransactionID adds the transactionID to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WriteToRequest ¶
func (o *GetHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPResponseRuleReader ¶
type GetHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
GetHTTPResponseRuleReader is a Reader for the GetHTTPResponseRule structure.
func (*GetHTTPResponseRuleReader) ReadResponse ¶
func (o *GetHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPResponseRulesDefault ¶
type GetHTTPResponseRulesDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetHTTPResponseRulesDefault handles this case with default header values.
General Error
func NewGetHTTPResponseRulesDefault ¶
func NewGetHTTPResponseRulesDefault(code int) *GetHTTPResponseRulesDefault
NewGetHTTPResponseRulesDefault creates a GetHTTPResponseRulesDefault with default headers values
func (*GetHTTPResponseRulesDefault) Code ¶
func (o *GetHTTPResponseRulesDefault) Code() int
Code gets the status code for the get HTTP response rules default response
func (*GetHTTPResponseRulesDefault) Error ¶
func (o *GetHTTPResponseRulesDefault) Error() string
type GetHTTPResponseRulesOK ¶
type GetHTTPResponseRulesOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetHTTPResponseRulesOKBody }
GetHTTPResponseRulesOK handles this case with default header values.
Successful operation
func NewGetHTTPResponseRulesOK ¶
func NewGetHTTPResponseRulesOK() *GetHTTPResponseRulesOK
NewGetHTTPResponseRulesOK creates a GetHTTPResponseRulesOK with default headers values
func (*GetHTTPResponseRulesOK) Error ¶
func (o *GetHTTPResponseRulesOK) Error() string
type GetHTTPResponseRulesOKBody ¶
type GetHTTPResponseRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPResponseRules `json:"data"` }
GetHTTPResponseRulesOKBody get HTTP response rules o k body swagger:model GetHTTPResponseRulesOKBody
func (*GetHTTPResponseRulesOKBody) MarshalBinary ¶
func (o *GetHTTPResponseRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPResponseRulesOKBody) UnmarshalBinary ¶
func (o *GetHTTPResponseRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPResponseRulesParams ¶
type GetHTTPResponseRulesParams struct { /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType 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 }
GetHTTPResponseRulesParams contains all the parameters to send to the API endpoint for the get HTTP response rules operation typically these are written to a http.Request
func NewGetHTTPResponseRulesParams ¶
func NewGetHTTPResponseRulesParams() *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParams creates a new GetHTTPResponseRulesParams object with the default values initialized.
func NewGetHTTPResponseRulesParamsWithContext ¶
func NewGetHTTPResponseRulesParamsWithContext(ctx context.Context) *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParamsWithContext creates a new GetHTTPResponseRulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetHTTPResponseRulesParamsWithHTTPClient ¶
func NewGetHTTPResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParamsWithHTTPClient creates a new GetHTTPResponseRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHTTPResponseRulesParamsWithTimeout ¶
func NewGetHTTPResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParamsWithTimeout creates a new GetHTTPResponseRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetHTTPResponseRulesParams) SetContext ¶
func (o *GetHTTPResponseRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetHTTPClient ¶
func (o *GetHTTPResponseRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetParentName ¶
func (o *GetHTTPResponseRulesParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetParentType ¶
func (o *GetHTTPResponseRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetTimeout ¶
func (o *GetHTTPResponseRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetTransactionID ¶
func (o *GetHTTPResponseRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithContext ¶
func (o *GetHTTPResponseRulesParams) WithContext(ctx context.Context) *GetHTTPResponseRulesParams
WithContext adds the context to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithHTTPClient ¶
func (o *GetHTTPResponseRulesParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
WithHTTPClient adds the HTTPClient to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithParentName ¶
func (o *GetHTTPResponseRulesParams) WithParentName(parentName string) *GetHTTPResponseRulesParams
WithParentName adds the parentName to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithParentType ¶
func (o *GetHTTPResponseRulesParams) WithParentType(parentType string) *GetHTTPResponseRulesParams
WithParentType adds the parentType to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithTimeout ¶
func (o *GetHTTPResponseRulesParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
WithTimeout adds the timeout to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithTransactionID ¶
func (o *GetHTTPResponseRulesParams) WithTransactionID(transactionID *string) *GetHTTPResponseRulesParams
WithTransactionID adds the transactionID to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WriteToRequest ¶
func (o *GetHTTPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPResponseRulesReader ¶
type GetHTTPResponseRulesReader struct {
// contains filtered or unexported fields
}
GetHTTPResponseRulesReader is a Reader for the GetHTTPResponseRules structure.
func (*GetHTTPResponseRulesReader) ReadResponse ¶
func (o *GetHTTPResponseRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPResponseRuleAccepted ¶
type ReplaceHTTPResponseRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.HTTPResponseRule }
ReplaceHTTPResponseRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPResponseRuleAccepted ¶
func NewReplaceHTTPResponseRuleAccepted() *ReplaceHTTPResponseRuleAccepted
NewReplaceHTTPResponseRuleAccepted creates a ReplaceHTTPResponseRuleAccepted with default headers values
func (*ReplaceHTTPResponseRuleAccepted) Error ¶
func (o *ReplaceHTTPResponseRuleAccepted) Error() string
type ReplaceHTTPResponseRuleBadRequest ¶
type ReplaceHTTPResponseRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceHTTPResponseRuleBadRequest handles this case with default header values.
Bad request
func NewReplaceHTTPResponseRuleBadRequest ¶
func NewReplaceHTTPResponseRuleBadRequest() *ReplaceHTTPResponseRuleBadRequest
NewReplaceHTTPResponseRuleBadRequest creates a ReplaceHTTPResponseRuleBadRequest with default headers values
func (*ReplaceHTTPResponseRuleBadRequest) Error ¶
func (o *ReplaceHTTPResponseRuleBadRequest) Error() string
type ReplaceHTTPResponseRuleDefault ¶
type ReplaceHTTPResponseRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPResponseRuleDefault handles this case with default header values.
General Error
func NewReplaceHTTPResponseRuleDefault ¶
func NewReplaceHTTPResponseRuleDefault(code int) *ReplaceHTTPResponseRuleDefault
NewReplaceHTTPResponseRuleDefault creates a ReplaceHTTPResponseRuleDefault with default headers values
func (*ReplaceHTTPResponseRuleDefault) Code ¶
func (o *ReplaceHTTPResponseRuleDefault) Code() int
Code gets the status code for the replace HTTP response rule default response
func (*ReplaceHTTPResponseRuleDefault) Error ¶
func (o *ReplaceHTTPResponseRuleDefault) Error() string
type ReplaceHTTPResponseRuleNotFound ¶
type ReplaceHTTPResponseRuleNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceHTTPResponseRuleNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceHTTPResponseRuleNotFound ¶
func NewReplaceHTTPResponseRuleNotFound() *ReplaceHTTPResponseRuleNotFound
NewReplaceHTTPResponseRuleNotFound creates a ReplaceHTTPResponseRuleNotFound with default headers values
func (*ReplaceHTTPResponseRuleNotFound) Error ¶
func (o *ReplaceHTTPResponseRuleNotFound) Error() string
type ReplaceHTTPResponseRuleOK ¶
type ReplaceHTTPResponseRuleOK struct {
Payload *models.HTTPResponseRule
}
ReplaceHTTPResponseRuleOK handles this case with default header values.
HTTP Response Rule replaced
func NewReplaceHTTPResponseRuleOK ¶
func NewReplaceHTTPResponseRuleOK() *ReplaceHTTPResponseRuleOK
NewReplaceHTTPResponseRuleOK creates a ReplaceHTTPResponseRuleOK with default headers values
func (*ReplaceHTTPResponseRuleOK) Error ¶
func (o *ReplaceHTTPResponseRuleOK) Error() string
type ReplaceHTTPResponseRuleParams ¶
type ReplaceHTTPResponseRuleParams struct { /*Data*/ Data *models.HTTPResponseRule /*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 HTTP Response Rule Index */ Index int64 /*ParentName Parent name */ ParentName string /*ParentType Parent type */ ParentType string /*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 }
ReplaceHTTPResponseRuleParams contains all the parameters to send to the API endpoint for the replace HTTP response rule operation typically these are written to a http.Request
func NewReplaceHTTPResponseRuleParams ¶
func NewReplaceHTTPResponseRuleParams() *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParams creates a new ReplaceHTTPResponseRuleParams object with the default values initialized.
func NewReplaceHTTPResponseRuleParamsWithContext ¶
func NewReplaceHTTPResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParamsWithContext creates a new ReplaceHTTPResponseRuleParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceHTTPResponseRuleParamsWithHTTPClient ¶
func NewReplaceHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParamsWithHTTPClient creates a new ReplaceHTTPResponseRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceHTTPResponseRuleParamsWithTimeout ¶
func NewReplaceHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParamsWithTimeout creates a new ReplaceHTTPResponseRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceHTTPResponseRuleParams) SetContext ¶
func (o *ReplaceHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetData ¶
func (o *ReplaceHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
SetData adds the data to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetForceReload ¶
func (o *ReplaceHTTPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetHTTPClient ¶
func (o *ReplaceHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetIndex ¶
func (o *ReplaceHTTPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetParentName ¶
func (o *ReplaceHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetParentType ¶
func (o *ReplaceHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetTimeout ¶
func (o *ReplaceHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetTransactionID ¶
func (o *ReplaceHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetVersion ¶
func (o *ReplaceHTTPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithContext ¶
func (o *ReplaceHTTPResponseRuleParams) WithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
WithContext adds the context to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithData ¶
func (o *ReplaceHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *ReplaceHTTPResponseRuleParams
WithData adds the data to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithForceReload ¶
func (o *ReplaceHTTPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPResponseRuleParams
WithForceReload adds the forceReload to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithHTTPClient ¶
func (o *ReplaceHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithIndex ¶
func (o *ReplaceHTTPResponseRuleParams) WithIndex(index int64) *ReplaceHTTPResponseRuleParams
WithIndex adds the index to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithParentName ¶
func (o *ReplaceHTTPResponseRuleParams) WithParentName(parentName string) *ReplaceHTTPResponseRuleParams
WithParentName adds the parentName to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithParentType ¶
func (o *ReplaceHTTPResponseRuleParams) WithParentType(parentType string) *ReplaceHTTPResponseRuleParams
WithParentType adds the parentType to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithTimeout ¶
func (o *ReplaceHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
WithTimeout adds the timeout to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithTransactionID ¶
func (o *ReplaceHTTPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPResponseRuleParams
WithTransactionID adds the transactionID to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithVersion ¶
func (o *ReplaceHTTPResponseRuleParams) WithVersion(version *int64) *ReplaceHTTPResponseRuleParams
WithVersion adds the version to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WriteToRequest ¶
func (o *ReplaceHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPResponseRuleReader ¶
type ReplaceHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPResponseRuleReader is a Reader for the ReplaceHTTPResponseRule structure.
func (*ReplaceHTTPResponseRuleReader) ReadResponse ¶
func (o *ReplaceHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_http_response_rule_parameters.go
- create_http_response_rule_responses.go
- delete_http_response_rule_parameters.go
- delete_http_response_rule_responses.go
- get_http_response_rule_parameters.go
- get_http_response_rule_responses.go
- get_http_response_rules_parameters.go
- get_http_response_rules_responses.go
- http_response_rule_client.go
- replace_http_response_rule_parameters.go
- replace_http_response_rule_responses.go