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