Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateHTTPRequestRule(params *CreateHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHTTPRequestRuleCreated, *CreateHTTPRequestRuleAccepted, error)
- func (a *Client) DeleteHTTPRequestRule(params *DeleteHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHTTPRequestRuleAccepted, *DeleteHTTPRequestRuleNoContent, error)
- func (a *Client) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPRequestRuleOK, error)
- func (a *Client) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPRequestRulesOK, error)
- func (a *Client) ReplaceHTTPRequestRule(params *ReplaceHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceHTTPRequestRuleOK, *ReplaceHTTPRequestRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateHTTPRequestRuleAccepted
- func (o *CreateHTTPRequestRuleAccepted) Code() int
- func (o *CreateHTTPRequestRuleAccepted) Error() string
- func (o *CreateHTTPRequestRuleAccepted) GetPayload() *models.HTTPRequestRule
- func (o *CreateHTTPRequestRuleAccepted) IsClientError() bool
- func (o *CreateHTTPRequestRuleAccepted) IsCode(code int) bool
- func (o *CreateHTTPRequestRuleAccepted) IsRedirect() bool
- func (o *CreateHTTPRequestRuleAccepted) IsServerError() bool
- func (o *CreateHTTPRequestRuleAccepted) IsSuccess() bool
- func (o *CreateHTTPRequestRuleAccepted) String() string
- type CreateHTTPRequestRuleBadRequest
- func (o *CreateHTTPRequestRuleBadRequest) Code() int
- func (o *CreateHTTPRequestRuleBadRequest) Error() string
- func (o *CreateHTTPRequestRuleBadRequest) GetPayload() *models.Error
- func (o *CreateHTTPRequestRuleBadRequest) IsClientError() bool
- func (o *CreateHTTPRequestRuleBadRequest) IsCode(code int) bool
- func (o *CreateHTTPRequestRuleBadRequest) IsRedirect() bool
- func (o *CreateHTTPRequestRuleBadRequest) IsServerError() bool
- func (o *CreateHTTPRequestRuleBadRequest) IsSuccess() bool
- func (o *CreateHTTPRequestRuleBadRequest) String() string
- type CreateHTTPRequestRuleConflict
- func (o *CreateHTTPRequestRuleConflict) Code() int
- func (o *CreateHTTPRequestRuleConflict) Error() string
- func (o *CreateHTTPRequestRuleConflict) GetPayload() *models.Error
- func (o *CreateHTTPRequestRuleConflict) IsClientError() bool
- func (o *CreateHTTPRequestRuleConflict) IsCode(code int) bool
- func (o *CreateHTTPRequestRuleConflict) IsRedirect() bool
- func (o *CreateHTTPRequestRuleConflict) IsServerError() bool
- func (o *CreateHTTPRequestRuleConflict) IsSuccess() bool
- func (o *CreateHTTPRequestRuleConflict) String() string
- type CreateHTTPRequestRuleCreated
- func (o *CreateHTTPRequestRuleCreated) Code() int
- func (o *CreateHTTPRequestRuleCreated) Error() string
- func (o *CreateHTTPRequestRuleCreated) GetPayload() *models.HTTPRequestRule
- func (o *CreateHTTPRequestRuleCreated) IsClientError() bool
- func (o *CreateHTTPRequestRuleCreated) IsCode(code int) bool
- func (o *CreateHTTPRequestRuleCreated) IsRedirect() bool
- func (o *CreateHTTPRequestRuleCreated) IsServerError() bool
- func (o *CreateHTTPRequestRuleCreated) IsSuccess() bool
- func (o *CreateHTTPRequestRuleCreated) String() string
- type CreateHTTPRequestRuleDefault
- func (o *CreateHTTPRequestRuleDefault) Code() int
- func (o *CreateHTTPRequestRuleDefault) Error() string
- func (o *CreateHTTPRequestRuleDefault) GetPayload() *models.Error
- func (o *CreateHTTPRequestRuleDefault) IsClientError() bool
- func (o *CreateHTTPRequestRuleDefault) IsCode(code int) bool
- func (o *CreateHTTPRequestRuleDefault) IsRedirect() bool
- func (o *CreateHTTPRequestRuleDefault) IsServerError() bool
- func (o *CreateHTTPRequestRuleDefault) IsSuccess() bool
- func (o *CreateHTTPRequestRuleDefault) String() string
- type CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParams() *CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParamsWithContext(ctx context.Context) *CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
- func NewCreateHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *CreateHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
- func (o *CreateHTTPRequestRuleParams) SetDefaults()
- func (o *CreateHTTPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *CreateHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *CreateHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPRequestRuleParams) SetVersion(version *int64)
- func (o *CreateHTTPRequestRuleParams) WithContext(ctx context.Context) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithDefaults() *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithForceReload(forceReload *bool) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithParentName(parentName string) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithParentType(parentType string) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithTransactionID(transactionID *string) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WithVersion(version *int64) *CreateHTTPRequestRuleParams
- func (o *CreateHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPRequestRuleReader
- type DeleteHTTPRequestRuleAccepted
- func (o *DeleteHTTPRequestRuleAccepted) Code() int
- func (o *DeleteHTTPRequestRuleAccepted) Error() string
- func (o *DeleteHTTPRequestRuleAccepted) IsClientError() bool
- func (o *DeleteHTTPRequestRuleAccepted) IsCode(code int) bool
- func (o *DeleteHTTPRequestRuleAccepted) IsRedirect() bool
- func (o *DeleteHTTPRequestRuleAccepted) IsServerError() bool
- func (o *DeleteHTTPRequestRuleAccepted) IsSuccess() bool
- func (o *DeleteHTTPRequestRuleAccepted) String() string
- type DeleteHTTPRequestRuleDefault
- func (o *DeleteHTTPRequestRuleDefault) Code() int
- func (o *DeleteHTTPRequestRuleDefault) Error() string
- func (o *DeleteHTTPRequestRuleDefault) GetPayload() *models.Error
- func (o *DeleteHTTPRequestRuleDefault) IsClientError() bool
- func (o *DeleteHTTPRequestRuleDefault) IsCode(code int) bool
- func (o *DeleteHTTPRequestRuleDefault) IsRedirect() bool
- func (o *DeleteHTTPRequestRuleDefault) IsServerError() bool
- func (o *DeleteHTTPRequestRuleDefault) IsSuccess() bool
- func (o *DeleteHTTPRequestRuleDefault) String() string
- type DeleteHTTPRequestRuleNoContent
- func (o *DeleteHTTPRequestRuleNoContent) Code() int
- func (o *DeleteHTTPRequestRuleNoContent) Error() string
- func (o *DeleteHTTPRequestRuleNoContent) IsClientError() bool
- func (o *DeleteHTTPRequestRuleNoContent) IsCode(code int) bool
- func (o *DeleteHTTPRequestRuleNoContent) IsRedirect() bool
- func (o *DeleteHTTPRequestRuleNoContent) IsServerError() bool
- func (o *DeleteHTTPRequestRuleNoContent) IsSuccess() bool
- func (o *DeleteHTTPRequestRuleNoContent) String() string
- type DeleteHTTPRequestRuleNotFound
- func (o *DeleteHTTPRequestRuleNotFound) Code() int
- func (o *DeleteHTTPRequestRuleNotFound) Error() string
- func (o *DeleteHTTPRequestRuleNotFound) GetPayload() *models.Error
- func (o *DeleteHTTPRequestRuleNotFound) IsClientError() bool
- func (o *DeleteHTTPRequestRuleNotFound) IsCode(code int) bool
- func (o *DeleteHTTPRequestRuleNotFound) IsRedirect() bool
- func (o *DeleteHTTPRequestRuleNotFound) IsServerError() bool
- func (o *DeleteHTTPRequestRuleNotFound) IsSuccess() bool
- func (o *DeleteHTTPRequestRuleNotFound) String() string
- type DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParams() *DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParamsWithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
- func NewDeleteHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPRequestRuleParams) SetDefaults()
- func (o *DeleteHTTPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPRequestRuleParams) SetIndex(index int64)
- func (o *DeleteHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *DeleteHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *DeleteHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPRequestRuleParams) SetVersion(version *int64)
- func (o *DeleteHTTPRequestRuleParams) WithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithDefaults() *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithIndex(index int64) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithParentName(parentName string) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithParentType(parentType string) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WithVersion(version *int64) *DeleteHTTPRequestRuleParams
- func (o *DeleteHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPRequestRuleReader
- type GetHTTPRequestRuleDefault
- func (o *GetHTTPRequestRuleDefault) Code() int
- func (o *GetHTTPRequestRuleDefault) Error() string
- func (o *GetHTTPRequestRuleDefault) GetPayload() *models.Error
- func (o *GetHTTPRequestRuleDefault) IsClientError() bool
- func (o *GetHTTPRequestRuleDefault) IsCode(code int) bool
- func (o *GetHTTPRequestRuleDefault) IsRedirect() bool
- func (o *GetHTTPRequestRuleDefault) IsServerError() bool
- func (o *GetHTTPRequestRuleDefault) IsSuccess() bool
- func (o *GetHTTPRequestRuleDefault) String() string
- type GetHTTPRequestRuleNotFound
- func (o *GetHTTPRequestRuleNotFound) Code() int
- func (o *GetHTTPRequestRuleNotFound) Error() string
- func (o *GetHTTPRequestRuleNotFound) GetPayload() *models.Error
- func (o *GetHTTPRequestRuleNotFound) IsClientError() bool
- func (o *GetHTTPRequestRuleNotFound) IsCode(code int) bool
- func (o *GetHTTPRequestRuleNotFound) IsRedirect() bool
- func (o *GetHTTPRequestRuleNotFound) IsServerError() bool
- func (o *GetHTTPRequestRuleNotFound) IsSuccess() bool
- func (o *GetHTTPRequestRuleNotFound) String() string
- type GetHTTPRequestRuleOK
- func (o *GetHTTPRequestRuleOK) Code() int
- func (o *GetHTTPRequestRuleOK) Error() string
- func (o *GetHTTPRequestRuleOK) GetPayload() *GetHTTPRequestRuleOKBody
- func (o *GetHTTPRequestRuleOK) IsClientError() bool
- func (o *GetHTTPRequestRuleOK) IsCode(code int) bool
- func (o *GetHTTPRequestRuleOK) IsRedirect() bool
- func (o *GetHTTPRequestRuleOK) IsServerError() bool
- func (o *GetHTTPRequestRuleOK) IsSuccess() bool
- func (o *GetHTTPRequestRuleOK) String() string
- type GetHTTPRequestRuleOKBody
- func (o *GetHTTPRequestRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPRequestRuleOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPRequestRuleOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPRequestRuleOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParams() *GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParamsWithContext(ctx context.Context) *GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
- func NewGetHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *GetHTTPRequestRuleParams) SetDefaults()
- func (o *GetHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPRequestRuleParams) SetIndex(index int64)
- func (o *GetHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *GetHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *GetHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPRequestRuleParams) WithContext(ctx context.Context) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithDefaults() *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithIndex(index int64) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithParentName(parentName string) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithParentType(parentType string) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WithTransactionID(transactionID *string) *GetHTTPRequestRuleParams
- func (o *GetHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPRequestRuleReader
- type GetHTTPRequestRulesDefault
- func (o *GetHTTPRequestRulesDefault) Code() int
- func (o *GetHTTPRequestRulesDefault) Error() string
- func (o *GetHTTPRequestRulesDefault) GetPayload() *models.Error
- func (o *GetHTTPRequestRulesDefault) IsClientError() bool
- func (o *GetHTTPRequestRulesDefault) IsCode(code int) bool
- func (o *GetHTTPRequestRulesDefault) IsRedirect() bool
- func (o *GetHTTPRequestRulesDefault) IsServerError() bool
- func (o *GetHTTPRequestRulesDefault) IsSuccess() bool
- func (o *GetHTTPRequestRulesDefault) String() string
- type GetHTTPRequestRulesOK
- func (o *GetHTTPRequestRulesOK) Code() int
- func (o *GetHTTPRequestRulesOK) Error() string
- func (o *GetHTTPRequestRulesOK) GetPayload() *GetHTTPRequestRulesOKBody
- func (o *GetHTTPRequestRulesOK) IsClientError() bool
- func (o *GetHTTPRequestRulesOK) IsCode(code int) bool
- func (o *GetHTTPRequestRulesOK) IsRedirect() bool
- func (o *GetHTTPRequestRulesOK) IsServerError() bool
- func (o *GetHTTPRequestRulesOK) IsSuccess() bool
- func (o *GetHTTPRequestRulesOK) String() string
- type GetHTTPRequestRulesOKBody
- func (o *GetHTTPRequestRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPRequestRulesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPRequestRulesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPRequestRulesOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParams() *GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParamsWithContext(ctx context.Context) *GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
- func NewGetHTTPRequestRulesParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) SetContext(ctx context.Context)
- func (o *GetHTTPRequestRulesParams) SetDefaults()
- func (o *GetHTTPRequestRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPRequestRulesParams) SetParentName(parentName string)
- func (o *GetHTTPRequestRulesParams) SetParentType(parentType string)
- func (o *GetHTTPRequestRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPRequestRulesParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPRequestRulesParams) WithContext(ctx context.Context) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithDefaults() *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithParentName(parentName string) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithParentType(parentType string) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WithTransactionID(transactionID *string) *GetHTTPRequestRulesParams
- func (o *GetHTTPRequestRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPRequestRulesReader
- type ReplaceHTTPRequestRuleAccepted
- func (o *ReplaceHTTPRequestRuleAccepted) Code() int
- func (o *ReplaceHTTPRequestRuleAccepted) Error() string
- func (o *ReplaceHTTPRequestRuleAccepted) GetPayload() *models.HTTPRequestRule
- func (o *ReplaceHTTPRequestRuleAccepted) IsClientError() bool
- func (o *ReplaceHTTPRequestRuleAccepted) IsCode(code int) bool
- func (o *ReplaceHTTPRequestRuleAccepted) IsRedirect() bool
- func (o *ReplaceHTTPRequestRuleAccepted) IsServerError() bool
- func (o *ReplaceHTTPRequestRuleAccepted) IsSuccess() bool
- func (o *ReplaceHTTPRequestRuleAccepted) String() string
- type ReplaceHTTPRequestRuleBadRequest
- func (o *ReplaceHTTPRequestRuleBadRequest) Code() int
- func (o *ReplaceHTTPRequestRuleBadRequest) Error() string
- func (o *ReplaceHTTPRequestRuleBadRequest) GetPayload() *models.Error
- func (o *ReplaceHTTPRequestRuleBadRequest) IsClientError() bool
- func (o *ReplaceHTTPRequestRuleBadRequest) IsCode(code int) bool
- func (o *ReplaceHTTPRequestRuleBadRequest) IsRedirect() bool
- func (o *ReplaceHTTPRequestRuleBadRequest) IsServerError() bool
- func (o *ReplaceHTTPRequestRuleBadRequest) IsSuccess() bool
- func (o *ReplaceHTTPRequestRuleBadRequest) String() string
- type ReplaceHTTPRequestRuleDefault
- func (o *ReplaceHTTPRequestRuleDefault) Code() int
- func (o *ReplaceHTTPRequestRuleDefault) Error() string
- func (o *ReplaceHTTPRequestRuleDefault) GetPayload() *models.Error
- func (o *ReplaceHTTPRequestRuleDefault) IsClientError() bool
- func (o *ReplaceHTTPRequestRuleDefault) IsCode(code int) bool
- func (o *ReplaceHTTPRequestRuleDefault) IsRedirect() bool
- func (o *ReplaceHTTPRequestRuleDefault) IsServerError() bool
- func (o *ReplaceHTTPRequestRuleDefault) IsSuccess() bool
- func (o *ReplaceHTTPRequestRuleDefault) String() string
- type ReplaceHTTPRequestRuleNotFound
- func (o *ReplaceHTTPRequestRuleNotFound) Code() int
- func (o *ReplaceHTTPRequestRuleNotFound) Error() string
- func (o *ReplaceHTTPRequestRuleNotFound) GetPayload() *models.Error
- func (o *ReplaceHTTPRequestRuleNotFound) IsClientError() bool
- func (o *ReplaceHTTPRequestRuleNotFound) IsCode(code int) bool
- func (o *ReplaceHTTPRequestRuleNotFound) IsRedirect() bool
- func (o *ReplaceHTTPRequestRuleNotFound) IsServerError() bool
- func (o *ReplaceHTTPRequestRuleNotFound) IsSuccess() bool
- func (o *ReplaceHTTPRequestRuleNotFound) String() string
- type ReplaceHTTPRequestRuleOK
- func (o *ReplaceHTTPRequestRuleOK) Code() int
- func (o *ReplaceHTTPRequestRuleOK) Error() string
- func (o *ReplaceHTTPRequestRuleOK) GetPayload() *models.HTTPRequestRule
- func (o *ReplaceHTTPRequestRuleOK) IsClientError() bool
- func (o *ReplaceHTTPRequestRuleOK) IsCode(code int) bool
- func (o *ReplaceHTTPRequestRuleOK) IsRedirect() bool
- func (o *ReplaceHTTPRequestRuleOK) IsServerError() bool
- func (o *ReplaceHTTPRequestRuleOK) IsSuccess() bool
- func (o *ReplaceHTTPRequestRuleOK) String() string
- type ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParams() *ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParamsWithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
- func NewReplaceHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
- func (o *ReplaceHTTPRequestRuleParams) SetDefaults()
- func (o *ReplaceHTTPRequestRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPRequestRuleParams) SetIndex(index int64)
- func (o *ReplaceHTTPRequestRuleParams) SetParentName(parentName string)
- func (o *ReplaceHTTPRequestRuleParams) SetParentType(parentType string)
- func (o *ReplaceHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPRequestRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPRequestRuleParams) SetVersion(version *int64)
- func (o *ReplaceHTTPRequestRuleParams) WithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithDefaults() *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithIndex(index int64) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithParentName(parentName string) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithParentType(parentType string) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WithVersion(version *int64) *ReplaceHTTPRequestRuleParams
- func (o *ReplaceHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPRequestRuleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for http request rule API
func (*Client) CreateHTTPRequestRule ¶
func (a *Client) CreateHTTPRequestRule(params *CreateHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPRequestRuleCreated, *CreateHTTPRequestRuleAccepted, error)
CreateHTTPRequestRule adds a new HTTP request rule
Adds a new HTTP Request Rule of the specified type in the specified parent.
func (*Client) DeleteHTTPRequestRule ¶
func (a *Client) DeleteHTTPRequestRule(params *DeleteHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPRequestRuleAccepted, *DeleteHTTPRequestRuleNoContent, error)
DeleteHTTPRequestRule deletes a HTTP request rule
Deletes a HTTP Request Rule configuration by it's index from the specified parent.
func (*Client) GetHTTPRequestRule ¶
func (a *Client) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPRequestRuleOK, error)
GetHTTPRequestRule returns one HTTP request rule
Returns one HTTP Request Rule configuration by it's index in the specified parent.
func (*Client) GetHTTPRequestRules ¶
func (a *Client) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPRequestRulesOK, error)
GetHTTPRequestRules returns an array of all HTTP request rules
Returns all HTTP Request Rules that are configured in specified parent.
func (*Client) ReplaceHTTPRequestRule ¶
func (a *Client) ReplaceHTTPRequestRule(params *ReplaceHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPRequestRuleOK, *ReplaceHTTPRequestRuleAccepted, error)
ReplaceHTTPRequestRule replaces a HTTP request rule
Replaces a HTTP Request Rule configuration by it's index in the specified parent.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateHTTPRequestRule(params *CreateHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPRequestRuleCreated, *CreateHTTPRequestRuleAccepted, error) DeleteHTTPRequestRule(params *DeleteHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPRequestRuleAccepted, *DeleteHTTPRequestRuleNoContent, error) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPRequestRuleOK, error) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPRequestRulesOK, error) ReplaceHTTPRequestRule(params *ReplaceHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPRequestRuleOK, *ReplaceHTTPRequestRuleAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new http request rule API client.
type CreateHTTPRequestRuleAccepted ¶
type CreateHTTPRequestRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPRequestRule }
CreateHTTPRequestRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPRequestRuleAccepted ¶
func NewCreateHTTPRequestRuleAccepted() *CreateHTTPRequestRuleAccepted
NewCreateHTTPRequestRuleAccepted creates a CreateHTTPRequestRuleAccepted with default headers values
func (*CreateHTTPRequestRuleAccepted) Code ¶ added in v1.1.5
func (o *CreateHTTPRequestRuleAccepted) Code() int
Code gets the status code for the create Http request rule accepted response
func (*CreateHTTPRequestRuleAccepted) Error ¶
func (o *CreateHTTPRequestRuleAccepted) Error() string
func (*CreateHTTPRequestRuleAccepted) GetPayload ¶
func (o *CreateHTTPRequestRuleAccepted) GetPayload() *models.HTTPRequestRule
func (*CreateHTTPRequestRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleAccepted) IsClientError() bool
IsClientError returns true when this create Http request rule accepted response has a 4xx status code
func (*CreateHTTPRequestRuleAccepted) IsCode ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleAccepted) IsCode(code int) bool
IsCode returns true when this create Http request rule accepted response a status code equal to that given
func (*CreateHTTPRequestRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleAccepted) IsRedirect() bool
IsRedirect returns true when this create Http request rule accepted response has a 3xx status code
func (*CreateHTTPRequestRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleAccepted) IsServerError() bool
IsServerError returns true when this create Http request rule accepted response has a 5xx status code
func (*CreateHTTPRequestRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleAccepted) IsSuccess() bool
IsSuccess returns true when this create Http request rule accepted response has a 2xx status code
func (*CreateHTTPRequestRuleAccepted) String ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleAccepted) String() string
type CreateHTTPRequestRuleBadRequest ¶
type CreateHTTPRequestRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPRequestRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateHTTPRequestRuleBadRequest ¶
func NewCreateHTTPRequestRuleBadRequest() *CreateHTTPRequestRuleBadRequest
NewCreateHTTPRequestRuleBadRequest creates a CreateHTTPRequestRuleBadRequest with default headers values
func (*CreateHTTPRequestRuleBadRequest) Code ¶ added in v1.1.5
func (o *CreateHTTPRequestRuleBadRequest) Code() int
Code gets the status code for the create Http request rule bad request response
func (*CreateHTTPRequestRuleBadRequest) Error ¶
func (o *CreateHTTPRequestRuleBadRequest) Error() string
func (*CreateHTTPRequestRuleBadRequest) GetPayload ¶
func (o *CreateHTTPRequestRuleBadRequest) GetPayload() *models.Error
func (*CreateHTTPRequestRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleBadRequest) IsClientError() bool
IsClientError returns true when this create Http request rule bad request response has a 4xx status code
func (*CreateHTTPRequestRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create Http request rule bad request response a status code equal to that given
func (*CreateHTTPRequestRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create Http request rule bad request response has a 3xx status code
func (*CreateHTTPRequestRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleBadRequest) IsServerError() bool
IsServerError returns true when this create Http request rule bad request response has a 5xx status code
func (*CreateHTTPRequestRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create Http request rule bad request response has a 2xx status code
func (*CreateHTTPRequestRuleBadRequest) String ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleBadRequest) String() string
type CreateHTTPRequestRuleConflict ¶
type CreateHTTPRequestRuleConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPRequestRuleConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateHTTPRequestRuleConflict ¶
func NewCreateHTTPRequestRuleConflict() *CreateHTTPRequestRuleConflict
NewCreateHTTPRequestRuleConflict creates a CreateHTTPRequestRuleConflict with default headers values
func (*CreateHTTPRequestRuleConflict) Code ¶ added in v1.1.5
func (o *CreateHTTPRequestRuleConflict) Code() int
Code gets the status code for the create Http request rule conflict response
func (*CreateHTTPRequestRuleConflict) Error ¶
func (o *CreateHTTPRequestRuleConflict) Error() string
func (*CreateHTTPRequestRuleConflict) GetPayload ¶
func (o *CreateHTTPRequestRuleConflict) GetPayload() *models.Error
func (*CreateHTTPRequestRuleConflict) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleConflict) IsClientError() bool
IsClientError returns true when this create Http request rule conflict response has a 4xx status code
func (*CreateHTTPRequestRuleConflict) IsCode ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleConflict) IsCode(code int) bool
IsCode returns true when this create Http request rule conflict response a status code equal to that given
func (*CreateHTTPRequestRuleConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleConflict) IsRedirect() bool
IsRedirect returns true when this create Http request rule conflict response has a 3xx status code
func (*CreateHTTPRequestRuleConflict) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleConflict) IsServerError() bool
IsServerError returns true when this create Http request rule conflict response has a 5xx status code
func (*CreateHTTPRequestRuleConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleConflict) IsSuccess() bool
IsSuccess returns true when this create Http request rule conflict response has a 2xx status code
func (*CreateHTTPRequestRuleConflict) String ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleConflict) String() string
type CreateHTTPRequestRuleCreated ¶
type CreateHTTPRequestRuleCreated struct {
Payload *models.HTTPRequestRule
}
CreateHTTPRequestRuleCreated describes a response with status code 201, with default header values.
HTTP Request Rule created
func NewCreateHTTPRequestRuleCreated ¶
func NewCreateHTTPRequestRuleCreated() *CreateHTTPRequestRuleCreated
NewCreateHTTPRequestRuleCreated creates a CreateHTTPRequestRuleCreated with default headers values
func (*CreateHTTPRequestRuleCreated) Code ¶ added in v1.1.5
func (o *CreateHTTPRequestRuleCreated) Code() int
Code gets the status code for the create Http request rule created response
func (*CreateHTTPRequestRuleCreated) Error ¶
func (o *CreateHTTPRequestRuleCreated) Error() string
func (*CreateHTTPRequestRuleCreated) GetPayload ¶
func (o *CreateHTTPRequestRuleCreated) GetPayload() *models.HTTPRequestRule
func (*CreateHTTPRequestRuleCreated) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleCreated) IsClientError() bool
IsClientError returns true when this create Http request rule created response has a 4xx status code
func (*CreateHTTPRequestRuleCreated) IsCode ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleCreated) IsCode(code int) bool
IsCode returns true when this create Http request rule created response a status code equal to that given
func (*CreateHTTPRequestRuleCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleCreated) IsRedirect() bool
IsRedirect returns true when this create Http request rule created response has a 3xx status code
func (*CreateHTTPRequestRuleCreated) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleCreated) IsServerError() bool
IsServerError returns true when this create Http request rule created response has a 5xx status code
func (*CreateHTTPRequestRuleCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleCreated) IsSuccess() bool
IsSuccess returns true when this create Http request rule created response has a 2xx status code
func (*CreateHTTPRequestRuleCreated) String ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleCreated) String() string
type CreateHTTPRequestRuleDefault ¶
type CreateHTTPRequestRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPRequestRuleDefault describes a response with status code -1, with default header values.
General Error
func NewCreateHTTPRequestRuleDefault ¶
func NewCreateHTTPRequestRuleDefault(code int) *CreateHTTPRequestRuleDefault
NewCreateHTTPRequestRuleDefault creates a CreateHTTPRequestRuleDefault with default headers values
func (*CreateHTTPRequestRuleDefault) Code ¶
func (o *CreateHTTPRequestRuleDefault) Code() int
Code gets the status code for the create HTTP request rule default response
func (*CreateHTTPRequestRuleDefault) Error ¶
func (o *CreateHTTPRequestRuleDefault) Error() string
func (*CreateHTTPRequestRuleDefault) GetPayload ¶
func (o *CreateHTTPRequestRuleDefault) GetPayload() *models.Error
func (*CreateHTTPRequestRuleDefault) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleDefault) IsClientError() bool
IsClientError returns true when this create HTTP request rule default response has a 4xx status code
func (*CreateHTTPRequestRuleDefault) IsCode ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleDefault) IsCode(code int) bool
IsCode returns true when this create HTTP request rule default response a status code equal to that given
func (*CreateHTTPRequestRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleDefault) IsRedirect() bool
IsRedirect returns true when this create HTTP request rule default response has a 3xx status code
func (*CreateHTTPRequestRuleDefault) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleDefault) IsServerError() bool
IsServerError returns true when this create HTTP request rule default response has a 5xx status code
func (*CreateHTTPRequestRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleDefault) IsSuccess() bool
IsSuccess returns true when this create HTTP request rule default response has a 2xx status code
func (*CreateHTTPRequestRuleDefault) String ¶ added in v1.1.0
func (o *CreateHTTPRequestRuleDefault) String() string
type CreateHTTPRequestRuleParams ¶
type CreateHTTPRequestRuleParams struct { // Data. Data *models.HTTPRequestRule /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateHTTPRequestRuleParams contains all the parameters to send to the API endpoint
for the create HTTP request rule operation. Typically these are written to a http.Request.
func NewCreateHTTPRequestRuleParams ¶
func NewCreateHTTPRequestRuleParams() *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParams creates a new CreateHTTPRequestRuleParams object, with the default 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 NewCreateHTTPRequestRuleParamsWithContext ¶
func NewCreateHTTPRequestRuleParamsWithContext(ctx context.Context) *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParamsWithContext creates a new CreateHTTPRequestRuleParams object with the ability to set a context for a request.
func NewCreateHTTPRequestRuleParamsWithHTTPClient ¶
func NewCreateHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParamsWithHTTPClient creates a new CreateHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHTTPRequestRuleParamsWithTimeout ¶
func NewCreateHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
NewCreateHTTPRequestRuleParamsWithTimeout creates a new CreateHTTPRequestRuleParams object with the ability to set a timeout on a request.
func (*CreateHTTPRequestRuleParams) SetContext ¶
func (o *CreateHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetData ¶
func (o *CreateHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
SetData adds the data to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetDefaults ¶
func (o *CreateHTTPRequestRuleParams) SetDefaults()
SetDefaults hydrates default values in the create HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPRequestRuleParams) SetForceReload ¶
func (o *CreateHTTPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetHTTPClient ¶
func (o *CreateHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetParentName ¶
func (o *CreateHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetParentType ¶
func (o *CreateHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetTimeout ¶
func (o *CreateHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetTransactionID ¶
func (o *CreateHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) SetVersion ¶
func (o *CreateHTTPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithContext ¶
func (o *CreateHTTPRequestRuleParams) WithContext(ctx context.Context) *CreateHTTPRequestRuleParams
WithContext adds the context to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithData ¶
func (o *CreateHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *CreateHTTPRequestRuleParams
WithData adds the data to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithDefaults ¶
func (o *CreateHTTPRequestRuleParams) WithDefaults() *CreateHTTPRequestRuleParams
WithDefaults hydrates default values in the create HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPRequestRuleParams) WithForceReload ¶
func (o *CreateHTTPRequestRuleParams) WithForceReload(forceReload *bool) *CreateHTTPRequestRuleParams
WithForceReload adds the forceReload to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithHTTPClient ¶
func (o *CreateHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithParentName ¶
func (o *CreateHTTPRequestRuleParams) WithParentName(parentName string) *CreateHTTPRequestRuleParams
WithParentName adds the parentName to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithParentType ¶
func (o *CreateHTTPRequestRuleParams) WithParentType(parentType string) *CreateHTTPRequestRuleParams
WithParentType adds the parentType to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithTimeout ¶
func (o *CreateHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams
WithTimeout adds the timeout to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithTransactionID ¶
func (o *CreateHTTPRequestRuleParams) WithTransactionID(transactionID *string) *CreateHTTPRequestRuleParams
WithTransactionID adds the transactionID to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WithVersion ¶
func (o *CreateHTTPRequestRuleParams) WithVersion(version *int64) *CreateHTTPRequestRuleParams
WithVersion adds the version to the create HTTP request rule params
func (*CreateHTTPRequestRuleParams) WriteToRequest ¶
func (o *CreateHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPRequestRuleReader ¶
type CreateHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
CreateHTTPRequestRuleReader is a Reader for the CreateHTTPRequestRule structure.
func (*CreateHTTPRequestRuleReader) ReadResponse ¶
func (o *CreateHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPRequestRuleAccepted ¶
type DeleteHTTPRequestRuleAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteHTTPRequestRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPRequestRuleAccepted ¶
func NewDeleteHTTPRequestRuleAccepted() *DeleteHTTPRequestRuleAccepted
NewDeleteHTTPRequestRuleAccepted creates a DeleteHTTPRequestRuleAccepted with default headers values
func (*DeleteHTTPRequestRuleAccepted) Code ¶ added in v1.1.5
func (o *DeleteHTTPRequestRuleAccepted) Code() int
Code gets the status code for the delete Http request rule accepted response
func (*DeleteHTTPRequestRuleAccepted) Error ¶
func (o *DeleteHTTPRequestRuleAccepted) Error() string
func (*DeleteHTTPRequestRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleAccepted) IsClientError() bool
IsClientError returns true when this delete Http request rule accepted response has a 4xx status code
func (*DeleteHTTPRequestRuleAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleAccepted) IsCode(code int) bool
IsCode returns true when this delete Http request rule accepted response a status code equal to that given
func (*DeleteHTTPRequestRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleAccepted) IsRedirect() bool
IsRedirect returns true when this delete Http request rule accepted response has a 3xx status code
func (*DeleteHTTPRequestRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleAccepted) IsServerError() bool
IsServerError returns true when this delete Http request rule accepted response has a 5xx status code
func (*DeleteHTTPRequestRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleAccepted) IsSuccess() bool
IsSuccess returns true when this delete Http request rule accepted response has a 2xx status code
func (*DeleteHTTPRequestRuleAccepted) String ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleAccepted) String() string
type DeleteHTTPRequestRuleDefault ¶
type DeleteHTTPRequestRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPRequestRuleDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteHTTPRequestRuleDefault ¶
func NewDeleteHTTPRequestRuleDefault(code int) *DeleteHTTPRequestRuleDefault
NewDeleteHTTPRequestRuleDefault creates a DeleteHTTPRequestRuleDefault with default headers values
func (*DeleteHTTPRequestRuleDefault) Code ¶
func (o *DeleteHTTPRequestRuleDefault) Code() int
Code gets the status code for the delete HTTP request rule default response
func (*DeleteHTTPRequestRuleDefault) Error ¶
func (o *DeleteHTTPRequestRuleDefault) Error() string
func (*DeleteHTTPRequestRuleDefault) GetPayload ¶
func (o *DeleteHTTPRequestRuleDefault) GetPayload() *models.Error
func (*DeleteHTTPRequestRuleDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleDefault) IsClientError() bool
IsClientError returns true when this delete HTTP request rule default response has a 4xx status code
func (*DeleteHTTPRequestRuleDefault) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleDefault) IsCode(code int) bool
IsCode returns true when this delete HTTP request rule default response a status code equal to that given
func (*DeleteHTTPRequestRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete HTTP request rule default response has a 3xx status code
func (*DeleteHTTPRequestRuleDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleDefault) IsServerError() bool
IsServerError returns true when this delete HTTP request rule default response has a 5xx status code
func (*DeleteHTTPRequestRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete HTTP request rule default response has a 2xx status code
func (*DeleteHTTPRequestRuleDefault) String ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleDefault) String() string
type DeleteHTTPRequestRuleNoContent ¶
type DeleteHTTPRequestRuleNoContent struct { }
DeleteHTTPRequestRuleNoContent describes a response with status code 204, with default header values.
HTTP Request Rule deleted
func NewDeleteHTTPRequestRuleNoContent ¶
func NewDeleteHTTPRequestRuleNoContent() *DeleteHTTPRequestRuleNoContent
NewDeleteHTTPRequestRuleNoContent creates a DeleteHTTPRequestRuleNoContent with default headers values
func (*DeleteHTTPRequestRuleNoContent) Code ¶ added in v1.1.5
func (o *DeleteHTTPRequestRuleNoContent) Code() int
Code gets the status code for the delete Http request rule no content response
func (*DeleteHTTPRequestRuleNoContent) Error ¶
func (o *DeleteHTTPRequestRuleNoContent) Error() string
func (*DeleteHTTPRequestRuleNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNoContent) IsClientError() bool
IsClientError returns true when this delete Http request rule no content response has a 4xx status code
func (*DeleteHTTPRequestRuleNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete Http request rule no content response a status code equal to that given
func (*DeleteHTTPRequestRuleNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete Http request rule no content response has a 3xx status code
func (*DeleteHTTPRequestRuleNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNoContent) IsServerError() bool
IsServerError returns true when this delete Http request rule no content response has a 5xx status code
func (*DeleteHTTPRequestRuleNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete Http request rule no content response has a 2xx status code
func (*DeleteHTTPRequestRuleNoContent) String ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNoContent) String() string
type DeleteHTTPRequestRuleNotFound ¶
type DeleteHTTPRequestRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPRequestRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteHTTPRequestRuleNotFound ¶
func NewDeleteHTTPRequestRuleNotFound() *DeleteHTTPRequestRuleNotFound
NewDeleteHTTPRequestRuleNotFound creates a DeleteHTTPRequestRuleNotFound with default headers values
func (*DeleteHTTPRequestRuleNotFound) Code ¶ added in v1.1.5
func (o *DeleteHTTPRequestRuleNotFound) Code() int
Code gets the status code for the delete Http request rule not found response
func (*DeleteHTTPRequestRuleNotFound) Error ¶
func (o *DeleteHTTPRequestRuleNotFound) Error() string
func (*DeleteHTTPRequestRuleNotFound) GetPayload ¶
func (o *DeleteHTTPRequestRuleNotFound) GetPayload() *models.Error
func (*DeleteHTTPRequestRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNotFound) IsClientError() bool
IsClientError returns true when this delete Http request rule not found response has a 4xx status code
func (*DeleteHTTPRequestRuleNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete Http request rule not found response a status code equal to that given
func (*DeleteHTTPRequestRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete Http request rule not found response has a 3xx status code
func (*DeleteHTTPRequestRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNotFound) IsServerError() bool
IsServerError returns true when this delete Http request rule not found response has a 5xx status code
func (*DeleteHTTPRequestRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete Http request rule not found response has a 2xx status code
func (*DeleteHTTPRequestRuleNotFound) String ¶ added in v1.1.0
func (o *DeleteHTTPRequestRuleNotFound) String() string
type DeleteHTTPRequestRuleParams ¶
type DeleteHTTPRequestRuleParams struct { /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Index. HTTP Request Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteHTTPRequestRuleParams contains all the parameters to send to the API endpoint
for the delete HTTP request rule operation. Typically these are written to a http.Request.
func NewDeleteHTTPRequestRuleParams ¶
func NewDeleteHTTPRequestRuleParams() *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParams creates a new DeleteHTTPRequestRuleParams object, with the default 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 NewDeleteHTTPRequestRuleParamsWithContext ¶
func NewDeleteHTTPRequestRuleParamsWithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParamsWithContext creates a new DeleteHTTPRequestRuleParams object with the ability to set a context for a request.
func NewDeleteHTTPRequestRuleParamsWithHTTPClient ¶
func NewDeleteHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParamsWithHTTPClient creates a new DeleteHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHTTPRequestRuleParamsWithTimeout ¶
func NewDeleteHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
NewDeleteHTTPRequestRuleParamsWithTimeout creates a new DeleteHTTPRequestRuleParams object with the ability to set a timeout on a request.
func (*DeleteHTTPRequestRuleParams) SetContext ¶
func (o *DeleteHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetDefaults ¶
func (o *DeleteHTTPRequestRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPRequestRuleParams) SetForceReload ¶
func (o *DeleteHTTPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetHTTPClient ¶
func (o *DeleteHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetIndex ¶
func (o *DeleteHTTPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetParentName ¶
func (o *DeleteHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetParentType ¶
func (o *DeleteHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetTimeout ¶
func (o *DeleteHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetTransactionID ¶
func (o *DeleteHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) SetVersion ¶
func (o *DeleteHTTPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithContext ¶
func (o *DeleteHTTPRequestRuleParams) WithContext(ctx context.Context) *DeleteHTTPRequestRuleParams
WithContext adds the context to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithDefaults ¶
func (o *DeleteHTTPRequestRuleParams) WithDefaults() *DeleteHTTPRequestRuleParams
WithDefaults hydrates default values in the delete HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPRequestRuleParams) WithForceReload ¶
func (o *DeleteHTTPRequestRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPRequestRuleParams
WithForceReload adds the forceReload to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithHTTPClient ¶
func (o *DeleteHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithIndex ¶
func (o *DeleteHTTPRequestRuleParams) WithIndex(index int64) *DeleteHTTPRequestRuleParams
WithIndex adds the index to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithParentName ¶
func (o *DeleteHTTPRequestRuleParams) WithParentName(parentName string) *DeleteHTTPRequestRuleParams
WithParentName adds the parentName to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithParentType ¶
func (o *DeleteHTTPRequestRuleParams) WithParentType(parentType string) *DeleteHTTPRequestRuleParams
WithParentType adds the parentType to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithTimeout ¶
func (o *DeleteHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams
WithTimeout adds the timeout to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithTransactionID ¶
func (o *DeleteHTTPRequestRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPRequestRuleParams
WithTransactionID adds the transactionID to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WithVersion ¶
func (o *DeleteHTTPRequestRuleParams) WithVersion(version *int64) *DeleteHTTPRequestRuleParams
WithVersion adds the version to the delete HTTP request rule params
func (*DeleteHTTPRequestRuleParams) WriteToRequest ¶
func (o *DeleteHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPRequestRuleReader ¶
type DeleteHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
DeleteHTTPRequestRuleReader is a Reader for the DeleteHTTPRequestRule structure.
func (*DeleteHTTPRequestRuleReader) ReadResponse ¶
func (o *DeleteHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPRequestRuleDefault ¶
type GetHTTPRequestRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPRequestRuleDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPRequestRuleDefault ¶
func NewGetHTTPRequestRuleDefault(code int) *GetHTTPRequestRuleDefault
NewGetHTTPRequestRuleDefault creates a GetHTTPRequestRuleDefault with default headers values
func (*GetHTTPRequestRuleDefault) Code ¶
func (o *GetHTTPRequestRuleDefault) Code() int
Code gets the status code for the get HTTP request rule default response
func (*GetHTTPRequestRuleDefault) Error ¶
func (o *GetHTTPRequestRuleDefault) Error() string
func (*GetHTTPRequestRuleDefault) GetPayload ¶
func (o *GetHTTPRequestRuleDefault) GetPayload() *models.Error
func (*GetHTTPRequestRuleDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPRequestRuleDefault) IsClientError() bool
IsClientError returns true when this get HTTP request rule default response has a 4xx status code
func (*GetHTTPRequestRuleDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPRequestRuleDefault) IsCode(code int) bool
IsCode returns true when this get HTTP request rule default response a status code equal to that given
func (*GetHTTPRequestRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPRequestRuleDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP request rule default response has a 3xx status code
func (*GetHTTPRequestRuleDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPRequestRuleDefault) IsServerError() bool
IsServerError returns true when this get HTTP request rule default response has a 5xx status code
func (*GetHTTPRequestRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPRequestRuleDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP request rule default response has a 2xx status code
func (*GetHTTPRequestRuleDefault) String ¶ added in v1.1.0
func (o *GetHTTPRequestRuleDefault) String() string
type GetHTTPRequestRuleNotFound ¶
type GetHTTPRequestRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPRequestRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetHTTPRequestRuleNotFound ¶
func NewGetHTTPRequestRuleNotFound() *GetHTTPRequestRuleNotFound
NewGetHTTPRequestRuleNotFound creates a GetHTTPRequestRuleNotFound with default headers values
func (*GetHTTPRequestRuleNotFound) Code ¶ added in v1.1.5
func (o *GetHTTPRequestRuleNotFound) Code() int
Code gets the status code for the get Http request rule not found response
func (*GetHTTPRequestRuleNotFound) Error ¶
func (o *GetHTTPRequestRuleNotFound) Error() string
func (*GetHTTPRequestRuleNotFound) GetPayload ¶
func (o *GetHTTPRequestRuleNotFound) GetPayload() *models.Error
func (*GetHTTPRequestRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *GetHTTPRequestRuleNotFound) IsClientError() bool
IsClientError returns true when this get Http request rule not found response has a 4xx status code
func (*GetHTTPRequestRuleNotFound) IsCode ¶ added in v1.1.0
func (o *GetHTTPRequestRuleNotFound) IsCode(code int) bool
IsCode returns true when this get Http request rule not found response a status code equal to that given
func (*GetHTTPRequestRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPRequestRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get Http request rule not found response has a 3xx status code
func (*GetHTTPRequestRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *GetHTTPRequestRuleNotFound) IsServerError() bool
IsServerError returns true when this get Http request rule not found response has a 5xx status code
func (*GetHTTPRequestRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPRequestRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get Http request rule not found response has a 2xx status code
func (*GetHTTPRequestRuleNotFound) String ¶ added in v1.1.0
func (o *GetHTTPRequestRuleNotFound) String() string
type GetHTTPRequestRuleOK ¶
type GetHTTPRequestRuleOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPRequestRuleOKBody }
GetHTTPRequestRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPRequestRuleOK ¶
func NewGetHTTPRequestRuleOK() *GetHTTPRequestRuleOK
NewGetHTTPRequestRuleOK creates a GetHTTPRequestRuleOK with default headers values
func (*GetHTTPRequestRuleOK) Code ¶ added in v1.1.5
func (o *GetHTTPRequestRuleOK) Code() int
Code gets the status code for the get Http request rule o k response
func (*GetHTTPRequestRuleOK) Error ¶
func (o *GetHTTPRequestRuleOK) Error() string
func (*GetHTTPRequestRuleOK) GetPayload ¶
func (o *GetHTTPRequestRuleOK) GetPayload() *GetHTTPRequestRuleOKBody
func (*GetHTTPRequestRuleOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPRequestRuleOK) IsClientError() bool
IsClientError returns true when this get Http request rule o k response has a 4xx status code
func (*GetHTTPRequestRuleOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPRequestRuleOK) IsCode(code int) bool
IsCode returns true when this get Http request rule o k response a status code equal to that given
func (*GetHTTPRequestRuleOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPRequestRuleOK) IsRedirect() bool
IsRedirect returns true when this get Http request rule o k response has a 3xx status code
func (*GetHTTPRequestRuleOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPRequestRuleOK) IsServerError() bool
IsServerError returns true when this get Http request rule o k response has a 5xx status code
func (*GetHTTPRequestRuleOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPRequestRuleOK) IsSuccess() bool
IsSuccess returns true when this get Http request rule o k response has a 2xx status code
func (*GetHTTPRequestRuleOK) String ¶ added in v1.1.0
func (o *GetHTTPRequestRuleOK) String() string
type GetHTTPRequestRuleOKBody ¶
type GetHTTPRequestRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPRequestRule `json:"data,omitempty"` }
GetHTTPRequestRuleOKBody get HTTP request rule o k body swagger:model GetHTTPRequestRuleOKBody
func (*GetHTTPRequestRuleOKBody) ContextValidate ¶
func (o *GetHTTPRequestRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP request rule o k body based on the context it is used
func (*GetHTTPRequestRuleOKBody) MarshalBinary ¶
func (o *GetHTTPRequestRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPRequestRuleOKBody) UnmarshalBinary ¶
func (o *GetHTTPRequestRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPRequestRuleParams ¶
type GetHTTPRequestRuleParams struct { /* Index. HTTP Request Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHTTPRequestRuleParams contains all the parameters to send to the API endpoint
for the get HTTP request rule operation. Typically these are written to a http.Request.
func NewGetHTTPRequestRuleParams ¶
func NewGetHTTPRequestRuleParams() *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParams creates a new GetHTTPRequestRuleParams object, with the default 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 NewGetHTTPRequestRuleParamsWithContext ¶
func NewGetHTTPRequestRuleParamsWithContext(ctx context.Context) *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParamsWithContext creates a new GetHTTPRequestRuleParams object with the ability to set a context for a request.
func NewGetHTTPRequestRuleParamsWithHTTPClient ¶
func NewGetHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParamsWithHTTPClient creates a new GetHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPRequestRuleParamsWithTimeout ¶
func NewGetHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
NewGetHTTPRequestRuleParamsWithTimeout creates a new GetHTTPRequestRuleParams object with the ability to set a timeout on a request.
func (*GetHTTPRequestRuleParams) SetContext ¶
func (o *GetHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetDefaults ¶
func (o *GetHTTPRequestRuleParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPRequestRuleParams) SetHTTPClient ¶
func (o *GetHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetIndex ¶
func (o *GetHTTPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetParentName ¶
func (o *GetHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetParentType ¶
func (o *GetHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetTimeout ¶
func (o *GetHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) SetTransactionID ¶
func (o *GetHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithContext ¶
func (o *GetHTTPRequestRuleParams) WithContext(ctx context.Context) *GetHTTPRequestRuleParams
WithContext adds the context to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithDefaults ¶
func (o *GetHTTPRequestRuleParams) WithDefaults() *GetHTTPRequestRuleParams
WithDefaults hydrates default values in the get HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPRequestRuleParams) WithHTTPClient ¶
func (o *GetHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithIndex ¶
func (o *GetHTTPRequestRuleParams) WithIndex(index int64) *GetHTTPRequestRuleParams
WithIndex adds the index to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithParentName ¶
func (o *GetHTTPRequestRuleParams) WithParentName(parentName string) *GetHTTPRequestRuleParams
WithParentName adds the parentName to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithParentType ¶
func (o *GetHTTPRequestRuleParams) WithParentType(parentType string) *GetHTTPRequestRuleParams
WithParentType adds the parentType to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithTimeout ¶
func (o *GetHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams
WithTimeout adds the timeout to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WithTransactionID ¶
func (o *GetHTTPRequestRuleParams) WithTransactionID(transactionID *string) *GetHTTPRequestRuleParams
WithTransactionID adds the transactionID to the get HTTP request rule params
func (*GetHTTPRequestRuleParams) WriteToRequest ¶
func (o *GetHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPRequestRuleReader ¶
type GetHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
GetHTTPRequestRuleReader is a Reader for the GetHTTPRequestRule structure.
func (*GetHTTPRequestRuleReader) ReadResponse ¶
func (o *GetHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPRequestRulesDefault ¶
type GetHTTPRequestRulesDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPRequestRulesDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPRequestRulesDefault ¶
func NewGetHTTPRequestRulesDefault(code int) *GetHTTPRequestRulesDefault
NewGetHTTPRequestRulesDefault creates a GetHTTPRequestRulesDefault with default headers values
func (*GetHTTPRequestRulesDefault) Code ¶
func (o *GetHTTPRequestRulesDefault) Code() int
Code gets the status code for the get HTTP request rules default response
func (*GetHTTPRequestRulesDefault) Error ¶
func (o *GetHTTPRequestRulesDefault) Error() string
func (*GetHTTPRequestRulesDefault) GetPayload ¶
func (o *GetHTTPRequestRulesDefault) GetPayload() *models.Error
func (*GetHTTPRequestRulesDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPRequestRulesDefault) IsClientError() bool
IsClientError returns true when this get HTTP request rules default response has a 4xx status code
func (*GetHTTPRequestRulesDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPRequestRulesDefault) IsCode(code int) bool
IsCode returns true when this get HTTP request rules default response a status code equal to that given
func (*GetHTTPRequestRulesDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPRequestRulesDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP request rules default response has a 3xx status code
func (*GetHTTPRequestRulesDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPRequestRulesDefault) IsServerError() bool
IsServerError returns true when this get HTTP request rules default response has a 5xx status code
func (*GetHTTPRequestRulesDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPRequestRulesDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP request rules default response has a 2xx status code
func (*GetHTTPRequestRulesDefault) String ¶ added in v1.1.0
func (o *GetHTTPRequestRulesDefault) String() string
type GetHTTPRequestRulesOK ¶
type GetHTTPRequestRulesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPRequestRulesOKBody }
GetHTTPRequestRulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPRequestRulesOK ¶
func NewGetHTTPRequestRulesOK() *GetHTTPRequestRulesOK
NewGetHTTPRequestRulesOK creates a GetHTTPRequestRulesOK with default headers values
func (*GetHTTPRequestRulesOK) Code ¶ added in v1.1.5
func (o *GetHTTPRequestRulesOK) Code() int
Code gets the status code for the get Http request rules o k response
func (*GetHTTPRequestRulesOK) Error ¶
func (o *GetHTTPRequestRulesOK) Error() string
func (*GetHTTPRequestRulesOK) GetPayload ¶
func (o *GetHTTPRequestRulesOK) GetPayload() *GetHTTPRequestRulesOKBody
func (*GetHTTPRequestRulesOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPRequestRulesOK) IsClientError() bool
IsClientError returns true when this get Http request rules o k response has a 4xx status code
func (*GetHTTPRequestRulesOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPRequestRulesOK) IsCode(code int) bool
IsCode returns true when this get Http request rules o k response a status code equal to that given
func (*GetHTTPRequestRulesOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPRequestRulesOK) IsRedirect() bool
IsRedirect returns true when this get Http request rules o k response has a 3xx status code
func (*GetHTTPRequestRulesOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPRequestRulesOK) IsServerError() bool
IsServerError returns true when this get Http request rules o k response has a 5xx status code
func (*GetHTTPRequestRulesOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPRequestRulesOK) IsSuccess() bool
IsSuccess returns true when this get Http request rules o k response has a 2xx status code
func (*GetHTTPRequestRulesOK) String ¶ added in v1.1.0
func (o *GetHTTPRequestRulesOK) String() string
type GetHTTPRequestRulesOKBody ¶
type GetHTTPRequestRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPRequestRules `json:"data"` }
GetHTTPRequestRulesOKBody get HTTP request rules o k body swagger:model GetHTTPRequestRulesOKBody
func (*GetHTTPRequestRulesOKBody) ContextValidate ¶
func (o *GetHTTPRequestRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP request rules o k body based on the context it is used
func (*GetHTTPRequestRulesOKBody) MarshalBinary ¶
func (o *GetHTTPRequestRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPRequestRulesOKBody) UnmarshalBinary ¶
func (o *GetHTTPRequestRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPRequestRulesParams ¶
type GetHTTPRequestRulesParams struct { /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHTTPRequestRulesParams contains all the parameters to send to the API endpoint
for the get HTTP request rules operation. Typically these are written to a http.Request.
func NewGetHTTPRequestRulesParams ¶
func NewGetHTTPRequestRulesParams() *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParams creates a new GetHTTPRequestRulesParams object, with the default 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 NewGetHTTPRequestRulesParamsWithContext ¶
func NewGetHTTPRequestRulesParamsWithContext(ctx context.Context) *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParamsWithContext creates a new GetHTTPRequestRulesParams object with the ability to set a context for a request.
func NewGetHTTPRequestRulesParamsWithHTTPClient ¶
func NewGetHTTPRequestRulesParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParamsWithHTTPClient creates a new GetHTTPRequestRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPRequestRulesParamsWithTimeout ¶
func NewGetHTTPRequestRulesParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
NewGetHTTPRequestRulesParamsWithTimeout creates a new GetHTTPRequestRulesParams object with the ability to set a timeout on a request.
func (*GetHTTPRequestRulesParams) SetContext ¶
func (o *GetHTTPRequestRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetDefaults ¶
func (o *GetHTTPRequestRulesParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP request rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPRequestRulesParams) SetHTTPClient ¶
func (o *GetHTTPRequestRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetParentName ¶
func (o *GetHTTPRequestRulesParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetParentType ¶
func (o *GetHTTPRequestRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetTimeout ¶
func (o *GetHTTPRequestRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) SetTransactionID ¶
func (o *GetHTTPRequestRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithContext ¶
func (o *GetHTTPRequestRulesParams) WithContext(ctx context.Context) *GetHTTPRequestRulesParams
WithContext adds the context to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithDefaults ¶
func (o *GetHTTPRequestRulesParams) WithDefaults() *GetHTTPRequestRulesParams
WithDefaults hydrates default values in the get HTTP request rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPRequestRulesParams) WithHTTPClient ¶
func (o *GetHTTPRequestRulesParams) WithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams
WithHTTPClient adds the HTTPClient to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithParentName ¶
func (o *GetHTTPRequestRulesParams) WithParentName(parentName string) *GetHTTPRequestRulesParams
WithParentName adds the parentName to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithParentType ¶
func (o *GetHTTPRequestRulesParams) WithParentType(parentType string) *GetHTTPRequestRulesParams
WithParentType adds the parentType to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithTimeout ¶
func (o *GetHTTPRequestRulesParams) WithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams
WithTimeout adds the timeout to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WithTransactionID ¶
func (o *GetHTTPRequestRulesParams) WithTransactionID(transactionID *string) *GetHTTPRequestRulesParams
WithTransactionID adds the transactionID to the get HTTP request rules params
func (*GetHTTPRequestRulesParams) WriteToRequest ¶
func (o *GetHTTPRequestRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPRequestRulesReader ¶
type GetHTTPRequestRulesReader struct {
// contains filtered or unexported fields
}
GetHTTPRequestRulesReader is a Reader for the GetHTTPRequestRules structure.
func (*GetHTTPRequestRulesReader) ReadResponse ¶
func (o *GetHTTPRequestRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPRequestRuleAccepted ¶
type ReplaceHTTPRequestRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPRequestRule }
ReplaceHTTPRequestRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPRequestRuleAccepted ¶
func NewReplaceHTTPRequestRuleAccepted() *ReplaceHTTPRequestRuleAccepted
NewReplaceHTTPRequestRuleAccepted creates a ReplaceHTTPRequestRuleAccepted with default headers values
func (*ReplaceHTTPRequestRuleAccepted) Code ¶ added in v1.1.5
func (o *ReplaceHTTPRequestRuleAccepted) Code() int
Code gets the status code for the replace Http request rule accepted response
func (*ReplaceHTTPRequestRuleAccepted) Error ¶
func (o *ReplaceHTTPRequestRuleAccepted) Error() string
func (*ReplaceHTTPRequestRuleAccepted) GetPayload ¶
func (o *ReplaceHTTPRequestRuleAccepted) GetPayload() *models.HTTPRequestRule
func (*ReplaceHTTPRequestRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleAccepted) IsClientError() bool
IsClientError returns true when this replace Http request rule accepted response has a 4xx status code
func (*ReplaceHTTPRequestRuleAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleAccepted) IsCode(code int) bool
IsCode returns true when this replace Http request rule accepted response a status code equal to that given
func (*ReplaceHTTPRequestRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleAccepted) IsRedirect() bool
IsRedirect returns true when this replace Http request rule accepted response has a 3xx status code
func (*ReplaceHTTPRequestRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleAccepted) IsServerError() bool
IsServerError returns true when this replace Http request rule accepted response has a 5xx status code
func (*ReplaceHTTPRequestRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleAccepted) IsSuccess() bool
IsSuccess returns true when this replace Http request rule accepted response has a 2xx status code
func (*ReplaceHTTPRequestRuleAccepted) String ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleAccepted) String() string
type ReplaceHTTPRequestRuleBadRequest ¶
type ReplaceHTTPRequestRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPRequestRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceHTTPRequestRuleBadRequest ¶
func NewReplaceHTTPRequestRuleBadRequest() *ReplaceHTTPRequestRuleBadRequest
NewReplaceHTTPRequestRuleBadRequest creates a ReplaceHTTPRequestRuleBadRequest with default headers values
func (*ReplaceHTTPRequestRuleBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceHTTPRequestRuleBadRequest) Code() int
Code gets the status code for the replace Http request rule bad request response
func (*ReplaceHTTPRequestRuleBadRequest) Error ¶
func (o *ReplaceHTTPRequestRuleBadRequest) Error() string
func (*ReplaceHTTPRequestRuleBadRequest) GetPayload ¶
func (o *ReplaceHTTPRequestRuleBadRequest) GetPayload() *models.Error
func (*ReplaceHTTPRequestRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleBadRequest) IsClientError() bool
IsClientError returns true when this replace Http request rule bad request response has a 4xx status code
func (*ReplaceHTTPRequestRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleBadRequest) IsCode(code int) bool
IsCode returns true when this replace Http request rule bad request response a status code equal to that given
func (*ReplaceHTTPRequestRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Http request rule bad request response has a 3xx status code
func (*ReplaceHTTPRequestRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleBadRequest) IsServerError() bool
IsServerError returns true when this replace Http request rule bad request response has a 5xx status code
func (*ReplaceHTTPRequestRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Http request rule bad request response has a 2xx status code
func (*ReplaceHTTPRequestRuleBadRequest) String ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleBadRequest) String() string
type ReplaceHTTPRequestRuleDefault ¶
type ReplaceHTTPRequestRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPRequestRuleDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceHTTPRequestRuleDefault ¶
func NewReplaceHTTPRequestRuleDefault(code int) *ReplaceHTTPRequestRuleDefault
NewReplaceHTTPRequestRuleDefault creates a ReplaceHTTPRequestRuleDefault with default headers values
func (*ReplaceHTTPRequestRuleDefault) Code ¶
func (o *ReplaceHTTPRequestRuleDefault) Code() int
Code gets the status code for the replace HTTP request rule default response
func (*ReplaceHTTPRequestRuleDefault) Error ¶
func (o *ReplaceHTTPRequestRuleDefault) Error() string
func (*ReplaceHTTPRequestRuleDefault) GetPayload ¶
func (o *ReplaceHTTPRequestRuleDefault) GetPayload() *models.Error
func (*ReplaceHTTPRequestRuleDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleDefault) IsClientError() bool
IsClientError returns true when this replace HTTP request rule default response has a 4xx status code
func (*ReplaceHTTPRequestRuleDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleDefault) IsCode(code int) bool
IsCode returns true when this replace HTTP request rule default response a status code equal to that given
func (*ReplaceHTTPRequestRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleDefault) IsRedirect() bool
IsRedirect returns true when this replace HTTP request rule default response has a 3xx status code
func (*ReplaceHTTPRequestRuleDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleDefault) IsServerError() bool
IsServerError returns true when this replace HTTP request rule default response has a 5xx status code
func (*ReplaceHTTPRequestRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleDefault) IsSuccess() bool
IsSuccess returns true when this replace HTTP request rule default response has a 2xx status code
func (*ReplaceHTTPRequestRuleDefault) String ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleDefault) String() string
type ReplaceHTTPRequestRuleNotFound ¶
type ReplaceHTTPRequestRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPRequestRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceHTTPRequestRuleNotFound ¶
func NewReplaceHTTPRequestRuleNotFound() *ReplaceHTTPRequestRuleNotFound
NewReplaceHTTPRequestRuleNotFound creates a ReplaceHTTPRequestRuleNotFound with default headers values
func (*ReplaceHTTPRequestRuleNotFound) Code ¶ added in v1.1.5
func (o *ReplaceHTTPRequestRuleNotFound) Code() int
Code gets the status code for the replace Http request rule not found response
func (*ReplaceHTTPRequestRuleNotFound) Error ¶
func (o *ReplaceHTTPRequestRuleNotFound) Error() string
func (*ReplaceHTTPRequestRuleNotFound) GetPayload ¶
func (o *ReplaceHTTPRequestRuleNotFound) GetPayload() *models.Error
func (*ReplaceHTTPRequestRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleNotFound) IsClientError() bool
IsClientError returns true when this replace Http request rule not found response has a 4xx status code
func (*ReplaceHTTPRequestRuleNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleNotFound) IsCode(code int) bool
IsCode returns true when this replace Http request rule not found response a status code equal to that given
func (*ReplaceHTTPRequestRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleNotFound) IsRedirect() bool
IsRedirect returns true when this replace Http request rule not found response has a 3xx status code
func (*ReplaceHTTPRequestRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleNotFound) IsServerError() bool
IsServerError returns true when this replace Http request rule not found response has a 5xx status code
func (*ReplaceHTTPRequestRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleNotFound) IsSuccess() bool
IsSuccess returns true when this replace Http request rule not found response has a 2xx status code
func (*ReplaceHTTPRequestRuleNotFound) String ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleNotFound) String() string
type ReplaceHTTPRequestRuleOK ¶
type ReplaceHTTPRequestRuleOK struct {
Payload *models.HTTPRequestRule
}
ReplaceHTTPRequestRuleOK describes a response with status code 200, with default header values.
HTTP Request Rule replaced
func NewReplaceHTTPRequestRuleOK ¶
func NewReplaceHTTPRequestRuleOK() *ReplaceHTTPRequestRuleOK
NewReplaceHTTPRequestRuleOK creates a ReplaceHTTPRequestRuleOK with default headers values
func (*ReplaceHTTPRequestRuleOK) Code ¶ added in v1.1.5
func (o *ReplaceHTTPRequestRuleOK) Code() int
Code gets the status code for the replace Http request rule o k response
func (*ReplaceHTTPRequestRuleOK) Error ¶
func (o *ReplaceHTTPRequestRuleOK) Error() string
func (*ReplaceHTTPRequestRuleOK) GetPayload ¶
func (o *ReplaceHTTPRequestRuleOK) GetPayload() *models.HTTPRequestRule
func (*ReplaceHTTPRequestRuleOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleOK) IsClientError() bool
IsClientError returns true when this replace Http request rule o k response has a 4xx status code
func (*ReplaceHTTPRequestRuleOK) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleOK) IsCode(code int) bool
IsCode returns true when this replace Http request rule o k response a status code equal to that given
func (*ReplaceHTTPRequestRuleOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleOK) IsRedirect() bool
IsRedirect returns true when this replace Http request rule o k response has a 3xx status code
func (*ReplaceHTTPRequestRuleOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleOK) IsServerError() bool
IsServerError returns true when this replace Http request rule o k response has a 5xx status code
func (*ReplaceHTTPRequestRuleOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleOK) IsSuccess() bool
IsSuccess returns true when this replace Http request rule o k response has a 2xx status code
func (*ReplaceHTTPRequestRuleOK) String ¶ added in v1.1.0
func (o *ReplaceHTTPRequestRuleOK) String() string
type ReplaceHTTPRequestRuleParams ¶
type ReplaceHTTPRequestRuleParams struct { // Data. Data *models.HTTPRequestRule /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Index. HTTP Request Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceHTTPRequestRuleParams contains all the parameters to send to the API endpoint
for the replace HTTP request rule operation. Typically these are written to a http.Request.
func NewReplaceHTTPRequestRuleParams ¶
func NewReplaceHTTPRequestRuleParams() *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParams creates a new ReplaceHTTPRequestRuleParams object, with the default 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 NewReplaceHTTPRequestRuleParamsWithContext ¶
func NewReplaceHTTPRequestRuleParamsWithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParamsWithContext creates a new ReplaceHTTPRequestRuleParams object with the ability to set a context for a request.
func NewReplaceHTTPRequestRuleParamsWithHTTPClient ¶
func NewReplaceHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParamsWithHTTPClient creates a new ReplaceHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceHTTPRequestRuleParamsWithTimeout ¶
func NewReplaceHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
NewReplaceHTTPRequestRuleParamsWithTimeout creates a new ReplaceHTTPRequestRuleParams object with the ability to set a timeout on a request.
func (*ReplaceHTTPRequestRuleParams) SetContext ¶
func (o *ReplaceHTTPRequestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetData ¶
func (o *ReplaceHTTPRequestRuleParams) SetData(data *models.HTTPRequestRule)
SetData adds the data to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetDefaults ¶
func (o *ReplaceHTTPRequestRuleParams) SetDefaults()
SetDefaults hydrates default values in the replace HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPRequestRuleParams) SetForceReload ¶
func (o *ReplaceHTTPRequestRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetHTTPClient ¶
func (o *ReplaceHTTPRequestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetIndex ¶
func (o *ReplaceHTTPRequestRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetParentName ¶
func (o *ReplaceHTTPRequestRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetParentType ¶
func (o *ReplaceHTTPRequestRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetTimeout ¶
func (o *ReplaceHTTPRequestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetTransactionID ¶
func (o *ReplaceHTTPRequestRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) SetVersion ¶
func (o *ReplaceHTTPRequestRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithContext ¶
func (o *ReplaceHTTPRequestRuleParams) WithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams
WithContext adds the context to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithData ¶
func (o *ReplaceHTTPRequestRuleParams) WithData(data *models.HTTPRequestRule) *ReplaceHTTPRequestRuleParams
WithData adds the data to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithDefaults ¶
func (o *ReplaceHTTPRequestRuleParams) WithDefaults() *ReplaceHTTPRequestRuleParams
WithDefaults hydrates default values in the replace HTTP request rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPRequestRuleParams) WithForceReload ¶
func (o *ReplaceHTTPRequestRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPRequestRuleParams
WithForceReload adds the forceReload to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithHTTPClient ¶
func (o *ReplaceHTTPRequestRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams
WithHTTPClient adds the HTTPClient to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithIndex ¶
func (o *ReplaceHTTPRequestRuleParams) WithIndex(index int64) *ReplaceHTTPRequestRuleParams
WithIndex adds the index to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithParentName ¶
func (o *ReplaceHTTPRequestRuleParams) WithParentName(parentName string) *ReplaceHTTPRequestRuleParams
WithParentName adds the parentName to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithParentType ¶
func (o *ReplaceHTTPRequestRuleParams) WithParentType(parentType string) *ReplaceHTTPRequestRuleParams
WithParentType adds the parentType to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithTimeout ¶
func (o *ReplaceHTTPRequestRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams
WithTimeout adds the timeout to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithTransactionID ¶
func (o *ReplaceHTTPRequestRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPRequestRuleParams
WithTransactionID adds the transactionID to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WithVersion ¶
func (o *ReplaceHTTPRequestRuleParams) WithVersion(version *int64) *ReplaceHTTPRequestRuleParams
WithVersion adds the version to the replace HTTP request rule params
func (*ReplaceHTTPRequestRuleParams) WriteToRequest ¶
func (o *ReplaceHTTPRequestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPRequestRuleReader ¶
type ReplaceHTTPRequestRuleReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPRequestRuleReader is a Reader for the ReplaceHTTPRequestRule structure.
func (*ReplaceHTTPRequestRuleReader) ReadResponse ¶
func (o *ReplaceHTTPRequestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_http_request_rule_parameters.go
- create_http_request_rule_responses.go
- delete_http_request_rule_parameters.go
- delete_http_request_rule_responses.go
- get_http_request_rule_parameters.go
- get_http_request_rule_responses.go
- get_http_request_rules_parameters.go
- get_http_request_rules_responses.go
- http_request_rule_client.go
- replace_http_request_rule_parameters.go
- replace_http_request_rule_responses.go