Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTCPRequestRule(params *CreateTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTCPRequestRuleCreated, *CreateTCPRequestRuleAccepted, error)
- func (a *Client) DeleteTCPRequestRule(params *DeleteTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTCPRequestRuleAccepted, *DeleteTCPRequestRuleNoContent, error)
- func (a *Client) GetTCPRequestRule(params *GetTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPRequestRuleOK, error)
- func (a *Client) GetTCPRequestRules(params *GetTCPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPRequestRulesOK, error)
- func (a *Client) ReplaceTCPRequestRule(params *ReplaceTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceTCPRequestRuleOK, *ReplaceTCPRequestRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateTCPRequestRuleAccepted
- type CreateTCPRequestRuleBadRequest
- type CreateTCPRequestRuleConflict
- type CreateTCPRequestRuleCreated
- type CreateTCPRequestRuleDefault
- type CreateTCPRequestRuleParams
- func NewCreateTCPRequestRuleParams() *CreateTCPRequestRuleParams
- func NewCreateTCPRequestRuleParamsWithContext(ctx context.Context) *CreateTCPRequestRuleParams
- func NewCreateTCPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateTCPRequestRuleParams
- func NewCreateTCPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) SetContext(ctx context.Context)
- func (o *CreateTCPRequestRuleParams) SetData(data *models.TCPRequestRule)
- func (o *CreateTCPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateTCPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateTCPRequestRuleParams) SetParentName(parentName string)
- func (o *CreateTCPRequestRuleParams) SetParentType(parentType string)
- func (o *CreateTCPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateTCPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateTCPRequestRuleParams) SetVersion(version *int64)
- func (o *CreateTCPRequestRuleParams) WithContext(ctx context.Context) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithData(data *models.TCPRequestRule) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithForceReload(forceReload *bool) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithHTTPClient(client *http.Client) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithParentName(parentName string) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithParentType(parentType string) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithTimeout(timeout time.Duration) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithTransactionID(transactionID *string) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WithVersion(version *int64) *CreateTCPRequestRuleParams
- func (o *CreateTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTCPRequestRuleReader
- type DeleteTCPRequestRuleAccepted
- type DeleteTCPRequestRuleDefault
- type DeleteTCPRequestRuleNoContent
- type DeleteTCPRequestRuleNotFound
- type DeleteTCPRequestRuleParams
- func NewDeleteTCPRequestRuleParams() *DeleteTCPRequestRuleParams
- func NewDeleteTCPRequestRuleParamsWithContext(ctx context.Context) *DeleteTCPRequestRuleParams
- func NewDeleteTCPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPRequestRuleParams
- func NewDeleteTCPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) SetContext(ctx context.Context)
- func (o *DeleteTCPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteTCPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTCPRequestRuleParams) SetIndex(index int64)
- func (o *DeleteTCPRequestRuleParams) SetParentName(parentName string)
- func (o *DeleteTCPRequestRuleParams) SetParentType(parentType string)
- func (o *DeleteTCPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTCPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteTCPRequestRuleParams) SetVersion(version *int64)
- func (o *DeleteTCPRequestRuleParams) WithContext(ctx context.Context) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithForceReload(forceReload *bool) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithHTTPClient(client *http.Client) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithIndex(index int64) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithParentName(parentName string) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithParentType(parentType string) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithTimeout(timeout time.Duration) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithTransactionID(transactionID *string) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WithVersion(version *int64) *DeleteTCPRequestRuleParams
- func (o *DeleteTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTCPRequestRuleReader
- type GetTCPRequestRuleDefault
- type GetTCPRequestRuleNotFound
- type GetTCPRequestRuleOK
- type GetTCPRequestRuleOKBody
- type GetTCPRequestRuleParams
- func NewGetTCPRequestRuleParams() *GetTCPRequestRuleParams
- func NewGetTCPRequestRuleParamsWithContext(ctx context.Context) *GetTCPRequestRuleParams
- func NewGetTCPRequestRuleParamsWithHTTPClient(client *http.Client) *GetTCPRequestRuleParams
- func NewGetTCPRequestRuleParamsWithTimeout(timeout time.Duration) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) SetContext(ctx context.Context)
- func (o *GetTCPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPRequestRuleParams) SetIndex(index int64)
- func (o *GetTCPRequestRuleParams) SetParentName(parentName string)
- func (o *GetTCPRequestRuleParams) SetParentType(parentType string)
- func (o *GetTCPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *GetTCPRequestRuleParams) WithContext(ctx context.Context) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WithHTTPClient(client *http.Client) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WithIndex(index int64) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WithParentName(parentName string) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WithParentType(parentType string) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WithTimeout(timeout time.Duration) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WithTransactionID(transactionID *string) *GetTCPRequestRuleParams
- func (o *GetTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPRequestRuleReader
- type GetTCPRequestRulesDefault
- type GetTCPRequestRulesOK
- type GetTCPRequestRulesOKBody
- type GetTCPRequestRulesParams
- func NewGetTCPRequestRulesParams() *GetTCPRequestRulesParams
- func NewGetTCPRequestRulesParamsWithContext(ctx context.Context) *GetTCPRequestRulesParams
- func NewGetTCPRequestRulesParamsWithHTTPClient(client *http.Client) *GetTCPRequestRulesParams
- func NewGetTCPRequestRulesParamsWithTimeout(timeout time.Duration) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) SetContext(ctx context.Context)
- func (o *GetTCPRequestRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPRequestRulesParams) SetParentName(parentName string)
- func (o *GetTCPRequestRulesParams) SetParentType(parentType string)
- func (o *GetTCPRequestRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPRequestRulesParams) SetTransactionID(transactionID *string)
- func (o *GetTCPRequestRulesParams) WithContext(ctx context.Context) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) WithHTTPClient(client *http.Client) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) WithParentName(parentName string) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) WithParentType(parentType string) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) WithTimeout(timeout time.Duration) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) WithTransactionID(transactionID *string) *GetTCPRequestRulesParams
- func (o *GetTCPRequestRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPRequestRulesReader
- type ReplaceTCPRequestRuleAccepted
- type ReplaceTCPRequestRuleBadRequest
- type ReplaceTCPRequestRuleDefault
- type ReplaceTCPRequestRuleNotFound
- type ReplaceTCPRequestRuleOK
- type ReplaceTCPRequestRuleParams
- func NewReplaceTCPRequestRuleParams() *ReplaceTCPRequestRuleParams
- func NewReplaceTCPRequestRuleParamsWithContext(ctx context.Context) *ReplaceTCPRequestRuleParams
- func NewReplaceTCPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPRequestRuleParams
- func NewReplaceTCPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceTCPRequestRuleParams) SetData(data *models.TCPRequestRule)
- func (o *ReplaceTCPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceTCPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceTCPRequestRuleParams) SetIndex(index int64)
- func (o *ReplaceTCPRequestRuleParams) SetParentName(parentName string)
- func (o *ReplaceTCPRequestRuleParams) SetParentType(parentType string)
- func (o *ReplaceTCPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceTCPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceTCPRequestRuleParams) SetVersion(version *int64)
- func (o *ReplaceTCPRequestRuleParams) WithContext(ctx context.Context) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithData(data *models.TCPRequestRule) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithForceReload(forceReload *bool) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithHTTPClient(client *http.Client) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithIndex(index int64) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithParentName(parentName string) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithParentType(parentType string) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithTimeout(timeout time.Duration) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithTransactionID(transactionID *string) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WithVersion(version *int64) *ReplaceTCPRequestRuleParams
- func (o *ReplaceTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceTCPRequestRuleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tcp request rule API
func (*Client) CreateTCPRequestRule ¶
func (a *Client) CreateTCPRequestRule(params *CreateTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTCPRequestRuleCreated, *CreateTCPRequestRuleAccepted, error)
CreateTCPRequestRule adds a new TCP request rule
Adds a new TCP Request Rule of the specified type in the specified parent.
func (*Client) DeleteTCPRequestRule ¶
func (a *Client) DeleteTCPRequestRule(params *DeleteTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTCPRequestRuleAccepted, *DeleteTCPRequestRuleNoContent, error)
DeleteTCPRequestRule deletes a TCP request rule
Deletes a TCP Request Rule configuration by it's index from the specified parent.
func (*Client) GetTCPRequestRule ¶
func (a *Client) GetTCPRequestRule(params *GetTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPRequestRuleOK, error)
GetTCPRequestRule returns one TCP request rule
Returns one TCP Request Rule configuration by it's index in the specified parent.
func (*Client) GetTCPRequestRules ¶
func (a *Client) GetTCPRequestRules(params *GetTCPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPRequestRulesOK, error)
GetTCPRequestRules returns an array of all TCP request rules
Returns all TCP Request Rules that are configured in specified parent and parent type.
func (*Client) ReplaceTCPRequestRule ¶
func (a *Client) ReplaceTCPRequestRule(params *ReplaceTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceTCPRequestRuleOK, *ReplaceTCPRequestRuleAccepted, error)
ReplaceTCPRequestRule replaces a TCP request rule
Replaces a TCP 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 ¶ added in v0.2.0
type ClientService interface { CreateTCPRequestRule(params *CreateTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTCPRequestRuleCreated, *CreateTCPRequestRuleAccepted, error) DeleteTCPRequestRule(params *DeleteTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTCPRequestRuleAccepted, *DeleteTCPRequestRuleNoContent, error) GetTCPRequestRule(params *GetTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPRequestRuleOK, error) GetTCPRequestRules(params *GetTCPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTCPRequestRulesOK, error) ReplaceTCPRequestRule(params *ReplaceTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceTCPRequestRuleOK, *ReplaceTCPRequestRuleAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new tcp request rule API client.
type CreateTCPRequestRuleAccepted ¶
type CreateTCPRequestRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.TCPRequestRule }
CreateTCPRequestRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateTCPRequestRuleAccepted ¶
func NewCreateTCPRequestRuleAccepted() *CreateTCPRequestRuleAccepted
NewCreateTCPRequestRuleAccepted creates a CreateTCPRequestRuleAccepted with default headers values
func (*CreateTCPRequestRuleAccepted) Error ¶
func (o *CreateTCPRequestRuleAccepted) Error() string
func (*CreateTCPRequestRuleAccepted) GetPayload ¶ added in v0.2.0
func (o *CreateTCPRequestRuleAccepted) GetPayload() *models.TCPRequestRule
type CreateTCPRequestRuleBadRequest ¶
type CreateTCPRequestRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateTCPRequestRuleBadRequest handles this case with default header values.
Bad request
func NewCreateTCPRequestRuleBadRequest ¶
func NewCreateTCPRequestRuleBadRequest() *CreateTCPRequestRuleBadRequest
NewCreateTCPRequestRuleBadRequest creates a CreateTCPRequestRuleBadRequest with default headers values
func (*CreateTCPRequestRuleBadRequest) Error ¶
func (o *CreateTCPRequestRuleBadRequest) Error() string
func (*CreateTCPRequestRuleBadRequest) GetPayload ¶ added in v0.2.0
func (o *CreateTCPRequestRuleBadRequest) GetPayload() *models.Error
type CreateTCPRequestRuleConflict ¶
type CreateTCPRequestRuleConflict struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateTCPRequestRuleConflict handles this case with default header values.
The specified resource already exists
func NewCreateTCPRequestRuleConflict ¶
func NewCreateTCPRequestRuleConflict() *CreateTCPRequestRuleConflict
NewCreateTCPRequestRuleConflict creates a CreateTCPRequestRuleConflict with default headers values
func (*CreateTCPRequestRuleConflict) Error ¶
func (o *CreateTCPRequestRuleConflict) Error() string
func (*CreateTCPRequestRuleConflict) GetPayload ¶ added in v0.2.0
func (o *CreateTCPRequestRuleConflict) GetPayload() *models.Error
type CreateTCPRequestRuleCreated ¶
type CreateTCPRequestRuleCreated struct {
Payload *models.TCPRequestRule
}
CreateTCPRequestRuleCreated handles this case with default header values.
TCP Request Rule created
func NewCreateTCPRequestRuleCreated ¶
func NewCreateTCPRequestRuleCreated() *CreateTCPRequestRuleCreated
NewCreateTCPRequestRuleCreated creates a CreateTCPRequestRuleCreated with default headers values
func (*CreateTCPRequestRuleCreated) Error ¶
func (o *CreateTCPRequestRuleCreated) Error() string
func (*CreateTCPRequestRuleCreated) GetPayload ¶ added in v0.2.0
func (o *CreateTCPRequestRuleCreated) GetPayload() *models.TCPRequestRule
type CreateTCPRequestRuleDefault ¶
type CreateTCPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
CreateTCPRequestRuleDefault handles this case with default header values.
General Error
func NewCreateTCPRequestRuleDefault ¶
func NewCreateTCPRequestRuleDefault(code int) *CreateTCPRequestRuleDefault
NewCreateTCPRequestRuleDefault creates a CreateTCPRequestRuleDefault with default headers values
func (*CreateTCPRequestRuleDefault) Code ¶
func (o *CreateTCPRequestRuleDefault) Code() int
Code gets the status code for the create TCP request rule default response
func (*CreateTCPRequestRuleDefault) Error ¶
func (o *CreateTCPRequestRuleDefault) Error() string
func (*CreateTCPRequestRuleDefault) GetPayload ¶ added in v0.2.0
func (o *CreateTCPRequestRuleDefault) GetPayload() *models.Error
type CreateTCPRequestRuleParams ¶
type CreateTCPRequestRuleParams struct { /*Data*/ Data *models.TCPRequestRule /*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 }
CreateTCPRequestRuleParams contains all the parameters to send to the API endpoint for the create TCP request rule operation typically these are written to a http.Request
func NewCreateTCPRequestRuleParams ¶
func NewCreateTCPRequestRuleParams() *CreateTCPRequestRuleParams
NewCreateTCPRequestRuleParams creates a new CreateTCPRequestRuleParams object with the default values initialized.
func NewCreateTCPRequestRuleParamsWithContext ¶
func NewCreateTCPRequestRuleParamsWithContext(ctx context.Context) *CreateTCPRequestRuleParams
NewCreateTCPRequestRuleParamsWithContext creates a new CreateTCPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateTCPRequestRuleParamsWithHTTPClient ¶
func NewCreateTCPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateTCPRequestRuleParams
NewCreateTCPRequestRuleParamsWithHTTPClient creates a new CreateTCPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateTCPRequestRuleParamsWithTimeout ¶
func NewCreateTCPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateTCPRequestRuleParams
NewCreateTCPRequestRuleParamsWithTimeout creates a new CreateTCPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateTCPRequestRuleParams) SetContext ¶
func (o *CreateTCPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetData ¶
func (o *CreateTCPRequestRuleParams) SetData(data *models.TCPRequestRule)
SetData adds the data to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetForceReload ¶
func (o *CreateTCPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetHTTPClient ¶
func (o *CreateTCPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetParentName ¶
func (o *CreateTCPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetParentType ¶
func (o *CreateTCPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetTimeout ¶
func (o *CreateTCPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetTransactionID ¶
func (o *CreateTCPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create TCP request rule params
func (*CreateTCPRequestRuleParams) SetVersion ¶
func (o *CreateTCPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithContext ¶
func (o *CreateTCPRequestRuleParams) WithContext(ctx context.Context) *CreateTCPRequestRuleParams
WithContext adds the context to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithData ¶
func (o *CreateTCPRequestRuleParams) WithData(data *models.TCPRequestRule) *CreateTCPRequestRuleParams
WithData adds the data to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithForceReload ¶
func (o *CreateTCPRequestRuleParams) WithForceReload(forceReload *bool) *CreateTCPRequestRuleParams
WithForceReload adds the forceReload to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithHTTPClient ¶
func (o *CreateTCPRequestRuleParams) WithHTTPClient(client *http.Client) *CreateTCPRequestRuleParams
WithHTTPClient adds the HTTPClient to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithParentName ¶
func (o *CreateTCPRequestRuleParams) WithParentName(parentName string) *CreateTCPRequestRuleParams
WithParentName adds the parentName to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithParentType ¶
func (o *CreateTCPRequestRuleParams) WithParentType(parentType string) *CreateTCPRequestRuleParams
WithParentType adds the parentType to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithTimeout ¶
func (o *CreateTCPRequestRuleParams) WithTimeout(timeout time.Duration) *CreateTCPRequestRuleParams
WithTimeout adds the timeout to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithTransactionID ¶
func (o *CreateTCPRequestRuleParams) WithTransactionID(transactionID *string) *CreateTCPRequestRuleParams
WithTransactionID adds the transactionID to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WithVersion ¶
func (o *CreateTCPRequestRuleParams) WithVersion(version *int64) *CreateTCPRequestRuleParams
WithVersion adds the version to the create TCP request rule params
func (*CreateTCPRequestRuleParams) WriteToRequest ¶
func (o *CreateTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTCPRequestRuleReader ¶
type CreateTCPRequestRuleReader struct {
// contains filtered or unexported fields
}
CreateTCPRequestRuleReader is a Reader for the CreateTCPRequestRule structure.
func (*CreateTCPRequestRuleReader) ReadResponse ¶
func (o *CreateTCPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTCPRequestRuleAccepted ¶
type DeleteTCPRequestRuleAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteTCPRequestRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteTCPRequestRuleAccepted ¶
func NewDeleteTCPRequestRuleAccepted() *DeleteTCPRequestRuleAccepted
NewDeleteTCPRequestRuleAccepted creates a DeleteTCPRequestRuleAccepted with default headers values
func (*DeleteTCPRequestRuleAccepted) Error ¶
func (o *DeleteTCPRequestRuleAccepted) Error() string
type DeleteTCPRequestRuleDefault ¶
type DeleteTCPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
DeleteTCPRequestRuleDefault handles this case with default header values.
General Error
func NewDeleteTCPRequestRuleDefault ¶
func NewDeleteTCPRequestRuleDefault(code int) *DeleteTCPRequestRuleDefault
NewDeleteTCPRequestRuleDefault creates a DeleteTCPRequestRuleDefault with default headers values
func (*DeleteTCPRequestRuleDefault) Code ¶
func (o *DeleteTCPRequestRuleDefault) Code() int
Code gets the status code for the delete TCP request rule default response
func (*DeleteTCPRequestRuleDefault) Error ¶
func (o *DeleteTCPRequestRuleDefault) Error() string
func (*DeleteTCPRequestRuleDefault) GetPayload ¶ added in v0.2.0
func (o *DeleteTCPRequestRuleDefault) GetPayload() *models.Error
type DeleteTCPRequestRuleNoContent ¶
type DeleteTCPRequestRuleNoContent struct { }
DeleteTCPRequestRuleNoContent handles this case with default header values.
TCP Request Rule deleted
func NewDeleteTCPRequestRuleNoContent ¶
func NewDeleteTCPRequestRuleNoContent() *DeleteTCPRequestRuleNoContent
NewDeleteTCPRequestRuleNoContent creates a DeleteTCPRequestRuleNoContent with default headers values
func (*DeleteTCPRequestRuleNoContent) Error ¶
func (o *DeleteTCPRequestRuleNoContent) Error() string
type DeleteTCPRequestRuleNotFound ¶
type DeleteTCPRequestRuleNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
DeleteTCPRequestRuleNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteTCPRequestRuleNotFound ¶
func NewDeleteTCPRequestRuleNotFound() *DeleteTCPRequestRuleNotFound
NewDeleteTCPRequestRuleNotFound creates a DeleteTCPRequestRuleNotFound with default headers values
func (*DeleteTCPRequestRuleNotFound) Error ¶
func (o *DeleteTCPRequestRuleNotFound) Error() string
func (*DeleteTCPRequestRuleNotFound) GetPayload ¶ added in v0.2.0
func (o *DeleteTCPRequestRuleNotFound) GetPayload() *models.Error
type DeleteTCPRequestRuleParams ¶
type DeleteTCPRequestRuleParams 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 TCP 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 }
DeleteTCPRequestRuleParams contains all the parameters to send to the API endpoint for the delete TCP request rule operation typically these are written to a http.Request
func NewDeleteTCPRequestRuleParams ¶
func NewDeleteTCPRequestRuleParams() *DeleteTCPRequestRuleParams
NewDeleteTCPRequestRuleParams creates a new DeleteTCPRequestRuleParams object with the default values initialized.
func NewDeleteTCPRequestRuleParamsWithContext ¶
func NewDeleteTCPRequestRuleParamsWithContext(ctx context.Context) *DeleteTCPRequestRuleParams
NewDeleteTCPRequestRuleParamsWithContext creates a new DeleteTCPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTCPRequestRuleParamsWithHTTPClient ¶
func NewDeleteTCPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPRequestRuleParams
NewDeleteTCPRequestRuleParamsWithHTTPClient creates a new DeleteTCPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTCPRequestRuleParamsWithTimeout ¶
func NewDeleteTCPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPRequestRuleParams
NewDeleteTCPRequestRuleParamsWithTimeout creates a new DeleteTCPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTCPRequestRuleParams) SetContext ¶
func (o *DeleteTCPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetForceReload ¶
func (o *DeleteTCPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetHTTPClient ¶
func (o *DeleteTCPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetIndex ¶
func (o *DeleteTCPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetParentName ¶
func (o *DeleteTCPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetParentType ¶
func (o *DeleteTCPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetTimeout ¶
func (o *DeleteTCPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetTransactionID ¶
func (o *DeleteTCPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) SetVersion ¶
func (o *DeleteTCPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithContext ¶
func (o *DeleteTCPRequestRuleParams) WithContext(ctx context.Context) *DeleteTCPRequestRuleParams
WithContext adds the context to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithForceReload ¶
func (o *DeleteTCPRequestRuleParams) WithForceReload(forceReload *bool) *DeleteTCPRequestRuleParams
WithForceReload adds the forceReload to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithHTTPClient ¶
func (o *DeleteTCPRequestRuleParams) WithHTTPClient(client *http.Client) *DeleteTCPRequestRuleParams
WithHTTPClient adds the HTTPClient to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithIndex ¶
func (o *DeleteTCPRequestRuleParams) WithIndex(index int64) *DeleteTCPRequestRuleParams
WithIndex adds the index to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithParentName ¶
func (o *DeleteTCPRequestRuleParams) WithParentName(parentName string) *DeleteTCPRequestRuleParams
WithParentName adds the parentName to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithParentType ¶
func (o *DeleteTCPRequestRuleParams) WithParentType(parentType string) *DeleteTCPRequestRuleParams
WithParentType adds the parentType to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithTimeout ¶
func (o *DeleteTCPRequestRuleParams) WithTimeout(timeout time.Duration) *DeleteTCPRequestRuleParams
WithTimeout adds the timeout to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithTransactionID ¶
func (o *DeleteTCPRequestRuleParams) WithTransactionID(transactionID *string) *DeleteTCPRequestRuleParams
WithTransactionID adds the transactionID to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WithVersion ¶
func (o *DeleteTCPRequestRuleParams) WithVersion(version *int64) *DeleteTCPRequestRuleParams
WithVersion adds the version to the delete TCP request rule params
func (*DeleteTCPRequestRuleParams) WriteToRequest ¶
func (o *DeleteTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTCPRequestRuleReader ¶
type DeleteTCPRequestRuleReader struct {
// contains filtered or unexported fields
}
DeleteTCPRequestRuleReader is a Reader for the DeleteTCPRequestRule structure.
func (*DeleteTCPRequestRuleReader) ReadResponse ¶
func (o *DeleteTCPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPRequestRuleDefault ¶
type GetTCPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetTCPRequestRuleDefault handles this case with default header values.
General Error
func NewGetTCPRequestRuleDefault ¶
func NewGetTCPRequestRuleDefault(code int) *GetTCPRequestRuleDefault
NewGetTCPRequestRuleDefault creates a GetTCPRequestRuleDefault with default headers values
func (*GetTCPRequestRuleDefault) Code ¶
func (o *GetTCPRequestRuleDefault) Code() int
Code gets the status code for the get TCP request rule default response
func (*GetTCPRequestRuleDefault) Error ¶
func (o *GetTCPRequestRuleDefault) Error() string
func (*GetTCPRequestRuleDefault) GetPayload ¶ added in v0.2.0
func (o *GetTCPRequestRuleDefault) GetPayload() *models.Error
type GetTCPRequestRuleNotFound ¶
type GetTCPRequestRuleNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
GetTCPRequestRuleNotFound handles this case with default header values.
The specified resource was not found
func NewGetTCPRequestRuleNotFound ¶
func NewGetTCPRequestRuleNotFound() *GetTCPRequestRuleNotFound
NewGetTCPRequestRuleNotFound creates a GetTCPRequestRuleNotFound with default headers values
func (*GetTCPRequestRuleNotFound) Error ¶
func (o *GetTCPRequestRuleNotFound) Error() string
func (*GetTCPRequestRuleNotFound) GetPayload ¶ added in v0.2.0
func (o *GetTCPRequestRuleNotFound) GetPayload() *models.Error
type GetTCPRequestRuleOK ¶
type GetTCPRequestRuleOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetTCPRequestRuleOKBody }
GetTCPRequestRuleOK handles this case with default header values.
Successful operation
func NewGetTCPRequestRuleOK ¶
func NewGetTCPRequestRuleOK() *GetTCPRequestRuleOK
NewGetTCPRequestRuleOK creates a GetTCPRequestRuleOK with default headers values
func (*GetTCPRequestRuleOK) Error ¶
func (o *GetTCPRequestRuleOK) Error() string
func (*GetTCPRequestRuleOK) GetPayload ¶ added in v0.2.0
func (o *GetTCPRequestRuleOK) GetPayload() *GetTCPRequestRuleOKBody
type GetTCPRequestRuleOKBody ¶
type GetTCPRequestRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.TCPRequestRule `json:"data,omitempty"` }
GetTCPRequestRuleOKBody get TCP request rule o k body swagger:model GetTCPRequestRuleOKBody
func (*GetTCPRequestRuleOKBody) MarshalBinary ¶
func (o *GetTCPRequestRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPRequestRuleOKBody) UnmarshalBinary ¶
func (o *GetTCPRequestRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPRequestRuleParams ¶
type GetTCPRequestRuleParams struct { /*Index TCP 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 }
GetTCPRequestRuleParams contains all the parameters to send to the API endpoint for the get TCP request rule operation typically these are written to a http.Request
func NewGetTCPRequestRuleParams ¶
func NewGetTCPRequestRuleParams() *GetTCPRequestRuleParams
NewGetTCPRequestRuleParams creates a new GetTCPRequestRuleParams object with the default values initialized.
func NewGetTCPRequestRuleParamsWithContext ¶
func NewGetTCPRequestRuleParamsWithContext(ctx context.Context) *GetTCPRequestRuleParams
NewGetTCPRequestRuleParamsWithContext creates a new GetTCPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewGetTCPRequestRuleParamsWithHTTPClient ¶
func NewGetTCPRequestRuleParamsWithHTTPClient(client *http.Client) *GetTCPRequestRuleParams
NewGetTCPRequestRuleParamsWithHTTPClient creates a new GetTCPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTCPRequestRuleParamsWithTimeout ¶
func NewGetTCPRequestRuleParamsWithTimeout(timeout time.Duration) *GetTCPRequestRuleParams
NewGetTCPRequestRuleParamsWithTimeout creates a new GetTCPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTCPRequestRuleParams) SetContext ¶
func (o *GetTCPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP request rule params
func (*GetTCPRequestRuleParams) SetHTTPClient ¶
func (o *GetTCPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP request rule params
func (*GetTCPRequestRuleParams) SetIndex ¶
func (o *GetTCPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the get TCP request rule params
func (*GetTCPRequestRuleParams) SetParentName ¶
func (o *GetTCPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the get TCP request rule params
func (*GetTCPRequestRuleParams) SetParentType ¶
func (o *GetTCPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get TCP request rule params
func (*GetTCPRequestRuleParams) SetTimeout ¶
func (o *GetTCPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP request rule params
func (*GetTCPRequestRuleParams) SetTransactionID ¶
func (o *GetTCPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithContext ¶
func (o *GetTCPRequestRuleParams) WithContext(ctx context.Context) *GetTCPRequestRuleParams
WithContext adds the context to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithHTTPClient ¶
func (o *GetTCPRequestRuleParams) WithHTTPClient(client *http.Client) *GetTCPRequestRuleParams
WithHTTPClient adds the HTTPClient to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithIndex ¶
func (o *GetTCPRequestRuleParams) WithIndex(index int64) *GetTCPRequestRuleParams
WithIndex adds the index to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithParentName ¶
func (o *GetTCPRequestRuleParams) WithParentName(parentName string) *GetTCPRequestRuleParams
WithParentName adds the parentName to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithParentType ¶
func (o *GetTCPRequestRuleParams) WithParentType(parentType string) *GetTCPRequestRuleParams
WithParentType adds the parentType to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithTimeout ¶
func (o *GetTCPRequestRuleParams) WithTimeout(timeout time.Duration) *GetTCPRequestRuleParams
WithTimeout adds the timeout to the get TCP request rule params
func (*GetTCPRequestRuleParams) WithTransactionID ¶
func (o *GetTCPRequestRuleParams) WithTransactionID(transactionID *string) *GetTCPRequestRuleParams
WithTransactionID adds the transactionID to the get TCP request rule params
func (*GetTCPRequestRuleParams) WriteToRequest ¶
func (o *GetTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPRequestRuleReader ¶
type GetTCPRequestRuleReader struct {
// contains filtered or unexported fields
}
GetTCPRequestRuleReader is a Reader for the GetTCPRequestRule structure.
func (*GetTCPRequestRuleReader) ReadResponse ¶
func (o *GetTCPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPRequestRulesDefault ¶
type GetTCPRequestRulesDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetTCPRequestRulesDefault handles this case with default header values.
General Error
func NewGetTCPRequestRulesDefault ¶
func NewGetTCPRequestRulesDefault(code int) *GetTCPRequestRulesDefault
NewGetTCPRequestRulesDefault creates a GetTCPRequestRulesDefault with default headers values
func (*GetTCPRequestRulesDefault) Code ¶
func (o *GetTCPRequestRulesDefault) Code() int
Code gets the status code for the get TCP request rules default response
func (*GetTCPRequestRulesDefault) Error ¶
func (o *GetTCPRequestRulesDefault) Error() string
func (*GetTCPRequestRulesDefault) GetPayload ¶ added in v0.2.0
func (o *GetTCPRequestRulesDefault) GetPayload() *models.Error
type GetTCPRequestRulesOK ¶
type GetTCPRequestRulesOK struct { /*Configuration file version */ ConfigurationVersion int64 Payload *GetTCPRequestRulesOKBody }
GetTCPRequestRulesOK handles this case with default header values.
Successful operation
func NewGetTCPRequestRulesOK ¶
func NewGetTCPRequestRulesOK() *GetTCPRequestRulesOK
NewGetTCPRequestRulesOK creates a GetTCPRequestRulesOK with default headers values
func (*GetTCPRequestRulesOK) Error ¶
func (o *GetTCPRequestRulesOK) Error() string
func (*GetTCPRequestRulesOK) GetPayload ¶ added in v0.2.0
func (o *GetTCPRequestRulesOK) GetPayload() *GetTCPRequestRulesOKBody
type GetTCPRequestRulesOKBody ¶
type GetTCPRequestRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.TCPRequestRules `json:"data"` }
GetTCPRequestRulesOKBody get TCP request rules o k body swagger:model GetTCPRequestRulesOKBody
func (*GetTCPRequestRulesOKBody) MarshalBinary ¶
func (o *GetTCPRequestRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPRequestRulesOKBody) UnmarshalBinary ¶
func (o *GetTCPRequestRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPRequestRulesParams ¶
type GetTCPRequestRulesParams 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 }
GetTCPRequestRulesParams contains all the parameters to send to the API endpoint for the get TCP request rules operation typically these are written to a http.Request
func NewGetTCPRequestRulesParams ¶
func NewGetTCPRequestRulesParams() *GetTCPRequestRulesParams
NewGetTCPRequestRulesParams creates a new GetTCPRequestRulesParams object with the default values initialized.
func NewGetTCPRequestRulesParamsWithContext ¶
func NewGetTCPRequestRulesParamsWithContext(ctx context.Context) *GetTCPRequestRulesParams
NewGetTCPRequestRulesParamsWithContext creates a new GetTCPRequestRulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetTCPRequestRulesParamsWithHTTPClient ¶
func NewGetTCPRequestRulesParamsWithHTTPClient(client *http.Client) *GetTCPRequestRulesParams
NewGetTCPRequestRulesParamsWithHTTPClient creates a new GetTCPRequestRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTCPRequestRulesParamsWithTimeout ¶
func NewGetTCPRequestRulesParamsWithTimeout(timeout time.Duration) *GetTCPRequestRulesParams
NewGetTCPRequestRulesParamsWithTimeout creates a new GetTCPRequestRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTCPRequestRulesParams) SetContext ¶
func (o *GetTCPRequestRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP request rules params
func (*GetTCPRequestRulesParams) SetHTTPClient ¶
func (o *GetTCPRequestRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP request rules params
func (*GetTCPRequestRulesParams) SetParentName ¶
func (o *GetTCPRequestRulesParams) SetParentName(parentName string)
SetParentName adds the parentName to the get TCP request rules params
func (*GetTCPRequestRulesParams) SetParentType ¶
func (o *GetTCPRequestRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get TCP request rules params
func (*GetTCPRequestRulesParams) SetTimeout ¶
func (o *GetTCPRequestRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP request rules params
func (*GetTCPRequestRulesParams) SetTransactionID ¶
func (o *GetTCPRequestRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP request rules params
func (*GetTCPRequestRulesParams) WithContext ¶
func (o *GetTCPRequestRulesParams) WithContext(ctx context.Context) *GetTCPRequestRulesParams
WithContext adds the context to the get TCP request rules params
func (*GetTCPRequestRulesParams) WithHTTPClient ¶
func (o *GetTCPRequestRulesParams) WithHTTPClient(client *http.Client) *GetTCPRequestRulesParams
WithHTTPClient adds the HTTPClient to the get TCP request rules params
func (*GetTCPRequestRulesParams) WithParentName ¶
func (o *GetTCPRequestRulesParams) WithParentName(parentName string) *GetTCPRequestRulesParams
WithParentName adds the parentName to the get TCP request rules params
func (*GetTCPRequestRulesParams) WithParentType ¶
func (o *GetTCPRequestRulesParams) WithParentType(parentType string) *GetTCPRequestRulesParams
WithParentType adds the parentType to the get TCP request rules params
func (*GetTCPRequestRulesParams) WithTimeout ¶
func (o *GetTCPRequestRulesParams) WithTimeout(timeout time.Duration) *GetTCPRequestRulesParams
WithTimeout adds the timeout to the get TCP request rules params
func (*GetTCPRequestRulesParams) WithTransactionID ¶
func (o *GetTCPRequestRulesParams) WithTransactionID(transactionID *string) *GetTCPRequestRulesParams
WithTransactionID adds the transactionID to the get TCP request rules params
func (*GetTCPRequestRulesParams) WriteToRequest ¶
func (o *GetTCPRequestRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPRequestRulesReader ¶
type GetTCPRequestRulesReader struct {
// contains filtered or unexported fields
}
GetTCPRequestRulesReader is a Reader for the GetTCPRequestRules structure.
func (*GetTCPRequestRulesReader) ReadResponse ¶
func (o *GetTCPRequestRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceTCPRequestRuleAccepted ¶
type ReplaceTCPRequestRuleAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.TCPRequestRule }
ReplaceTCPRequestRuleAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceTCPRequestRuleAccepted ¶
func NewReplaceTCPRequestRuleAccepted() *ReplaceTCPRequestRuleAccepted
NewReplaceTCPRequestRuleAccepted creates a ReplaceTCPRequestRuleAccepted with default headers values
func (*ReplaceTCPRequestRuleAccepted) Error ¶
func (o *ReplaceTCPRequestRuleAccepted) Error() string
func (*ReplaceTCPRequestRuleAccepted) GetPayload ¶ added in v0.2.0
func (o *ReplaceTCPRequestRuleAccepted) GetPayload() *models.TCPRequestRule
type ReplaceTCPRequestRuleBadRequest ¶
type ReplaceTCPRequestRuleBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceTCPRequestRuleBadRequest handles this case with default header values.
Bad request
func NewReplaceTCPRequestRuleBadRequest ¶
func NewReplaceTCPRequestRuleBadRequest() *ReplaceTCPRequestRuleBadRequest
NewReplaceTCPRequestRuleBadRequest creates a ReplaceTCPRequestRuleBadRequest with default headers values
func (*ReplaceTCPRequestRuleBadRequest) Error ¶
func (o *ReplaceTCPRequestRuleBadRequest) Error() string
func (*ReplaceTCPRequestRuleBadRequest) GetPayload ¶ added in v0.2.0
func (o *ReplaceTCPRequestRuleBadRequest) GetPayload() *models.Error
type ReplaceTCPRequestRuleDefault ¶
type ReplaceTCPRequestRuleDefault struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
ReplaceTCPRequestRuleDefault handles this case with default header values.
General Error
func NewReplaceTCPRequestRuleDefault ¶
func NewReplaceTCPRequestRuleDefault(code int) *ReplaceTCPRequestRuleDefault
NewReplaceTCPRequestRuleDefault creates a ReplaceTCPRequestRuleDefault with default headers values
func (*ReplaceTCPRequestRuleDefault) Code ¶
func (o *ReplaceTCPRequestRuleDefault) Code() int
Code gets the status code for the replace TCP request rule default response
func (*ReplaceTCPRequestRuleDefault) Error ¶
func (o *ReplaceTCPRequestRuleDefault) Error() string
func (*ReplaceTCPRequestRuleDefault) GetPayload ¶ added in v0.2.0
func (o *ReplaceTCPRequestRuleDefault) GetPayload() *models.Error
type ReplaceTCPRequestRuleNotFound ¶
type ReplaceTCPRequestRuleNotFound struct { /*Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceTCPRequestRuleNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceTCPRequestRuleNotFound ¶
func NewReplaceTCPRequestRuleNotFound() *ReplaceTCPRequestRuleNotFound
NewReplaceTCPRequestRuleNotFound creates a ReplaceTCPRequestRuleNotFound with default headers values
func (*ReplaceTCPRequestRuleNotFound) Error ¶
func (o *ReplaceTCPRequestRuleNotFound) Error() string
func (*ReplaceTCPRequestRuleNotFound) GetPayload ¶ added in v0.2.0
func (o *ReplaceTCPRequestRuleNotFound) GetPayload() *models.Error
type ReplaceTCPRequestRuleOK ¶
type ReplaceTCPRequestRuleOK struct {
Payload *models.TCPRequestRule
}
ReplaceTCPRequestRuleOK handles this case with default header values.
TCP Request Rule replaced
func NewReplaceTCPRequestRuleOK ¶
func NewReplaceTCPRequestRuleOK() *ReplaceTCPRequestRuleOK
NewReplaceTCPRequestRuleOK creates a ReplaceTCPRequestRuleOK with default headers values
func (*ReplaceTCPRequestRuleOK) Error ¶
func (o *ReplaceTCPRequestRuleOK) Error() string
func (*ReplaceTCPRequestRuleOK) GetPayload ¶ added in v0.2.0
func (o *ReplaceTCPRequestRuleOK) GetPayload() *models.TCPRequestRule
type ReplaceTCPRequestRuleParams ¶
type ReplaceTCPRequestRuleParams struct { /*Data*/ Data *models.TCPRequestRule /*ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /*Index TCP 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 }
ReplaceTCPRequestRuleParams contains all the parameters to send to the API endpoint for the replace TCP request rule operation typically these are written to a http.Request
func NewReplaceTCPRequestRuleParams ¶
func NewReplaceTCPRequestRuleParams() *ReplaceTCPRequestRuleParams
NewReplaceTCPRequestRuleParams creates a new ReplaceTCPRequestRuleParams object with the default values initialized.
func NewReplaceTCPRequestRuleParamsWithContext ¶
func NewReplaceTCPRequestRuleParamsWithContext(ctx context.Context) *ReplaceTCPRequestRuleParams
NewReplaceTCPRequestRuleParamsWithContext creates a new ReplaceTCPRequestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceTCPRequestRuleParamsWithHTTPClient ¶
func NewReplaceTCPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPRequestRuleParams
NewReplaceTCPRequestRuleParamsWithHTTPClient creates a new ReplaceTCPRequestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceTCPRequestRuleParamsWithTimeout ¶
func NewReplaceTCPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPRequestRuleParams
NewReplaceTCPRequestRuleParamsWithTimeout creates a new ReplaceTCPRequestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceTCPRequestRuleParams) SetContext ¶
func (o *ReplaceTCPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetData ¶
func (o *ReplaceTCPRequestRuleParams) SetData(data *models.TCPRequestRule)
SetData adds the data to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetForceReload ¶
func (o *ReplaceTCPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetHTTPClient ¶
func (o *ReplaceTCPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetIndex ¶
func (o *ReplaceTCPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetParentName ¶
func (o *ReplaceTCPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetParentType ¶
func (o *ReplaceTCPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetTimeout ¶
func (o *ReplaceTCPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetTransactionID ¶
func (o *ReplaceTCPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) SetVersion ¶
func (o *ReplaceTCPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithContext ¶
func (o *ReplaceTCPRequestRuleParams) WithContext(ctx context.Context) *ReplaceTCPRequestRuleParams
WithContext adds the context to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithData ¶
func (o *ReplaceTCPRequestRuleParams) WithData(data *models.TCPRequestRule) *ReplaceTCPRequestRuleParams
WithData adds the data to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithForceReload ¶
func (o *ReplaceTCPRequestRuleParams) WithForceReload(forceReload *bool) *ReplaceTCPRequestRuleParams
WithForceReload adds the forceReload to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithHTTPClient ¶
func (o *ReplaceTCPRequestRuleParams) WithHTTPClient(client *http.Client) *ReplaceTCPRequestRuleParams
WithHTTPClient adds the HTTPClient to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithIndex ¶
func (o *ReplaceTCPRequestRuleParams) WithIndex(index int64) *ReplaceTCPRequestRuleParams
WithIndex adds the index to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithParentName ¶
func (o *ReplaceTCPRequestRuleParams) WithParentName(parentName string) *ReplaceTCPRequestRuleParams
WithParentName adds the parentName to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithParentType ¶
func (o *ReplaceTCPRequestRuleParams) WithParentType(parentType string) *ReplaceTCPRequestRuleParams
WithParentType adds the parentType to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithTimeout ¶
func (o *ReplaceTCPRequestRuleParams) WithTimeout(timeout time.Duration) *ReplaceTCPRequestRuleParams
WithTimeout adds the timeout to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithTransactionID ¶
func (o *ReplaceTCPRequestRuleParams) WithTransactionID(transactionID *string) *ReplaceTCPRequestRuleParams
WithTransactionID adds the transactionID to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WithVersion ¶
func (o *ReplaceTCPRequestRuleParams) WithVersion(version *int64) *ReplaceTCPRequestRuleParams
WithVersion adds the version to the replace TCP request rule params
func (*ReplaceTCPRequestRuleParams) WriteToRequest ¶
func (o *ReplaceTCPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceTCPRequestRuleReader ¶
type ReplaceTCPRequestRuleReader struct {
// contains filtered or unexported fields
}
ReplaceTCPRequestRuleReader is a Reader for the ReplaceTCPRequestRule structure.
func (*ReplaceTCPRequestRuleReader) ReadResponse ¶
func (o *ReplaceTCPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_tcp_request_rule_parameters.go
- create_tcp_request_rule_responses.go
- delete_tcp_request_rule_parameters.go
- delete_tcp_request_rule_responses.go
- get_tcp_request_rule_parameters.go
- get_tcp_request_rule_responses.go
- get_tcp_request_rules_parameters.go
- get_tcp_request_rules_responses.go
- replace_tcp_request_rule_parameters.go
- replace_tcp_request_rule_responses.go
- tcp_request_rule_client.go