Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTCPResponseRule(params *CreateTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTCPResponseRuleCreated, *CreateTCPResponseRuleAccepted, error)
- func (a *Client) DeleteTCPResponseRule(params *DeleteTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTCPResponseRuleAccepted, *DeleteTCPResponseRuleNoContent, error)
- func (a *Client) GetTCPResponseRule(params *GetTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTCPResponseRuleOK, error)
- func (a *Client) GetTCPResponseRules(params *GetTCPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTCPResponseRulesOK, error)
- func (a *Client) ReplaceTCPResponseRule(params *ReplaceTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceTCPResponseRuleOK, *ReplaceTCPResponseRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateTCPResponseRuleAccepted
- func (o *CreateTCPResponseRuleAccepted) Code() int
- func (o *CreateTCPResponseRuleAccepted) Error() string
- func (o *CreateTCPResponseRuleAccepted) GetPayload() *models.TCPResponseRule
- func (o *CreateTCPResponseRuleAccepted) IsClientError() bool
- func (o *CreateTCPResponseRuleAccepted) IsCode(code int) bool
- func (o *CreateTCPResponseRuleAccepted) IsRedirect() bool
- func (o *CreateTCPResponseRuleAccepted) IsServerError() bool
- func (o *CreateTCPResponseRuleAccepted) IsSuccess() bool
- func (o *CreateTCPResponseRuleAccepted) String() string
- type CreateTCPResponseRuleBadRequest
- func (o *CreateTCPResponseRuleBadRequest) Code() int
- func (o *CreateTCPResponseRuleBadRequest) Error() string
- func (o *CreateTCPResponseRuleBadRequest) GetPayload() *models.Error
- func (o *CreateTCPResponseRuleBadRequest) IsClientError() bool
- func (o *CreateTCPResponseRuleBadRequest) IsCode(code int) bool
- func (o *CreateTCPResponseRuleBadRequest) IsRedirect() bool
- func (o *CreateTCPResponseRuleBadRequest) IsServerError() bool
- func (o *CreateTCPResponseRuleBadRequest) IsSuccess() bool
- func (o *CreateTCPResponseRuleBadRequest) String() string
- type CreateTCPResponseRuleConflict
- func (o *CreateTCPResponseRuleConflict) Code() int
- func (o *CreateTCPResponseRuleConflict) Error() string
- func (o *CreateTCPResponseRuleConflict) GetPayload() *models.Error
- func (o *CreateTCPResponseRuleConflict) IsClientError() bool
- func (o *CreateTCPResponseRuleConflict) IsCode(code int) bool
- func (o *CreateTCPResponseRuleConflict) IsRedirect() bool
- func (o *CreateTCPResponseRuleConflict) IsServerError() bool
- func (o *CreateTCPResponseRuleConflict) IsSuccess() bool
- func (o *CreateTCPResponseRuleConflict) String() string
- type CreateTCPResponseRuleCreated
- func (o *CreateTCPResponseRuleCreated) Code() int
- func (o *CreateTCPResponseRuleCreated) Error() string
- func (o *CreateTCPResponseRuleCreated) GetPayload() *models.TCPResponseRule
- func (o *CreateTCPResponseRuleCreated) IsClientError() bool
- func (o *CreateTCPResponseRuleCreated) IsCode(code int) bool
- func (o *CreateTCPResponseRuleCreated) IsRedirect() bool
- func (o *CreateTCPResponseRuleCreated) IsServerError() bool
- func (o *CreateTCPResponseRuleCreated) IsSuccess() bool
- func (o *CreateTCPResponseRuleCreated) String() string
- type CreateTCPResponseRuleDefault
- func (o *CreateTCPResponseRuleDefault) Code() int
- func (o *CreateTCPResponseRuleDefault) Error() string
- func (o *CreateTCPResponseRuleDefault) GetPayload() *models.Error
- func (o *CreateTCPResponseRuleDefault) IsClientError() bool
- func (o *CreateTCPResponseRuleDefault) IsCode(code int) bool
- func (o *CreateTCPResponseRuleDefault) IsRedirect() bool
- func (o *CreateTCPResponseRuleDefault) IsServerError() bool
- func (o *CreateTCPResponseRuleDefault) IsSuccess() bool
- func (o *CreateTCPResponseRuleDefault) String() string
- type CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParams() *CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParamsWithContext(ctx context.Context) *CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
- func NewCreateTCPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) SetBackend(backend string)
- func (o *CreateTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *CreateTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
- func (o *CreateTCPResponseRuleParams) SetDefaults()
- func (o *CreateTCPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateTCPResponseRuleParams) SetVersion(version *int64)
- func (o *CreateTCPResponseRuleParams) WithBackend(backend string) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithContext(ctx context.Context) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithDefaults() *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithForceReload(forceReload *bool) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithTransactionID(transactionID *string) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WithVersion(version *int64) *CreateTCPResponseRuleParams
- func (o *CreateTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTCPResponseRuleReader
- type DeleteTCPResponseRuleAccepted
- func (o *DeleteTCPResponseRuleAccepted) Code() int
- func (o *DeleteTCPResponseRuleAccepted) Error() string
- func (o *DeleteTCPResponseRuleAccepted) IsClientError() bool
- func (o *DeleteTCPResponseRuleAccepted) IsCode(code int) bool
- func (o *DeleteTCPResponseRuleAccepted) IsRedirect() bool
- func (o *DeleteTCPResponseRuleAccepted) IsServerError() bool
- func (o *DeleteTCPResponseRuleAccepted) IsSuccess() bool
- func (o *DeleteTCPResponseRuleAccepted) String() string
- type DeleteTCPResponseRuleDefault
- func (o *DeleteTCPResponseRuleDefault) Code() int
- func (o *DeleteTCPResponseRuleDefault) Error() string
- func (o *DeleteTCPResponseRuleDefault) GetPayload() *models.Error
- func (o *DeleteTCPResponseRuleDefault) IsClientError() bool
- func (o *DeleteTCPResponseRuleDefault) IsCode(code int) bool
- func (o *DeleteTCPResponseRuleDefault) IsRedirect() bool
- func (o *DeleteTCPResponseRuleDefault) IsServerError() bool
- func (o *DeleteTCPResponseRuleDefault) IsSuccess() bool
- func (o *DeleteTCPResponseRuleDefault) String() string
- type DeleteTCPResponseRuleNoContent
- func (o *DeleteTCPResponseRuleNoContent) Code() int
- func (o *DeleteTCPResponseRuleNoContent) Error() string
- func (o *DeleteTCPResponseRuleNoContent) IsClientError() bool
- func (o *DeleteTCPResponseRuleNoContent) IsCode(code int) bool
- func (o *DeleteTCPResponseRuleNoContent) IsRedirect() bool
- func (o *DeleteTCPResponseRuleNoContent) IsServerError() bool
- func (o *DeleteTCPResponseRuleNoContent) IsSuccess() bool
- func (o *DeleteTCPResponseRuleNoContent) String() string
- type DeleteTCPResponseRuleNotFound
- func (o *DeleteTCPResponseRuleNotFound) Code() int
- func (o *DeleteTCPResponseRuleNotFound) Error() string
- func (o *DeleteTCPResponseRuleNotFound) GetPayload() *models.Error
- func (o *DeleteTCPResponseRuleNotFound) IsClientError() bool
- func (o *DeleteTCPResponseRuleNotFound) IsCode(code int) bool
- func (o *DeleteTCPResponseRuleNotFound) IsRedirect() bool
- func (o *DeleteTCPResponseRuleNotFound) IsServerError() bool
- func (o *DeleteTCPResponseRuleNotFound) IsSuccess() bool
- func (o *DeleteTCPResponseRuleNotFound) String() string
- type DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParams() *DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParamsWithContext(ctx context.Context) *DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
- func NewDeleteTCPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) SetBackend(backend string)
- func (o *DeleteTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *DeleteTCPResponseRuleParams) SetDefaults()
- func (o *DeleteTCPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTCPResponseRuleParams) SetIndex(index int64)
- func (o *DeleteTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteTCPResponseRuleParams) SetVersion(version *int64)
- func (o *DeleteTCPResponseRuleParams) WithBackend(backend string) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithContext(ctx context.Context) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithDefaults() *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithIndex(index int64) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WithVersion(version *int64) *DeleteTCPResponseRuleParams
- func (o *DeleteTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTCPResponseRuleReader
- type GetTCPResponseRuleDefault
- func (o *GetTCPResponseRuleDefault) Code() int
- func (o *GetTCPResponseRuleDefault) Error() string
- func (o *GetTCPResponseRuleDefault) GetPayload() *models.Error
- func (o *GetTCPResponseRuleDefault) IsClientError() bool
- func (o *GetTCPResponseRuleDefault) IsCode(code int) bool
- func (o *GetTCPResponseRuleDefault) IsRedirect() bool
- func (o *GetTCPResponseRuleDefault) IsServerError() bool
- func (o *GetTCPResponseRuleDefault) IsSuccess() bool
- func (o *GetTCPResponseRuleDefault) String() string
- type GetTCPResponseRuleNotFound
- func (o *GetTCPResponseRuleNotFound) Code() int
- func (o *GetTCPResponseRuleNotFound) Error() string
- func (o *GetTCPResponseRuleNotFound) GetPayload() *models.Error
- func (o *GetTCPResponseRuleNotFound) IsClientError() bool
- func (o *GetTCPResponseRuleNotFound) IsCode(code int) bool
- func (o *GetTCPResponseRuleNotFound) IsRedirect() bool
- func (o *GetTCPResponseRuleNotFound) IsServerError() bool
- func (o *GetTCPResponseRuleNotFound) IsSuccess() bool
- func (o *GetTCPResponseRuleNotFound) String() string
- type GetTCPResponseRuleOK
- func (o *GetTCPResponseRuleOK) Code() int
- func (o *GetTCPResponseRuleOK) Error() string
- func (o *GetTCPResponseRuleOK) GetPayload() *GetTCPResponseRuleOKBody
- func (o *GetTCPResponseRuleOK) IsClientError() bool
- func (o *GetTCPResponseRuleOK) IsCode(code int) bool
- func (o *GetTCPResponseRuleOK) IsRedirect() bool
- func (o *GetTCPResponseRuleOK) IsServerError() bool
- func (o *GetTCPResponseRuleOK) IsSuccess() bool
- func (o *GetTCPResponseRuleOK) String() string
- type GetTCPResponseRuleOKBody
- func (o *GetTCPResponseRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetTCPResponseRuleOKBody) MarshalBinary() ([]byte, error)
- func (o *GetTCPResponseRuleOKBody) UnmarshalBinary(b []byte) error
- func (o *GetTCPResponseRuleOKBody) Validate(formats strfmt.Registry) error
- type GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParams() *GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParamsWithContext(ctx context.Context) *GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParamsWithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
- func NewGetTCPResponseRuleParamsWithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) SetBackend(backend string)
- func (o *GetTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *GetTCPResponseRuleParams) SetDefaults()
- func (o *GetTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPResponseRuleParams) SetIndex(index int64)
- func (o *GetTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *GetTCPResponseRuleParams) WithBackend(backend string) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithContext(ctx context.Context) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithDefaults() *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithIndex(index int64) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WithTransactionID(transactionID *string) *GetTCPResponseRuleParams
- func (o *GetTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPResponseRuleReader
- type GetTCPResponseRulesDefault
- func (o *GetTCPResponseRulesDefault) Code() int
- func (o *GetTCPResponseRulesDefault) Error() string
- func (o *GetTCPResponseRulesDefault) GetPayload() *models.Error
- func (o *GetTCPResponseRulesDefault) IsClientError() bool
- func (o *GetTCPResponseRulesDefault) IsCode(code int) bool
- func (o *GetTCPResponseRulesDefault) IsRedirect() bool
- func (o *GetTCPResponseRulesDefault) IsServerError() bool
- func (o *GetTCPResponseRulesDefault) IsSuccess() bool
- func (o *GetTCPResponseRulesDefault) String() string
- type GetTCPResponseRulesOK
- func (o *GetTCPResponseRulesOK) Code() int
- func (o *GetTCPResponseRulesOK) Error() string
- func (o *GetTCPResponseRulesOK) GetPayload() *GetTCPResponseRulesOKBody
- func (o *GetTCPResponseRulesOK) IsClientError() bool
- func (o *GetTCPResponseRulesOK) IsCode(code int) bool
- func (o *GetTCPResponseRulesOK) IsRedirect() bool
- func (o *GetTCPResponseRulesOK) IsServerError() bool
- func (o *GetTCPResponseRulesOK) IsSuccess() bool
- func (o *GetTCPResponseRulesOK) String() string
- type GetTCPResponseRulesOKBody
- func (o *GetTCPResponseRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetTCPResponseRulesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetTCPResponseRulesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetTCPResponseRulesOKBody) Validate(formats strfmt.Registry) error
- type GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParams() *GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParamsWithContext(ctx context.Context) *GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParamsWithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
- func NewGetTCPResponseRulesParamsWithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) SetBackend(backend string)
- func (o *GetTCPResponseRulesParams) SetContext(ctx context.Context)
- func (o *GetTCPResponseRulesParams) SetDefaults()
- func (o *GetTCPResponseRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPResponseRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPResponseRulesParams) SetTransactionID(transactionID *string)
- func (o *GetTCPResponseRulesParams) WithBackend(backend string) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithContext(ctx context.Context) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithDefaults() *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WithTransactionID(transactionID *string) *GetTCPResponseRulesParams
- func (o *GetTCPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPResponseRulesReader
- type ReplaceTCPResponseRuleAccepted
- func (o *ReplaceTCPResponseRuleAccepted) Code() int
- func (o *ReplaceTCPResponseRuleAccepted) Error() string
- func (o *ReplaceTCPResponseRuleAccepted) GetPayload() *models.TCPResponseRule
- func (o *ReplaceTCPResponseRuleAccepted) IsClientError() bool
- func (o *ReplaceTCPResponseRuleAccepted) IsCode(code int) bool
- func (o *ReplaceTCPResponseRuleAccepted) IsRedirect() bool
- func (o *ReplaceTCPResponseRuleAccepted) IsServerError() bool
- func (o *ReplaceTCPResponseRuleAccepted) IsSuccess() bool
- func (o *ReplaceTCPResponseRuleAccepted) String() string
- type ReplaceTCPResponseRuleBadRequest
- func (o *ReplaceTCPResponseRuleBadRequest) Code() int
- func (o *ReplaceTCPResponseRuleBadRequest) Error() string
- func (o *ReplaceTCPResponseRuleBadRequest) GetPayload() *models.Error
- func (o *ReplaceTCPResponseRuleBadRequest) IsClientError() bool
- func (o *ReplaceTCPResponseRuleBadRequest) IsCode(code int) bool
- func (o *ReplaceTCPResponseRuleBadRequest) IsRedirect() bool
- func (o *ReplaceTCPResponseRuleBadRequest) IsServerError() bool
- func (o *ReplaceTCPResponseRuleBadRequest) IsSuccess() bool
- func (o *ReplaceTCPResponseRuleBadRequest) String() string
- type ReplaceTCPResponseRuleDefault
- func (o *ReplaceTCPResponseRuleDefault) Code() int
- func (o *ReplaceTCPResponseRuleDefault) Error() string
- func (o *ReplaceTCPResponseRuleDefault) GetPayload() *models.Error
- func (o *ReplaceTCPResponseRuleDefault) IsClientError() bool
- func (o *ReplaceTCPResponseRuleDefault) IsCode(code int) bool
- func (o *ReplaceTCPResponseRuleDefault) IsRedirect() bool
- func (o *ReplaceTCPResponseRuleDefault) IsServerError() bool
- func (o *ReplaceTCPResponseRuleDefault) IsSuccess() bool
- func (o *ReplaceTCPResponseRuleDefault) String() string
- type ReplaceTCPResponseRuleNotFound
- func (o *ReplaceTCPResponseRuleNotFound) Code() int
- func (o *ReplaceTCPResponseRuleNotFound) Error() string
- func (o *ReplaceTCPResponseRuleNotFound) GetPayload() *models.Error
- func (o *ReplaceTCPResponseRuleNotFound) IsClientError() bool
- func (o *ReplaceTCPResponseRuleNotFound) IsCode(code int) bool
- func (o *ReplaceTCPResponseRuleNotFound) IsRedirect() bool
- func (o *ReplaceTCPResponseRuleNotFound) IsServerError() bool
- func (o *ReplaceTCPResponseRuleNotFound) IsSuccess() bool
- func (o *ReplaceTCPResponseRuleNotFound) String() string
- type ReplaceTCPResponseRuleOK
- func (o *ReplaceTCPResponseRuleOK) Code() int
- func (o *ReplaceTCPResponseRuleOK) Error() string
- func (o *ReplaceTCPResponseRuleOK) GetPayload() *models.TCPResponseRule
- func (o *ReplaceTCPResponseRuleOK) IsClientError() bool
- func (o *ReplaceTCPResponseRuleOK) IsCode(code int) bool
- func (o *ReplaceTCPResponseRuleOK) IsRedirect() bool
- func (o *ReplaceTCPResponseRuleOK) IsServerError() bool
- func (o *ReplaceTCPResponseRuleOK) IsSuccess() bool
- func (o *ReplaceTCPResponseRuleOK) String() string
- type ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParams() *ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParamsWithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
- func NewReplaceTCPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) SetBackend(backend string)
- func (o *ReplaceTCPResponseRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
- func (o *ReplaceTCPResponseRuleParams) SetDefaults()
- func (o *ReplaceTCPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceTCPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceTCPResponseRuleParams) SetIndex(index int64)
- func (o *ReplaceTCPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceTCPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceTCPResponseRuleParams) SetVersion(version *int64)
- func (o *ReplaceTCPResponseRuleParams) WithBackend(backend string) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithDefaults() *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithIndex(index int64) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WithVersion(version *int64) *ReplaceTCPResponseRuleParams
- func (o *ReplaceTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceTCPResponseRuleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tcp response rule API
func (*Client) CreateTCPResponseRule ¶
func (a *Client) CreateTCPResponseRule(params *CreateTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTCPResponseRuleCreated, *CreateTCPResponseRuleAccepted, error)
CreateTCPResponseRule adds a new TCP response rule
Adds a new TCP Response Rule of the specified type in the specified backend.
func (*Client) DeleteTCPResponseRule ¶
func (a *Client) DeleteTCPResponseRule(params *DeleteTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTCPResponseRuleAccepted, *DeleteTCPResponseRuleNoContent, error)
DeleteTCPResponseRule deletes a TCP response rule
Deletes a TCP Response Rule configuration by it's index from the specified backend.
func (*Client) GetTCPResponseRule ¶
func (a *Client) GetTCPResponseRule(params *GetTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPResponseRuleOK, error)
GetTCPResponseRule returns one TCP response rule
Returns one TCP Response Rule configuration by it's index in the specified backend.
func (*Client) GetTCPResponseRules ¶
func (a *Client) GetTCPResponseRules(params *GetTCPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPResponseRulesOK, error)
GetTCPResponseRules returns an array of all TCP response rules
Returns all TCP Response Rules that are configured in specified backend.
func (*Client) ReplaceTCPResponseRule ¶
func (a *Client) ReplaceTCPResponseRule(params *ReplaceTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceTCPResponseRuleOK, *ReplaceTCPResponseRuleAccepted, error)
ReplaceTCPResponseRule replaces a TCP response rule
Replaces a TCP Response Rule configuration by it's Index in the specified backend.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateTCPResponseRule(params *CreateTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTCPResponseRuleCreated, *CreateTCPResponseRuleAccepted, error) DeleteTCPResponseRule(params *DeleteTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTCPResponseRuleAccepted, *DeleteTCPResponseRuleNoContent, error) GetTCPResponseRule(params *GetTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPResponseRuleOK, error) GetTCPResponseRules(params *GetTCPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPResponseRulesOK, error) ReplaceTCPResponseRule(params *ReplaceTCPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceTCPResponseRuleOK, *ReplaceTCPResponseRuleAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new tcp response rule API client.
type CreateTCPResponseRuleAccepted ¶
type CreateTCPResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.TCPResponseRule }
CreateTCPResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateTCPResponseRuleAccepted ¶
func NewCreateTCPResponseRuleAccepted() *CreateTCPResponseRuleAccepted
NewCreateTCPResponseRuleAccepted creates a CreateTCPResponseRuleAccepted with default headers values
func (*CreateTCPResponseRuleAccepted) Code ¶ added in v1.1.5
func (o *CreateTCPResponseRuleAccepted) Code() int
Code gets the status code for the create Tcp response rule accepted response
func (*CreateTCPResponseRuleAccepted) Error ¶
func (o *CreateTCPResponseRuleAccepted) Error() string
func (*CreateTCPResponseRuleAccepted) GetPayload ¶
func (o *CreateTCPResponseRuleAccepted) GetPayload() *models.TCPResponseRule
func (*CreateTCPResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this create Tcp response rule accepted response has a 4xx status code
func (*CreateTCPResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *CreateTCPResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this create Tcp response rule accepted response a status code equal to that given
func (*CreateTCPResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this create Tcp response rule accepted response has a 3xx status code
func (*CreateTCPResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this create Tcp response rule accepted response has a 5xx status code
func (*CreateTCPResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this create Tcp response rule accepted response has a 2xx status code
func (*CreateTCPResponseRuleAccepted) String ¶ added in v1.1.0
func (o *CreateTCPResponseRuleAccepted) String() string
type CreateTCPResponseRuleBadRequest ¶
type CreateTCPResponseRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTCPResponseRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateTCPResponseRuleBadRequest ¶
func NewCreateTCPResponseRuleBadRequest() *CreateTCPResponseRuleBadRequest
NewCreateTCPResponseRuleBadRequest creates a CreateTCPResponseRuleBadRequest with default headers values
func (*CreateTCPResponseRuleBadRequest) Code ¶ added in v1.1.5
func (o *CreateTCPResponseRuleBadRequest) Code() int
Code gets the status code for the create Tcp response rule bad request response
func (*CreateTCPResponseRuleBadRequest) Error ¶
func (o *CreateTCPResponseRuleBadRequest) Error() string
func (*CreateTCPResponseRuleBadRequest) GetPayload ¶
func (o *CreateTCPResponseRuleBadRequest) GetPayload() *models.Error
func (*CreateTCPResponseRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleBadRequest) IsClientError() bool
IsClientError returns true when this create Tcp response rule bad request response has a 4xx status code
func (*CreateTCPResponseRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateTCPResponseRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create Tcp response rule bad request response a status code equal to that given
func (*CreateTCPResponseRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPResponseRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create Tcp response rule bad request response has a 3xx status code
func (*CreateTCPResponseRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleBadRequest) IsServerError() bool
IsServerError returns true when this create Tcp response rule bad request response has a 5xx status code
func (*CreateTCPResponseRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPResponseRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create Tcp response rule bad request response has a 2xx status code
func (*CreateTCPResponseRuleBadRequest) String ¶ added in v1.1.0
func (o *CreateTCPResponseRuleBadRequest) String() string
type CreateTCPResponseRuleConflict ¶
type CreateTCPResponseRuleConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTCPResponseRuleConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateTCPResponseRuleConflict ¶
func NewCreateTCPResponseRuleConflict() *CreateTCPResponseRuleConflict
NewCreateTCPResponseRuleConflict creates a CreateTCPResponseRuleConflict with default headers values
func (*CreateTCPResponseRuleConflict) Code ¶ added in v1.1.5
func (o *CreateTCPResponseRuleConflict) Code() int
Code gets the status code for the create Tcp response rule conflict response
func (*CreateTCPResponseRuleConflict) Error ¶
func (o *CreateTCPResponseRuleConflict) Error() string
func (*CreateTCPResponseRuleConflict) GetPayload ¶
func (o *CreateTCPResponseRuleConflict) GetPayload() *models.Error
func (*CreateTCPResponseRuleConflict) IsClientError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleConflict) IsClientError() bool
IsClientError returns true when this create Tcp response rule conflict response has a 4xx status code
func (*CreateTCPResponseRuleConflict) IsCode ¶ added in v1.1.0
func (o *CreateTCPResponseRuleConflict) IsCode(code int) bool
IsCode returns true when this create Tcp response rule conflict response a status code equal to that given
func (*CreateTCPResponseRuleConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPResponseRuleConflict) IsRedirect() bool
IsRedirect returns true when this create Tcp response rule conflict response has a 3xx status code
func (*CreateTCPResponseRuleConflict) IsServerError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleConflict) IsServerError() bool
IsServerError returns true when this create Tcp response rule conflict response has a 5xx status code
func (*CreateTCPResponseRuleConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPResponseRuleConflict) IsSuccess() bool
IsSuccess returns true when this create Tcp response rule conflict response has a 2xx status code
func (*CreateTCPResponseRuleConflict) String ¶ added in v1.1.0
func (o *CreateTCPResponseRuleConflict) String() string
type CreateTCPResponseRuleCreated ¶
type CreateTCPResponseRuleCreated struct {
Payload *models.TCPResponseRule
}
CreateTCPResponseRuleCreated describes a response with status code 201, with default header values.
TCP Response Rule created
func NewCreateTCPResponseRuleCreated ¶
func NewCreateTCPResponseRuleCreated() *CreateTCPResponseRuleCreated
NewCreateTCPResponseRuleCreated creates a CreateTCPResponseRuleCreated with default headers values
func (*CreateTCPResponseRuleCreated) Code ¶ added in v1.1.5
func (o *CreateTCPResponseRuleCreated) Code() int
Code gets the status code for the create Tcp response rule created response
func (*CreateTCPResponseRuleCreated) Error ¶
func (o *CreateTCPResponseRuleCreated) Error() string
func (*CreateTCPResponseRuleCreated) GetPayload ¶
func (o *CreateTCPResponseRuleCreated) GetPayload() *models.TCPResponseRule
func (*CreateTCPResponseRuleCreated) IsClientError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleCreated) IsClientError() bool
IsClientError returns true when this create Tcp response rule created response has a 4xx status code
func (*CreateTCPResponseRuleCreated) IsCode ¶ added in v1.1.0
func (o *CreateTCPResponseRuleCreated) IsCode(code int) bool
IsCode returns true when this create Tcp response rule created response a status code equal to that given
func (*CreateTCPResponseRuleCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPResponseRuleCreated) IsRedirect() bool
IsRedirect returns true when this create Tcp response rule created response has a 3xx status code
func (*CreateTCPResponseRuleCreated) IsServerError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleCreated) IsServerError() bool
IsServerError returns true when this create Tcp response rule created response has a 5xx status code
func (*CreateTCPResponseRuleCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPResponseRuleCreated) IsSuccess() bool
IsSuccess returns true when this create Tcp response rule created response has a 2xx status code
func (*CreateTCPResponseRuleCreated) String ¶ added in v1.1.0
func (o *CreateTCPResponseRuleCreated) String() string
type CreateTCPResponseRuleDefault ¶
type CreateTCPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateTCPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewCreateTCPResponseRuleDefault ¶
func NewCreateTCPResponseRuleDefault(code int) *CreateTCPResponseRuleDefault
NewCreateTCPResponseRuleDefault creates a CreateTCPResponseRuleDefault with default headers values
func (*CreateTCPResponseRuleDefault) Code ¶
func (o *CreateTCPResponseRuleDefault) Code() int
Code gets the status code for the create TCP response rule default response
func (*CreateTCPResponseRuleDefault) Error ¶
func (o *CreateTCPResponseRuleDefault) Error() string
func (*CreateTCPResponseRuleDefault) GetPayload ¶
func (o *CreateTCPResponseRuleDefault) GetPayload() *models.Error
func (*CreateTCPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this create TCP response rule default response has a 4xx status code
func (*CreateTCPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *CreateTCPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this create TCP response rule default response a status code equal to that given
func (*CreateTCPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this create TCP response rule default response has a 3xx status code
func (*CreateTCPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *CreateTCPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this create TCP response rule default response has a 5xx status code
func (*CreateTCPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this create TCP response rule default response has a 2xx status code
func (*CreateTCPResponseRuleDefault) String ¶ added in v1.1.0
func (o *CreateTCPResponseRuleDefault) String() string
type CreateTCPResponseRuleParams ¶
type CreateTCPResponseRuleParams struct { /* Backend. Parent backend name */ Backend string // Data. Data *models.TCPResponseRule /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTCPResponseRuleParams contains all the parameters to send to the API endpoint
for the create TCP response rule operation. Typically these are written to a http.Request.
func NewCreateTCPResponseRuleParams ¶
func NewCreateTCPResponseRuleParams() *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParams creates a new CreateTCPResponseRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateTCPResponseRuleParamsWithContext ¶
func NewCreateTCPResponseRuleParamsWithContext(ctx context.Context) *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParamsWithContext creates a new CreateTCPResponseRuleParams object with the ability to set a context for a request.
func NewCreateTCPResponseRuleParamsWithHTTPClient ¶
func NewCreateTCPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParamsWithHTTPClient creates a new CreateTCPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTCPResponseRuleParamsWithTimeout ¶
func NewCreateTCPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
NewCreateTCPResponseRuleParamsWithTimeout creates a new CreateTCPResponseRuleParams object with the ability to set a timeout on a request.
func (*CreateTCPResponseRuleParams) SetBackend ¶
func (o *CreateTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetContext ¶
func (o *CreateTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetData ¶
func (o *CreateTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
SetData adds the data to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetDefaults ¶
func (o *CreateTCPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the create TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTCPResponseRuleParams) SetForceReload ¶
func (o *CreateTCPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetHTTPClient ¶
func (o *CreateTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetTimeout ¶
func (o *CreateTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetTransactionID ¶
func (o *CreateTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create TCP response rule params
func (*CreateTCPResponseRuleParams) SetVersion ¶
func (o *CreateTCPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithBackend ¶
func (o *CreateTCPResponseRuleParams) WithBackend(backend string) *CreateTCPResponseRuleParams
WithBackend adds the backend to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithContext ¶
func (o *CreateTCPResponseRuleParams) WithContext(ctx context.Context) *CreateTCPResponseRuleParams
WithContext adds the context to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithData ¶
func (o *CreateTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *CreateTCPResponseRuleParams
WithData adds the data to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithDefaults ¶
func (o *CreateTCPResponseRuleParams) WithDefaults() *CreateTCPResponseRuleParams
WithDefaults hydrates default values in the create TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTCPResponseRuleParams) WithForceReload ¶
func (o *CreateTCPResponseRuleParams) WithForceReload(forceReload *bool) *CreateTCPResponseRuleParams
WithForceReload adds the forceReload to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithHTTPClient ¶
func (o *CreateTCPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithTimeout ¶
func (o *CreateTCPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateTCPResponseRuleParams
WithTimeout adds the timeout to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithTransactionID ¶
func (o *CreateTCPResponseRuleParams) WithTransactionID(transactionID *string) *CreateTCPResponseRuleParams
WithTransactionID adds the transactionID to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WithVersion ¶
func (o *CreateTCPResponseRuleParams) WithVersion(version *int64) *CreateTCPResponseRuleParams
WithVersion adds the version to the create TCP response rule params
func (*CreateTCPResponseRuleParams) WriteToRequest ¶
func (o *CreateTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTCPResponseRuleReader ¶
type CreateTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
CreateTCPResponseRuleReader is a Reader for the CreateTCPResponseRule structure.
func (*CreateTCPResponseRuleReader) ReadResponse ¶
func (o *CreateTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTCPResponseRuleAccepted ¶
type DeleteTCPResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteTCPResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteTCPResponseRuleAccepted ¶
func NewDeleteTCPResponseRuleAccepted() *DeleteTCPResponseRuleAccepted
NewDeleteTCPResponseRuleAccepted creates a DeleteTCPResponseRuleAccepted with default headers values
func (*DeleteTCPResponseRuleAccepted) Code ¶ added in v1.1.5
func (o *DeleteTCPResponseRuleAccepted) Code() int
Code gets the status code for the delete Tcp response rule accepted response
func (*DeleteTCPResponseRuleAccepted) Error ¶
func (o *DeleteTCPResponseRuleAccepted) Error() string
func (*DeleteTCPResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this delete Tcp response rule accepted response has a 4xx status code
func (*DeleteTCPResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this delete Tcp response rule accepted response a status code equal to that given
func (*DeleteTCPResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this delete Tcp response rule accepted response has a 3xx status code
func (*DeleteTCPResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this delete Tcp response rule accepted response has a 5xx status code
func (*DeleteTCPResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this delete Tcp response rule accepted response has a 2xx status code
func (*DeleteTCPResponseRuleAccepted) String ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleAccepted) String() string
type DeleteTCPResponseRuleDefault ¶
type DeleteTCPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteTCPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteTCPResponseRuleDefault ¶
func NewDeleteTCPResponseRuleDefault(code int) *DeleteTCPResponseRuleDefault
NewDeleteTCPResponseRuleDefault creates a DeleteTCPResponseRuleDefault with default headers values
func (*DeleteTCPResponseRuleDefault) Code ¶
func (o *DeleteTCPResponseRuleDefault) Code() int
Code gets the status code for the delete TCP response rule default response
func (*DeleteTCPResponseRuleDefault) Error ¶
func (o *DeleteTCPResponseRuleDefault) Error() string
func (*DeleteTCPResponseRuleDefault) GetPayload ¶
func (o *DeleteTCPResponseRuleDefault) GetPayload() *models.Error
func (*DeleteTCPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this delete TCP response rule default response has a 4xx status code
func (*DeleteTCPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this delete TCP response rule default response a status code equal to that given
func (*DeleteTCPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete TCP response rule default response has a 3xx status code
func (*DeleteTCPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this delete TCP response rule default response has a 5xx status code
func (*DeleteTCPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete TCP response rule default response has a 2xx status code
func (*DeleteTCPResponseRuleDefault) String ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleDefault) String() string
type DeleteTCPResponseRuleNoContent ¶
type DeleteTCPResponseRuleNoContent struct { }
DeleteTCPResponseRuleNoContent describes a response with status code 204, with default header values.
TCP Response Rule deleted
func NewDeleteTCPResponseRuleNoContent ¶
func NewDeleteTCPResponseRuleNoContent() *DeleteTCPResponseRuleNoContent
NewDeleteTCPResponseRuleNoContent creates a DeleteTCPResponseRuleNoContent with default headers values
func (*DeleteTCPResponseRuleNoContent) Code ¶ added in v1.1.5
func (o *DeleteTCPResponseRuleNoContent) Code() int
Code gets the status code for the delete Tcp response rule no content response
func (*DeleteTCPResponseRuleNoContent) Error ¶
func (o *DeleteTCPResponseRuleNoContent) Error() string
func (*DeleteTCPResponseRuleNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNoContent) IsClientError() bool
IsClientError returns true when this delete Tcp response rule no content response has a 4xx status code
func (*DeleteTCPResponseRuleNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete Tcp response rule no content response a status code equal to that given
func (*DeleteTCPResponseRuleNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete Tcp response rule no content response has a 3xx status code
func (*DeleteTCPResponseRuleNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNoContent) IsServerError() bool
IsServerError returns true when this delete Tcp response rule no content response has a 5xx status code
func (*DeleteTCPResponseRuleNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete Tcp response rule no content response has a 2xx status code
func (*DeleteTCPResponseRuleNoContent) String ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNoContent) String() string
type DeleteTCPResponseRuleNotFound ¶
type DeleteTCPResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteTCPResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteTCPResponseRuleNotFound ¶
func NewDeleteTCPResponseRuleNotFound() *DeleteTCPResponseRuleNotFound
NewDeleteTCPResponseRuleNotFound creates a DeleteTCPResponseRuleNotFound with default headers values
func (*DeleteTCPResponseRuleNotFound) Code ¶ added in v1.1.5
func (o *DeleteTCPResponseRuleNotFound) Code() int
Code gets the status code for the delete Tcp response rule not found response
func (*DeleteTCPResponseRuleNotFound) Error ¶
func (o *DeleteTCPResponseRuleNotFound) Error() string
func (*DeleteTCPResponseRuleNotFound) GetPayload ¶
func (o *DeleteTCPResponseRuleNotFound) GetPayload() *models.Error
func (*DeleteTCPResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this delete Tcp response rule not found response has a 4xx status code
func (*DeleteTCPResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete Tcp response rule not found response a status code equal to that given
func (*DeleteTCPResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete Tcp response rule not found response has a 3xx status code
func (*DeleteTCPResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this delete Tcp response rule not found response has a 5xx status code
func (*DeleteTCPResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete Tcp response rule not found response has a 2xx status code
func (*DeleteTCPResponseRuleNotFound) String ¶ added in v1.1.0
func (o *DeleteTCPResponseRuleNotFound) String() string
type DeleteTCPResponseRuleParams ¶
type DeleteTCPResponseRuleParams struct { /* Backend. Parent backend name */ Backend string /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Index. TCP Response Rule Index */ Index int64 /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTCPResponseRuleParams contains all the parameters to send to the API endpoint
for the delete TCP response rule operation. Typically these are written to a http.Request.
func NewDeleteTCPResponseRuleParams ¶
func NewDeleteTCPResponseRuleParams() *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParams creates a new DeleteTCPResponseRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteTCPResponseRuleParamsWithContext ¶
func NewDeleteTCPResponseRuleParamsWithContext(ctx context.Context) *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParamsWithContext creates a new DeleteTCPResponseRuleParams object with the ability to set a context for a request.
func NewDeleteTCPResponseRuleParamsWithHTTPClient ¶
func NewDeleteTCPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParamsWithHTTPClient creates a new DeleteTCPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTCPResponseRuleParamsWithTimeout ¶
func NewDeleteTCPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
NewDeleteTCPResponseRuleParamsWithTimeout creates a new DeleteTCPResponseRuleParams object with the ability to set a timeout on a request.
func (*DeleteTCPResponseRuleParams) SetBackend ¶
func (o *DeleteTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetContext ¶
func (o *DeleteTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetDefaults ¶
func (o *DeleteTCPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTCPResponseRuleParams) SetForceReload ¶
func (o *DeleteTCPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetHTTPClient ¶
func (o *DeleteTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetIndex ¶
func (o *DeleteTCPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetTimeout ¶
func (o *DeleteTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetTransactionID ¶
func (o *DeleteTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) SetVersion ¶
func (o *DeleteTCPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithBackend ¶
func (o *DeleteTCPResponseRuleParams) WithBackend(backend string) *DeleteTCPResponseRuleParams
WithBackend adds the backend to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithContext ¶
func (o *DeleteTCPResponseRuleParams) WithContext(ctx context.Context) *DeleteTCPResponseRuleParams
WithContext adds the context to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithDefaults ¶
func (o *DeleteTCPResponseRuleParams) WithDefaults() *DeleteTCPResponseRuleParams
WithDefaults hydrates default values in the delete TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTCPResponseRuleParams) WithForceReload ¶
func (o *DeleteTCPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteTCPResponseRuleParams
WithForceReload adds the forceReload to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithHTTPClient ¶
func (o *DeleteTCPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithIndex ¶
func (o *DeleteTCPResponseRuleParams) WithIndex(index int64) *DeleteTCPResponseRuleParams
WithIndex adds the index to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithTimeout ¶
func (o *DeleteTCPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteTCPResponseRuleParams
WithTimeout adds the timeout to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithTransactionID ¶
func (o *DeleteTCPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteTCPResponseRuleParams
WithTransactionID adds the transactionID to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WithVersion ¶
func (o *DeleteTCPResponseRuleParams) WithVersion(version *int64) *DeleteTCPResponseRuleParams
WithVersion adds the version to the delete TCP response rule params
func (*DeleteTCPResponseRuleParams) WriteToRequest ¶
func (o *DeleteTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTCPResponseRuleReader ¶
type DeleteTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
DeleteTCPResponseRuleReader is a Reader for the DeleteTCPResponseRule structure.
func (*DeleteTCPResponseRuleReader) ReadResponse ¶
func (o *DeleteTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPResponseRuleDefault ¶
type GetTCPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTCPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewGetTCPResponseRuleDefault ¶
func NewGetTCPResponseRuleDefault(code int) *GetTCPResponseRuleDefault
NewGetTCPResponseRuleDefault creates a GetTCPResponseRuleDefault with default headers values
func (*GetTCPResponseRuleDefault) Code ¶
func (o *GetTCPResponseRuleDefault) Code() int
Code gets the status code for the get TCP response rule default response
func (*GetTCPResponseRuleDefault) Error ¶
func (o *GetTCPResponseRuleDefault) Error() string
func (*GetTCPResponseRuleDefault) GetPayload ¶
func (o *GetTCPResponseRuleDefault) GetPayload() *models.Error
func (*GetTCPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *GetTCPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this get TCP response rule default response has a 4xx status code
func (*GetTCPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *GetTCPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this get TCP response rule default response a status code equal to that given
func (*GetTCPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *GetTCPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this get TCP response rule default response has a 3xx status code
func (*GetTCPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *GetTCPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this get TCP response rule default response has a 5xx status code
func (*GetTCPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *GetTCPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this get TCP response rule default response has a 2xx status code
func (*GetTCPResponseRuleDefault) String ¶ added in v1.1.0
func (o *GetTCPResponseRuleDefault) String() string
type GetTCPResponseRuleNotFound ¶
type GetTCPResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetTCPResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetTCPResponseRuleNotFound ¶
func NewGetTCPResponseRuleNotFound() *GetTCPResponseRuleNotFound
NewGetTCPResponseRuleNotFound creates a GetTCPResponseRuleNotFound with default headers values
func (*GetTCPResponseRuleNotFound) Code ¶ added in v1.1.5
func (o *GetTCPResponseRuleNotFound) Code() int
Code gets the status code for the get Tcp response rule not found response
func (*GetTCPResponseRuleNotFound) Error ¶
func (o *GetTCPResponseRuleNotFound) Error() string
func (*GetTCPResponseRuleNotFound) GetPayload ¶
func (o *GetTCPResponseRuleNotFound) GetPayload() *models.Error
func (*GetTCPResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *GetTCPResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this get Tcp response rule not found response has a 4xx status code
func (*GetTCPResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *GetTCPResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this get Tcp response rule not found response a status code equal to that given
func (*GetTCPResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetTCPResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get Tcp response rule not found response has a 3xx status code
func (*GetTCPResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *GetTCPResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this get Tcp response rule not found response has a 5xx status code
func (*GetTCPResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetTCPResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get Tcp response rule not found response has a 2xx status code
func (*GetTCPResponseRuleNotFound) String ¶ added in v1.1.0
func (o *GetTCPResponseRuleNotFound) String() string
type GetTCPResponseRuleOK ¶
type GetTCPResponseRuleOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetTCPResponseRuleOKBody }
GetTCPResponseRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewGetTCPResponseRuleOK ¶
func NewGetTCPResponseRuleOK() *GetTCPResponseRuleOK
NewGetTCPResponseRuleOK creates a GetTCPResponseRuleOK with default headers values
func (*GetTCPResponseRuleOK) Code ¶ added in v1.1.5
func (o *GetTCPResponseRuleOK) Code() int
Code gets the status code for the get Tcp response rule o k response
func (*GetTCPResponseRuleOK) Error ¶
func (o *GetTCPResponseRuleOK) Error() string
func (*GetTCPResponseRuleOK) GetPayload ¶
func (o *GetTCPResponseRuleOK) GetPayload() *GetTCPResponseRuleOKBody
func (*GetTCPResponseRuleOK) IsClientError ¶ added in v1.1.0
func (o *GetTCPResponseRuleOK) IsClientError() bool
IsClientError returns true when this get Tcp response rule o k response has a 4xx status code
func (*GetTCPResponseRuleOK) IsCode ¶ added in v1.1.0
func (o *GetTCPResponseRuleOK) IsCode(code int) bool
IsCode returns true when this get Tcp response rule o k response a status code equal to that given
func (*GetTCPResponseRuleOK) IsRedirect ¶ added in v1.1.0
func (o *GetTCPResponseRuleOK) IsRedirect() bool
IsRedirect returns true when this get Tcp response rule o k response has a 3xx status code
func (*GetTCPResponseRuleOK) IsServerError ¶ added in v1.1.0
func (o *GetTCPResponseRuleOK) IsServerError() bool
IsServerError returns true when this get Tcp response rule o k response has a 5xx status code
func (*GetTCPResponseRuleOK) IsSuccess ¶ added in v1.1.0
func (o *GetTCPResponseRuleOK) IsSuccess() bool
IsSuccess returns true when this get Tcp response rule o k response has a 2xx status code
func (*GetTCPResponseRuleOK) String ¶ added in v1.1.0
func (o *GetTCPResponseRuleOK) String() string
type GetTCPResponseRuleOKBody ¶
type GetTCPResponseRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.TCPResponseRule `json:"data,omitempty"` }
GetTCPResponseRuleOKBody get TCP response rule o k body swagger:model GetTCPResponseRuleOKBody
func (*GetTCPResponseRuleOKBody) ContextValidate ¶
func (o *GetTCPResponseRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get TCP response rule o k body based on the context it is used
func (*GetTCPResponseRuleOKBody) MarshalBinary ¶
func (o *GetTCPResponseRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPResponseRuleOKBody) UnmarshalBinary ¶
func (o *GetTCPResponseRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPResponseRuleParams ¶
type GetTCPResponseRuleParams struct { /* Backend. Parent backend name */ Backend string /* Index. TCP Response Rule Index */ Index int64 /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTCPResponseRuleParams contains all the parameters to send to the API endpoint
for the get TCP response rule operation. Typically these are written to a http.Request.
func NewGetTCPResponseRuleParams ¶
func NewGetTCPResponseRuleParams() *GetTCPResponseRuleParams
NewGetTCPResponseRuleParams creates a new GetTCPResponseRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTCPResponseRuleParamsWithContext ¶
func NewGetTCPResponseRuleParamsWithContext(ctx context.Context) *GetTCPResponseRuleParams
NewGetTCPResponseRuleParamsWithContext creates a new GetTCPResponseRuleParams object with the ability to set a context for a request.
func NewGetTCPResponseRuleParamsWithHTTPClient ¶
func NewGetTCPResponseRuleParamsWithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
NewGetTCPResponseRuleParamsWithHTTPClient creates a new GetTCPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetTCPResponseRuleParamsWithTimeout ¶
func NewGetTCPResponseRuleParamsWithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
NewGetTCPResponseRuleParamsWithTimeout creates a new GetTCPResponseRuleParams object with the ability to set a timeout on a request.
func (*GetTCPResponseRuleParams) SetBackend ¶
func (o *GetTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetContext ¶
func (o *GetTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetDefaults ¶
func (o *GetTCPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the get TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPResponseRuleParams) SetHTTPClient ¶
func (o *GetTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetIndex ¶
func (o *GetTCPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetTimeout ¶
func (o *GetTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP response rule params
func (*GetTCPResponseRuleParams) SetTransactionID ¶
func (o *GetTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithBackend ¶
func (o *GetTCPResponseRuleParams) WithBackend(backend string) *GetTCPResponseRuleParams
WithBackend adds the backend to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithContext ¶
func (o *GetTCPResponseRuleParams) WithContext(ctx context.Context) *GetTCPResponseRuleParams
WithContext adds the context to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithDefaults ¶
func (o *GetTCPResponseRuleParams) WithDefaults() *GetTCPResponseRuleParams
WithDefaults hydrates default values in the get TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPResponseRuleParams) WithHTTPClient ¶
func (o *GetTCPResponseRuleParams) WithHTTPClient(client *http.Client) *GetTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithIndex ¶
func (o *GetTCPResponseRuleParams) WithIndex(index int64) *GetTCPResponseRuleParams
WithIndex adds the index to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithTimeout ¶
func (o *GetTCPResponseRuleParams) WithTimeout(timeout time.Duration) *GetTCPResponseRuleParams
WithTimeout adds the timeout to the get TCP response rule params
func (*GetTCPResponseRuleParams) WithTransactionID ¶
func (o *GetTCPResponseRuleParams) WithTransactionID(transactionID *string) *GetTCPResponseRuleParams
WithTransactionID adds the transactionID to the get TCP response rule params
func (*GetTCPResponseRuleParams) WriteToRequest ¶
func (o *GetTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPResponseRuleReader ¶
type GetTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
GetTCPResponseRuleReader is a Reader for the GetTCPResponseRule structure.
func (*GetTCPResponseRuleReader) ReadResponse ¶
func (o *GetTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPResponseRulesDefault ¶
type GetTCPResponseRulesDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTCPResponseRulesDefault describes a response with status code -1, with default header values.
General Error
func NewGetTCPResponseRulesDefault ¶
func NewGetTCPResponseRulesDefault(code int) *GetTCPResponseRulesDefault
NewGetTCPResponseRulesDefault creates a GetTCPResponseRulesDefault with default headers values
func (*GetTCPResponseRulesDefault) Code ¶
func (o *GetTCPResponseRulesDefault) Code() int
Code gets the status code for the get TCP response rules default response
func (*GetTCPResponseRulesDefault) Error ¶
func (o *GetTCPResponseRulesDefault) Error() string
func (*GetTCPResponseRulesDefault) GetPayload ¶
func (o *GetTCPResponseRulesDefault) GetPayload() *models.Error
func (*GetTCPResponseRulesDefault) IsClientError ¶ added in v1.1.0
func (o *GetTCPResponseRulesDefault) IsClientError() bool
IsClientError returns true when this get TCP response rules default response has a 4xx status code
func (*GetTCPResponseRulesDefault) IsCode ¶ added in v1.1.0
func (o *GetTCPResponseRulesDefault) IsCode(code int) bool
IsCode returns true when this get TCP response rules default response a status code equal to that given
func (*GetTCPResponseRulesDefault) IsRedirect ¶ added in v1.1.0
func (o *GetTCPResponseRulesDefault) IsRedirect() bool
IsRedirect returns true when this get TCP response rules default response has a 3xx status code
func (*GetTCPResponseRulesDefault) IsServerError ¶ added in v1.1.0
func (o *GetTCPResponseRulesDefault) IsServerError() bool
IsServerError returns true when this get TCP response rules default response has a 5xx status code
func (*GetTCPResponseRulesDefault) IsSuccess ¶ added in v1.1.0
func (o *GetTCPResponseRulesDefault) IsSuccess() bool
IsSuccess returns true when this get TCP response rules default response has a 2xx status code
func (*GetTCPResponseRulesDefault) String ¶ added in v1.1.0
func (o *GetTCPResponseRulesDefault) String() string
type GetTCPResponseRulesOK ¶
type GetTCPResponseRulesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetTCPResponseRulesOKBody }
GetTCPResponseRulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetTCPResponseRulesOK ¶
func NewGetTCPResponseRulesOK() *GetTCPResponseRulesOK
NewGetTCPResponseRulesOK creates a GetTCPResponseRulesOK with default headers values
func (*GetTCPResponseRulesOK) Code ¶ added in v1.1.5
func (o *GetTCPResponseRulesOK) Code() int
Code gets the status code for the get Tcp response rules o k response
func (*GetTCPResponseRulesOK) Error ¶
func (o *GetTCPResponseRulesOK) Error() string
func (*GetTCPResponseRulesOK) GetPayload ¶
func (o *GetTCPResponseRulesOK) GetPayload() *GetTCPResponseRulesOKBody
func (*GetTCPResponseRulesOK) IsClientError ¶ added in v1.1.0
func (o *GetTCPResponseRulesOK) IsClientError() bool
IsClientError returns true when this get Tcp response rules o k response has a 4xx status code
func (*GetTCPResponseRulesOK) IsCode ¶ added in v1.1.0
func (o *GetTCPResponseRulesOK) IsCode(code int) bool
IsCode returns true when this get Tcp response rules o k response a status code equal to that given
func (*GetTCPResponseRulesOK) IsRedirect ¶ added in v1.1.0
func (o *GetTCPResponseRulesOK) IsRedirect() bool
IsRedirect returns true when this get Tcp response rules o k response has a 3xx status code
func (*GetTCPResponseRulesOK) IsServerError ¶ added in v1.1.0
func (o *GetTCPResponseRulesOK) IsServerError() bool
IsServerError returns true when this get Tcp response rules o k response has a 5xx status code
func (*GetTCPResponseRulesOK) IsSuccess ¶ added in v1.1.0
func (o *GetTCPResponseRulesOK) IsSuccess() bool
IsSuccess returns true when this get Tcp response rules o k response has a 2xx status code
func (*GetTCPResponseRulesOK) String ¶ added in v1.1.0
func (o *GetTCPResponseRulesOK) String() string
type GetTCPResponseRulesOKBody ¶
type GetTCPResponseRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.TCPResponseRules `json:"data"` }
GetTCPResponseRulesOKBody get TCP response rules o k body swagger:model GetTCPResponseRulesOKBody
func (*GetTCPResponseRulesOKBody) ContextValidate ¶
func (o *GetTCPResponseRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get TCP response rules o k body based on the context it is used
func (*GetTCPResponseRulesOKBody) MarshalBinary ¶
func (o *GetTCPResponseRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPResponseRulesOKBody) UnmarshalBinary ¶
func (o *GetTCPResponseRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPResponseRulesParams ¶
type GetTCPResponseRulesParams struct { /* Backend. Parent backend name */ Backend string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTCPResponseRulesParams contains all the parameters to send to the API endpoint
for the get TCP response rules operation. Typically these are written to a http.Request.
func NewGetTCPResponseRulesParams ¶
func NewGetTCPResponseRulesParams() *GetTCPResponseRulesParams
NewGetTCPResponseRulesParams creates a new GetTCPResponseRulesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTCPResponseRulesParamsWithContext ¶
func NewGetTCPResponseRulesParamsWithContext(ctx context.Context) *GetTCPResponseRulesParams
NewGetTCPResponseRulesParamsWithContext creates a new GetTCPResponseRulesParams object with the ability to set a context for a request.
func NewGetTCPResponseRulesParamsWithHTTPClient ¶
func NewGetTCPResponseRulesParamsWithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
NewGetTCPResponseRulesParamsWithHTTPClient creates a new GetTCPResponseRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTCPResponseRulesParamsWithTimeout ¶
func NewGetTCPResponseRulesParamsWithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
NewGetTCPResponseRulesParamsWithTimeout creates a new GetTCPResponseRulesParams object with the ability to set a timeout on a request.
func (*GetTCPResponseRulesParams) SetBackend ¶
func (o *GetTCPResponseRulesParams) SetBackend(backend string)
SetBackend adds the backend to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetContext ¶
func (o *GetTCPResponseRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetDefaults ¶
func (o *GetTCPResponseRulesParams) SetDefaults()
SetDefaults hydrates default values in the get TCP response rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPResponseRulesParams) SetHTTPClient ¶
func (o *GetTCPResponseRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetTimeout ¶
func (o *GetTCPResponseRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP response rules params
func (*GetTCPResponseRulesParams) SetTransactionID ¶
func (o *GetTCPResponseRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithBackend ¶
func (o *GetTCPResponseRulesParams) WithBackend(backend string) *GetTCPResponseRulesParams
WithBackend adds the backend to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithContext ¶
func (o *GetTCPResponseRulesParams) WithContext(ctx context.Context) *GetTCPResponseRulesParams
WithContext adds the context to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithDefaults ¶
func (o *GetTCPResponseRulesParams) WithDefaults() *GetTCPResponseRulesParams
WithDefaults hydrates default values in the get TCP response rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPResponseRulesParams) WithHTTPClient ¶
func (o *GetTCPResponseRulesParams) WithHTTPClient(client *http.Client) *GetTCPResponseRulesParams
WithHTTPClient adds the HTTPClient to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithTimeout ¶
func (o *GetTCPResponseRulesParams) WithTimeout(timeout time.Duration) *GetTCPResponseRulesParams
WithTimeout adds the timeout to the get TCP response rules params
func (*GetTCPResponseRulesParams) WithTransactionID ¶
func (o *GetTCPResponseRulesParams) WithTransactionID(transactionID *string) *GetTCPResponseRulesParams
WithTransactionID adds the transactionID to the get TCP response rules params
func (*GetTCPResponseRulesParams) WriteToRequest ¶
func (o *GetTCPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPResponseRulesReader ¶
type GetTCPResponseRulesReader struct {
// contains filtered or unexported fields
}
GetTCPResponseRulesReader is a Reader for the GetTCPResponseRules structure.
func (*GetTCPResponseRulesReader) ReadResponse ¶
func (o *GetTCPResponseRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceTCPResponseRuleAccepted ¶
type ReplaceTCPResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.TCPResponseRule }
ReplaceTCPResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceTCPResponseRuleAccepted ¶
func NewReplaceTCPResponseRuleAccepted() *ReplaceTCPResponseRuleAccepted
NewReplaceTCPResponseRuleAccepted creates a ReplaceTCPResponseRuleAccepted with default headers values
func (*ReplaceTCPResponseRuleAccepted) Code ¶ added in v1.1.5
func (o *ReplaceTCPResponseRuleAccepted) Code() int
Code gets the status code for the replace Tcp response rule accepted response
func (*ReplaceTCPResponseRuleAccepted) Error ¶
func (o *ReplaceTCPResponseRuleAccepted) Error() string
func (*ReplaceTCPResponseRuleAccepted) GetPayload ¶
func (o *ReplaceTCPResponseRuleAccepted) GetPayload() *models.TCPResponseRule
func (*ReplaceTCPResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this replace Tcp response rule accepted response has a 4xx status code
func (*ReplaceTCPResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this replace Tcp response rule accepted response a status code equal to that given
func (*ReplaceTCPResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this replace Tcp response rule accepted response has a 3xx status code
func (*ReplaceTCPResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this replace Tcp response rule accepted response has a 5xx status code
func (*ReplaceTCPResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this replace Tcp response rule accepted response has a 2xx status code
func (*ReplaceTCPResponseRuleAccepted) String ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleAccepted) String() string
type ReplaceTCPResponseRuleBadRequest ¶
type ReplaceTCPResponseRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTCPResponseRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceTCPResponseRuleBadRequest ¶
func NewReplaceTCPResponseRuleBadRequest() *ReplaceTCPResponseRuleBadRequest
NewReplaceTCPResponseRuleBadRequest creates a ReplaceTCPResponseRuleBadRequest with default headers values
func (*ReplaceTCPResponseRuleBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceTCPResponseRuleBadRequest) Code() int
Code gets the status code for the replace Tcp response rule bad request response
func (*ReplaceTCPResponseRuleBadRequest) Error ¶
func (o *ReplaceTCPResponseRuleBadRequest) Error() string
func (*ReplaceTCPResponseRuleBadRequest) GetPayload ¶
func (o *ReplaceTCPResponseRuleBadRequest) GetPayload() *models.Error
func (*ReplaceTCPResponseRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleBadRequest) IsClientError() bool
IsClientError returns true when this replace Tcp response rule bad request response has a 4xx status code
func (*ReplaceTCPResponseRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleBadRequest) IsCode(code int) bool
IsCode returns true when this replace Tcp response rule bad request response a status code equal to that given
func (*ReplaceTCPResponseRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Tcp response rule bad request response has a 3xx status code
func (*ReplaceTCPResponseRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleBadRequest) IsServerError() bool
IsServerError returns true when this replace Tcp response rule bad request response has a 5xx status code
func (*ReplaceTCPResponseRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Tcp response rule bad request response has a 2xx status code
func (*ReplaceTCPResponseRuleBadRequest) String ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleBadRequest) String() string
type ReplaceTCPResponseRuleDefault ¶
type ReplaceTCPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceTCPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceTCPResponseRuleDefault ¶
func NewReplaceTCPResponseRuleDefault(code int) *ReplaceTCPResponseRuleDefault
NewReplaceTCPResponseRuleDefault creates a ReplaceTCPResponseRuleDefault with default headers values
func (*ReplaceTCPResponseRuleDefault) Code ¶
func (o *ReplaceTCPResponseRuleDefault) Code() int
Code gets the status code for the replace TCP response rule default response
func (*ReplaceTCPResponseRuleDefault) Error ¶
func (o *ReplaceTCPResponseRuleDefault) Error() string
func (*ReplaceTCPResponseRuleDefault) GetPayload ¶
func (o *ReplaceTCPResponseRuleDefault) GetPayload() *models.Error
func (*ReplaceTCPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this replace TCP response rule default response has a 4xx status code
func (*ReplaceTCPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this replace TCP response rule default response a status code equal to that given
func (*ReplaceTCPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this replace TCP response rule default response has a 3xx status code
func (*ReplaceTCPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this replace TCP response rule default response has a 5xx status code
func (*ReplaceTCPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this replace TCP response rule default response has a 2xx status code
func (*ReplaceTCPResponseRuleDefault) String ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleDefault) String() string
type ReplaceTCPResponseRuleNotFound ¶
type ReplaceTCPResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTCPResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceTCPResponseRuleNotFound ¶
func NewReplaceTCPResponseRuleNotFound() *ReplaceTCPResponseRuleNotFound
NewReplaceTCPResponseRuleNotFound creates a ReplaceTCPResponseRuleNotFound with default headers values
func (*ReplaceTCPResponseRuleNotFound) Code ¶ added in v1.1.5
func (o *ReplaceTCPResponseRuleNotFound) Code() int
Code gets the status code for the replace Tcp response rule not found response
func (*ReplaceTCPResponseRuleNotFound) Error ¶
func (o *ReplaceTCPResponseRuleNotFound) Error() string
func (*ReplaceTCPResponseRuleNotFound) GetPayload ¶
func (o *ReplaceTCPResponseRuleNotFound) GetPayload() *models.Error
func (*ReplaceTCPResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this replace Tcp response rule not found response has a 4xx status code
func (*ReplaceTCPResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this replace Tcp response rule not found response a status code equal to that given
func (*ReplaceTCPResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this replace Tcp response rule not found response has a 3xx status code
func (*ReplaceTCPResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this replace Tcp response rule not found response has a 5xx status code
func (*ReplaceTCPResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this replace Tcp response rule not found response has a 2xx status code
func (*ReplaceTCPResponseRuleNotFound) String ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleNotFound) String() string
type ReplaceTCPResponseRuleOK ¶
type ReplaceTCPResponseRuleOK struct {
Payload *models.TCPResponseRule
}
ReplaceTCPResponseRuleOK describes a response with status code 200, with default header values.
TCP Response Rule replaced
func NewReplaceTCPResponseRuleOK ¶
func NewReplaceTCPResponseRuleOK() *ReplaceTCPResponseRuleOK
NewReplaceTCPResponseRuleOK creates a ReplaceTCPResponseRuleOK with default headers values
func (*ReplaceTCPResponseRuleOK) Code ¶ added in v1.1.5
func (o *ReplaceTCPResponseRuleOK) Code() int
Code gets the status code for the replace Tcp response rule o k response
func (*ReplaceTCPResponseRuleOK) Error ¶
func (o *ReplaceTCPResponseRuleOK) Error() string
func (*ReplaceTCPResponseRuleOK) GetPayload ¶
func (o *ReplaceTCPResponseRuleOK) GetPayload() *models.TCPResponseRule
func (*ReplaceTCPResponseRuleOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleOK) IsClientError() bool
IsClientError returns true when this replace Tcp response rule o k response has a 4xx status code
func (*ReplaceTCPResponseRuleOK) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleOK) IsCode(code int) bool
IsCode returns true when this replace Tcp response rule o k response a status code equal to that given
func (*ReplaceTCPResponseRuleOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleOK) IsRedirect() bool
IsRedirect returns true when this replace Tcp response rule o k response has a 3xx status code
func (*ReplaceTCPResponseRuleOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleOK) IsServerError() bool
IsServerError returns true when this replace Tcp response rule o k response has a 5xx status code
func (*ReplaceTCPResponseRuleOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleOK) IsSuccess() bool
IsSuccess returns true when this replace Tcp response rule o k response has a 2xx status code
func (*ReplaceTCPResponseRuleOK) String ¶ added in v1.1.0
func (o *ReplaceTCPResponseRuleOK) String() string
type ReplaceTCPResponseRuleParams ¶
type ReplaceTCPResponseRuleParams struct { /* Backend. Parent backend name */ Backend string // Data. Data *models.TCPResponseRule /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Index. TCP Response Rule Index */ Index int64 /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceTCPResponseRuleParams contains all the parameters to send to the API endpoint
for the replace TCP response rule operation. Typically these are written to a http.Request.
func NewReplaceTCPResponseRuleParams ¶
func NewReplaceTCPResponseRuleParams() *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParams creates a new ReplaceTCPResponseRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReplaceTCPResponseRuleParamsWithContext ¶
func NewReplaceTCPResponseRuleParamsWithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParamsWithContext creates a new ReplaceTCPResponseRuleParams object with the ability to set a context for a request.
func NewReplaceTCPResponseRuleParamsWithHTTPClient ¶
func NewReplaceTCPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParamsWithHTTPClient creates a new ReplaceTCPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceTCPResponseRuleParamsWithTimeout ¶
func NewReplaceTCPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
NewReplaceTCPResponseRuleParamsWithTimeout creates a new ReplaceTCPResponseRuleParams object with the ability to set a timeout on a request.
func (*ReplaceTCPResponseRuleParams) SetBackend ¶
func (o *ReplaceTCPResponseRuleParams) SetBackend(backend string)
SetBackend adds the backend to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetContext ¶
func (o *ReplaceTCPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetData ¶
func (o *ReplaceTCPResponseRuleParams) SetData(data *models.TCPResponseRule)
SetData adds the data to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetDefaults ¶
func (o *ReplaceTCPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the replace TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceTCPResponseRuleParams) SetForceReload ¶
func (o *ReplaceTCPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetHTTPClient ¶
func (o *ReplaceTCPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetIndex ¶
func (o *ReplaceTCPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetTimeout ¶
func (o *ReplaceTCPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetTransactionID ¶
func (o *ReplaceTCPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) SetVersion ¶
func (o *ReplaceTCPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithBackend ¶
func (o *ReplaceTCPResponseRuleParams) WithBackend(backend string) *ReplaceTCPResponseRuleParams
WithBackend adds the backend to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithContext ¶
func (o *ReplaceTCPResponseRuleParams) WithContext(ctx context.Context) *ReplaceTCPResponseRuleParams
WithContext adds the context to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithData ¶
func (o *ReplaceTCPResponseRuleParams) WithData(data *models.TCPResponseRule) *ReplaceTCPResponseRuleParams
WithData adds the data to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithDefaults ¶
func (o *ReplaceTCPResponseRuleParams) WithDefaults() *ReplaceTCPResponseRuleParams
WithDefaults hydrates default values in the replace TCP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceTCPResponseRuleParams) WithForceReload ¶
func (o *ReplaceTCPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceTCPResponseRuleParams
WithForceReload adds the forceReload to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithHTTPClient ¶
func (o *ReplaceTCPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceTCPResponseRuleParams
WithHTTPClient adds the HTTPClient to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithIndex ¶
func (o *ReplaceTCPResponseRuleParams) WithIndex(index int64) *ReplaceTCPResponseRuleParams
WithIndex adds the index to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithTimeout ¶
func (o *ReplaceTCPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceTCPResponseRuleParams
WithTimeout adds the timeout to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithTransactionID ¶
func (o *ReplaceTCPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceTCPResponseRuleParams
WithTransactionID adds the transactionID to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WithVersion ¶
func (o *ReplaceTCPResponseRuleParams) WithVersion(version *int64) *ReplaceTCPResponseRuleParams
WithVersion adds the version to the replace TCP response rule params
func (*ReplaceTCPResponseRuleParams) WriteToRequest ¶
func (o *ReplaceTCPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceTCPResponseRuleReader ¶
type ReplaceTCPResponseRuleReader struct {
// contains filtered or unexported fields
}
ReplaceTCPResponseRuleReader is a Reader for the ReplaceTCPResponseRule structure.
func (*ReplaceTCPResponseRuleReader) ReadResponse ¶
func (o *ReplaceTCPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_tcp_response_rule_parameters.go
- create_tcp_response_rule_responses.go
- delete_tcp_response_rule_parameters.go
- delete_tcp_response_rule_responses.go
- get_tcp_response_rule_parameters.go
- get_tcp_response_rule_responses.go
- get_tcp_response_rules_parameters.go
- get_tcp_response_rules_responses.go
- replace_tcp_response_rule_parameters.go
- replace_tcp_response_rule_responses.go
- tcp_response_rule_client.go