Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateHTTPRequestRule(params *CreateHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPRequestRuleCreated, *CreateHTTPRequestRuleAccepted, error)
- func (a *Client) DeleteHTTPRequestRule(params *DeleteHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPRequestRuleAccepted, *DeleteHTTPRequestRuleNoContent, error)
- func (a *Client) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPRequestRuleOK, error)
- func (a *Client) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPRequestRulesOK, error)
- func (a *Client) ReplaceHTTPRequestRule(params *ReplaceHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPRequestRuleOK, *ReplaceHTTPRequestRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateHTTPRequestRuleAccepted
- type CreateHTTPRequestRuleBadRequest
- type CreateHTTPRequestRuleConflict
- type CreateHTTPRequestRuleCreated
- type CreateHTTPRequestRuleDefault
- type CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParams() *CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParamsWithContext(ctx context.Context) *CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *CreateHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
- func (o *CreateHTTPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *CreateHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *CreateHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPRequestRuleParams) SetVersion(version *int64)
- func (o *CreateHTTPRequestRuleParams) WithContext(ctx context.Context) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithForceReload(forceReload *bool) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithParentName(parentName string) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithParentType(parentType string) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithTransactionID(transactionID *string) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithVersion(version *int64) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPRequestRuleReader
- type DeleteHTTPRequestRuleAccepted
- type DeleteHTTPRequestRuleDefault
- type DeleteHTTPRequestRuleNoContent
- type DeleteHTTPRequestRuleNotFound
- type DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParams() *DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParamsWithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPRequestRuleParams) SetIndex(index int64)
- func (o *DeleteHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *DeleteHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *DeleteHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPRequestRuleParams) SetVersion(version *int64)
- func (o *DeleteHTTPRequestRuleParams) WithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithIndex(index int64) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithParentName(parentName string) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithParentType(parentType string) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithVersion(version *int64) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPRequestRuleReader
- type GetHTTPRequestRuleDefault
- type GetHTTPRequestRuleNotFound
- type GetHTTPRequestRuleOK
- type GetHTTPRequestRuleOKBody
- type GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParams() *GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParamsWithContext(ctx context.Context) *GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *GetHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPRequestRuleParams) SetIndex(index int64)
- func (o *GetHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *GetHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *GetHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPRequestRuleParams) WithContext(ctx context.Context) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithIndex(index int64) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithParentName(parentName string) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithParentType(parentType string) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithTransactionID(transactionID *string) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPRequestRuleReader
- type GetHTTPRequestRulesDefault
- type GetHTTPRequestRulesOK
- type GetHTTPRequestRulesOKBody
- type GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParams() *GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParamsWithContext(ctx context.Context) *GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) SetContext(ctx context.Context)
- func (o *GetHTTPRequestRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPRequestRulesParams) SetParentName(parentName string)
- func (o *GetHTTPRequestRulesParams) SetParentType(parentType string)
- func (o *GetHTTPRequestRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPRequestRulesParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPRequestRulesParams) WithContext(ctx context.Context) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithParentName(parentName string) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithParentType(parentType string) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithTransactionID(transactionID *string) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPRequestRulesReader
- type ReplaceHTTPRequestRuleAccepted
- type ReplaceHTTPRequestRuleBadRequest
- type ReplaceHTTPRequestRuleDefault
- type ReplaceHTTPRequestRuleNotFound
- type ReplaceHTTPRequestRuleOK
- type ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParams() *ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParamsWithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
- func (o *ReplaceHTTPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPRequestRuleParams) SetIndex(index int64)
- func (o *ReplaceHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *ReplaceHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *ReplaceHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPRequestRuleParams) SetVersion(version *int64)
- func (o *ReplaceHTTPRequestRuleParams) WithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithIndex(index int64) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithParentName(parentName string) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithParentType(parentType string) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithVersion(version *int64) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPRequestRuleReader
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 request rule API
func (*Client) CreateHTTPRequestRule ¶
func (a *Client) CreateHTTPRequestRule(params *CreateHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPRequestRuleCreated, *CreateHTTPRequestRuleAccepted, error)
CreateHTTPRequestRule adds a new HTTP request rule
Adds a new HTTP Request Rule of the specified type in the specified parent.
func (*Client) DeleteHTTPRequestRule ¶
func (a *Client) DeleteHTTPRequestRule(params *DeleteHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPRequestRuleAccepted, *DeleteHTTPRequestRuleNoContent, error)
DeleteHTTPRequestRule deletes a HTTP request rule
Deletes a HTTP Request Rule configuration by it's index from the specified parent.
func (*Client) GetHTTPRequestRule ¶
func (a *Client) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPRequestRuleOK, error)
GetHTTPRequestRule returns one HTTP request rule
Returns one HTTP Request Rule configuration by it's index in the specified parent.
func (*Client) GetHTTPRequestRules ¶
func (a *Client) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPRequestRulesOK, error)
GetHTTPRequestRules returns an array of all HTTP request rules
Returns all HTTP Request Rules that are configured in specified parent.
func (*Client) ReplaceHTTPRequestRule ¶
func (a *Client) ReplaceHTTPRequestRule(params *ReplaceHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPRequestRuleOK, *ReplaceHTTPRequestRuleAccepted, error)
ReplaceHTTPRequestRule replaces a HTTP request rule
Replaces a HTTP Request 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 ClientService ¶
type ClientService interface { CreateHTTPRequestRule(params *CreateHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPRequestRuleCreated, *CreateHTTPRequestRuleAccepted, error) DeleteHTTPRequestRule(params *DeleteHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPRequestRuleAccepted, *DeleteHTTPRequestRuleNoContent, error) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPRequestRuleOK, error) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPRequestRulesOK, error) ReplaceHTTPRequestRule(params *ReplaceHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPRequestRuleOK, *ReplaceHTTPRequestRuleAccepted, 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 http request rule API client.
type CreateHTTPRequestRuleAccepted ¶
type CreateHTTPRequestRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.HTTPRequestRule }
CreateHTTPRequestRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPRequestRuleAccepted ¶
func NewCreateHTTPRequestRuleAccepted() *CreateHTTPRequestRuleAccepted
NewCreateHTTPRequestRuleAccepted creates a CreateHTTPRequestRuleAccepted with default headers values
func (*CreateHTTPRequestRuleAccepted) Error ¶
func (o *CreateHTTPRequestRuleAccepted) Error() string
func (*CreateHTTPRequestRuleAccepted) GetPayload ¶
func (o *CreateHTTPRequestRuleAccepted) GetPayload() *models.HTTPRequestRule
type CreateHTTPRequestRuleBadRequest ¶
type CreateHTTPRequestRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPRequestRuleBadRequest handles this case with default header values.
Bad request
func NewCreateHTTPRequestRuleBadRequest ¶
func NewCreateHTTPRequestRuleBadRequest() *CreateHTTPRequestRuleBadRequest
NewCreateHTTPRequestRuleBadRequest creates a CreateHTTPRequestRuleBadRequest with default headers values
func (*CreateHTTPRequestRuleBadRequest) Error ¶
func (o *CreateHTTPRequestRuleBadRequest) Error() string
func (*CreateHTTPRequestRuleBadRequest) GetPayload ¶
func (o *CreateHTTPRequestRuleBadRequest) GetPayload() *models.Error
type CreateHTTPRequestRuleConflict ¶
type CreateHTTPRequestRuleConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPRequestRuleConflict handles this case with default header values.
The specified resource already exists
func NewCreateHTTPRequestRuleConflict ¶
func NewCreateHTTPRequestRuleConflict() *CreateHTTPRequestRuleConflict
NewCreateHTTPRequestRuleConflict creates a CreateHTTPRequestRuleConflict with default headers values
func (*CreateHTTPRequestRuleConflict) Error ¶
func (o *CreateHTTPRequestRuleConflict) Error() string
func (*CreateHTTPRequestRuleConflict) GetPayload ¶
func (o *CreateHTTPRequestRuleConflict) GetPayload() *models.Error
type CreateHTTPRequestRuleCreated ¶
type CreateHTTPRequestRuleCreated struct {
Payload *models.HTTPRequestRule
}
CreateHTTPRequestRuleCreated handles this case with default header values.
HTTP Request Rule created
func NewCreateHTTPRequestRuleCreated ¶
func NewCreateHTTPRequestRuleCreated() *CreateHTTPRequestRuleCreated
NewCreateHTTPRequestRuleCreated creates a CreateHTTPRequestRuleCreated with default headers values
func (*CreateHTTPRequestRuleCreated) Error ¶
func (o *CreateHTTPRequestRuleCreated) Error() string
func (*CreateHTTPRequestRuleCreated) GetPayload ¶
func (o *CreateHTTPRequestRuleCreated) GetPayload() *models.HTTPRequestRule
type CreateHTTPRequestRuleDefault ¶
type CreateHTTPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPRequestRuleDefault handles this case with default header values.
General Error
func NewCreateHTTPRequestRuleDefault ¶
func NewCreateHTTPRequestRuleDefault(code int) *CreateHTTPRequestRuleDefault
NewCreateHTTPRequestRuleDefault creates a CreateHTTPRequestRuleDefault with default headers values
func (*CreateHTTPRequestRuleDefault) Code ¶
func (o *CreateHTTPRequestRuleDefault) Code() int
Code gets the status code for the create HTTP request rule default response
func (*CreateHTTPRequestRuleDefault) Error ¶
func (o *CreateHTTPRequestRuleDefault) Error() string
func (*CreateHTTPRequestRuleDefault) GetPayload ¶
func (o *CreateHTTPRequestRuleDefault) GetPayload() *models.Error
type CreateHTTPRequestRuleParams ¶
type CreateHTTPRequestRuleParams struct { /*Data*/ Data *models.HTTPRequestRule /*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 }
CreateHTTPRequestRuleParams contains all the parameters to send to the API endpoint for the create HTTP request rule operation typically these are written to a http.Request
func NewCreateHTTPRequestRuleParams ¶
func NewCreateHTTPRequestRuleParams() *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParams creates a new CreateHTTPRequestRuleParams object with the default values initialized.
func NewCreateHTTPRequestRuleParamsWithContext ¶
func NewCreateHTTPRequestRuleParamsWithContext(ctx context.Context) *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParamsWithContext creates a new CreateHTTPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateHTTPRequestRuleParamsWithHTTPClient ¶
func NewCreateHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParamsWithHTTPClient creates a new CreateHTTPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateHTTPRequestRuleParamsWithTimeout ¶
func NewCreateHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParamsWithTimeout creates a new CreateHTTPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateHTTPRequestRuleParams) SetContext ¶
func (o *CreateHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetData ¶
func (o *CreateHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
SetData adds the data to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetForceReload ¶
func (o *CreateHTTPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetHTTPClient ¶
func (o *CreateHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetParentName ¶
func (o *CreateHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetParentType ¶
func (o *CreateHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetTimeout ¶
func (o *CreateHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetTransactionID ¶
func (o *CreateHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetVersion ¶
func (o *CreateHTTPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithContext ¶
func (o *CreateHTTPRequestRuleParams) WithContext(ctx context.Context) *CreateHTTPRequestRuleParams
WithContext adds the context to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithData ¶
func (o *CreateHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *CreateHTTPRequestRuleParams
WithData adds the data to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithForceReload ¶
func (o *CreateHTTPRequestRuleParams) WithForceReload(forceReload *bool) *CreateHTTPRequestRuleParams
WithForceReload adds the forceReload to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithHTTPClient ¶
func (o *CreateHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithParentName ¶
func (o *CreateHTTPRequestRuleParams) WithParentName(parentName string) *CreateHTTPRequestRuleParams
WithParentName adds the parentName to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithParentType ¶
func (o *CreateHTTPRequestRuleParams) WithParentType(parentType string) *CreateHTTPRequestRuleParams
WithParentType adds the parentType to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithTimeout ¶
func (o *CreateHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
WithTimeout adds the timeout to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithTransactionID ¶
func (o *CreateHTTPRequestRuleParams) WithTransactionID(transactionID *string) *CreateHTTPRequestRuleParams
WithTransactionID adds the transactionID to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithVersion ¶
func (o *CreateHTTPRequestRuleParams) WithVersion(version *int64) *CreateHTTPRequestRuleParams
WithVersion adds the version to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WriteToRequest ¶
func (o *CreateHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPRequestRuleReader ¶
type CreateHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
CreateHTTPRequestRuleReader is a Reader for the CreateHTTPRequestRule structure.
func (*CreateHTTPRequestRuleReader) ReadResponse ¶
func (o *CreateHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPRequestRuleAccepted ¶
type DeleteHTTPRequestRuleAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteHTTPRequestRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPRequestRuleAccepted ¶
func NewDeleteHTTPRequestRuleAccepted() *DeleteHTTPRequestRuleAccepted
NewDeleteHTTPRequestRuleAccepted creates a DeleteHTTPRequestRuleAccepted with default headers values
func (*DeleteHTTPRequestRuleAccepted) Error ¶
func (o *DeleteHTTPRequestRuleAccepted) Error() string
type DeleteHTTPRequestRuleDefault ¶
type DeleteHTTPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPRequestRuleDefault handles this case with default header values.
General Error
func NewDeleteHTTPRequestRuleDefault ¶
func NewDeleteHTTPRequestRuleDefault(code int) *DeleteHTTPRequestRuleDefault
NewDeleteHTTPRequestRuleDefault creates a DeleteHTTPRequestRuleDefault with default headers values
func (*DeleteHTTPRequestRuleDefault) Code ¶
func (o *DeleteHTTPRequestRuleDefault) Code() int
Code gets the status code for the delete HTTP request rule default response
func (*DeleteHTTPRequestRuleDefault) Error ¶
func (o *DeleteHTTPRequestRuleDefault) Error() string
func (*DeleteHTTPRequestRuleDefault) GetPayload ¶
func (o *DeleteHTTPRequestRuleDefault) GetPayload() *models.Error
type DeleteHTTPRequestRuleNoContent ¶
type DeleteHTTPRequestRuleNoContent struct { }
DeleteHTTPRequestRuleNoContent handles this case with default header values.
HTTP Request Rule deleted
func NewDeleteHTTPRequestRuleNoContent ¶
func NewDeleteHTTPRequestRuleNoContent() *DeleteHTTPRequestRuleNoContent
NewDeleteHTTPRequestRuleNoContent creates a DeleteHTTPRequestRuleNoContent with default headers values
func (*DeleteHTTPRequestRuleNoContent) Error ¶
func (o *DeleteHTTPRequestRuleNoContent) Error() string
type DeleteHTTPRequestRuleNotFound ¶
type DeleteHTTPRequestRuleNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPRequestRuleNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteHTTPRequestRuleNotFound ¶
func NewDeleteHTTPRequestRuleNotFound() *DeleteHTTPRequestRuleNotFound
NewDeleteHTTPRequestRuleNotFound creates a DeleteHTTPRequestRuleNotFound with default headers values
func (*DeleteHTTPRequestRuleNotFound) Error ¶
func (o *DeleteHTTPRequestRuleNotFound) Error() string
func (*DeleteHTTPRequestRuleNotFound) GetPayload ¶
func (o *DeleteHTTPRequestRuleNotFound) GetPayload() *models.Error
type DeleteHTTPRequestRuleParams ¶
type DeleteHTTPRequestRuleParams 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 Request 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 }
DeleteHTTPRequestRuleParams contains all the parameters to send to the API endpoint for the delete HTTP request rule operation typically these are written to a http.Request
func NewDeleteHTTPRequestRuleParams ¶
func NewDeleteHTTPRequestRuleParams() *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParams creates a new DeleteHTTPRequestRuleParams object with the default values initialized.
func NewDeleteHTTPRequestRuleParamsWithContext ¶
func NewDeleteHTTPRequestRuleParamsWithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParamsWithContext creates a new DeleteHTTPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteHTTPRequestRuleParamsWithHTTPClient ¶
func NewDeleteHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParamsWithHTTPClient creates a new DeleteHTTPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteHTTPRequestRuleParamsWithTimeout ¶
func NewDeleteHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParamsWithTimeout creates a new DeleteHTTPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteHTTPRequestRuleParams) SetContext ¶
func (o *DeleteHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetForceReload ¶
func (o *DeleteHTTPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetHTTPClient ¶
func (o *DeleteHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetIndex ¶
func (o *DeleteHTTPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetParentName ¶
func (o *DeleteHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetParentType ¶
func (o *DeleteHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetTimeout ¶
func (o *DeleteHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetTransactionID ¶
func (o *DeleteHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetVersion ¶
func (o *DeleteHTTPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithContext ¶
func (o *DeleteHTTPRequestRuleParams) WithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
WithContext adds the context to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithForceReload ¶
func (o *DeleteHTTPRequestRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPRequestRuleParams
WithForceReload adds the forceReload to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithHTTPClient ¶
func (o *DeleteHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithIndex ¶
func (o *DeleteHTTPRequestRuleParams) WithIndex(index int64) *DeleteHTTPRequestRuleParams
WithIndex adds the index to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithParentName ¶
func (o *DeleteHTTPRequestRuleParams) WithParentName(parentName string) *DeleteHTTPRequestRuleParams
WithParentName adds the parentName to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithParentType ¶
func (o *DeleteHTTPRequestRuleParams) WithParentType(parentType string) *DeleteHTTPRequestRuleParams
WithParentType adds the parentType to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithTimeout ¶
func (o *DeleteHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
WithTimeout adds the timeout to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithTransactionID ¶
func (o *DeleteHTTPRequestRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPRequestRuleParams
WithTransactionID adds the transactionID to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithVersion ¶
func (o *DeleteHTTPRequestRuleParams) WithVersion(version *int64) *DeleteHTTPRequestRuleParams
WithVersion adds the version to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WriteToRequest ¶
func (o *DeleteHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPRequestRuleReader ¶
type DeleteHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
DeleteHTTPRequestRuleReader is a Reader for the DeleteHTTPRequestRule structure.
func (*DeleteHTTPRequestRuleReader) ReadResponse ¶
func (o *DeleteHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPRequestRuleDefault ¶
type GetHTTPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPRequestRuleDefault handles this case with default header values.
General Error
func NewGetHTTPRequestRuleDefault ¶
func NewGetHTTPRequestRuleDefault(code int) *GetHTTPRequestRuleDefault
NewGetHTTPRequestRuleDefault creates a GetHTTPRequestRuleDefault with default headers values
func (*GetHTTPRequestRuleDefault) Code ¶
func (o *GetHTTPRequestRuleDefault) Code() int
Code gets the status code for the get HTTP request rule default response
func (*GetHTTPRequestRuleDefault) Error ¶
func (o *GetHTTPRequestRuleDefault) Error() string
func (*GetHTTPRequestRuleDefault) GetPayload ¶
func (o *GetHTTPRequestRuleDefault) GetPayload() *models.Error
type GetHTTPRequestRuleNotFound ¶
type GetHTTPRequestRuleNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPRequestRuleNotFound handles this case with default header values.
The specified resource was not found
func NewGetHTTPRequestRuleNotFound ¶
func NewGetHTTPRequestRuleNotFound() *GetHTTPRequestRuleNotFound
NewGetHTTPRequestRuleNotFound creates a GetHTTPRequestRuleNotFound with default headers values
func (*GetHTTPRequestRuleNotFound) Error ¶
func (o *GetHTTPRequestRuleNotFound) Error() string
func (*GetHTTPRequestRuleNotFound) GetPayload ¶
func (o *GetHTTPRequestRuleNotFound) GetPayload() *models.Error
type GetHTTPRequestRuleOK ¶
type GetHTTPRequestRuleOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetHTTPRequestRuleOKBody }
GetHTTPRequestRuleOK handles this case with default header values.
Successful operation
func NewGetHTTPRequestRuleOK ¶
func NewGetHTTPRequestRuleOK() *GetHTTPRequestRuleOK
NewGetHTTPRequestRuleOK creates a GetHTTPRequestRuleOK with default headers values
func (*GetHTTPRequestRuleOK) Error ¶
func (o *GetHTTPRequestRuleOK) Error() string
func (*GetHTTPRequestRuleOK) GetPayload ¶
func (o *GetHTTPRequestRuleOK) GetPayload() *GetHTTPRequestRuleOKBody
type GetHTTPRequestRuleOKBody ¶
type GetHTTPRequestRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPRequestRule `json:"data,omitempty"` }
GetHTTPRequestRuleOKBody get HTTP request rule o k body swagger:model GetHTTPRequestRuleOKBody
func (*GetHTTPRequestRuleOKBody) MarshalBinary ¶
func (o *GetHTTPRequestRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPRequestRuleOKBody) UnmarshalBinary ¶
func (o *GetHTTPRequestRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPRequestRuleParams ¶
type GetHTTPRequestRuleParams struct { /*Index HTTP Request 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 }
GetHTTPRequestRuleParams contains all the parameters to send to the API endpoint for the get HTTP request rule operation typically these are written to a http.Request
func NewGetHTTPRequestRuleParams ¶
func NewGetHTTPRequestRuleParams() *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParams creates a new GetHTTPRequestRuleParams object with the default values initialized.
func NewGetHTTPRequestRuleParamsWithContext ¶
func NewGetHTTPRequestRuleParamsWithContext(ctx context.Context) *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParamsWithContext creates a new GetHTTPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewGetHTTPRequestRuleParamsWithHTTPClient ¶
func NewGetHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParamsWithHTTPClient creates a new GetHTTPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHTTPRequestRuleParamsWithTimeout ¶
func NewGetHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParamsWithTimeout creates a new GetHTTPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetHTTPRequestRuleParams) SetContext ¶
func (o *GetHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetHTTPClient ¶
func (o *GetHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetIndex ¶
func (o *GetHTTPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetParentName ¶
func (o *GetHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetParentType ¶
func (o *GetHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetTimeout ¶
func (o *GetHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetTransactionID ¶
func (o *GetHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithContext ¶
func (o *GetHTTPRequestRuleParams) WithContext(ctx context.Context) *GetHTTPRequestRuleParams
WithContext adds the context to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithHTTPClient ¶
func (o *GetHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithIndex ¶
func (o *GetHTTPRequestRuleParams) WithIndex(index int64) *GetHTTPRequestRuleParams
WithIndex adds the index to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithParentName ¶
func (o *GetHTTPRequestRuleParams) WithParentName(parentName string) *GetHTTPRequestRuleParams
WithParentName adds the parentName to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithParentType ¶
func (o *GetHTTPRequestRuleParams) WithParentType(parentType string) *GetHTTPRequestRuleParams
WithParentType adds the parentType to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithTimeout ¶
func (o *GetHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
WithTimeout adds the timeout to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithTransactionID ¶
func (o *GetHTTPRequestRuleParams) WithTransactionID(transactionID *string) *GetHTTPRequestRuleParams
WithTransactionID adds the transactionID to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WriteToRequest ¶
func (o *GetHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPRequestRuleReader ¶
type GetHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
GetHTTPRequestRuleReader is a Reader for the GetHTTPRequestRule structure.
func (*GetHTTPRequestRuleReader) ReadResponse ¶
func (o *GetHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPRequestRulesDefault ¶
type GetHTTPRequestRulesDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPRequestRulesDefault handles this case with default header values.
General Error
func NewGetHTTPRequestRulesDefault ¶
func NewGetHTTPRequestRulesDefault(code int) *GetHTTPRequestRulesDefault
NewGetHTTPRequestRulesDefault creates a GetHTTPRequestRulesDefault with default headers values
func (*GetHTTPRequestRulesDefault) Code ¶
func (o *GetHTTPRequestRulesDefault) Code() int
Code gets the status code for the get HTTP request rules default response
func (*GetHTTPRequestRulesDefault) Error ¶
func (o *GetHTTPRequestRulesDefault) Error() string
func (*GetHTTPRequestRulesDefault) GetPayload ¶
func (o *GetHTTPRequestRulesDefault) GetPayload() *models.Error
type GetHTTPRequestRulesOK ¶
type GetHTTPRequestRulesOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetHTTPRequestRulesOKBody }
GetHTTPRequestRulesOK handles this case with default header values.
Successful operation
func NewGetHTTPRequestRulesOK ¶
func NewGetHTTPRequestRulesOK() *GetHTTPRequestRulesOK
NewGetHTTPRequestRulesOK creates a GetHTTPRequestRulesOK with default headers values
func (*GetHTTPRequestRulesOK) Error ¶
func (o *GetHTTPRequestRulesOK) Error() string
func (*GetHTTPRequestRulesOK) GetPayload ¶
func (o *GetHTTPRequestRulesOK) GetPayload() *GetHTTPRequestRulesOKBody
type GetHTTPRequestRulesOKBody ¶
type GetHTTPRequestRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPRequestRules `json:"data"` }
GetHTTPRequestRulesOKBody get HTTP request rules o k body swagger:model GetHTTPRequestRulesOKBody
func (*GetHTTPRequestRulesOKBody) MarshalBinary ¶
func (o *GetHTTPRequestRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPRequestRulesOKBody) UnmarshalBinary ¶
func (o *GetHTTPRequestRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPRequestRulesParams ¶
type GetHTTPRequestRulesParams 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 }
GetHTTPRequestRulesParams contains all the parameters to send to the API endpoint for the get HTTP request rules operation typically these are written to a http.Request
func NewGetHTTPRequestRulesParams ¶
func NewGetHTTPRequestRulesParams() *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParams creates a new GetHTTPRequestRulesParams object with the default values initialized.
func NewGetHTTPRequestRulesParamsWithContext ¶
func NewGetHTTPRequestRulesParamsWithContext(ctx context.Context) *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParamsWithContext creates a new GetHTTPRequestRulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetHTTPRequestRulesParamsWithHTTPClient ¶
func NewGetHTTPRequestRulesParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParamsWithHTTPClient creates a new GetHTTPRequestRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHTTPRequestRulesParamsWithTimeout ¶
func NewGetHTTPRequestRulesParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParamsWithTimeout creates a new GetHTTPRequestRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetHTTPRequestRulesParams) SetContext ¶
func (o *GetHTTPRequestRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetHTTPClient ¶
func (o *GetHTTPRequestRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetParentName ¶
func (o *GetHTTPRequestRulesParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetParentType ¶
func (o *GetHTTPRequestRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetTimeout ¶
func (o *GetHTTPRequestRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetTransactionID ¶
func (o *GetHTTPRequestRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithContext ¶
func (o *GetHTTPRequestRulesParams) WithContext(ctx context.Context) *GetHTTPRequestRulesParams
WithContext adds the context to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithHTTPClient ¶
func (o *GetHTTPRequestRulesParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
WithHTTPClient adds the HTTPClient to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithParentName ¶
func (o *GetHTTPRequestRulesParams) WithParentName(parentName string) *GetHTTPRequestRulesParams
WithParentName adds the parentName to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithParentType ¶
func (o *GetHTTPRequestRulesParams) WithParentType(parentType string) *GetHTTPRequestRulesParams
WithParentType adds the parentType to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithTimeout ¶
func (o *GetHTTPRequestRulesParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
WithTimeout adds the timeout to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithTransactionID ¶
func (o *GetHTTPRequestRulesParams) WithTransactionID(transactionID *string) *GetHTTPRequestRulesParams
WithTransactionID adds the transactionID to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WriteToRequest ¶
func (o *GetHTTPRequestRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPRequestRulesReader ¶
type GetHTTPRequestRulesReader struct {
// contains filtered or unexported fields
}
GetHTTPRequestRulesReader is a Reader for the GetHTTPRequestRules structure.
func (*GetHTTPRequestRulesReader) ReadResponse ¶
func (o *GetHTTPRequestRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPRequestRuleAccepted ¶
type ReplaceHTTPRequestRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.HTTPRequestRule }
ReplaceHTTPRequestRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPRequestRuleAccepted ¶
func NewReplaceHTTPRequestRuleAccepted() *ReplaceHTTPRequestRuleAccepted
NewReplaceHTTPRequestRuleAccepted creates a ReplaceHTTPRequestRuleAccepted with default headers values
func (*ReplaceHTTPRequestRuleAccepted) Error ¶
func (o *ReplaceHTTPRequestRuleAccepted) Error() string
func (*ReplaceHTTPRequestRuleAccepted) GetPayload ¶
func (o *ReplaceHTTPRequestRuleAccepted) GetPayload() *models.HTTPRequestRule
type ReplaceHTTPRequestRuleBadRequest ¶
type ReplaceHTTPRequestRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPRequestRuleBadRequest handles this case with default header values.
Bad request
func NewReplaceHTTPRequestRuleBadRequest ¶
func NewReplaceHTTPRequestRuleBadRequest() *ReplaceHTTPRequestRuleBadRequest
NewReplaceHTTPRequestRuleBadRequest creates a ReplaceHTTPRequestRuleBadRequest with default headers values
func (*ReplaceHTTPRequestRuleBadRequest) Error ¶
func (o *ReplaceHTTPRequestRuleBadRequest) Error() string
func (*ReplaceHTTPRequestRuleBadRequest) GetPayload ¶
func (o *ReplaceHTTPRequestRuleBadRequest) GetPayload() *models.Error
type ReplaceHTTPRequestRuleDefault ¶
type ReplaceHTTPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPRequestRuleDefault handles this case with default header values.
General Error
func NewReplaceHTTPRequestRuleDefault ¶
func NewReplaceHTTPRequestRuleDefault(code int) *ReplaceHTTPRequestRuleDefault
NewReplaceHTTPRequestRuleDefault creates a ReplaceHTTPRequestRuleDefault with default headers values
func (*ReplaceHTTPRequestRuleDefault) Code ¶
func (o *ReplaceHTTPRequestRuleDefault) Code() int
Code gets the status code for the replace HTTP request rule default response
func (*ReplaceHTTPRequestRuleDefault) Error ¶
func (o *ReplaceHTTPRequestRuleDefault) Error() string
func (*ReplaceHTTPRequestRuleDefault) GetPayload ¶
func (o *ReplaceHTTPRequestRuleDefault) GetPayload() *models.Error
type ReplaceHTTPRequestRuleNotFound ¶
type ReplaceHTTPRequestRuleNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPRequestRuleNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceHTTPRequestRuleNotFound ¶
func NewReplaceHTTPRequestRuleNotFound() *ReplaceHTTPRequestRuleNotFound
NewReplaceHTTPRequestRuleNotFound creates a ReplaceHTTPRequestRuleNotFound with default headers values
func (*ReplaceHTTPRequestRuleNotFound) Error ¶
func (o *ReplaceHTTPRequestRuleNotFound) Error() string
func (*ReplaceHTTPRequestRuleNotFound) GetPayload ¶
func (o *ReplaceHTTPRequestRuleNotFound) GetPayload() *models.Error
type ReplaceHTTPRequestRuleOK ¶
type ReplaceHTTPRequestRuleOK struct {
Payload *models.HTTPRequestRule
}
ReplaceHTTPRequestRuleOK handles this case with default header values.
HTTP Request Rule replaced
func NewReplaceHTTPRequestRuleOK ¶
func NewReplaceHTTPRequestRuleOK() *ReplaceHTTPRequestRuleOK
NewReplaceHTTPRequestRuleOK creates a ReplaceHTTPRequestRuleOK with default headers values
func (*ReplaceHTTPRequestRuleOK) Error ¶
func (o *ReplaceHTTPRequestRuleOK) Error() string
func (*ReplaceHTTPRequestRuleOK) GetPayload ¶
func (o *ReplaceHTTPRequestRuleOK) GetPayload() *models.HTTPRequestRule
type ReplaceHTTPRequestRuleParams ¶
type ReplaceHTTPRequestRuleParams struct { /*Data*/ Data *models.HTTPRequestRule /*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 Request 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 }
ReplaceHTTPRequestRuleParams contains all the parameters to send to the API endpoint for the replace HTTP request rule operation typically these are written to a http.Request
func NewReplaceHTTPRequestRuleParams ¶
func NewReplaceHTTPRequestRuleParams() *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParams creates a new ReplaceHTTPRequestRuleParams object with the default values initialized.
func NewReplaceHTTPRequestRuleParamsWithContext ¶
func NewReplaceHTTPRequestRuleParamsWithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParamsWithContext creates a new ReplaceHTTPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceHTTPRequestRuleParamsWithHTTPClient ¶
func NewReplaceHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParamsWithHTTPClient creates a new ReplaceHTTPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceHTTPRequestRuleParamsWithTimeout ¶
func NewReplaceHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParamsWithTimeout creates a new ReplaceHTTPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceHTTPRequestRuleParams) SetContext ¶
func (o *ReplaceHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetData ¶
func (o *ReplaceHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
SetData adds the data to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetForceReload ¶
func (o *ReplaceHTTPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetHTTPClient ¶
func (o *ReplaceHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetIndex ¶
func (o *ReplaceHTTPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetParentName ¶
func (o *ReplaceHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetParentType ¶
func (o *ReplaceHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetTimeout ¶
func (o *ReplaceHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetTransactionID ¶
func (o *ReplaceHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetVersion ¶
func (o *ReplaceHTTPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithContext ¶
func (o *ReplaceHTTPRequestRuleParams) WithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
WithContext adds the context to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithData ¶
func (o *ReplaceHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *ReplaceHTTPRequestRuleParams
WithData adds the data to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithForceReload ¶
func (o *ReplaceHTTPRequestRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPRequestRuleParams
WithForceReload adds the forceReload to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithHTTPClient ¶
func (o *ReplaceHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithIndex ¶
func (o *ReplaceHTTPRequestRuleParams) WithIndex(index int64) *ReplaceHTTPRequestRuleParams
WithIndex adds the index to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithParentName ¶
func (o *ReplaceHTTPRequestRuleParams) WithParentName(parentName string) *ReplaceHTTPRequestRuleParams
WithParentName adds the parentName to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithParentType ¶
func (o *ReplaceHTTPRequestRuleParams) WithParentType(parentType string) *ReplaceHTTPRequestRuleParams
WithParentType adds the parentType to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithTimeout ¶
func (o *ReplaceHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
WithTimeout adds the timeout to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithTransactionID ¶
func (o *ReplaceHTTPRequestRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPRequestRuleParams
WithTransactionID adds the transactionID to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithVersion ¶
func (o *ReplaceHTTPRequestRuleParams) WithVersion(version *int64) *ReplaceHTTPRequestRuleParams
WithVersion adds the version to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WriteToRequest ¶
func (o *ReplaceHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPRequestRuleReader ¶
type ReplaceHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPRequestRuleReader is a Reader for the ReplaceHTTPRequestRule structure.
func (*ReplaceHTTPRequestRuleReader) ReadResponse ¶
func (o *ReplaceHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_http_request_rule_parameters.go
- create_http_request_rule_responses.go
- delete_http_request_rule_parameters.go
- delete_http_request_rule_responses.go
- get_http_request_rule_parameters.go
- get_http_request_rule_responses.go
- get_http_request_rules_parameters.go
- get_http_request_rules_responses.go
- http_request_rule_client.go
- replace_http_request_rule_parameters.go
- replace_http_request_rule_responses.go