Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*CreateRecordingRuleOK, error)
- func (a *Client) CreateRecordingRuleWithParams(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error)
- func (a *Client) CreateRecordingRuleWriteTarget(body *models.PrometheusRemoteWriteTargetJSON, opts ...ClientOption) (*CreateRecordingRuleWriteTargetOK, error)
- func (a *Client) CreateRecordingRuleWriteTargetWithParams(params *CreateRecordingRuleWriteTargetParams, opts ...ClientOption) (*CreateRecordingRuleWriteTargetOK, error)
- func (a *Client) DeleteRecordingRule(recordingRuleID int64, opts ...ClientOption) (*DeleteRecordingRuleOK, error)
- func (a *Client) DeleteRecordingRuleWithParams(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error)
- func (a *Client) DeleteRecordingRuleWriteTarget(opts ...ClientOption) (*DeleteRecordingRuleWriteTargetOK, error)
- func (a *Client) DeleteRecordingRuleWriteTargetWithParams(params *DeleteRecordingRuleWriteTargetParams, opts ...ClientOption) (*DeleteRecordingRuleWriteTargetOK, error)
- func (a *Client) GetRecordingRuleWriteTarget(opts ...ClientOption) (*GetRecordingRuleWriteTargetOK, error)
- func (a *Client) GetRecordingRuleWriteTargetWithParams(params *GetRecordingRuleWriteTargetParams, opts ...ClientOption) (*GetRecordingRuleWriteTargetOK, error)
- func (a *Client) ListRecordingRules(opts ...ClientOption) (*ListRecordingRulesOK, error)
- func (a *Client) ListRecordingRulesWithParams(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestCreateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*TestCreateRecordingRuleOK, error)
- func (a *Client) TestCreateRecordingRuleWithParams(params *TestCreateRecordingRuleParams, opts ...ClientOption) (*TestCreateRecordingRuleOK, error)
- func (a *Client) UpdateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*UpdateRecordingRuleOK, error)
- func (a *Client) UpdateRecordingRuleWithParams(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, error)
- type ClientOption
- type ClientService
- type CreateRecordingRuleForbidden
- func (o *CreateRecordingRuleForbidden) Code() int
- func (o *CreateRecordingRuleForbidden) Error() string
- func (o *CreateRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleForbidden) IsClientError() bool
- func (o *CreateRecordingRuleForbidden) IsCode(code int) bool
- func (o *CreateRecordingRuleForbidden) IsRedirect() bool
- func (o *CreateRecordingRuleForbidden) IsServerError() bool
- func (o *CreateRecordingRuleForbidden) IsSuccess() bool
- func (o *CreateRecordingRuleForbidden) String() string
- type CreateRecordingRuleInternalServerError
- func (o *CreateRecordingRuleInternalServerError) Code() int
- func (o *CreateRecordingRuleInternalServerError) Error() string
- func (o *CreateRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleInternalServerError) IsClientError() bool
- func (o *CreateRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *CreateRecordingRuleInternalServerError) IsRedirect() bool
- func (o *CreateRecordingRuleInternalServerError) IsServerError() bool
- func (o *CreateRecordingRuleInternalServerError) IsSuccess() bool
- func (o *CreateRecordingRuleInternalServerError) String() string
- type CreateRecordingRuleNotFound
- func (o *CreateRecordingRuleNotFound) Code() int
- func (o *CreateRecordingRuleNotFound) Error() string
- func (o *CreateRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleNotFound) IsClientError() bool
- func (o *CreateRecordingRuleNotFound) IsCode(code int) bool
- func (o *CreateRecordingRuleNotFound) IsRedirect() bool
- func (o *CreateRecordingRuleNotFound) IsServerError() bool
- func (o *CreateRecordingRuleNotFound) IsSuccess() bool
- func (o *CreateRecordingRuleNotFound) String() string
- type CreateRecordingRuleOK
- func (o *CreateRecordingRuleOK) Code() int
- func (o *CreateRecordingRuleOK) Error() string
- func (o *CreateRecordingRuleOK) GetPayload() *models.RecordingRuleJSON
- func (o *CreateRecordingRuleOK) IsClientError() bool
- func (o *CreateRecordingRuleOK) IsCode(code int) bool
- func (o *CreateRecordingRuleOK) IsRedirect() bool
- func (o *CreateRecordingRuleOK) IsServerError() bool
- func (o *CreateRecordingRuleOK) IsSuccess() bool
- func (o *CreateRecordingRuleOK) String() string
- type CreateRecordingRuleParams
- func NewCreateRecordingRuleParams() *CreateRecordingRuleParams
- func NewCreateRecordingRuleParamsWithContext(ctx context.Context) *CreateRecordingRuleParams
- func NewCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleParams
- func NewCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) SetBody(body *models.RecordingRuleJSON)
- func (o *CreateRecordingRuleParams) SetContext(ctx context.Context)
- func (o *CreateRecordingRuleParams) SetDefaults()
- func (o *CreateRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecordingRuleParams) WithBody(body *models.RecordingRuleJSON) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithContext(ctx context.Context) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithDefaults() *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithHTTPClient(client *http.Client) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithTimeout(timeout time.Duration) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecordingRuleReader
- type CreateRecordingRuleUnauthorized
- func (o *CreateRecordingRuleUnauthorized) Code() int
- func (o *CreateRecordingRuleUnauthorized) Error() string
- func (o *CreateRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleUnauthorized) IsClientError() bool
- func (o *CreateRecordingRuleUnauthorized) IsCode(code int) bool
- func (o *CreateRecordingRuleUnauthorized) IsRedirect() bool
- func (o *CreateRecordingRuleUnauthorized) IsServerError() bool
- func (o *CreateRecordingRuleUnauthorized) IsSuccess() bool
- func (o *CreateRecordingRuleUnauthorized) String() string
- type CreateRecordingRuleWriteTargetForbidden
- func (o *CreateRecordingRuleWriteTargetForbidden) Code() int
- func (o *CreateRecordingRuleWriteTargetForbidden) Error() string
- func (o *CreateRecordingRuleWriteTargetForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleWriteTargetForbidden) IsClientError() bool
- func (o *CreateRecordingRuleWriteTargetForbidden) IsCode(code int) bool
- func (o *CreateRecordingRuleWriteTargetForbidden) IsRedirect() bool
- func (o *CreateRecordingRuleWriteTargetForbidden) IsServerError() bool
- func (o *CreateRecordingRuleWriteTargetForbidden) IsSuccess() bool
- func (o *CreateRecordingRuleWriteTargetForbidden) String() string
- type CreateRecordingRuleWriteTargetInternalServerError
- func (o *CreateRecordingRuleWriteTargetInternalServerError) Code() int
- func (o *CreateRecordingRuleWriteTargetInternalServerError) Error() string
- func (o *CreateRecordingRuleWriteTargetInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleWriteTargetInternalServerError) IsClientError() bool
- func (o *CreateRecordingRuleWriteTargetInternalServerError) IsCode(code int) bool
- func (o *CreateRecordingRuleWriteTargetInternalServerError) IsRedirect() bool
- func (o *CreateRecordingRuleWriteTargetInternalServerError) IsServerError() bool
- func (o *CreateRecordingRuleWriteTargetInternalServerError) IsSuccess() bool
- func (o *CreateRecordingRuleWriteTargetInternalServerError) String() string
- type CreateRecordingRuleWriteTargetNotFound
- func (o *CreateRecordingRuleWriteTargetNotFound) Code() int
- func (o *CreateRecordingRuleWriteTargetNotFound) Error() string
- func (o *CreateRecordingRuleWriteTargetNotFound) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleWriteTargetNotFound) IsClientError() bool
- func (o *CreateRecordingRuleWriteTargetNotFound) IsCode(code int) bool
- func (o *CreateRecordingRuleWriteTargetNotFound) IsRedirect() bool
- func (o *CreateRecordingRuleWriteTargetNotFound) IsServerError() bool
- func (o *CreateRecordingRuleWriteTargetNotFound) IsSuccess() bool
- func (o *CreateRecordingRuleWriteTargetNotFound) String() string
- type CreateRecordingRuleWriteTargetOK
- func (o *CreateRecordingRuleWriteTargetOK) Code() int
- func (o *CreateRecordingRuleWriteTargetOK) Error() string
- func (o *CreateRecordingRuleWriteTargetOK) GetPayload() *models.PrometheusRemoteWriteTargetJSON
- func (o *CreateRecordingRuleWriteTargetOK) IsClientError() bool
- func (o *CreateRecordingRuleWriteTargetOK) IsCode(code int) bool
- func (o *CreateRecordingRuleWriteTargetOK) IsRedirect() bool
- func (o *CreateRecordingRuleWriteTargetOK) IsServerError() bool
- func (o *CreateRecordingRuleWriteTargetOK) IsSuccess() bool
- func (o *CreateRecordingRuleWriteTargetOK) String() string
- type CreateRecordingRuleWriteTargetParams
- func NewCreateRecordingRuleWriteTargetParams() *CreateRecordingRuleWriteTargetParams
- func NewCreateRecordingRuleWriteTargetParamsWithContext(ctx context.Context) *CreateRecordingRuleWriteTargetParams
- func NewCreateRecordingRuleWriteTargetParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleWriteTargetParams
- func NewCreateRecordingRuleWriteTargetParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleWriteTargetParams
- func (o *CreateRecordingRuleWriteTargetParams) SetBody(body *models.PrometheusRemoteWriteTargetJSON)
- func (o *CreateRecordingRuleWriteTargetParams) SetContext(ctx context.Context)
- func (o *CreateRecordingRuleWriteTargetParams) SetDefaults()
- func (o *CreateRecordingRuleWriteTargetParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecordingRuleWriteTargetParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecordingRuleWriteTargetParams) WithBody(body *models.PrometheusRemoteWriteTargetJSON) *CreateRecordingRuleWriteTargetParams
- func (o *CreateRecordingRuleWriteTargetParams) WithContext(ctx context.Context) *CreateRecordingRuleWriteTargetParams
- func (o *CreateRecordingRuleWriteTargetParams) WithDefaults() *CreateRecordingRuleWriteTargetParams
- func (o *CreateRecordingRuleWriteTargetParams) WithHTTPClient(client *http.Client) *CreateRecordingRuleWriteTargetParams
- func (o *CreateRecordingRuleWriteTargetParams) WithTimeout(timeout time.Duration) *CreateRecordingRuleWriteTargetParams
- func (o *CreateRecordingRuleWriteTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecordingRuleWriteTargetReader
- type CreateRecordingRuleWriteTargetUnauthorized
- func (o *CreateRecordingRuleWriteTargetUnauthorized) Code() int
- func (o *CreateRecordingRuleWriteTargetUnauthorized) Error() string
- func (o *CreateRecordingRuleWriteTargetUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleWriteTargetUnauthorized) IsClientError() bool
- func (o *CreateRecordingRuleWriteTargetUnauthorized) IsCode(code int) bool
- func (o *CreateRecordingRuleWriteTargetUnauthorized) IsRedirect() bool
- func (o *CreateRecordingRuleWriteTargetUnauthorized) IsServerError() bool
- func (o *CreateRecordingRuleWriteTargetUnauthorized) IsSuccess() bool
- func (o *CreateRecordingRuleWriteTargetUnauthorized) String() string
- type CreateRecordingRuleWriteTargetUnprocessableEntity
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) Code() int
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) Error() string
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) GetPayload() *models.ErrorResponseBody
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsClientError() bool
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsCode(code int) bool
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsRedirect() bool
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsServerError() bool
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsSuccess() bool
- func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) String() string
- type DeleteRecordingRuleForbidden
- func (o *DeleteRecordingRuleForbidden) Code() int
- func (o *DeleteRecordingRuleForbidden) Error() string
- func (o *DeleteRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleForbidden) IsClientError() bool
- func (o *DeleteRecordingRuleForbidden) IsCode(code int) bool
- func (o *DeleteRecordingRuleForbidden) IsRedirect() bool
- func (o *DeleteRecordingRuleForbidden) IsServerError() bool
- func (o *DeleteRecordingRuleForbidden) IsSuccess() bool
- func (o *DeleteRecordingRuleForbidden) String() string
- type DeleteRecordingRuleInternalServerError
- func (o *DeleteRecordingRuleInternalServerError) Code() int
- func (o *DeleteRecordingRuleInternalServerError) Error() string
- func (o *DeleteRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleInternalServerError) IsClientError() bool
- func (o *DeleteRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *DeleteRecordingRuleInternalServerError) IsRedirect() bool
- func (o *DeleteRecordingRuleInternalServerError) IsServerError() bool
- func (o *DeleteRecordingRuleInternalServerError) IsSuccess() bool
- func (o *DeleteRecordingRuleInternalServerError) String() string
- type DeleteRecordingRuleNotFound
- func (o *DeleteRecordingRuleNotFound) Code() int
- func (o *DeleteRecordingRuleNotFound) Error() string
- func (o *DeleteRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleNotFound) IsClientError() bool
- func (o *DeleteRecordingRuleNotFound) IsCode(code int) bool
- func (o *DeleteRecordingRuleNotFound) IsRedirect() bool
- func (o *DeleteRecordingRuleNotFound) IsServerError() bool
- func (o *DeleteRecordingRuleNotFound) IsSuccess() bool
- func (o *DeleteRecordingRuleNotFound) String() string
- type DeleteRecordingRuleOK
- func (o *DeleteRecordingRuleOK) Code() int
- func (o *DeleteRecordingRuleOK) Error() string
- func (o *DeleteRecordingRuleOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteRecordingRuleOK) IsClientError() bool
- func (o *DeleteRecordingRuleOK) IsCode(code int) bool
- func (o *DeleteRecordingRuleOK) IsRedirect() bool
- func (o *DeleteRecordingRuleOK) IsServerError() bool
- func (o *DeleteRecordingRuleOK) IsSuccess() bool
- func (o *DeleteRecordingRuleOK) String() string
- type DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParams() *DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParamsWithContext(ctx context.Context) *DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) SetContext(ctx context.Context)
- func (o *DeleteRecordingRuleParams) SetDefaults()
- func (o *DeleteRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRecordingRuleParams) SetRecordingRuleID(recordingRuleID int64)
- func (o *DeleteRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRecordingRuleParams) WithContext(ctx context.Context) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithDefaults() *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithRecordingRuleID(recordingRuleID int64) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRecordingRuleReader
- type DeleteRecordingRuleUnauthorized
- func (o *DeleteRecordingRuleUnauthorized) Code() int
- func (o *DeleteRecordingRuleUnauthorized) Error() string
- func (o *DeleteRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleUnauthorized) IsClientError() bool
- func (o *DeleteRecordingRuleUnauthorized) IsCode(code int) bool
- func (o *DeleteRecordingRuleUnauthorized) IsRedirect() bool
- func (o *DeleteRecordingRuleUnauthorized) IsServerError() bool
- func (o *DeleteRecordingRuleUnauthorized) IsSuccess() bool
- func (o *DeleteRecordingRuleUnauthorized) String() string
- type DeleteRecordingRuleWriteTargetForbidden
- func (o *DeleteRecordingRuleWriteTargetForbidden) Code() int
- func (o *DeleteRecordingRuleWriteTargetForbidden) Error() string
- func (o *DeleteRecordingRuleWriteTargetForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleWriteTargetForbidden) IsClientError() bool
- func (o *DeleteRecordingRuleWriteTargetForbidden) IsCode(code int) bool
- func (o *DeleteRecordingRuleWriteTargetForbidden) IsRedirect() bool
- func (o *DeleteRecordingRuleWriteTargetForbidden) IsServerError() bool
- func (o *DeleteRecordingRuleWriteTargetForbidden) IsSuccess() bool
- func (o *DeleteRecordingRuleWriteTargetForbidden) String() string
- type DeleteRecordingRuleWriteTargetInternalServerError
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) Code() int
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) Error() string
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsClientError() bool
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsCode(code int) bool
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsRedirect() bool
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsServerError() bool
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsSuccess() bool
- func (o *DeleteRecordingRuleWriteTargetInternalServerError) String() string
- type DeleteRecordingRuleWriteTargetNotFound
- func (o *DeleteRecordingRuleWriteTargetNotFound) Code() int
- func (o *DeleteRecordingRuleWriteTargetNotFound) Error() string
- func (o *DeleteRecordingRuleWriteTargetNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleWriteTargetNotFound) IsClientError() bool
- func (o *DeleteRecordingRuleWriteTargetNotFound) IsCode(code int) bool
- func (o *DeleteRecordingRuleWriteTargetNotFound) IsRedirect() bool
- func (o *DeleteRecordingRuleWriteTargetNotFound) IsServerError() bool
- func (o *DeleteRecordingRuleWriteTargetNotFound) IsSuccess() bool
- func (o *DeleteRecordingRuleWriteTargetNotFound) String() string
- type DeleteRecordingRuleWriteTargetOK
- func (o *DeleteRecordingRuleWriteTargetOK) Code() int
- func (o *DeleteRecordingRuleWriteTargetOK) Error() string
- func (o *DeleteRecordingRuleWriteTargetOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteRecordingRuleWriteTargetOK) IsClientError() bool
- func (o *DeleteRecordingRuleWriteTargetOK) IsCode(code int) bool
- func (o *DeleteRecordingRuleWriteTargetOK) IsRedirect() bool
- func (o *DeleteRecordingRuleWriteTargetOK) IsServerError() bool
- func (o *DeleteRecordingRuleWriteTargetOK) IsSuccess() bool
- func (o *DeleteRecordingRuleWriteTargetOK) String() string
- type DeleteRecordingRuleWriteTargetParams
- func NewDeleteRecordingRuleWriteTargetParams() *DeleteRecordingRuleWriteTargetParams
- func NewDeleteRecordingRuleWriteTargetParamsWithContext(ctx context.Context) *DeleteRecordingRuleWriteTargetParams
- func NewDeleteRecordingRuleWriteTargetParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleWriteTargetParams
- func NewDeleteRecordingRuleWriteTargetParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleWriteTargetParams
- func (o *DeleteRecordingRuleWriteTargetParams) SetContext(ctx context.Context)
- func (o *DeleteRecordingRuleWriteTargetParams) SetDefaults()
- func (o *DeleteRecordingRuleWriteTargetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRecordingRuleWriteTargetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRecordingRuleWriteTargetParams) WithContext(ctx context.Context) *DeleteRecordingRuleWriteTargetParams
- func (o *DeleteRecordingRuleWriteTargetParams) WithDefaults() *DeleteRecordingRuleWriteTargetParams
- func (o *DeleteRecordingRuleWriteTargetParams) WithHTTPClient(client *http.Client) *DeleteRecordingRuleWriteTargetParams
- func (o *DeleteRecordingRuleWriteTargetParams) WithTimeout(timeout time.Duration) *DeleteRecordingRuleWriteTargetParams
- func (o *DeleteRecordingRuleWriteTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRecordingRuleWriteTargetReader
- type DeleteRecordingRuleWriteTargetUnauthorized
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) Code() int
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) Error() string
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsClientError() bool
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsCode(code int) bool
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsRedirect() bool
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsServerError() bool
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsSuccess() bool
- func (o *DeleteRecordingRuleWriteTargetUnauthorized) String() string
- type GetRecordingRuleWriteTargetForbidden
- func (o *GetRecordingRuleWriteTargetForbidden) Code() int
- func (o *GetRecordingRuleWriteTargetForbidden) Error() string
- func (o *GetRecordingRuleWriteTargetForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetRecordingRuleWriteTargetForbidden) IsClientError() bool
- func (o *GetRecordingRuleWriteTargetForbidden) IsCode(code int) bool
- func (o *GetRecordingRuleWriteTargetForbidden) IsRedirect() bool
- func (o *GetRecordingRuleWriteTargetForbidden) IsServerError() bool
- func (o *GetRecordingRuleWriteTargetForbidden) IsSuccess() bool
- func (o *GetRecordingRuleWriteTargetForbidden) String() string
- type GetRecordingRuleWriteTargetInternalServerError
- func (o *GetRecordingRuleWriteTargetInternalServerError) Code() int
- func (o *GetRecordingRuleWriteTargetInternalServerError) Error() string
- func (o *GetRecordingRuleWriteTargetInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetRecordingRuleWriteTargetInternalServerError) IsClientError() bool
- func (o *GetRecordingRuleWriteTargetInternalServerError) IsCode(code int) bool
- func (o *GetRecordingRuleWriteTargetInternalServerError) IsRedirect() bool
- func (o *GetRecordingRuleWriteTargetInternalServerError) IsServerError() bool
- func (o *GetRecordingRuleWriteTargetInternalServerError) IsSuccess() bool
- func (o *GetRecordingRuleWriteTargetInternalServerError) String() string
- type GetRecordingRuleWriteTargetNotFound
- func (o *GetRecordingRuleWriteTargetNotFound) Code() int
- func (o *GetRecordingRuleWriteTargetNotFound) Error() string
- func (o *GetRecordingRuleWriteTargetNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetRecordingRuleWriteTargetNotFound) IsClientError() bool
- func (o *GetRecordingRuleWriteTargetNotFound) IsCode(code int) bool
- func (o *GetRecordingRuleWriteTargetNotFound) IsRedirect() bool
- func (o *GetRecordingRuleWriteTargetNotFound) IsServerError() bool
- func (o *GetRecordingRuleWriteTargetNotFound) IsSuccess() bool
- func (o *GetRecordingRuleWriteTargetNotFound) String() string
- type GetRecordingRuleWriteTargetOK
- func (o *GetRecordingRuleWriteTargetOK) Code() int
- func (o *GetRecordingRuleWriteTargetOK) Error() string
- func (o *GetRecordingRuleWriteTargetOK) GetPayload() *models.PrometheusRemoteWriteTargetJSON
- func (o *GetRecordingRuleWriteTargetOK) IsClientError() bool
- func (o *GetRecordingRuleWriteTargetOK) IsCode(code int) bool
- func (o *GetRecordingRuleWriteTargetOK) IsRedirect() bool
- func (o *GetRecordingRuleWriteTargetOK) IsServerError() bool
- func (o *GetRecordingRuleWriteTargetOK) IsSuccess() bool
- func (o *GetRecordingRuleWriteTargetOK) String() string
- type GetRecordingRuleWriteTargetParams
- func NewGetRecordingRuleWriteTargetParams() *GetRecordingRuleWriteTargetParams
- func NewGetRecordingRuleWriteTargetParamsWithContext(ctx context.Context) *GetRecordingRuleWriteTargetParams
- func NewGetRecordingRuleWriteTargetParamsWithHTTPClient(client *http.Client) *GetRecordingRuleWriteTargetParams
- func NewGetRecordingRuleWriteTargetParamsWithTimeout(timeout time.Duration) *GetRecordingRuleWriteTargetParams
- func (o *GetRecordingRuleWriteTargetParams) SetContext(ctx context.Context)
- func (o *GetRecordingRuleWriteTargetParams) SetDefaults()
- func (o *GetRecordingRuleWriteTargetParams) SetHTTPClient(client *http.Client)
- func (o *GetRecordingRuleWriteTargetParams) SetTimeout(timeout time.Duration)
- func (o *GetRecordingRuleWriteTargetParams) WithContext(ctx context.Context) *GetRecordingRuleWriteTargetParams
- func (o *GetRecordingRuleWriteTargetParams) WithDefaults() *GetRecordingRuleWriteTargetParams
- func (o *GetRecordingRuleWriteTargetParams) WithHTTPClient(client *http.Client) *GetRecordingRuleWriteTargetParams
- func (o *GetRecordingRuleWriteTargetParams) WithTimeout(timeout time.Duration) *GetRecordingRuleWriteTargetParams
- func (o *GetRecordingRuleWriteTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecordingRuleWriteTargetReader
- type GetRecordingRuleWriteTargetUnauthorized
- func (o *GetRecordingRuleWriteTargetUnauthorized) Code() int
- func (o *GetRecordingRuleWriteTargetUnauthorized) Error() string
- func (o *GetRecordingRuleWriteTargetUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetRecordingRuleWriteTargetUnauthorized) IsClientError() bool
- func (o *GetRecordingRuleWriteTargetUnauthorized) IsCode(code int) bool
- func (o *GetRecordingRuleWriteTargetUnauthorized) IsRedirect() bool
- func (o *GetRecordingRuleWriteTargetUnauthorized) IsServerError() bool
- func (o *GetRecordingRuleWriteTargetUnauthorized) IsSuccess() bool
- func (o *GetRecordingRuleWriteTargetUnauthorized) String() string
- type ListRecordingRulesForbidden
- func (o *ListRecordingRulesForbidden) Code() int
- func (o *ListRecordingRulesForbidden) Error() string
- func (o *ListRecordingRulesForbidden) GetPayload() *models.ErrorResponseBody
- func (o *ListRecordingRulesForbidden) IsClientError() bool
- func (o *ListRecordingRulesForbidden) IsCode(code int) bool
- func (o *ListRecordingRulesForbidden) IsRedirect() bool
- func (o *ListRecordingRulesForbidden) IsServerError() bool
- func (o *ListRecordingRulesForbidden) IsSuccess() bool
- func (o *ListRecordingRulesForbidden) String() string
- type ListRecordingRulesInternalServerError
- func (o *ListRecordingRulesInternalServerError) Code() int
- func (o *ListRecordingRulesInternalServerError) Error() string
- func (o *ListRecordingRulesInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *ListRecordingRulesInternalServerError) IsClientError() bool
- func (o *ListRecordingRulesInternalServerError) IsCode(code int) bool
- func (o *ListRecordingRulesInternalServerError) IsRedirect() bool
- func (o *ListRecordingRulesInternalServerError) IsServerError() bool
- func (o *ListRecordingRulesInternalServerError) IsSuccess() bool
- func (o *ListRecordingRulesInternalServerError) String() string
- type ListRecordingRulesNotFound
- func (o *ListRecordingRulesNotFound) Code() int
- func (o *ListRecordingRulesNotFound) Error() string
- func (o *ListRecordingRulesNotFound) GetPayload() *models.ErrorResponseBody
- func (o *ListRecordingRulesNotFound) IsClientError() bool
- func (o *ListRecordingRulesNotFound) IsCode(code int) bool
- func (o *ListRecordingRulesNotFound) IsRedirect() bool
- func (o *ListRecordingRulesNotFound) IsServerError() bool
- func (o *ListRecordingRulesNotFound) IsSuccess() bool
- func (o *ListRecordingRulesNotFound) String() string
- type ListRecordingRulesOK
- func (o *ListRecordingRulesOK) Code() int
- func (o *ListRecordingRulesOK) Error() string
- func (o *ListRecordingRulesOK) GetPayload() []*models.RecordingRuleJSON
- func (o *ListRecordingRulesOK) IsClientError() bool
- func (o *ListRecordingRulesOK) IsCode(code int) bool
- func (o *ListRecordingRulesOK) IsRedirect() bool
- func (o *ListRecordingRulesOK) IsServerError() bool
- func (o *ListRecordingRulesOK) IsSuccess() bool
- func (o *ListRecordingRulesOK) String() string
- type ListRecordingRulesParams
- func NewListRecordingRulesParams() *ListRecordingRulesParams
- func NewListRecordingRulesParamsWithContext(ctx context.Context) *ListRecordingRulesParams
- func NewListRecordingRulesParamsWithHTTPClient(client *http.Client) *ListRecordingRulesParams
- func NewListRecordingRulesParamsWithTimeout(timeout time.Duration) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) SetContext(ctx context.Context)
- func (o *ListRecordingRulesParams) SetDefaults()
- func (o *ListRecordingRulesParams) SetHTTPClient(client *http.Client)
- func (o *ListRecordingRulesParams) SetTimeout(timeout time.Duration)
- func (o *ListRecordingRulesParams) WithContext(ctx context.Context) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithDefaults() *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithHTTPClient(client *http.Client) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithTimeout(timeout time.Duration) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRecordingRulesReader
- type ListRecordingRulesUnauthorized
- func (o *ListRecordingRulesUnauthorized) Code() int
- func (o *ListRecordingRulesUnauthorized) Error() string
- func (o *ListRecordingRulesUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *ListRecordingRulesUnauthorized) IsClientError() bool
- func (o *ListRecordingRulesUnauthorized) IsCode(code int) bool
- func (o *ListRecordingRulesUnauthorized) IsRedirect() bool
- func (o *ListRecordingRulesUnauthorized) IsServerError() bool
- func (o *ListRecordingRulesUnauthorized) IsSuccess() bool
- func (o *ListRecordingRulesUnauthorized) String() string
- type TestCreateRecordingRuleForbidden
- func (o *TestCreateRecordingRuleForbidden) Code() int
- func (o *TestCreateRecordingRuleForbidden) Error() string
- func (o *TestCreateRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
- func (o *TestCreateRecordingRuleForbidden) IsClientError() bool
- func (o *TestCreateRecordingRuleForbidden) IsCode(code int) bool
- func (o *TestCreateRecordingRuleForbidden) IsRedirect() bool
- func (o *TestCreateRecordingRuleForbidden) IsServerError() bool
- func (o *TestCreateRecordingRuleForbidden) IsSuccess() bool
- func (o *TestCreateRecordingRuleForbidden) String() string
- type TestCreateRecordingRuleInternalServerError
- func (o *TestCreateRecordingRuleInternalServerError) Code() int
- func (o *TestCreateRecordingRuleInternalServerError) Error() string
- func (o *TestCreateRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *TestCreateRecordingRuleInternalServerError) IsClientError() bool
- func (o *TestCreateRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *TestCreateRecordingRuleInternalServerError) IsRedirect() bool
- func (o *TestCreateRecordingRuleInternalServerError) IsServerError() bool
- func (o *TestCreateRecordingRuleInternalServerError) IsSuccess() bool
- func (o *TestCreateRecordingRuleInternalServerError) String() string
- type TestCreateRecordingRuleNotFound
- func (o *TestCreateRecordingRuleNotFound) Code() int
- func (o *TestCreateRecordingRuleNotFound) Error() string
- func (o *TestCreateRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
- func (o *TestCreateRecordingRuleNotFound) IsClientError() bool
- func (o *TestCreateRecordingRuleNotFound) IsCode(code int) bool
- func (o *TestCreateRecordingRuleNotFound) IsRedirect() bool
- func (o *TestCreateRecordingRuleNotFound) IsServerError() bool
- func (o *TestCreateRecordingRuleNotFound) IsSuccess() bool
- func (o *TestCreateRecordingRuleNotFound) String() string
- type TestCreateRecordingRuleOK
- func (o *TestCreateRecordingRuleOK) Code() int
- func (o *TestCreateRecordingRuleOK) Error() string
- func (o *TestCreateRecordingRuleOK) GetPayload() *models.SuccessResponseBody
- func (o *TestCreateRecordingRuleOK) IsClientError() bool
- func (o *TestCreateRecordingRuleOK) IsCode(code int) bool
- func (o *TestCreateRecordingRuleOK) IsRedirect() bool
- func (o *TestCreateRecordingRuleOK) IsServerError() bool
- func (o *TestCreateRecordingRuleOK) IsSuccess() bool
- func (o *TestCreateRecordingRuleOK) String() string
- type TestCreateRecordingRuleParams
- func NewTestCreateRecordingRuleParams() *TestCreateRecordingRuleParams
- func NewTestCreateRecordingRuleParamsWithContext(ctx context.Context) *TestCreateRecordingRuleParams
- func NewTestCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *TestCreateRecordingRuleParams
- func NewTestCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *TestCreateRecordingRuleParams
- func (o *TestCreateRecordingRuleParams) SetBody(body *models.RecordingRuleJSON)
- func (o *TestCreateRecordingRuleParams) SetContext(ctx context.Context)
- func (o *TestCreateRecordingRuleParams) SetDefaults()
- func (o *TestCreateRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *TestCreateRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *TestCreateRecordingRuleParams) WithBody(body *models.RecordingRuleJSON) *TestCreateRecordingRuleParams
- func (o *TestCreateRecordingRuleParams) WithContext(ctx context.Context) *TestCreateRecordingRuleParams
- func (o *TestCreateRecordingRuleParams) WithDefaults() *TestCreateRecordingRuleParams
- func (o *TestCreateRecordingRuleParams) WithHTTPClient(client *http.Client) *TestCreateRecordingRuleParams
- func (o *TestCreateRecordingRuleParams) WithTimeout(timeout time.Duration) *TestCreateRecordingRuleParams
- func (o *TestCreateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestCreateRecordingRuleReader
- type TestCreateRecordingRuleUnauthorized
- func (o *TestCreateRecordingRuleUnauthorized) Code() int
- func (o *TestCreateRecordingRuleUnauthorized) Error() string
- func (o *TestCreateRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *TestCreateRecordingRuleUnauthorized) IsClientError() bool
- func (o *TestCreateRecordingRuleUnauthorized) IsCode(code int) bool
- func (o *TestCreateRecordingRuleUnauthorized) IsRedirect() bool
- func (o *TestCreateRecordingRuleUnauthorized) IsServerError() bool
- func (o *TestCreateRecordingRuleUnauthorized) IsSuccess() bool
- func (o *TestCreateRecordingRuleUnauthorized) String() string
- type TestCreateRecordingRuleUnprocessableEntity
- func (o *TestCreateRecordingRuleUnprocessableEntity) Code() int
- func (o *TestCreateRecordingRuleUnprocessableEntity) Error() string
- func (o *TestCreateRecordingRuleUnprocessableEntity) GetPayload() *models.ErrorResponseBody
- func (o *TestCreateRecordingRuleUnprocessableEntity) IsClientError() bool
- func (o *TestCreateRecordingRuleUnprocessableEntity) IsCode(code int) bool
- func (o *TestCreateRecordingRuleUnprocessableEntity) IsRedirect() bool
- func (o *TestCreateRecordingRuleUnprocessableEntity) IsServerError() bool
- func (o *TestCreateRecordingRuleUnprocessableEntity) IsSuccess() bool
- func (o *TestCreateRecordingRuleUnprocessableEntity) String() string
- type UpdateRecordingRuleForbidden
- func (o *UpdateRecordingRuleForbidden) Code() int
- func (o *UpdateRecordingRuleForbidden) Error() string
- func (o *UpdateRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateRecordingRuleForbidden) IsClientError() bool
- func (o *UpdateRecordingRuleForbidden) IsCode(code int) bool
- func (o *UpdateRecordingRuleForbidden) IsRedirect() bool
- func (o *UpdateRecordingRuleForbidden) IsServerError() bool
- func (o *UpdateRecordingRuleForbidden) IsSuccess() bool
- func (o *UpdateRecordingRuleForbidden) String() string
- type UpdateRecordingRuleInternalServerError
- func (o *UpdateRecordingRuleInternalServerError) Code() int
- func (o *UpdateRecordingRuleInternalServerError) Error() string
- func (o *UpdateRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateRecordingRuleInternalServerError) IsClientError() bool
- func (o *UpdateRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *UpdateRecordingRuleInternalServerError) IsRedirect() bool
- func (o *UpdateRecordingRuleInternalServerError) IsServerError() bool
- func (o *UpdateRecordingRuleInternalServerError) IsSuccess() bool
- func (o *UpdateRecordingRuleInternalServerError) String() string
- type UpdateRecordingRuleNotFound
- func (o *UpdateRecordingRuleNotFound) Code() int
- func (o *UpdateRecordingRuleNotFound) Error() string
- func (o *UpdateRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateRecordingRuleNotFound) IsClientError() bool
- func (o *UpdateRecordingRuleNotFound) IsCode(code int) bool
- func (o *UpdateRecordingRuleNotFound) IsRedirect() bool
- func (o *UpdateRecordingRuleNotFound) IsServerError() bool
- func (o *UpdateRecordingRuleNotFound) IsSuccess() bool
- func (o *UpdateRecordingRuleNotFound) String() string
- type UpdateRecordingRuleOK
- func (o *UpdateRecordingRuleOK) Code() int
- func (o *UpdateRecordingRuleOK) Error() string
- func (o *UpdateRecordingRuleOK) GetPayload() *models.RecordingRuleJSON
- func (o *UpdateRecordingRuleOK) IsClientError() bool
- func (o *UpdateRecordingRuleOK) IsCode(code int) bool
- func (o *UpdateRecordingRuleOK) IsRedirect() bool
- func (o *UpdateRecordingRuleOK) IsServerError() bool
- func (o *UpdateRecordingRuleOK) IsSuccess() bool
- func (o *UpdateRecordingRuleOK) String() string
- type UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParams() *UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParamsWithContext(ctx context.Context) *UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParamsWithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParamsWithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) SetBody(body *models.RecordingRuleJSON)
- func (o *UpdateRecordingRuleParams) SetContext(ctx context.Context)
- func (o *UpdateRecordingRuleParams) SetDefaults()
- func (o *UpdateRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRecordingRuleParams) WithBody(body *models.RecordingRuleJSON) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithContext(ctx context.Context) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithDefaults() *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRecordingRuleReader
- type UpdateRecordingRuleUnauthorized
- func (o *UpdateRecordingRuleUnauthorized) Code() int
- func (o *UpdateRecordingRuleUnauthorized) Error() string
- func (o *UpdateRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateRecordingRuleUnauthorized) IsClientError() bool
- func (o *UpdateRecordingRuleUnauthorized) IsCode(code int) bool
- func (o *UpdateRecordingRuleUnauthorized) IsRedirect() bool
- func (o *UpdateRecordingRuleUnauthorized) IsServerError() bool
- func (o *UpdateRecordingRuleUnauthorized) IsSuccess() bool
- func (o *UpdateRecordingRuleUnauthorized) String() string
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 recording rules API
func (*Client) CreateRecordingRule ¶
func (a *Client) CreateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*CreateRecordingRuleOK, error)
CreateRecordingRule creates a recording rule that is then registered and started
func (*Client) CreateRecordingRuleWithParams ¶
func (a *Client) CreateRecordingRuleWithParams(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error)
func (*Client) CreateRecordingRuleWriteTarget ¶
func (a *Client) CreateRecordingRuleWriteTarget(body *models.PrometheusRemoteWriteTargetJSON, opts ...ClientOption) (*CreateRecordingRuleWriteTargetOK, error)
CreateRecordingRuleWriteTarget creates a remote write target
It returns a 422 if there is not an existing prometheus data source configured.
func (*Client) CreateRecordingRuleWriteTargetWithParams ¶
func (a *Client) CreateRecordingRuleWriteTargetWithParams(params *CreateRecordingRuleWriteTargetParams, opts ...ClientOption) (*CreateRecordingRuleWriteTargetOK, error)
func (*Client) DeleteRecordingRule ¶
func (a *Client) DeleteRecordingRule(recordingRuleID int64, opts ...ClientOption) (*DeleteRecordingRuleOK, error)
DeleteRecordingRule deletes removes the rule from the registry and stops it
func (*Client) DeleteRecordingRuleWithParams ¶
func (a *Client) DeleteRecordingRuleWithParams(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error)
func (*Client) DeleteRecordingRuleWriteTarget ¶
func (a *Client) DeleteRecordingRuleWriteTarget(opts ...ClientOption) (*DeleteRecordingRuleWriteTargetOK, error)
DeleteRecordingRuleWriteTarget deletes the remote write target
func (*Client) DeleteRecordingRuleWriteTargetWithParams ¶
func (a *Client) DeleteRecordingRuleWriteTargetWithParams(params *DeleteRecordingRuleWriteTargetParams, opts ...ClientOption) (*DeleteRecordingRuleWriteTargetOK, error)
func (*Client) GetRecordingRuleWriteTarget ¶
func (a *Client) GetRecordingRuleWriteTarget(opts ...ClientOption) (*GetRecordingRuleWriteTargetOK, error)
GetRecordingRuleWriteTarget returns the prometheus remote write target
func (*Client) GetRecordingRuleWriteTargetWithParams ¶
func (a *Client) GetRecordingRuleWriteTargetWithParams(params *GetRecordingRuleWriteTargetParams, opts ...ClientOption) (*GetRecordingRuleWriteTargetOK, error)
func (*Client) ListRecordingRules ¶
func (a *Client) ListRecordingRules(opts ...ClientOption) (*ListRecordingRulesOK, error)
ListRecordingRules lists all rules in the database active or deleted
func (*Client) ListRecordingRulesWithParams ¶
func (a *Client) ListRecordingRulesWithParams(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestCreateRecordingRule ¶
func (a *Client) TestCreateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*TestCreateRecordingRuleOK, error)
TestCreateRecordingRule tests a recording rule
func (*Client) TestCreateRecordingRuleWithParams ¶
func (a *Client) TestCreateRecordingRuleWithParams(params *TestCreateRecordingRuleParams, opts ...ClientOption) (*TestCreateRecordingRuleOK, error)
func (*Client) UpdateRecordingRule ¶
func (a *Client) UpdateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*UpdateRecordingRuleOK, error)
UpdateRecordingRule updates the active status of a rule
func (*Client) UpdateRecordingRuleWithParams ¶
func (a *Client) UpdateRecordingRuleWithParams(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CreateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*CreateRecordingRuleOK, error) CreateRecordingRuleWithParams(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error) CreateRecordingRuleWriteTarget(body *models.PrometheusRemoteWriteTargetJSON, opts ...ClientOption) (*CreateRecordingRuleWriteTargetOK, error) CreateRecordingRuleWriteTargetWithParams(params *CreateRecordingRuleWriteTargetParams, opts ...ClientOption) (*CreateRecordingRuleWriteTargetOK, error) DeleteRecordingRule(recordingRuleID int64, opts ...ClientOption) (*DeleteRecordingRuleOK, error) DeleteRecordingRuleWithParams(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error) DeleteRecordingRuleWriteTarget(opts ...ClientOption) (*DeleteRecordingRuleWriteTargetOK, error) DeleteRecordingRuleWriteTargetWithParams(params *DeleteRecordingRuleWriteTargetParams, opts ...ClientOption) (*DeleteRecordingRuleWriteTargetOK, error) GetRecordingRuleWriteTarget(opts ...ClientOption) (*GetRecordingRuleWriteTargetOK, error) GetRecordingRuleWriteTargetWithParams(params *GetRecordingRuleWriteTargetParams, opts ...ClientOption) (*GetRecordingRuleWriteTargetOK, error) ListRecordingRules(opts ...ClientOption) (*ListRecordingRulesOK, error) ListRecordingRulesWithParams(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error) TestCreateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*TestCreateRecordingRuleOK, error) TestCreateRecordingRuleWithParams(params *TestCreateRecordingRuleParams, opts ...ClientOption) (*TestCreateRecordingRuleOK, error) UpdateRecordingRule(body *models.RecordingRuleJSON, opts ...ClientOption) (*UpdateRecordingRuleOK, error) UpdateRecordingRuleWithParams(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, 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 recording rules API client.
type CreateRecordingRuleForbidden ¶
type CreateRecordingRuleForbidden struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateRecordingRuleForbidden ¶
func NewCreateRecordingRuleForbidden() *CreateRecordingRuleForbidden
NewCreateRecordingRuleForbidden creates a CreateRecordingRuleForbidden with default headers values
func (*CreateRecordingRuleForbidden) Code ¶
func (o *CreateRecordingRuleForbidden) Code() int
Code gets the status code for the create recording rule forbidden response
func (*CreateRecordingRuleForbidden) Error ¶
func (o *CreateRecordingRuleForbidden) Error() string
func (*CreateRecordingRuleForbidden) GetPayload ¶
func (o *CreateRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleForbidden) IsClientError ¶
func (o *CreateRecordingRuleForbidden) IsClientError() bool
IsClientError returns true when this create recording rule forbidden response has a 4xx status code
func (*CreateRecordingRuleForbidden) IsCode ¶
func (o *CreateRecordingRuleForbidden) IsCode(code int) bool
IsCode returns true when this create recording rule forbidden response a status code equal to that given
func (*CreateRecordingRuleForbidden) IsRedirect ¶
func (o *CreateRecordingRuleForbidden) IsRedirect() bool
IsRedirect returns true when this create recording rule forbidden response has a 3xx status code
func (*CreateRecordingRuleForbidden) IsServerError ¶
func (o *CreateRecordingRuleForbidden) IsServerError() bool
IsServerError returns true when this create recording rule forbidden response has a 5xx status code
func (*CreateRecordingRuleForbidden) IsSuccess ¶
func (o *CreateRecordingRuleForbidden) IsSuccess() bool
IsSuccess returns true when this create recording rule forbidden response has a 2xx status code
func (*CreateRecordingRuleForbidden) String ¶
func (o *CreateRecordingRuleForbidden) String() string
type CreateRecordingRuleInternalServerError ¶
type CreateRecordingRuleInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateRecordingRuleInternalServerError ¶
func NewCreateRecordingRuleInternalServerError() *CreateRecordingRuleInternalServerError
NewCreateRecordingRuleInternalServerError creates a CreateRecordingRuleInternalServerError with default headers values
func (*CreateRecordingRuleInternalServerError) Code ¶
func (o *CreateRecordingRuleInternalServerError) Code() int
Code gets the status code for the create recording rule internal server error response
func (*CreateRecordingRuleInternalServerError) Error ¶
func (o *CreateRecordingRuleInternalServerError) Error() string
func (*CreateRecordingRuleInternalServerError) GetPayload ¶
func (o *CreateRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleInternalServerError) IsClientError ¶
func (o *CreateRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this create recording rule internal server error response has a 4xx status code
func (*CreateRecordingRuleInternalServerError) IsCode ¶
func (o *CreateRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this create recording rule internal server error response a status code equal to that given
func (*CreateRecordingRuleInternalServerError) IsRedirect ¶
func (o *CreateRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create recording rule internal server error response has a 3xx status code
func (*CreateRecordingRuleInternalServerError) IsServerError ¶
func (o *CreateRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this create recording rule internal server error response has a 5xx status code
func (*CreateRecordingRuleInternalServerError) IsSuccess ¶
func (o *CreateRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create recording rule internal server error response has a 2xx status code
func (*CreateRecordingRuleInternalServerError) String ¶
func (o *CreateRecordingRuleInternalServerError) String() string
type CreateRecordingRuleNotFound ¶
type CreateRecordingRuleNotFound struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewCreateRecordingRuleNotFound ¶
func NewCreateRecordingRuleNotFound() *CreateRecordingRuleNotFound
NewCreateRecordingRuleNotFound creates a CreateRecordingRuleNotFound with default headers values
func (*CreateRecordingRuleNotFound) Code ¶
func (o *CreateRecordingRuleNotFound) Code() int
Code gets the status code for the create recording rule not found response
func (*CreateRecordingRuleNotFound) Error ¶
func (o *CreateRecordingRuleNotFound) Error() string
func (*CreateRecordingRuleNotFound) GetPayload ¶
func (o *CreateRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleNotFound) IsClientError ¶
func (o *CreateRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this create recording rule not found response has a 4xx status code
func (*CreateRecordingRuleNotFound) IsCode ¶
func (o *CreateRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this create recording rule not found response a status code equal to that given
func (*CreateRecordingRuleNotFound) IsRedirect ¶
func (o *CreateRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this create recording rule not found response has a 3xx status code
func (*CreateRecordingRuleNotFound) IsServerError ¶
func (o *CreateRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this create recording rule not found response has a 5xx status code
func (*CreateRecordingRuleNotFound) IsSuccess ¶
func (o *CreateRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this create recording rule not found response has a 2xx status code
func (*CreateRecordingRuleNotFound) String ¶
func (o *CreateRecordingRuleNotFound) String() string
type CreateRecordingRuleOK ¶
type CreateRecordingRuleOK struct {
Payload *models.RecordingRuleJSON
}
CreateRecordingRuleOK describes a response with status code 200, with default header values.
(empty)
func NewCreateRecordingRuleOK ¶
func NewCreateRecordingRuleOK() *CreateRecordingRuleOK
NewCreateRecordingRuleOK creates a CreateRecordingRuleOK with default headers values
func (*CreateRecordingRuleOK) Code ¶
func (o *CreateRecordingRuleOK) Code() int
Code gets the status code for the create recording rule Ok response
func (*CreateRecordingRuleOK) Error ¶
func (o *CreateRecordingRuleOK) Error() string
func (*CreateRecordingRuleOK) GetPayload ¶
func (o *CreateRecordingRuleOK) GetPayload() *models.RecordingRuleJSON
func (*CreateRecordingRuleOK) IsClientError ¶
func (o *CreateRecordingRuleOK) IsClientError() bool
IsClientError returns true when this create recording rule Ok response has a 4xx status code
func (*CreateRecordingRuleOK) IsCode ¶
func (o *CreateRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this create recording rule Ok response a status code equal to that given
func (*CreateRecordingRuleOK) IsRedirect ¶
func (o *CreateRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this create recording rule Ok response has a 3xx status code
func (*CreateRecordingRuleOK) IsServerError ¶
func (o *CreateRecordingRuleOK) IsServerError() bool
IsServerError returns true when this create recording rule Ok response has a 5xx status code
func (*CreateRecordingRuleOK) IsSuccess ¶
func (o *CreateRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this create recording rule Ok response has a 2xx status code
func (*CreateRecordingRuleOK) String ¶
func (o *CreateRecordingRuleOK) String() string
type CreateRecordingRuleParams ¶
type CreateRecordingRuleParams struct { // Body. Body *models.RecordingRuleJSON Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecordingRuleParams contains all the parameters to send to the API endpoint
for the create recording rule operation. Typically these are written to a http.Request.
func NewCreateRecordingRuleParams ¶
func NewCreateRecordingRuleParams() *CreateRecordingRuleParams
NewCreateRecordingRuleParams creates a new CreateRecordingRuleParams 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 NewCreateRecordingRuleParamsWithContext ¶
func NewCreateRecordingRuleParamsWithContext(ctx context.Context) *CreateRecordingRuleParams
NewCreateRecordingRuleParamsWithContext creates a new CreateRecordingRuleParams object with the ability to set a context for a request.
func NewCreateRecordingRuleParamsWithHTTPClient ¶
func NewCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleParams
NewCreateRecordingRuleParamsWithHTTPClient creates a new CreateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRecordingRuleParamsWithTimeout ¶
func NewCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleParams
NewCreateRecordingRuleParamsWithTimeout creates a new CreateRecordingRuleParams object with the ability to set a timeout on a request.
func (*CreateRecordingRuleParams) SetBody ¶
func (o *CreateRecordingRuleParams) SetBody(body *models.RecordingRuleJSON)
SetBody adds the body to the create recording rule params
func (*CreateRecordingRuleParams) SetContext ¶
func (o *CreateRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create recording rule params
func (*CreateRecordingRuleParams) SetDefaults ¶
func (o *CreateRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the create recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecordingRuleParams) SetHTTPClient ¶
func (o *CreateRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recording rule params
func (*CreateRecordingRuleParams) SetTimeout ¶
func (o *CreateRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recording rule params
func (*CreateRecordingRuleParams) WithBody ¶
func (o *CreateRecordingRuleParams) WithBody(body *models.RecordingRuleJSON) *CreateRecordingRuleParams
WithBody adds the body to the create recording rule params
func (*CreateRecordingRuleParams) WithContext ¶
func (o *CreateRecordingRuleParams) WithContext(ctx context.Context) *CreateRecordingRuleParams
WithContext adds the context to the create recording rule params
func (*CreateRecordingRuleParams) WithDefaults ¶
func (o *CreateRecordingRuleParams) WithDefaults() *CreateRecordingRuleParams
WithDefaults hydrates default values in the create recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecordingRuleParams) WithHTTPClient ¶
func (o *CreateRecordingRuleParams) WithHTTPClient(client *http.Client) *CreateRecordingRuleParams
WithHTTPClient adds the HTTPClient to the create recording rule params
func (*CreateRecordingRuleParams) WithTimeout ¶
func (o *CreateRecordingRuleParams) WithTimeout(timeout time.Duration) *CreateRecordingRuleParams
WithTimeout adds the timeout to the create recording rule params
func (*CreateRecordingRuleParams) WriteToRequest ¶
func (o *CreateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecordingRuleReader ¶
type CreateRecordingRuleReader struct {
// contains filtered or unexported fields
}
CreateRecordingRuleReader is a Reader for the CreateRecordingRule structure.
func (*CreateRecordingRuleReader) ReadResponse ¶
func (o *CreateRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRecordingRuleUnauthorized ¶
type CreateRecordingRuleUnauthorized struct {
}CreateRecordingRuleUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateRecordingRuleUnauthorized ¶
func NewCreateRecordingRuleUnauthorized() *CreateRecordingRuleUnauthorized
NewCreateRecordingRuleUnauthorized creates a CreateRecordingRuleUnauthorized with default headers values
func (*CreateRecordingRuleUnauthorized) Code ¶
func (o *CreateRecordingRuleUnauthorized) Code() int
Code gets the status code for the create recording rule unauthorized response
func (*CreateRecordingRuleUnauthorized) Error ¶
func (o *CreateRecordingRuleUnauthorized) Error() string
func (*CreateRecordingRuleUnauthorized) GetPayload ¶
func (o *CreateRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleUnauthorized) IsClientError ¶
func (o *CreateRecordingRuleUnauthorized) IsClientError() bool
IsClientError returns true when this create recording rule unauthorized response has a 4xx status code
func (*CreateRecordingRuleUnauthorized) IsCode ¶
func (o *CreateRecordingRuleUnauthorized) IsCode(code int) bool
IsCode returns true when this create recording rule unauthorized response a status code equal to that given
func (*CreateRecordingRuleUnauthorized) IsRedirect ¶
func (o *CreateRecordingRuleUnauthorized) IsRedirect() bool
IsRedirect returns true when this create recording rule unauthorized response has a 3xx status code
func (*CreateRecordingRuleUnauthorized) IsServerError ¶
func (o *CreateRecordingRuleUnauthorized) IsServerError() bool
IsServerError returns true when this create recording rule unauthorized response has a 5xx status code
func (*CreateRecordingRuleUnauthorized) IsSuccess ¶
func (o *CreateRecordingRuleUnauthorized) IsSuccess() bool
IsSuccess returns true when this create recording rule unauthorized response has a 2xx status code
func (*CreateRecordingRuleUnauthorized) String ¶
func (o *CreateRecordingRuleUnauthorized) String() string
type CreateRecordingRuleWriteTargetForbidden ¶
type CreateRecordingRuleWriteTargetForbidden struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleWriteTargetForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateRecordingRuleWriteTargetForbidden ¶
func NewCreateRecordingRuleWriteTargetForbidden() *CreateRecordingRuleWriteTargetForbidden
NewCreateRecordingRuleWriteTargetForbidden creates a CreateRecordingRuleWriteTargetForbidden with default headers values
func (*CreateRecordingRuleWriteTargetForbidden) Code ¶
func (o *CreateRecordingRuleWriteTargetForbidden) Code() int
Code gets the status code for the create recording rule write target forbidden response
func (*CreateRecordingRuleWriteTargetForbidden) Error ¶
func (o *CreateRecordingRuleWriteTargetForbidden) Error() string
func (*CreateRecordingRuleWriteTargetForbidden) GetPayload ¶
func (o *CreateRecordingRuleWriteTargetForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleWriteTargetForbidden) IsClientError ¶
func (o *CreateRecordingRuleWriteTargetForbidden) IsClientError() bool
IsClientError returns true when this create recording rule write target forbidden response has a 4xx status code
func (*CreateRecordingRuleWriteTargetForbidden) IsCode ¶
func (o *CreateRecordingRuleWriteTargetForbidden) IsCode(code int) bool
IsCode returns true when this create recording rule write target forbidden response a status code equal to that given
func (*CreateRecordingRuleWriteTargetForbidden) IsRedirect ¶
func (o *CreateRecordingRuleWriteTargetForbidden) IsRedirect() bool
IsRedirect returns true when this create recording rule write target forbidden response has a 3xx status code
func (*CreateRecordingRuleWriteTargetForbidden) IsServerError ¶
func (o *CreateRecordingRuleWriteTargetForbidden) IsServerError() bool
IsServerError returns true when this create recording rule write target forbidden response has a 5xx status code
func (*CreateRecordingRuleWriteTargetForbidden) IsSuccess ¶
func (o *CreateRecordingRuleWriteTargetForbidden) IsSuccess() bool
IsSuccess returns true when this create recording rule write target forbidden response has a 2xx status code
func (*CreateRecordingRuleWriteTargetForbidden) String ¶
func (o *CreateRecordingRuleWriteTargetForbidden) String() string
type CreateRecordingRuleWriteTargetInternalServerError ¶
type CreateRecordingRuleWriteTargetInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleWriteTargetInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateRecordingRuleWriteTargetInternalServerError ¶
func NewCreateRecordingRuleWriteTargetInternalServerError() *CreateRecordingRuleWriteTargetInternalServerError
NewCreateRecordingRuleWriteTargetInternalServerError creates a CreateRecordingRuleWriteTargetInternalServerError with default headers values
func (*CreateRecordingRuleWriteTargetInternalServerError) Code ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) Code() int
Code gets the status code for the create recording rule write target internal server error response
func (*CreateRecordingRuleWriteTargetInternalServerError) Error ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) Error() string
func (*CreateRecordingRuleWriteTargetInternalServerError) GetPayload ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleWriteTargetInternalServerError) IsClientError ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) IsClientError() bool
IsClientError returns true when this create recording rule write target internal server error response has a 4xx status code
func (*CreateRecordingRuleWriteTargetInternalServerError) IsCode ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) IsCode(code int) bool
IsCode returns true when this create recording rule write target internal server error response a status code equal to that given
func (*CreateRecordingRuleWriteTargetInternalServerError) IsRedirect ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) IsRedirect() bool
IsRedirect returns true when this create recording rule write target internal server error response has a 3xx status code
func (*CreateRecordingRuleWriteTargetInternalServerError) IsServerError ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) IsServerError() bool
IsServerError returns true when this create recording rule write target internal server error response has a 5xx status code
func (*CreateRecordingRuleWriteTargetInternalServerError) IsSuccess ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) IsSuccess() bool
IsSuccess returns true when this create recording rule write target internal server error response has a 2xx status code
func (*CreateRecordingRuleWriteTargetInternalServerError) String ¶
func (o *CreateRecordingRuleWriteTargetInternalServerError) String() string
type CreateRecordingRuleWriteTargetNotFound ¶
type CreateRecordingRuleWriteTargetNotFound struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleWriteTargetNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewCreateRecordingRuleWriteTargetNotFound ¶
func NewCreateRecordingRuleWriteTargetNotFound() *CreateRecordingRuleWriteTargetNotFound
NewCreateRecordingRuleWriteTargetNotFound creates a CreateRecordingRuleWriteTargetNotFound with default headers values
func (*CreateRecordingRuleWriteTargetNotFound) Code ¶
func (o *CreateRecordingRuleWriteTargetNotFound) Code() int
Code gets the status code for the create recording rule write target not found response
func (*CreateRecordingRuleWriteTargetNotFound) Error ¶
func (o *CreateRecordingRuleWriteTargetNotFound) Error() string
func (*CreateRecordingRuleWriteTargetNotFound) GetPayload ¶
func (o *CreateRecordingRuleWriteTargetNotFound) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleWriteTargetNotFound) IsClientError ¶
func (o *CreateRecordingRuleWriteTargetNotFound) IsClientError() bool
IsClientError returns true when this create recording rule write target not found response has a 4xx status code
func (*CreateRecordingRuleWriteTargetNotFound) IsCode ¶
func (o *CreateRecordingRuleWriteTargetNotFound) IsCode(code int) bool
IsCode returns true when this create recording rule write target not found response a status code equal to that given
func (*CreateRecordingRuleWriteTargetNotFound) IsRedirect ¶
func (o *CreateRecordingRuleWriteTargetNotFound) IsRedirect() bool
IsRedirect returns true when this create recording rule write target not found response has a 3xx status code
func (*CreateRecordingRuleWriteTargetNotFound) IsServerError ¶
func (o *CreateRecordingRuleWriteTargetNotFound) IsServerError() bool
IsServerError returns true when this create recording rule write target not found response has a 5xx status code
func (*CreateRecordingRuleWriteTargetNotFound) IsSuccess ¶
func (o *CreateRecordingRuleWriteTargetNotFound) IsSuccess() bool
IsSuccess returns true when this create recording rule write target not found response has a 2xx status code
func (*CreateRecordingRuleWriteTargetNotFound) String ¶
func (o *CreateRecordingRuleWriteTargetNotFound) String() string
type CreateRecordingRuleWriteTargetOK ¶
type CreateRecordingRuleWriteTargetOK struct {
Payload *models.PrometheusRemoteWriteTargetJSON
}
CreateRecordingRuleWriteTargetOK describes a response with status code 200, with default header values.
(empty)
func NewCreateRecordingRuleWriteTargetOK ¶
func NewCreateRecordingRuleWriteTargetOK() *CreateRecordingRuleWriteTargetOK
NewCreateRecordingRuleWriteTargetOK creates a CreateRecordingRuleWriteTargetOK with default headers values
func (*CreateRecordingRuleWriteTargetOK) Code ¶
func (o *CreateRecordingRuleWriteTargetOK) Code() int
Code gets the status code for the create recording rule write target Ok response
func (*CreateRecordingRuleWriteTargetOK) Error ¶
func (o *CreateRecordingRuleWriteTargetOK) Error() string
func (*CreateRecordingRuleWriteTargetOK) GetPayload ¶
func (o *CreateRecordingRuleWriteTargetOK) GetPayload() *models.PrometheusRemoteWriteTargetJSON
func (*CreateRecordingRuleWriteTargetOK) IsClientError ¶
func (o *CreateRecordingRuleWriteTargetOK) IsClientError() bool
IsClientError returns true when this create recording rule write target Ok response has a 4xx status code
func (*CreateRecordingRuleWriteTargetOK) IsCode ¶
func (o *CreateRecordingRuleWriteTargetOK) IsCode(code int) bool
IsCode returns true when this create recording rule write target Ok response a status code equal to that given
func (*CreateRecordingRuleWriteTargetOK) IsRedirect ¶
func (o *CreateRecordingRuleWriteTargetOK) IsRedirect() bool
IsRedirect returns true when this create recording rule write target Ok response has a 3xx status code
func (*CreateRecordingRuleWriteTargetOK) IsServerError ¶
func (o *CreateRecordingRuleWriteTargetOK) IsServerError() bool
IsServerError returns true when this create recording rule write target Ok response has a 5xx status code
func (*CreateRecordingRuleWriteTargetOK) IsSuccess ¶
func (o *CreateRecordingRuleWriteTargetOK) IsSuccess() bool
IsSuccess returns true when this create recording rule write target Ok response has a 2xx status code
func (*CreateRecordingRuleWriteTargetOK) String ¶
func (o *CreateRecordingRuleWriteTargetOK) String() string
type CreateRecordingRuleWriteTargetParams ¶
type CreateRecordingRuleWriteTargetParams struct { // Body. Body *models.PrometheusRemoteWriteTargetJSON Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecordingRuleWriteTargetParams contains all the parameters to send to the API endpoint
for the create recording rule write target operation. Typically these are written to a http.Request.
func NewCreateRecordingRuleWriteTargetParams ¶
func NewCreateRecordingRuleWriteTargetParams() *CreateRecordingRuleWriteTargetParams
NewCreateRecordingRuleWriteTargetParams creates a new CreateRecordingRuleWriteTargetParams 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 NewCreateRecordingRuleWriteTargetParamsWithContext ¶
func NewCreateRecordingRuleWriteTargetParamsWithContext(ctx context.Context) *CreateRecordingRuleWriteTargetParams
NewCreateRecordingRuleWriteTargetParamsWithContext creates a new CreateRecordingRuleWriteTargetParams object with the ability to set a context for a request.
func NewCreateRecordingRuleWriteTargetParamsWithHTTPClient ¶
func NewCreateRecordingRuleWriteTargetParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleWriteTargetParams
NewCreateRecordingRuleWriteTargetParamsWithHTTPClient creates a new CreateRecordingRuleWriteTargetParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRecordingRuleWriteTargetParamsWithTimeout ¶
func NewCreateRecordingRuleWriteTargetParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleWriteTargetParams
NewCreateRecordingRuleWriteTargetParamsWithTimeout creates a new CreateRecordingRuleWriteTargetParams object with the ability to set a timeout on a request.
func (*CreateRecordingRuleWriteTargetParams) SetBody ¶
func (o *CreateRecordingRuleWriteTargetParams) SetBody(body *models.PrometheusRemoteWriteTargetJSON)
SetBody adds the body to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) SetContext ¶
func (o *CreateRecordingRuleWriteTargetParams) SetContext(ctx context.Context)
SetContext adds the context to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) SetDefaults ¶
func (o *CreateRecordingRuleWriteTargetParams) SetDefaults()
SetDefaults hydrates default values in the create recording rule write target params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecordingRuleWriteTargetParams) SetHTTPClient ¶
func (o *CreateRecordingRuleWriteTargetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) SetTimeout ¶
func (o *CreateRecordingRuleWriteTargetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) WithBody ¶
func (o *CreateRecordingRuleWriteTargetParams) WithBody(body *models.PrometheusRemoteWriteTargetJSON) *CreateRecordingRuleWriteTargetParams
WithBody adds the body to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) WithContext ¶
func (o *CreateRecordingRuleWriteTargetParams) WithContext(ctx context.Context) *CreateRecordingRuleWriteTargetParams
WithContext adds the context to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) WithDefaults ¶
func (o *CreateRecordingRuleWriteTargetParams) WithDefaults() *CreateRecordingRuleWriteTargetParams
WithDefaults hydrates default values in the create recording rule write target params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecordingRuleWriteTargetParams) WithHTTPClient ¶
func (o *CreateRecordingRuleWriteTargetParams) WithHTTPClient(client *http.Client) *CreateRecordingRuleWriteTargetParams
WithHTTPClient adds the HTTPClient to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) WithTimeout ¶
func (o *CreateRecordingRuleWriteTargetParams) WithTimeout(timeout time.Duration) *CreateRecordingRuleWriteTargetParams
WithTimeout adds the timeout to the create recording rule write target params
func (*CreateRecordingRuleWriteTargetParams) WriteToRequest ¶
func (o *CreateRecordingRuleWriteTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecordingRuleWriteTargetReader ¶
type CreateRecordingRuleWriteTargetReader struct {
// contains filtered or unexported fields
}
CreateRecordingRuleWriteTargetReader is a Reader for the CreateRecordingRuleWriteTarget structure.
func (*CreateRecordingRuleWriteTargetReader) ReadResponse ¶
func (o *CreateRecordingRuleWriteTargetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRecordingRuleWriteTargetUnauthorized ¶
type CreateRecordingRuleWriteTargetUnauthorized struct {
}CreateRecordingRuleWriteTargetUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateRecordingRuleWriteTargetUnauthorized ¶
func NewCreateRecordingRuleWriteTargetUnauthorized() *CreateRecordingRuleWriteTargetUnauthorized
NewCreateRecordingRuleWriteTargetUnauthorized creates a CreateRecordingRuleWriteTargetUnauthorized with default headers values
func (*CreateRecordingRuleWriteTargetUnauthorized) Code ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) Code() int
Code gets the status code for the create recording rule write target unauthorized response
func (*CreateRecordingRuleWriteTargetUnauthorized) Error ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) Error() string
func (*CreateRecordingRuleWriteTargetUnauthorized) GetPayload ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleWriteTargetUnauthorized) IsClientError ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) IsClientError() bool
IsClientError returns true when this create recording rule write target unauthorized response has a 4xx status code
func (*CreateRecordingRuleWriteTargetUnauthorized) IsCode ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) IsCode(code int) bool
IsCode returns true when this create recording rule write target unauthorized response a status code equal to that given
func (*CreateRecordingRuleWriteTargetUnauthorized) IsRedirect ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) IsRedirect() bool
IsRedirect returns true when this create recording rule write target unauthorized response has a 3xx status code
func (*CreateRecordingRuleWriteTargetUnauthorized) IsServerError ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) IsServerError() bool
IsServerError returns true when this create recording rule write target unauthorized response has a 5xx status code
func (*CreateRecordingRuleWriteTargetUnauthorized) IsSuccess ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) IsSuccess() bool
IsSuccess returns true when this create recording rule write target unauthorized response has a 2xx status code
func (*CreateRecordingRuleWriteTargetUnauthorized) String ¶
func (o *CreateRecordingRuleWriteTargetUnauthorized) String() string
type CreateRecordingRuleWriteTargetUnprocessableEntity ¶
type CreateRecordingRuleWriteTargetUnprocessableEntity struct {
Payload *models.ErrorResponseBody
}
CreateRecordingRuleWriteTargetUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntityError
func NewCreateRecordingRuleWriteTargetUnprocessableEntity ¶
func NewCreateRecordingRuleWriteTargetUnprocessableEntity() *CreateRecordingRuleWriteTargetUnprocessableEntity
NewCreateRecordingRuleWriteTargetUnprocessableEntity creates a CreateRecordingRuleWriteTargetUnprocessableEntity with default headers values
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) Code ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) Code() int
Code gets the status code for the create recording rule write target unprocessable entity response
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) Error ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) Error() string
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) GetPayload ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) GetPayload() *models.ErrorResponseBody
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) IsClientError ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create recording rule write target unprocessable entity response has a 4xx status code
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) IsCode ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create recording rule write target unprocessable entity response a status code equal to that given
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) IsRedirect ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create recording rule write target unprocessable entity response has a 3xx status code
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) IsServerError ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create recording rule write target unprocessable entity response has a 5xx status code
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) IsSuccess ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create recording rule write target unprocessable entity response has a 2xx status code
func (*CreateRecordingRuleWriteTargetUnprocessableEntity) String ¶
func (o *CreateRecordingRuleWriteTargetUnprocessableEntity) String() string
type DeleteRecordingRuleForbidden ¶
type DeleteRecordingRuleForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteRecordingRuleForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteRecordingRuleForbidden ¶
func NewDeleteRecordingRuleForbidden() *DeleteRecordingRuleForbidden
NewDeleteRecordingRuleForbidden creates a DeleteRecordingRuleForbidden with default headers values
func (*DeleteRecordingRuleForbidden) Code ¶
func (o *DeleteRecordingRuleForbidden) Code() int
Code gets the status code for the delete recording rule forbidden response
func (*DeleteRecordingRuleForbidden) Error ¶
func (o *DeleteRecordingRuleForbidden) Error() string
func (*DeleteRecordingRuleForbidden) GetPayload ¶
func (o *DeleteRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleForbidden) IsClientError ¶
func (o *DeleteRecordingRuleForbidden) IsClientError() bool
IsClientError returns true when this delete recording rule forbidden response has a 4xx status code
func (*DeleteRecordingRuleForbidden) IsCode ¶
func (o *DeleteRecordingRuleForbidden) IsCode(code int) bool
IsCode returns true when this delete recording rule forbidden response a status code equal to that given
func (*DeleteRecordingRuleForbidden) IsRedirect ¶
func (o *DeleteRecordingRuleForbidden) IsRedirect() bool
IsRedirect returns true when this delete recording rule forbidden response has a 3xx status code
func (*DeleteRecordingRuleForbidden) IsServerError ¶
func (o *DeleteRecordingRuleForbidden) IsServerError() bool
IsServerError returns true when this delete recording rule forbidden response has a 5xx status code
func (*DeleteRecordingRuleForbidden) IsSuccess ¶
func (o *DeleteRecordingRuleForbidden) IsSuccess() bool
IsSuccess returns true when this delete recording rule forbidden response has a 2xx status code
func (*DeleteRecordingRuleForbidden) String ¶
func (o *DeleteRecordingRuleForbidden) String() string
type DeleteRecordingRuleInternalServerError ¶
type DeleteRecordingRuleInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteRecordingRuleInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteRecordingRuleInternalServerError ¶
func NewDeleteRecordingRuleInternalServerError() *DeleteRecordingRuleInternalServerError
NewDeleteRecordingRuleInternalServerError creates a DeleteRecordingRuleInternalServerError with default headers values
func (*DeleteRecordingRuleInternalServerError) Code ¶
func (o *DeleteRecordingRuleInternalServerError) Code() int
Code gets the status code for the delete recording rule internal server error response
func (*DeleteRecordingRuleInternalServerError) Error ¶
func (o *DeleteRecordingRuleInternalServerError) Error() string
func (*DeleteRecordingRuleInternalServerError) GetPayload ¶
func (o *DeleteRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleInternalServerError) IsClientError ¶
func (o *DeleteRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this delete recording rule internal server error response has a 4xx status code
func (*DeleteRecordingRuleInternalServerError) IsCode ¶
func (o *DeleteRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this delete recording rule internal server error response a status code equal to that given
func (*DeleteRecordingRuleInternalServerError) IsRedirect ¶
func (o *DeleteRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete recording rule internal server error response has a 3xx status code
func (*DeleteRecordingRuleInternalServerError) IsServerError ¶
func (o *DeleteRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this delete recording rule internal server error response has a 5xx status code
func (*DeleteRecordingRuleInternalServerError) IsSuccess ¶
func (o *DeleteRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete recording rule internal server error response has a 2xx status code
func (*DeleteRecordingRuleInternalServerError) String ¶
func (o *DeleteRecordingRuleInternalServerError) String() string
type DeleteRecordingRuleNotFound ¶
type DeleteRecordingRuleNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteRecordingRuleNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteRecordingRuleNotFound ¶
func NewDeleteRecordingRuleNotFound() *DeleteRecordingRuleNotFound
NewDeleteRecordingRuleNotFound creates a DeleteRecordingRuleNotFound with default headers values
func (*DeleteRecordingRuleNotFound) Code ¶
func (o *DeleteRecordingRuleNotFound) Code() int
Code gets the status code for the delete recording rule not found response
func (*DeleteRecordingRuleNotFound) Error ¶
func (o *DeleteRecordingRuleNotFound) Error() string
func (*DeleteRecordingRuleNotFound) GetPayload ¶
func (o *DeleteRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleNotFound) IsClientError ¶
func (o *DeleteRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this delete recording rule not found response has a 4xx status code
func (*DeleteRecordingRuleNotFound) IsCode ¶
func (o *DeleteRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete recording rule not found response a status code equal to that given
func (*DeleteRecordingRuleNotFound) IsRedirect ¶
func (o *DeleteRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete recording rule not found response has a 3xx status code
func (*DeleteRecordingRuleNotFound) IsServerError ¶
func (o *DeleteRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this delete recording rule not found response has a 5xx status code
func (*DeleteRecordingRuleNotFound) IsSuccess ¶
func (o *DeleteRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete recording rule not found response has a 2xx status code
func (*DeleteRecordingRuleNotFound) String ¶
func (o *DeleteRecordingRuleNotFound) String() string
type DeleteRecordingRuleOK ¶
type DeleteRecordingRuleOK struct {
Payload *models.SuccessResponseBody
}
DeleteRecordingRuleOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteRecordingRuleOK ¶
func NewDeleteRecordingRuleOK() *DeleteRecordingRuleOK
NewDeleteRecordingRuleOK creates a DeleteRecordingRuleOK with default headers values
func (*DeleteRecordingRuleOK) Code ¶
func (o *DeleteRecordingRuleOK) Code() int
Code gets the status code for the delete recording rule Ok response
func (*DeleteRecordingRuleOK) Error ¶
func (o *DeleteRecordingRuleOK) Error() string
func (*DeleteRecordingRuleOK) GetPayload ¶
func (o *DeleteRecordingRuleOK) GetPayload() *models.SuccessResponseBody
func (*DeleteRecordingRuleOK) IsClientError ¶
func (o *DeleteRecordingRuleOK) IsClientError() bool
IsClientError returns true when this delete recording rule Ok response has a 4xx status code
func (*DeleteRecordingRuleOK) IsCode ¶
func (o *DeleteRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this delete recording rule Ok response a status code equal to that given
func (*DeleteRecordingRuleOK) IsRedirect ¶
func (o *DeleteRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this delete recording rule Ok response has a 3xx status code
func (*DeleteRecordingRuleOK) IsServerError ¶
func (o *DeleteRecordingRuleOK) IsServerError() bool
IsServerError returns true when this delete recording rule Ok response has a 5xx status code
func (*DeleteRecordingRuleOK) IsSuccess ¶
func (o *DeleteRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this delete recording rule Ok response has a 2xx status code
func (*DeleteRecordingRuleOK) String ¶
func (o *DeleteRecordingRuleOK) String() string
type DeleteRecordingRuleParams ¶
type DeleteRecordingRuleParams struct { // RecordingRuleID. // // Format: int64 RecordingRuleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRecordingRuleParams contains all the parameters to send to the API endpoint
for the delete recording rule operation. Typically these are written to a http.Request.
func NewDeleteRecordingRuleParams ¶
func NewDeleteRecordingRuleParams() *DeleteRecordingRuleParams
NewDeleteRecordingRuleParams creates a new DeleteRecordingRuleParams 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 NewDeleteRecordingRuleParamsWithContext ¶
func NewDeleteRecordingRuleParamsWithContext(ctx context.Context) *DeleteRecordingRuleParams
NewDeleteRecordingRuleParamsWithContext creates a new DeleteRecordingRuleParams object with the ability to set a context for a request.
func NewDeleteRecordingRuleParamsWithHTTPClient ¶
func NewDeleteRecordingRuleParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
NewDeleteRecordingRuleParamsWithHTTPClient creates a new DeleteRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRecordingRuleParamsWithTimeout ¶
func NewDeleteRecordingRuleParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
NewDeleteRecordingRuleParamsWithTimeout creates a new DeleteRecordingRuleParams object with the ability to set a timeout on a request.
func (*DeleteRecordingRuleParams) SetContext ¶
func (o *DeleteRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete recording rule params
func (*DeleteRecordingRuleParams) SetDefaults ¶
func (o *DeleteRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRecordingRuleParams) SetHTTPClient ¶
func (o *DeleteRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete recording rule params
func (*DeleteRecordingRuleParams) SetRecordingRuleID ¶
func (o *DeleteRecordingRuleParams) SetRecordingRuleID(recordingRuleID int64)
SetRecordingRuleID adds the recordingRuleId to the delete recording rule params
func (*DeleteRecordingRuleParams) SetTimeout ¶
func (o *DeleteRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete recording rule params
func (*DeleteRecordingRuleParams) WithContext ¶
func (o *DeleteRecordingRuleParams) WithContext(ctx context.Context) *DeleteRecordingRuleParams
WithContext adds the context to the delete recording rule params
func (*DeleteRecordingRuleParams) WithDefaults ¶
func (o *DeleteRecordingRuleParams) WithDefaults() *DeleteRecordingRuleParams
WithDefaults hydrates default values in the delete recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRecordingRuleParams) WithHTTPClient ¶
func (o *DeleteRecordingRuleParams) WithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
WithHTTPClient adds the HTTPClient to the delete recording rule params
func (*DeleteRecordingRuleParams) WithRecordingRuleID ¶
func (o *DeleteRecordingRuleParams) WithRecordingRuleID(recordingRuleID int64) *DeleteRecordingRuleParams
WithRecordingRuleID adds the recordingRuleID to the delete recording rule params
func (*DeleteRecordingRuleParams) WithTimeout ¶
func (o *DeleteRecordingRuleParams) WithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
WithTimeout adds the timeout to the delete recording rule params
func (*DeleteRecordingRuleParams) WriteToRequest ¶
func (o *DeleteRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRecordingRuleReader ¶
type DeleteRecordingRuleReader struct {
// contains filtered or unexported fields
}
DeleteRecordingRuleReader is a Reader for the DeleteRecordingRule structure.
func (*DeleteRecordingRuleReader) ReadResponse ¶
func (o *DeleteRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRecordingRuleUnauthorized ¶
type DeleteRecordingRuleUnauthorized struct {
}DeleteRecordingRuleUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteRecordingRuleUnauthorized ¶
func NewDeleteRecordingRuleUnauthorized() *DeleteRecordingRuleUnauthorized
NewDeleteRecordingRuleUnauthorized creates a DeleteRecordingRuleUnauthorized with default headers values
func (*DeleteRecordingRuleUnauthorized) Code ¶
func (o *DeleteRecordingRuleUnauthorized) Code() int
Code gets the status code for the delete recording rule unauthorized response
func (*DeleteRecordingRuleUnauthorized) Error ¶
func (o *DeleteRecordingRuleUnauthorized) Error() string
func (*DeleteRecordingRuleUnauthorized) GetPayload ¶
func (o *DeleteRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleUnauthorized) IsClientError ¶
func (o *DeleteRecordingRuleUnauthorized) IsClientError() bool
IsClientError returns true when this delete recording rule unauthorized response has a 4xx status code
func (*DeleteRecordingRuleUnauthorized) IsCode ¶
func (o *DeleteRecordingRuleUnauthorized) IsCode(code int) bool
IsCode returns true when this delete recording rule unauthorized response a status code equal to that given
func (*DeleteRecordingRuleUnauthorized) IsRedirect ¶
func (o *DeleteRecordingRuleUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete recording rule unauthorized response has a 3xx status code
func (*DeleteRecordingRuleUnauthorized) IsServerError ¶
func (o *DeleteRecordingRuleUnauthorized) IsServerError() bool
IsServerError returns true when this delete recording rule unauthorized response has a 5xx status code
func (*DeleteRecordingRuleUnauthorized) IsSuccess ¶
func (o *DeleteRecordingRuleUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete recording rule unauthorized response has a 2xx status code
func (*DeleteRecordingRuleUnauthorized) String ¶
func (o *DeleteRecordingRuleUnauthorized) String() string
type DeleteRecordingRuleWriteTargetForbidden ¶
type DeleteRecordingRuleWriteTargetForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteRecordingRuleWriteTargetForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteRecordingRuleWriteTargetForbidden ¶
func NewDeleteRecordingRuleWriteTargetForbidden() *DeleteRecordingRuleWriteTargetForbidden
NewDeleteRecordingRuleWriteTargetForbidden creates a DeleteRecordingRuleWriteTargetForbidden with default headers values
func (*DeleteRecordingRuleWriteTargetForbidden) Code ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) Code() int
Code gets the status code for the delete recording rule write target forbidden response
func (*DeleteRecordingRuleWriteTargetForbidden) Error ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) Error() string
func (*DeleteRecordingRuleWriteTargetForbidden) GetPayload ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleWriteTargetForbidden) IsClientError ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) IsClientError() bool
IsClientError returns true when this delete recording rule write target forbidden response has a 4xx status code
func (*DeleteRecordingRuleWriteTargetForbidden) IsCode ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) IsCode(code int) bool
IsCode returns true when this delete recording rule write target forbidden response a status code equal to that given
func (*DeleteRecordingRuleWriteTargetForbidden) IsRedirect ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) IsRedirect() bool
IsRedirect returns true when this delete recording rule write target forbidden response has a 3xx status code
func (*DeleteRecordingRuleWriteTargetForbidden) IsServerError ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) IsServerError() bool
IsServerError returns true when this delete recording rule write target forbidden response has a 5xx status code
func (*DeleteRecordingRuleWriteTargetForbidden) IsSuccess ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) IsSuccess() bool
IsSuccess returns true when this delete recording rule write target forbidden response has a 2xx status code
func (*DeleteRecordingRuleWriteTargetForbidden) String ¶
func (o *DeleteRecordingRuleWriteTargetForbidden) String() string
type DeleteRecordingRuleWriteTargetInternalServerError ¶
type DeleteRecordingRuleWriteTargetInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteRecordingRuleWriteTargetInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteRecordingRuleWriteTargetInternalServerError ¶
func NewDeleteRecordingRuleWriteTargetInternalServerError() *DeleteRecordingRuleWriteTargetInternalServerError
NewDeleteRecordingRuleWriteTargetInternalServerError creates a DeleteRecordingRuleWriteTargetInternalServerError with default headers values
func (*DeleteRecordingRuleWriteTargetInternalServerError) Code ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) Code() int
Code gets the status code for the delete recording rule write target internal server error response
func (*DeleteRecordingRuleWriteTargetInternalServerError) Error ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) Error() string
func (*DeleteRecordingRuleWriteTargetInternalServerError) GetPayload ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleWriteTargetInternalServerError) IsClientError ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsClientError() bool
IsClientError returns true when this delete recording rule write target internal server error response has a 4xx status code
func (*DeleteRecordingRuleWriteTargetInternalServerError) IsCode ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsCode(code int) bool
IsCode returns true when this delete recording rule write target internal server error response a status code equal to that given
func (*DeleteRecordingRuleWriteTargetInternalServerError) IsRedirect ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete recording rule write target internal server error response has a 3xx status code
func (*DeleteRecordingRuleWriteTargetInternalServerError) IsServerError ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsServerError() bool
IsServerError returns true when this delete recording rule write target internal server error response has a 5xx status code
func (*DeleteRecordingRuleWriteTargetInternalServerError) IsSuccess ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete recording rule write target internal server error response has a 2xx status code
func (*DeleteRecordingRuleWriteTargetInternalServerError) String ¶
func (o *DeleteRecordingRuleWriteTargetInternalServerError) String() string
type DeleteRecordingRuleWriteTargetNotFound ¶
type DeleteRecordingRuleWriteTargetNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteRecordingRuleWriteTargetNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteRecordingRuleWriteTargetNotFound ¶
func NewDeleteRecordingRuleWriteTargetNotFound() *DeleteRecordingRuleWriteTargetNotFound
NewDeleteRecordingRuleWriteTargetNotFound creates a DeleteRecordingRuleWriteTargetNotFound with default headers values
func (*DeleteRecordingRuleWriteTargetNotFound) Code ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) Code() int
Code gets the status code for the delete recording rule write target not found response
func (*DeleteRecordingRuleWriteTargetNotFound) Error ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) Error() string
func (*DeleteRecordingRuleWriteTargetNotFound) GetPayload ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleWriteTargetNotFound) IsClientError ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) IsClientError() bool
IsClientError returns true when this delete recording rule write target not found response has a 4xx status code
func (*DeleteRecordingRuleWriteTargetNotFound) IsCode ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) IsCode(code int) bool
IsCode returns true when this delete recording rule write target not found response a status code equal to that given
func (*DeleteRecordingRuleWriteTargetNotFound) IsRedirect ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) IsRedirect() bool
IsRedirect returns true when this delete recording rule write target not found response has a 3xx status code
func (*DeleteRecordingRuleWriteTargetNotFound) IsServerError ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) IsServerError() bool
IsServerError returns true when this delete recording rule write target not found response has a 5xx status code
func (*DeleteRecordingRuleWriteTargetNotFound) IsSuccess ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) IsSuccess() bool
IsSuccess returns true when this delete recording rule write target not found response has a 2xx status code
func (*DeleteRecordingRuleWriteTargetNotFound) String ¶
func (o *DeleteRecordingRuleWriteTargetNotFound) String() string
type DeleteRecordingRuleWriteTargetOK ¶
type DeleteRecordingRuleWriteTargetOK struct {
Payload *models.SuccessResponseBody
}
DeleteRecordingRuleWriteTargetOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteRecordingRuleWriteTargetOK ¶
func NewDeleteRecordingRuleWriteTargetOK() *DeleteRecordingRuleWriteTargetOK
NewDeleteRecordingRuleWriteTargetOK creates a DeleteRecordingRuleWriteTargetOK with default headers values
func (*DeleteRecordingRuleWriteTargetOK) Code ¶
func (o *DeleteRecordingRuleWriteTargetOK) Code() int
Code gets the status code for the delete recording rule write target Ok response
func (*DeleteRecordingRuleWriteTargetOK) Error ¶
func (o *DeleteRecordingRuleWriteTargetOK) Error() string
func (*DeleteRecordingRuleWriteTargetOK) GetPayload ¶
func (o *DeleteRecordingRuleWriteTargetOK) GetPayload() *models.SuccessResponseBody
func (*DeleteRecordingRuleWriteTargetOK) IsClientError ¶
func (o *DeleteRecordingRuleWriteTargetOK) IsClientError() bool
IsClientError returns true when this delete recording rule write target Ok response has a 4xx status code
func (*DeleteRecordingRuleWriteTargetOK) IsCode ¶
func (o *DeleteRecordingRuleWriteTargetOK) IsCode(code int) bool
IsCode returns true when this delete recording rule write target Ok response a status code equal to that given
func (*DeleteRecordingRuleWriteTargetOK) IsRedirect ¶
func (o *DeleteRecordingRuleWriteTargetOK) IsRedirect() bool
IsRedirect returns true when this delete recording rule write target Ok response has a 3xx status code
func (*DeleteRecordingRuleWriteTargetOK) IsServerError ¶
func (o *DeleteRecordingRuleWriteTargetOK) IsServerError() bool
IsServerError returns true when this delete recording rule write target Ok response has a 5xx status code
func (*DeleteRecordingRuleWriteTargetOK) IsSuccess ¶
func (o *DeleteRecordingRuleWriteTargetOK) IsSuccess() bool
IsSuccess returns true when this delete recording rule write target Ok response has a 2xx status code
func (*DeleteRecordingRuleWriteTargetOK) String ¶
func (o *DeleteRecordingRuleWriteTargetOK) String() string
type DeleteRecordingRuleWriteTargetParams ¶
type DeleteRecordingRuleWriteTargetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRecordingRuleWriteTargetParams contains all the parameters to send to the API endpoint
for the delete recording rule write target operation. Typically these are written to a http.Request.
func NewDeleteRecordingRuleWriteTargetParams ¶
func NewDeleteRecordingRuleWriteTargetParams() *DeleteRecordingRuleWriteTargetParams
NewDeleteRecordingRuleWriteTargetParams creates a new DeleteRecordingRuleWriteTargetParams 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 NewDeleteRecordingRuleWriteTargetParamsWithContext ¶
func NewDeleteRecordingRuleWriteTargetParamsWithContext(ctx context.Context) *DeleteRecordingRuleWriteTargetParams
NewDeleteRecordingRuleWriteTargetParamsWithContext creates a new DeleteRecordingRuleWriteTargetParams object with the ability to set a context for a request.
func NewDeleteRecordingRuleWriteTargetParamsWithHTTPClient ¶
func NewDeleteRecordingRuleWriteTargetParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleWriteTargetParams
NewDeleteRecordingRuleWriteTargetParamsWithHTTPClient creates a new DeleteRecordingRuleWriteTargetParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRecordingRuleWriteTargetParamsWithTimeout ¶
func NewDeleteRecordingRuleWriteTargetParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleWriteTargetParams
NewDeleteRecordingRuleWriteTargetParamsWithTimeout creates a new DeleteRecordingRuleWriteTargetParams object with the ability to set a timeout on a request.
func (*DeleteRecordingRuleWriteTargetParams) SetContext ¶
func (o *DeleteRecordingRuleWriteTargetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete recording rule write target params
func (*DeleteRecordingRuleWriteTargetParams) SetDefaults ¶
func (o *DeleteRecordingRuleWriteTargetParams) SetDefaults()
SetDefaults hydrates default values in the delete recording rule write target params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRecordingRuleWriteTargetParams) SetHTTPClient ¶
func (o *DeleteRecordingRuleWriteTargetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete recording rule write target params
func (*DeleteRecordingRuleWriteTargetParams) SetTimeout ¶
func (o *DeleteRecordingRuleWriteTargetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete recording rule write target params
func (*DeleteRecordingRuleWriteTargetParams) WithContext ¶
func (o *DeleteRecordingRuleWriteTargetParams) WithContext(ctx context.Context) *DeleteRecordingRuleWriteTargetParams
WithContext adds the context to the delete recording rule write target params
func (*DeleteRecordingRuleWriteTargetParams) WithDefaults ¶
func (o *DeleteRecordingRuleWriteTargetParams) WithDefaults() *DeleteRecordingRuleWriteTargetParams
WithDefaults hydrates default values in the delete recording rule write target params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRecordingRuleWriteTargetParams) WithHTTPClient ¶
func (o *DeleteRecordingRuleWriteTargetParams) WithHTTPClient(client *http.Client) *DeleteRecordingRuleWriteTargetParams
WithHTTPClient adds the HTTPClient to the delete recording rule write target params
func (*DeleteRecordingRuleWriteTargetParams) WithTimeout ¶
func (o *DeleteRecordingRuleWriteTargetParams) WithTimeout(timeout time.Duration) *DeleteRecordingRuleWriteTargetParams
WithTimeout adds the timeout to the delete recording rule write target params
func (*DeleteRecordingRuleWriteTargetParams) WriteToRequest ¶
func (o *DeleteRecordingRuleWriteTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRecordingRuleWriteTargetReader ¶
type DeleteRecordingRuleWriteTargetReader struct {
// contains filtered or unexported fields
}
DeleteRecordingRuleWriteTargetReader is a Reader for the DeleteRecordingRuleWriteTarget structure.
func (*DeleteRecordingRuleWriteTargetReader) ReadResponse ¶
func (o *DeleteRecordingRuleWriteTargetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRecordingRuleWriteTargetUnauthorized ¶
type DeleteRecordingRuleWriteTargetUnauthorized struct {
}DeleteRecordingRuleWriteTargetUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteRecordingRuleWriteTargetUnauthorized ¶
func NewDeleteRecordingRuleWriteTargetUnauthorized() *DeleteRecordingRuleWriteTargetUnauthorized
NewDeleteRecordingRuleWriteTargetUnauthorized creates a DeleteRecordingRuleWriteTargetUnauthorized with default headers values
func (*DeleteRecordingRuleWriteTargetUnauthorized) Code ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) Code() int
Code gets the status code for the delete recording rule write target unauthorized response
func (*DeleteRecordingRuleWriteTargetUnauthorized) Error ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) Error() string
func (*DeleteRecordingRuleWriteTargetUnauthorized) GetPayload ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteRecordingRuleWriteTargetUnauthorized) IsClientError ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsClientError() bool
IsClientError returns true when this delete recording rule write target unauthorized response has a 4xx status code
func (*DeleteRecordingRuleWriteTargetUnauthorized) IsCode ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsCode(code int) bool
IsCode returns true when this delete recording rule write target unauthorized response a status code equal to that given
func (*DeleteRecordingRuleWriteTargetUnauthorized) IsRedirect ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete recording rule write target unauthorized response has a 3xx status code
func (*DeleteRecordingRuleWriteTargetUnauthorized) IsServerError ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsServerError() bool
IsServerError returns true when this delete recording rule write target unauthorized response has a 5xx status code
func (*DeleteRecordingRuleWriteTargetUnauthorized) IsSuccess ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete recording rule write target unauthorized response has a 2xx status code
func (*DeleteRecordingRuleWriteTargetUnauthorized) String ¶
func (o *DeleteRecordingRuleWriteTargetUnauthorized) String() string
type GetRecordingRuleWriteTargetForbidden ¶
type GetRecordingRuleWriteTargetForbidden struct {
Payload *models.ErrorResponseBody
}
GetRecordingRuleWriteTargetForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetRecordingRuleWriteTargetForbidden ¶
func NewGetRecordingRuleWriteTargetForbidden() *GetRecordingRuleWriteTargetForbidden
NewGetRecordingRuleWriteTargetForbidden creates a GetRecordingRuleWriteTargetForbidden with default headers values
func (*GetRecordingRuleWriteTargetForbidden) Code ¶
func (o *GetRecordingRuleWriteTargetForbidden) Code() int
Code gets the status code for the get recording rule write target forbidden response
func (*GetRecordingRuleWriteTargetForbidden) Error ¶
func (o *GetRecordingRuleWriteTargetForbidden) Error() string
func (*GetRecordingRuleWriteTargetForbidden) GetPayload ¶
func (o *GetRecordingRuleWriteTargetForbidden) GetPayload() *models.ErrorResponseBody
func (*GetRecordingRuleWriteTargetForbidden) IsClientError ¶
func (o *GetRecordingRuleWriteTargetForbidden) IsClientError() bool
IsClientError returns true when this get recording rule write target forbidden response has a 4xx status code
func (*GetRecordingRuleWriteTargetForbidden) IsCode ¶
func (o *GetRecordingRuleWriteTargetForbidden) IsCode(code int) bool
IsCode returns true when this get recording rule write target forbidden response a status code equal to that given
func (*GetRecordingRuleWriteTargetForbidden) IsRedirect ¶
func (o *GetRecordingRuleWriteTargetForbidden) IsRedirect() bool
IsRedirect returns true when this get recording rule write target forbidden response has a 3xx status code
func (*GetRecordingRuleWriteTargetForbidden) IsServerError ¶
func (o *GetRecordingRuleWriteTargetForbidden) IsServerError() bool
IsServerError returns true when this get recording rule write target forbidden response has a 5xx status code
func (*GetRecordingRuleWriteTargetForbidden) IsSuccess ¶
func (o *GetRecordingRuleWriteTargetForbidden) IsSuccess() bool
IsSuccess returns true when this get recording rule write target forbidden response has a 2xx status code
func (*GetRecordingRuleWriteTargetForbidden) String ¶
func (o *GetRecordingRuleWriteTargetForbidden) String() string
type GetRecordingRuleWriteTargetInternalServerError ¶
type GetRecordingRuleWriteTargetInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetRecordingRuleWriteTargetInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetRecordingRuleWriteTargetInternalServerError ¶
func NewGetRecordingRuleWriteTargetInternalServerError() *GetRecordingRuleWriteTargetInternalServerError
NewGetRecordingRuleWriteTargetInternalServerError creates a GetRecordingRuleWriteTargetInternalServerError with default headers values
func (*GetRecordingRuleWriteTargetInternalServerError) Code ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) Code() int
Code gets the status code for the get recording rule write target internal server error response
func (*GetRecordingRuleWriteTargetInternalServerError) Error ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) Error() string
func (*GetRecordingRuleWriteTargetInternalServerError) GetPayload ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetRecordingRuleWriteTargetInternalServerError) IsClientError ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) IsClientError() bool
IsClientError returns true when this get recording rule write target internal server error response has a 4xx status code
func (*GetRecordingRuleWriteTargetInternalServerError) IsCode ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) IsCode(code int) bool
IsCode returns true when this get recording rule write target internal server error response a status code equal to that given
func (*GetRecordingRuleWriteTargetInternalServerError) IsRedirect ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) IsRedirect() bool
IsRedirect returns true when this get recording rule write target internal server error response has a 3xx status code
func (*GetRecordingRuleWriteTargetInternalServerError) IsServerError ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) IsServerError() bool
IsServerError returns true when this get recording rule write target internal server error response has a 5xx status code
func (*GetRecordingRuleWriteTargetInternalServerError) IsSuccess ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) IsSuccess() bool
IsSuccess returns true when this get recording rule write target internal server error response has a 2xx status code
func (*GetRecordingRuleWriteTargetInternalServerError) String ¶
func (o *GetRecordingRuleWriteTargetInternalServerError) String() string
type GetRecordingRuleWriteTargetNotFound ¶
type GetRecordingRuleWriteTargetNotFound struct {
Payload *models.ErrorResponseBody
}
GetRecordingRuleWriteTargetNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetRecordingRuleWriteTargetNotFound ¶
func NewGetRecordingRuleWriteTargetNotFound() *GetRecordingRuleWriteTargetNotFound
NewGetRecordingRuleWriteTargetNotFound creates a GetRecordingRuleWriteTargetNotFound with default headers values
func (*GetRecordingRuleWriteTargetNotFound) Code ¶
func (o *GetRecordingRuleWriteTargetNotFound) Code() int
Code gets the status code for the get recording rule write target not found response
func (*GetRecordingRuleWriteTargetNotFound) Error ¶
func (o *GetRecordingRuleWriteTargetNotFound) Error() string
func (*GetRecordingRuleWriteTargetNotFound) GetPayload ¶
func (o *GetRecordingRuleWriteTargetNotFound) GetPayload() *models.ErrorResponseBody
func (*GetRecordingRuleWriteTargetNotFound) IsClientError ¶
func (o *GetRecordingRuleWriteTargetNotFound) IsClientError() bool
IsClientError returns true when this get recording rule write target not found response has a 4xx status code
func (*GetRecordingRuleWriteTargetNotFound) IsCode ¶
func (o *GetRecordingRuleWriteTargetNotFound) IsCode(code int) bool
IsCode returns true when this get recording rule write target not found response a status code equal to that given
func (*GetRecordingRuleWriteTargetNotFound) IsRedirect ¶
func (o *GetRecordingRuleWriteTargetNotFound) IsRedirect() bool
IsRedirect returns true when this get recording rule write target not found response has a 3xx status code
func (*GetRecordingRuleWriteTargetNotFound) IsServerError ¶
func (o *GetRecordingRuleWriteTargetNotFound) IsServerError() bool
IsServerError returns true when this get recording rule write target not found response has a 5xx status code
func (*GetRecordingRuleWriteTargetNotFound) IsSuccess ¶
func (o *GetRecordingRuleWriteTargetNotFound) IsSuccess() bool
IsSuccess returns true when this get recording rule write target not found response has a 2xx status code
func (*GetRecordingRuleWriteTargetNotFound) String ¶
func (o *GetRecordingRuleWriteTargetNotFound) String() string
type GetRecordingRuleWriteTargetOK ¶
type GetRecordingRuleWriteTargetOK struct {
Payload *models.PrometheusRemoteWriteTargetJSON
}
GetRecordingRuleWriteTargetOK describes a response with status code 200, with default header values.
(empty)
func NewGetRecordingRuleWriteTargetOK ¶
func NewGetRecordingRuleWriteTargetOK() *GetRecordingRuleWriteTargetOK
NewGetRecordingRuleWriteTargetOK creates a GetRecordingRuleWriteTargetOK with default headers values
func (*GetRecordingRuleWriteTargetOK) Code ¶
func (o *GetRecordingRuleWriteTargetOK) Code() int
Code gets the status code for the get recording rule write target Ok response
func (*GetRecordingRuleWriteTargetOK) Error ¶
func (o *GetRecordingRuleWriteTargetOK) Error() string
func (*GetRecordingRuleWriteTargetOK) GetPayload ¶
func (o *GetRecordingRuleWriteTargetOK) GetPayload() *models.PrometheusRemoteWriteTargetJSON
func (*GetRecordingRuleWriteTargetOK) IsClientError ¶
func (o *GetRecordingRuleWriteTargetOK) IsClientError() bool
IsClientError returns true when this get recording rule write target Ok response has a 4xx status code
func (*GetRecordingRuleWriteTargetOK) IsCode ¶
func (o *GetRecordingRuleWriteTargetOK) IsCode(code int) bool
IsCode returns true when this get recording rule write target Ok response a status code equal to that given
func (*GetRecordingRuleWriteTargetOK) IsRedirect ¶
func (o *GetRecordingRuleWriteTargetOK) IsRedirect() bool
IsRedirect returns true when this get recording rule write target Ok response has a 3xx status code
func (*GetRecordingRuleWriteTargetOK) IsServerError ¶
func (o *GetRecordingRuleWriteTargetOK) IsServerError() bool
IsServerError returns true when this get recording rule write target Ok response has a 5xx status code
func (*GetRecordingRuleWriteTargetOK) IsSuccess ¶
func (o *GetRecordingRuleWriteTargetOK) IsSuccess() bool
IsSuccess returns true when this get recording rule write target Ok response has a 2xx status code
func (*GetRecordingRuleWriteTargetOK) String ¶
func (o *GetRecordingRuleWriteTargetOK) String() string
type GetRecordingRuleWriteTargetParams ¶
type GetRecordingRuleWriteTargetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRecordingRuleWriteTargetParams contains all the parameters to send to the API endpoint
for the get recording rule write target operation. Typically these are written to a http.Request.
func NewGetRecordingRuleWriteTargetParams ¶
func NewGetRecordingRuleWriteTargetParams() *GetRecordingRuleWriteTargetParams
NewGetRecordingRuleWriteTargetParams creates a new GetRecordingRuleWriteTargetParams 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 NewGetRecordingRuleWriteTargetParamsWithContext ¶
func NewGetRecordingRuleWriteTargetParamsWithContext(ctx context.Context) *GetRecordingRuleWriteTargetParams
NewGetRecordingRuleWriteTargetParamsWithContext creates a new GetRecordingRuleWriteTargetParams object with the ability to set a context for a request.
func NewGetRecordingRuleWriteTargetParamsWithHTTPClient ¶
func NewGetRecordingRuleWriteTargetParamsWithHTTPClient(client *http.Client) *GetRecordingRuleWriteTargetParams
NewGetRecordingRuleWriteTargetParamsWithHTTPClient creates a new GetRecordingRuleWriteTargetParams object with the ability to set a custom HTTPClient for a request.
func NewGetRecordingRuleWriteTargetParamsWithTimeout ¶
func NewGetRecordingRuleWriteTargetParamsWithTimeout(timeout time.Duration) *GetRecordingRuleWriteTargetParams
NewGetRecordingRuleWriteTargetParamsWithTimeout creates a new GetRecordingRuleWriteTargetParams object with the ability to set a timeout on a request.
func (*GetRecordingRuleWriteTargetParams) SetContext ¶
func (o *GetRecordingRuleWriteTargetParams) SetContext(ctx context.Context)
SetContext adds the context to the get recording rule write target params
func (*GetRecordingRuleWriteTargetParams) SetDefaults ¶
func (o *GetRecordingRuleWriteTargetParams) SetDefaults()
SetDefaults hydrates default values in the get recording rule write target params (not the query body).
All values with no default are reset to their zero value.
func (*GetRecordingRuleWriteTargetParams) SetHTTPClient ¶
func (o *GetRecordingRuleWriteTargetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get recording rule write target params
func (*GetRecordingRuleWriteTargetParams) SetTimeout ¶
func (o *GetRecordingRuleWriteTargetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get recording rule write target params
func (*GetRecordingRuleWriteTargetParams) WithContext ¶
func (o *GetRecordingRuleWriteTargetParams) WithContext(ctx context.Context) *GetRecordingRuleWriteTargetParams
WithContext adds the context to the get recording rule write target params
func (*GetRecordingRuleWriteTargetParams) WithDefaults ¶
func (o *GetRecordingRuleWriteTargetParams) WithDefaults() *GetRecordingRuleWriteTargetParams
WithDefaults hydrates default values in the get recording rule write target params (not the query body).
All values with no default are reset to their zero value.
func (*GetRecordingRuleWriteTargetParams) WithHTTPClient ¶
func (o *GetRecordingRuleWriteTargetParams) WithHTTPClient(client *http.Client) *GetRecordingRuleWriteTargetParams
WithHTTPClient adds the HTTPClient to the get recording rule write target params
func (*GetRecordingRuleWriteTargetParams) WithTimeout ¶
func (o *GetRecordingRuleWriteTargetParams) WithTimeout(timeout time.Duration) *GetRecordingRuleWriteTargetParams
WithTimeout adds the timeout to the get recording rule write target params
func (*GetRecordingRuleWriteTargetParams) WriteToRequest ¶
func (o *GetRecordingRuleWriteTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRecordingRuleWriteTargetReader ¶
type GetRecordingRuleWriteTargetReader struct {
// contains filtered or unexported fields
}
GetRecordingRuleWriteTargetReader is a Reader for the GetRecordingRuleWriteTarget structure.
func (*GetRecordingRuleWriteTargetReader) ReadResponse ¶
func (o *GetRecordingRuleWriteTargetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRecordingRuleWriteTargetUnauthorized ¶
type GetRecordingRuleWriteTargetUnauthorized struct {
}GetRecordingRuleWriteTargetUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetRecordingRuleWriteTargetUnauthorized ¶
func NewGetRecordingRuleWriteTargetUnauthorized() *GetRecordingRuleWriteTargetUnauthorized
NewGetRecordingRuleWriteTargetUnauthorized creates a GetRecordingRuleWriteTargetUnauthorized with default headers values
func (*GetRecordingRuleWriteTargetUnauthorized) Code ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) Code() int
Code gets the status code for the get recording rule write target unauthorized response
func (*GetRecordingRuleWriteTargetUnauthorized) Error ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) Error() string
func (*GetRecordingRuleWriteTargetUnauthorized) GetPayload ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetRecordingRuleWriteTargetUnauthorized) IsClientError ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) IsClientError() bool
IsClientError returns true when this get recording rule write target unauthorized response has a 4xx status code
func (*GetRecordingRuleWriteTargetUnauthorized) IsCode ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) IsCode(code int) bool
IsCode returns true when this get recording rule write target unauthorized response a status code equal to that given
func (*GetRecordingRuleWriteTargetUnauthorized) IsRedirect ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) IsRedirect() bool
IsRedirect returns true when this get recording rule write target unauthorized response has a 3xx status code
func (*GetRecordingRuleWriteTargetUnauthorized) IsServerError ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) IsServerError() bool
IsServerError returns true when this get recording rule write target unauthorized response has a 5xx status code
func (*GetRecordingRuleWriteTargetUnauthorized) IsSuccess ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) IsSuccess() bool
IsSuccess returns true when this get recording rule write target unauthorized response has a 2xx status code
func (*GetRecordingRuleWriteTargetUnauthorized) String ¶
func (o *GetRecordingRuleWriteTargetUnauthorized) String() string
type ListRecordingRulesForbidden ¶
type ListRecordingRulesForbidden struct {
Payload *models.ErrorResponseBody
}
ListRecordingRulesForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewListRecordingRulesForbidden ¶
func NewListRecordingRulesForbidden() *ListRecordingRulesForbidden
NewListRecordingRulesForbidden creates a ListRecordingRulesForbidden with default headers values
func (*ListRecordingRulesForbidden) Code ¶
func (o *ListRecordingRulesForbidden) Code() int
Code gets the status code for the list recording rules forbidden response
func (*ListRecordingRulesForbidden) Error ¶
func (o *ListRecordingRulesForbidden) Error() string
func (*ListRecordingRulesForbidden) GetPayload ¶
func (o *ListRecordingRulesForbidden) GetPayload() *models.ErrorResponseBody
func (*ListRecordingRulesForbidden) IsClientError ¶
func (o *ListRecordingRulesForbidden) IsClientError() bool
IsClientError returns true when this list recording rules forbidden response has a 4xx status code
func (*ListRecordingRulesForbidden) IsCode ¶
func (o *ListRecordingRulesForbidden) IsCode(code int) bool
IsCode returns true when this list recording rules forbidden response a status code equal to that given
func (*ListRecordingRulesForbidden) IsRedirect ¶
func (o *ListRecordingRulesForbidden) IsRedirect() bool
IsRedirect returns true when this list recording rules forbidden response has a 3xx status code
func (*ListRecordingRulesForbidden) IsServerError ¶
func (o *ListRecordingRulesForbidden) IsServerError() bool
IsServerError returns true when this list recording rules forbidden response has a 5xx status code
func (*ListRecordingRulesForbidden) IsSuccess ¶
func (o *ListRecordingRulesForbidden) IsSuccess() bool
IsSuccess returns true when this list recording rules forbidden response has a 2xx status code
func (*ListRecordingRulesForbidden) String ¶
func (o *ListRecordingRulesForbidden) String() string
type ListRecordingRulesInternalServerError ¶
type ListRecordingRulesInternalServerError struct {
Payload *models.ErrorResponseBody
}
ListRecordingRulesInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewListRecordingRulesInternalServerError ¶
func NewListRecordingRulesInternalServerError() *ListRecordingRulesInternalServerError
NewListRecordingRulesInternalServerError creates a ListRecordingRulesInternalServerError with default headers values
func (*ListRecordingRulesInternalServerError) Code ¶
func (o *ListRecordingRulesInternalServerError) Code() int
Code gets the status code for the list recording rules internal server error response
func (*ListRecordingRulesInternalServerError) Error ¶
func (o *ListRecordingRulesInternalServerError) Error() string
func (*ListRecordingRulesInternalServerError) GetPayload ¶
func (o *ListRecordingRulesInternalServerError) GetPayload() *models.ErrorResponseBody
func (*ListRecordingRulesInternalServerError) IsClientError ¶
func (o *ListRecordingRulesInternalServerError) IsClientError() bool
IsClientError returns true when this list recording rules internal server error response has a 4xx status code
func (*ListRecordingRulesInternalServerError) IsCode ¶
func (o *ListRecordingRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this list recording rules internal server error response a status code equal to that given
func (*ListRecordingRulesInternalServerError) IsRedirect ¶
func (o *ListRecordingRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list recording rules internal server error response has a 3xx status code
func (*ListRecordingRulesInternalServerError) IsServerError ¶
func (o *ListRecordingRulesInternalServerError) IsServerError() bool
IsServerError returns true when this list recording rules internal server error response has a 5xx status code
func (*ListRecordingRulesInternalServerError) IsSuccess ¶
func (o *ListRecordingRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list recording rules internal server error response has a 2xx status code
func (*ListRecordingRulesInternalServerError) String ¶
func (o *ListRecordingRulesInternalServerError) String() string
type ListRecordingRulesNotFound ¶
type ListRecordingRulesNotFound struct {
Payload *models.ErrorResponseBody
}
ListRecordingRulesNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewListRecordingRulesNotFound ¶
func NewListRecordingRulesNotFound() *ListRecordingRulesNotFound
NewListRecordingRulesNotFound creates a ListRecordingRulesNotFound with default headers values
func (*ListRecordingRulesNotFound) Code ¶
func (o *ListRecordingRulesNotFound) Code() int
Code gets the status code for the list recording rules not found response
func (*ListRecordingRulesNotFound) Error ¶
func (o *ListRecordingRulesNotFound) Error() string
func (*ListRecordingRulesNotFound) GetPayload ¶
func (o *ListRecordingRulesNotFound) GetPayload() *models.ErrorResponseBody
func (*ListRecordingRulesNotFound) IsClientError ¶
func (o *ListRecordingRulesNotFound) IsClientError() bool
IsClientError returns true when this list recording rules not found response has a 4xx status code
func (*ListRecordingRulesNotFound) IsCode ¶
func (o *ListRecordingRulesNotFound) IsCode(code int) bool
IsCode returns true when this list recording rules not found response a status code equal to that given
func (*ListRecordingRulesNotFound) IsRedirect ¶
func (o *ListRecordingRulesNotFound) IsRedirect() bool
IsRedirect returns true when this list recording rules not found response has a 3xx status code
func (*ListRecordingRulesNotFound) IsServerError ¶
func (o *ListRecordingRulesNotFound) IsServerError() bool
IsServerError returns true when this list recording rules not found response has a 5xx status code
func (*ListRecordingRulesNotFound) IsSuccess ¶
func (o *ListRecordingRulesNotFound) IsSuccess() bool
IsSuccess returns true when this list recording rules not found response has a 2xx status code
func (*ListRecordingRulesNotFound) String ¶
func (o *ListRecordingRulesNotFound) String() string
type ListRecordingRulesOK ¶
type ListRecordingRulesOK struct {
Payload []*models.RecordingRuleJSON
}
ListRecordingRulesOK describes a response with status code 200, with default header values.
(empty)
func NewListRecordingRulesOK ¶
func NewListRecordingRulesOK() *ListRecordingRulesOK
NewListRecordingRulesOK creates a ListRecordingRulesOK with default headers values
func (*ListRecordingRulesOK) Code ¶
func (o *ListRecordingRulesOK) Code() int
Code gets the status code for the list recording rules Ok response
func (*ListRecordingRulesOK) Error ¶
func (o *ListRecordingRulesOK) Error() string
func (*ListRecordingRulesOK) GetPayload ¶
func (o *ListRecordingRulesOK) GetPayload() []*models.RecordingRuleJSON
func (*ListRecordingRulesOK) IsClientError ¶
func (o *ListRecordingRulesOK) IsClientError() bool
IsClientError returns true when this list recording rules Ok response has a 4xx status code
func (*ListRecordingRulesOK) IsCode ¶
func (o *ListRecordingRulesOK) IsCode(code int) bool
IsCode returns true when this list recording rules Ok response a status code equal to that given
func (*ListRecordingRulesOK) IsRedirect ¶
func (o *ListRecordingRulesOK) IsRedirect() bool
IsRedirect returns true when this list recording rules Ok response has a 3xx status code
func (*ListRecordingRulesOK) IsServerError ¶
func (o *ListRecordingRulesOK) IsServerError() bool
IsServerError returns true when this list recording rules Ok response has a 5xx status code
func (*ListRecordingRulesOK) IsSuccess ¶
func (o *ListRecordingRulesOK) IsSuccess() bool
IsSuccess returns true when this list recording rules Ok response has a 2xx status code
func (*ListRecordingRulesOK) String ¶
func (o *ListRecordingRulesOK) String() string
type ListRecordingRulesParams ¶
type ListRecordingRulesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRecordingRulesParams contains all the parameters to send to the API endpoint
for the list recording rules operation. Typically these are written to a http.Request.
func NewListRecordingRulesParams ¶
func NewListRecordingRulesParams() *ListRecordingRulesParams
NewListRecordingRulesParams creates a new ListRecordingRulesParams 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 NewListRecordingRulesParamsWithContext ¶
func NewListRecordingRulesParamsWithContext(ctx context.Context) *ListRecordingRulesParams
NewListRecordingRulesParamsWithContext creates a new ListRecordingRulesParams object with the ability to set a context for a request.
func NewListRecordingRulesParamsWithHTTPClient ¶
func NewListRecordingRulesParamsWithHTTPClient(client *http.Client) *ListRecordingRulesParams
NewListRecordingRulesParamsWithHTTPClient creates a new ListRecordingRulesParams object with the ability to set a custom HTTPClient for a request.
func NewListRecordingRulesParamsWithTimeout ¶
func NewListRecordingRulesParamsWithTimeout(timeout time.Duration) *ListRecordingRulesParams
NewListRecordingRulesParamsWithTimeout creates a new ListRecordingRulesParams object with the ability to set a timeout on a request.
func (*ListRecordingRulesParams) SetContext ¶
func (o *ListRecordingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list recording rules params
func (*ListRecordingRulesParams) SetDefaults ¶
func (o *ListRecordingRulesParams) SetDefaults()
SetDefaults hydrates default values in the list recording rules params (not the query body).
All values with no default are reset to their zero value.
func (*ListRecordingRulesParams) SetHTTPClient ¶
func (o *ListRecordingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list recording rules params
func (*ListRecordingRulesParams) SetTimeout ¶
func (o *ListRecordingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list recording rules params
func (*ListRecordingRulesParams) WithContext ¶
func (o *ListRecordingRulesParams) WithContext(ctx context.Context) *ListRecordingRulesParams
WithContext adds the context to the list recording rules params
func (*ListRecordingRulesParams) WithDefaults ¶
func (o *ListRecordingRulesParams) WithDefaults() *ListRecordingRulesParams
WithDefaults hydrates default values in the list recording rules params (not the query body).
All values with no default are reset to their zero value.
func (*ListRecordingRulesParams) WithHTTPClient ¶
func (o *ListRecordingRulesParams) WithHTTPClient(client *http.Client) *ListRecordingRulesParams
WithHTTPClient adds the HTTPClient to the list recording rules params
func (*ListRecordingRulesParams) WithTimeout ¶
func (o *ListRecordingRulesParams) WithTimeout(timeout time.Duration) *ListRecordingRulesParams
WithTimeout adds the timeout to the list recording rules params
func (*ListRecordingRulesParams) WriteToRequest ¶
func (o *ListRecordingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRecordingRulesReader ¶
type ListRecordingRulesReader struct {
// contains filtered or unexported fields
}
ListRecordingRulesReader is a Reader for the ListRecordingRules structure.
func (*ListRecordingRulesReader) ReadResponse ¶
func (o *ListRecordingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRecordingRulesUnauthorized ¶
type ListRecordingRulesUnauthorized struct {
}ListRecordingRulesUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewListRecordingRulesUnauthorized ¶
func NewListRecordingRulesUnauthorized() *ListRecordingRulesUnauthorized
NewListRecordingRulesUnauthorized creates a ListRecordingRulesUnauthorized with default headers values
func (*ListRecordingRulesUnauthorized) Code ¶
func (o *ListRecordingRulesUnauthorized) Code() int
Code gets the status code for the list recording rules unauthorized response
func (*ListRecordingRulesUnauthorized) Error ¶
func (o *ListRecordingRulesUnauthorized) Error() string
func (*ListRecordingRulesUnauthorized) GetPayload ¶
func (o *ListRecordingRulesUnauthorized) GetPayload() *models.ErrorResponseBody
func (*ListRecordingRulesUnauthorized) IsClientError ¶
func (o *ListRecordingRulesUnauthorized) IsClientError() bool
IsClientError returns true when this list recording rules unauthorized response has a 4xx status code
func (*ListRecordingRulesUnauthorized) IsCode ¶
func (o *ListRecordingRulesUnauthorized) IsCode(code int) bool
IsCode returns true when this list recording rules unauthorized response a status code equal to that given
func (*ListRecordingRulesUnauthorized) IsRedirect ¶
func (o *ListRecordingRulesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list recording rules unauthorized response has a 3xx status code
func (*ListRecordingRulesUnauthorized) IsServerError ¶
func (o *ListRecordingRulesUnauthorized) IsServerError() bool
IsServerError returns true when this list recording rules unauthorized response has a 5xx status code
func (*ListRecordingRulesUnauthorized) IsSuccess ¶
func (o *ListRecordingRulesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list recording rules unauthorized response has a 2xx status code
func (*ListRecordingRulesUnauthorized) String ¶
func (o *ListRecordingRulesUnauthorized) String() string
type TestCreateRecordingRuleForbidden ¶
type TestCreateRecordingRuleForbidden struct {
Payload *models.ErrorResponseBody
}
TestCreateRecordingRuleForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewTestCreateRecordingRuleForbidden ¶
func NewTestCreateRecordingRuleForbidden() *TestCreateRecordingRuleForbidden
NewTestCreateRecordingRuleForbidden creates a TestCreateRecordingRuleForbidden with default headers values
func (*TestCreateRecordingRuleForbidden) Code ¶
func (o *TestCreateRecordingRuleForbidden) Code() int
Code gets the status code for the test create recording rule forbidden response
func (*TestCreateRecordingRuleForbidden) Error ¶
func (o *TestCreateRecordingRuleForbidden) Error() string
func (*TestCreateRecordingRuleForbidden) GetPayload ¶
func (o *TestCreateRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
func (*TestCreateRecordingRuleForbidden) IsClientError ¶
func (o *TestCreateRecordingRuleForbidden) IsClientError() bool
IsClientError returns true when this test create recording rule forbidden response has a 4xx status code
func (*TestCreateRecordingRuleForbidden) IsCode ¶
func (o *TestCreateRecordingRuleForbidden) IsCode(code int) bool
IsCode returns true when this test create recording rule forbidden response a status code equal to that given
func (*TestCreateRecordingRuleForbidden) IsRedirect ¶
func (o *TestCreateRecordingRuleForbidden) IsRedirect() bool
IsRedirect returns true when this test create recording rule forbidden response has a 3xx status code
func (*TestCreateRecordingRuleForbidden) IsServerError ¶
func (o *TestCreateRecordingRuleForbidden) IsServerError() bool
IsServerError returns true when this test create recording rule forbidden response has a 5xx status code
func (*TestCreateRecordingRuleForbidden) IsSuccess ¶
func (o *TestCreateRecordingRuleForbidden) IsSuccess() bool
IsSuccess returns true when this test create recording rule forbidden response has a 2xx status code
func (*TestCreateRecordingRuleForbidden) String ¶
func (o *TestCreateRecordingRuleForbidden) String() string
type TestCreateRecordingRuleInternalServerError ¶
type TestCreateRecordingRuleInternalServerError struct {
Payload *models.ErrorResponseBody
}
TestCreateRecordingRuleInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewTestCreateRecordingRuleInternalServerError ¶
func NewTestCreateRecordingRuleInternalServerError() *TestCreateRecordingRuleInternalServerError
NewTestCreateRecordingRuleInternalServerError creates a TestCreateRecordingRuleInternalServerError with default headers values
func (*TestCreateRecordingRuleInternalServerError) Code ¶
func (o *TestCreateRecordingRuleInternalServerError) Code() int
Code gets the status code for the test create recording rule internal server error response
func (*TestCreateRecordingRuleInternalServerError) Error ¶
func (o *TestCreateRecordingRuleInternalServerError) Error() string
func (*TestCreateRecordingRuleInternalServerError) GetPayload ¶
func (o *TestCreateRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
func (*TestCreateRecordingRuleInternalServerError) IsClientError ¶
func (o *TestCreateRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this test create recording rule internal server error response has a 4xx status code
func (*TestCreateRecordingRuleInternalServerError) IsCode ¶
func (o *TestCreateRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this test create recording rule internal server error response a status code equal to that given
func (*TestCreateRecordingRuleInternalServerError) IsRedirect ¶
func (o *TestCreateRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this test create recording rule internal server error response has a 3xx status code
func (*TestCreateRecordingRuleInternalServerError) IsServerError ¶
func (o *TestCreateRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this test create recording rule internal server error response has a 5xx status code
func (*TestCreateRecordingRuleInternalServerError) IsSuccess ¶
func (o *TestCreateRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this test create recording rule internal server error response has a 2xx status code
func (*TestCreateRecordingRuleInternalServerError) String ¶
func (o *TestCreateRecordingRuleInternalServerError) String() string
type TestCreateRecordingRuleNotFound ¶
type TestCreateRecordingRuleNotFound struct {
Payload *models.ErrorResponseBody
}
TestCreateRecordingRuleNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewTestCreateRecordingRuleNotFound ¶
func NewTestCreateRecordingRuleNotFound() *TestCreateRecordingRuleNotFound
NewTestCreateRecordingRuleNotFound creates a TestCreateRecordingRuleNotFound with default headers values
func (*TestCreateRecordingRuleNotFound) Code ¶
func (o *TestCreateRecordingRuleNotFound) Code() int
Code gets the status code for the test create recording rule not found response
func (*TestCreateRecordingRuleNotFound) Error ¶
func (o *TestCreateRecordingRuleNotFound) Error() string
func (*TestCreateRecordingRuleNotFound) GetPayload ¶
func (o *TestCreateRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
func (*TestCreateRecordingRuleNotFound) IsClientError ¶
func (o *TestCreateRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this test create recording rule not found response has a 4xx status code
func (*TestCreateRecordingRuleNotFound) IsCode ¶
func (o *TestCreateRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this test create recording rule not found response a status code equal to that given
func (*TestCreateRecordingRuleNotFound) IsRedirect ¶
func (o *TestCreateRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this test create recording rule not found response has a 3xx status code
func (*TestCreateRecordingRuleNotFound) IsServerError ¶
func (o *TestCreateRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this test create recording rule not found response has a 5xx status code
func (*TestCreateRecordingRuleNotFound) IsSuccess ¶
func (o *TestCreateRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this test create recording rule not found response has a 2xx status code
func (*TestCreateRecordingRuleNotFound) String ¶
func (o *TestCreateRecordingRuleNotFound) String() string
type TestCreateRecordingRuleOK ¶
type TestCreateRecordingRuleOK struct {
Payload *models.SuccessResponseBody
}
TestCreateRecordingRuleOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewTestCreateRecordingRuleOK ¶
func NewTestCreateRecordingRuleOK() *TestCreateRecordingRuleOK
NewTestCreateRecordingRuleOK creates a TestCreateRecordingRuleOK with default headers values
func (*TestCreateRecordingRuleOK) Code ¶
func (o *TestCreateRecordingRuleOK) Code() int
Code gets the status code for the test create recording rule Ok response
func (*TestCreateRecordingRuleOK) Error ¶
func (o *TestCreateRecordingRuleOK) Error() string
func (*TestCreateRecordingRuleOK) GetPayload ¶
func (o *TestCreateRecordingRuleOK) GetPayload() *models.SuccessResponseBody
func (*TestCreateRecordingRuleOK) IsClientError ¶
func (o *TestCreateRecordingRuleOK) IsClientError() bool
IsClientError returns true when this test create recording rule Ok response has a 4xx status code
func (*TestCreateRecordingRuleOK) IsCode ¶
func (o *TestCreateRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this test create recording rule Ok response a status code equal to that given
func (*TestCreateRecordingRuleOK) IsRedirect ¶
func (o *TestCreateRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this test create recording rule Ok response has a 3xx status code
func (*TestCreateRecordingRuleOK) IsServerError ¶
func (o *TestCreateRecordingRuleOK) IsServerError() bool
IsServerError returns true when this test create recording rule Ok response has a 5xx status code
func (*TestCreateRecordingRuleOK) IsSuccess ¶
func (o *TestCreateRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this test create recording rule Ok response has a 2xx status code
func (*TestCreateRecordingRuleOK) String ¶
func (o *TestCreateRecordingRuleOK) String() string
type TestCreateRecordingRuleParams ¶
type TestCreateRecordingRuleParams struct { // Body. Body *models.RecordingRuleJSON Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestCreateRecordingRuleParams contains all the parameters to send to the API endpoint
for the test create recording rule operation. Typically these are written to a http.Request.
func NewTestCreateRecordingRuleParams ¶
func NewTestCreateRecordingRuleParams() *TestCreateRecordingRuleParams
NewTestCreateRecordingRuleParams creates a new TestCreateRecordingRuleParams 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 NewTestCreateRecordingRuleParamsWithContext ¶
func NewTestCreateRecordingRuleParamsWithContext(ctx context.Context) *TestCreateRecordingRuleParams
NewTestCreateRecordingRuleParamsWithContext creates a new TestCreateRecordingRuleParams object with the ability to set a context for a request.
func NewTestCreateRecordingRuleParamsWithHTTPClient ¶
func NewTestCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *TestCreateRecordingRuleParams
NewTestCreateRecordingRuleParamsWithHTTPClient creates a new TestCreateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewTestCreateRecordingRuleParamsWithTimeout ¶
func NewTestCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *TestCreateRecordingRuleParams
NewTestCreateRecordingRuleParamsWithTimeout creates a new TestCreateRecordingRuleParams object with the ability to set a timeout on a request.
func (*TestCreateRecordingRuleParams) SetBody ¶
func (o *TestCreateRecordingRuleParams) SetBody(body *models.RecordingRuleJSON)
SetBody adds the body to the test create recording rule params
func (*TestCreateRecordingRuleParams) SetContext ¶
func (o *TestCreateRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the test create recording rule params
func (*TestCreateRecordingRuleParams) SetDefaults ¶
func (o *TestCreateRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the test create recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*TestCreateRecordingRuleParams) SetHTTPClient ¶
func (o *TestCreateRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test create recording rule params
func (*TestCreateRecordingRuleParams) SetTimeout ¶
func (o *TestCreateRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test create recording rule params
func (*TestCreateRecordingRuleParams) WithBody ¶
func (o *TestCreateRecordingRuleParams) WithBody(body *models.RecordingRuleJSON) *TestCreateRecordingRuleParams
WithBody adds the body to the test create recording rule params
func (*TestCreateRecordingRuleParams) WithContext ¶
func (o *TestCreateRecordingRuleParams) WithContext(ctx context.Context) *TestCreateRecordingRuleParams
WithContext adds the context to the test create recording rule params
func (*TestCreateRecordingRuleParams) WithDefaults ¶
func (o *TestCreateRecordingRuleParams) WithDefaults() *TestCreateRecordingRuleParams
WithDefaults hydrates default values in the test create recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*TestCreateRecordingRuleParams) WithHTTPClient ¶
func (o *TestCreateRecordingRuleParams) WithHTTPClient(client *http.Client) *TestCreateRecordingRuleParams
WithHTTPClient adds the HTTPClient to the test create recording rule params
func (*TestCreateRecordingRuleParams) WithTimeout ¶
func (o *TestCreateRecordingRuleParams) WithTimeout(timeout time.Duration) *TestCreateRecordingRuleParams
WithTimeout adds the timeout to the test create recording rule params
func (*TestCreateRecordingRuleParams) WriteToRequest ¶
func (o *TestCreateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestCreateRecordingRuleReader ¶
type TestCreateRecordingRuleReader struct {
// contains filtered or unexported fields
}
TestCreateRecordingRuleReader is a Reader for the TestCreateRecordingRule structure.
func (*TestCreateRecordingRuleReader) ReadResponse ¶
func (o *TestCreateRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestCreateRecordingRuleUnauthorized ¶
type TestCreateRecordingRuleUnauthorized struct {
}TestCreateRecordingRuleUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewTestCreateRecordingRuleUnauthorized ¶
func NewTestCreateRecordingRuleUnauthorized() *TestCreateRecordingRuleUnauthorized
NewTestCreateRecordingRuleUnauthorized creates a TestCreateRecordingRuleUnauthorized with default headers values
func (*TestCreateRecordingRuleUnauthorized) Code ¶
func (o *TestCreateRecordingRuleUnauthorized) Code() int
Code gets the status code for the test create recording rule unauthorized response
func (*TestCreateRecordingRuleUnauthorized) Error ¶
func (o *TestCreateRecordingRuleUnauthorized) Error() string
func (*TestCreateRecordingRuleUnauthorized) GetPayload ¶
func (o *TestCreateRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
func (*TestCreateRecordingRuleUnauthorized) IsClientError ¶
func (o *TestCreateRecordingRuleUnauthorized) IsClientError() bool
IsClientError returns true when this test create recording rule unauthorized response has a 4xx status code
func (*TestCreateRecordingRuleUnauthorized) IsCode ¶
func (o *TestCreateRecordingRuleUnauthorized) IsCode(code int) bool
IsCode returns true when this test create recording rule unauthorized response a status code equal to that given
func (*TestCreateRecordingRuleUnauthorized) IsRedirect ¶
func (o *TestCreateRecordingRuleUnauthorized) IsRedirect() bool
IsRedirect returns true when this test create recording rule unauthorized response has a 3xx status code
func (*TestCreateRecordingRuleUnauthorized) IsServerError ¶
func (o *TestCreateRecordingRuleUnauthorized) IsServerError() bool
IsServerError returns true when this test create recording rule unauthorized response has a 5xx status code
func (*TestCreateRecordingRuleUnauthorized) IsSuccess ¶
func (o *TestCreateRecordingRuleUnauthorized) IsSuccess() bool
IsSuccess returns true when this test create recording rule unauthorized response has a 2xx status code
func (*TestCreateRecordingRuleUnauthorized) String ¶
func (o *TestCreateRecordingRuleUnauthorized) String() string
type TestCreateRecordingRuleUnprocessableEntity ¶
type TestCreateRecordingRuleUnprocessableEntity struct {
Payload *models.ErrorResponseBody
}
TestCreateRecordingRuleUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntityError
func NewTestCreateRecordingRuleUnprocessableEntity ¶
func NewTestCreateRecordingRuleUnprocessableEntity() *TestCreateRecordingRuleUnprocessableEntity
NewTestCreateRecordingRuleUnprocessableEntity creates a TestCreateRecordingRuleUnprocessableEntity with default headers values
func (*TestCreateRecordingRuleUnprocessableEntity) Code ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) Code() int
Code gets the status code for the test create recording rule unprocessable entity response
func (*TestCreateRecordingRuleUnprocessableEntity) Error ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) Error() string
func (*TestCreateRecordingRuleUnprocessableEntity) GetPayload ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) GetPayload() *models.ErrorResponseBody
func (*TestCreateRecordingRuleUnprocessableEntity) IsClientError ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) IsClientError() bool
IsClientError returns true when this test create recording rule unprocessable entity response has a 4xx status code
func (*TestCreateRecordingRuleUnprocessableEntity) IsCode ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this test create recording rule unprocessable entity response a status code equal to that given
func (*TestCreateRecordingRuleUnprocessableEntity) IsRedirect ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this test create recording rule unprocessable entity response has a 3xx status code
func (*TestCreateRecordingRuleUnprocessableEntity) IsServerError ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) IsServerError() bool
IsServerError returns true when this test create recording rule unprocessable entity response has a 5xx status code
func (*TestCreateRecordingRuleUnprocessableEntity) IsSuccess ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this test create recording rule unprocessable entity response has a 2xx status code
func (*TestCreateRecordingRuleUnprocessableEntity) String ¶
func (o *TestCreateRecordingRuleUnprocessableEntity) String() string
type UpdateRecordingRuleForbidden ¶
type UpdateRecordingRuleForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateRecordingRuleForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateRecordingRuleForbidden ¶
func NewUpdateRecordingRuleForbidden() *UpdateRecordingRuleForbidden
NewUpdateRecordingRuleForbidden creates a UpdateRecordingRuleForbidden with default headers values
func (*UpdateRecordingRuleForbidden) Code ¶
func (o *UpdateRecordingRuleForbidden) Code() int
Code gets the status code for the update recording rule forbidden response
func (*UpdateRecordingRuleForbidden) Error ¶
func (o *UpdateRecordingRuleForbidden) Error() string
func (*UpdateRecordingRuleForbidden) GetPayload ¶
func (o *UpdateRecordingRuleForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateRecordingRuleForbidden) IsClientError ¶
func (o *UpdateRecordingRuleForbidden) IsClientError() bool
IsClientError returns true when this update recording rule forbidden response has a 4xx status code
func (*UpdateRecordingRuleForbidden) IsCode ¶
func (o *UpdateRecordingRuleForbidden) IsCode(code int) bool
IsCode returns true when this update recording rule forbidden response a status code equal to that given
func (*UpdateRecordingRuleForbidden) IsRedirect ¶
func (o *UpdateRecordingRuleForbidden) IsRedirect() bool
IsRedirect returns true when this update recording rule forbidden response has a 3xx status code
func (*UpdateRecordingRuleForbidden) IsServerError ¶
func (o *UpdateRecordingRuleForbidden) IsServerError() bool
IsServerError returns true when this update recording rule forbidden response has a 5xx status code
func (*UpdateRecordingRuleForbidden) IsSuccess ¶
func (o *UpdateRecordingRuleForbidden) IsSuccess() bool
IsSuccess returns true when this update recording rule forbidden response has a 2xx status code
func (*UpdateRecordingRuleForbidden) String ¶
func (o *UpdateRecordingRuleForbidden) String() string
type UpdateRecordingRuleInternalServerError ¶
type UpdateRecordingRuleInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateRecordingRuleInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateRecordingRuleInternalServerError ¶
func NewUpdateRecordingRuleInternalServerError() *UpdateRecordingRuleInternalServerError
NewUpdateRecordingRuleInternalServerError creates a UpdateRecordingRuleInternalServerError with default headers values
func (*UpdateRecordingRuleInternalServerError) Code ¶
func (o *UpdateRecordingRuleInternalServerError) Code() int
Code gets the status code for the update recording rule internal server error response
func (*UpdateRecordingRuleInternalServerError) Error ¶
func (o *UpdateRecordingRuleInternalServerError) Error() string
func (*UpdateRecordingRuleInternalServerError) GetPayload ¶
func (o *UpdateRecordingRuleInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateRecordingRuleInternalServerError) IsClientError ¶
func (o *UpdateRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this update recording rule internal server error response has a 4xx status code
func (*UpdateRecordingRuleInternalServerError) IsCode ¶
func (o *UpdateRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this update recording rule internal server error response a status code equal to that given
func (*UpdateRecordingRuleInternalServerError) IsRedirect ¶
func (o *UpdateRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update recording rule internal server error response has a 3xx status code
func (*UpdateRecordingRuleInternalServerError) IsServerError ¶
func (o *UpdateRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this update recording rule internal server error response has a 5xx status code
func (*UpdateRecordingRuleInternalServerError) IsSuccess ¶
func (o *UpdateRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update recording rule internal server error response has a 2xx status code
func (*UpdateRecordingRuleInternalServerError) String ¶
func (o *UpdateRecordingRuleInternalServerError) String() string
type UpdateRecordingRuleNotFound ¶
type UpdateRecordingRuleNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateRecordingRuleNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateRecordingRuleNotFound ¶
func NewUpdateRecordingRuleNotFound() *UpdateRecordingRuleNotFound
NewUpdateRecordingRuleNotFound creates a UpdateRecordingRuleNotFound with default headers values
func (*UpdateRecordingRuleNotFound) Code ¶
func (o *UpdateRecordingRuleNotFound) Code() int
Code gets the status code for the update recording rule not found response
func (*UpdateRecordingRuleNotFound) Error ¶
func (o *UpdateRecordingRuleNotFound) Error() string
func (*UpdateRecordingRuleNotFound) GetPayload ¶
func (o *UpdateRecordingRuleNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateRecordingRuleNotFound) IsClientError ¶
func (o *UpdateRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this update recording rule not found response has a 4xx status code
func (*UpdateRecordingRuleNotFound) IsCode ¶
func (o *UpdateRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this update recording rule not found response a status code equal to that given
func (*UpdateRecordingRuleNotFound) IsRedirect ¶
func (o *UpdateRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this update recording rule not found response has a 3xx status code
func (*UpdateRecordingRuleNotFound) IsServerError ¶
func (o *UpdateRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this update recording rule not found response has a 5xx status code
func (*UpdateRecordingRuleNotFound) IsSuccess ¶
func (o *UpdateRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this update recording rule not found response has a 2xx status code
func (*UpdateRecordingRuleNotFound) String ¶
func (o *UpdateRecordingRuleNotFound) String() string
type UpdateRecordingRuleOK ¶
type UpdateRecordingRuleOK struct {
Payload *models.RecordingRuleJSON
}
UpdateRecordingRuleOK describes a response with status code 200, with default header values.
(empty)
func NewUpdateRecordingRuleOK ¶
func NewUpdateRecordingRuleOK() *UpdateRecordingRuleOK
NewUpdateRecordingRuleOK creates a UpdateRecordingRuleOK with default headers values
func (*UpdateRecordingRuleOK) Code ¶
func (o *UpdateRecordingRuleOK) Code() int
Code gets the status code for the update recording rule Ok response
func (*UpdateRecordingRuleOK) Error ¶
func (o *UpdateRecordingRuleOK) Error() string
func (*UpdateRecordingRuleOK) GetPayload ¶
func (o *UpdateRecordingRuleOK) GetPayload() *models.RecordingRuleJSON
func (*UpdateRecordingRuleOK) IsClientError ¶
func (o *UpdateRecordingRuleOK) IsClientError() bool
IsClientError returns true when this update recording rule Ok response has a 4xx status code
func (*UpdateRecordingRuleOK) IsCode ¶
func (o *UpdateRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this update recording rule Ok response a status code equal to that given
func (*UpdateRecordingRuleOK) IsRedirect ¶
func (o *UpdateRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this update recording rule Ok response has a 3xx status code
func (*UpdateRecordingRuleOK) IsServerError ¶
func (o *UpdateRecordingRuleOK) IsServerError() bool
IsServerError returns true when this update recording rule Ok response has a 5xx status code
func (*UpdateRecordingRuleOK) IsSuccess ¶
func (o *UpdateRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this update recording rule Ok response has a 2xx status code
func (*UpdateRecordingRuleOK) String ¶
func (o *UpdateRecordingRuleOK) String() string
type UpdateRecordingRuleParams ¶
type UpdateRecordingRuleParams struct { // Body. Body *models.RecordingRuleJSON Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRecordingRuleParams contains all the parameters to send to the API endpoint
for the update recording rule operation. Typically these are written to a http.Request.
func NewUpdateRecordingRuleParams ¶
func NewUpdateRecordingRuleParams() *UpdateRecordingRuleParams
NewUpdateRecordingRuleParams creates a new UpdateRecordingRuleParams 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 NewUpdateRecordingRuleParamsWithContext ¶
func NewUpdateRecordingRuleParamsWithContext(ctx context.Context) *UpdateRecordingRuleParams
NewUpdateRecordingRuleParamsWithContext creates a new UpdateRecordingRuleParams object with the ability to set a context for a request.
func NewUpdateRecordingRuleParamsWithHTTPClient ¶
func NewUpdateRecordingRuleParamsWithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
NewUpdateRecordingRuleParamsWithHTTPClient creates a new UpdateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRecordingRuleParamsWithTimeout ¶
func NewUpdateRecordingRuleParamsWithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
NewUpdateRecordingRuleParamsWithTimeout creates a new UpdateRecordingRuleParams object with the ability to set a timeout on a request.
func (*UpdateRecordingRuleParams) SetBody ¶
func (o *UpdateRecordingRuleParams) SetBody(body *models.RecordingRuleJSON)
SetBody adds the body to the update recording rule params
func (*UpdateRecordingRuleParams) SetContext ¶
func (o *UpdateRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the update recording rule params
func (*UpdateRecordingRuleParams) SetDefaults ¶
func (o *UpdateRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the update recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRecordingRuleParams) SetHTTPClient ¶
func (o *UpdateRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update recording rule params
func (*UpdateRecordingRuleParams) SetTimeout ¶
func (o *UpdateRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update recording rule params
func (*UpdateRecordingRuleParams) WithBody ¶
func (o *UpdateRecordingRuleParams) WithBody(body *models.RecordingRuleJSON) *UpdateRecordingRuleParams
WithBody adds the body to the update recording rule params
func (*UpdateRecordingRuleParams) WithContext ¶
func (o *UpdateRecordingRuleParams) WithContext(ctx context.Context) *UpdateRecordingRuleParams
WithContext adds the context to the update recording rule params
func (*UpdateRecordingRuleParams) WithDefaults ¶
func (o *UpdateRecordingRuleParams) WithDefaults() *UpdateRecordingRuleParams
WithDefaults hydrates default values in the update recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRecordingRuleParams) WithHTTPClient ¶
func (o *UpdateRecordingRuleParams) WithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
WithHTTPClient adds the HTTPClient to the update recording rule params
func (*UpdateRecordingRuleParams) WithTimeout ¶
func (o *UpdateRecordingRuleParams) WithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
WithTimeout adds the timeout to the update recording rule params
func (*UpdateRecordingRuleParams) WriteToRequest ¶
func (o *UpdateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRecordingRuleReader ¶
type UpdateRecordingRuleReader struct {
// contains filtered or unexported fields
}
UpdateRecordingRuleReader is a Reader for the UpdateRecordingRule structure.
func (*UpdateRecordingRuleReader) ReadResponse ¶
func (o *UpdateRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRecordingRuleUnauthorized ¶
type UpdateRecordingRuleUnauthorized struct {
}UpdateRecordingRuleUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateRecordingRuleUnauthorized ¶
func NewUpdateRecordingRuleUnauthorized() *UpdateRecordingRuleUnauthorized
NewUpdateRecordingRuleUnauthorized creates a UpdateRecordingRuleUnauthorized with default headers values
func (*UpdateRecordingRuleUnauthorized) Code ¶
func (o *UpdateRecordingRuleUnauthorized) Code() int
Code gets the status code for the update recording rule unauthorized response
func (*UpdateRecordingRuleUnauthorized) Error ¶
func (o *UpdateRecordingRuleUnauthorized) Error() string
func (*UpdateRecordingRuleUnauthorized) GetPayload ¶
func (o *UpdateRecordingRuleUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateRecordingRuleUnauthorized) IsClientError ¶
func (o *UpdateRecordingRuleUnauthorized) IsClientError() bool
IsClientError returns true when this update recording rule unauthorized response has a 4xx status code
func (*UpdateRecordingRuleUnauthorized) IsCode ¶
func (o *UpdateRecordingRuleUnauthorized) IsCode(code int) bool
IsCode returns true when this update recording rule unauthorized response a status code equal to that given
func (*UpdateRecordingRuleUnauthorized) IsRedirect ¶
func (o *UpdateRecordingRuleUnauthorized) IsRedirect() bool
IsRedirect returns true when this update recording rule unauthorized response has a 3xx status code
func (*UpdateRecordingRuleUnauthorized) IsServerError ¶
func (o *UpdateRecordingRuleUnauthorized) IsServerError() bool
IsServerError returns true when this update recording rule unauthorized response has a 5xx status code
func (*UpdateRecordingRuleUnauthorized) IsSuccess ¶
func (o *UpdateRecordingRuleUnauthorized) IsSuccess() bool
IsSuccess returns true when this update recording rule unauthorized response has a 2xx status code
func (*UpdateRecordingRuleUnauthorized) String ¶
func (o *UpdateRecordingRuleUnauthorized) String() string
Source Files
¶
- create_recording_rule_parameters.go
- create_recording_rule_responses.go
- create_recording_rule_write_target_parameters.go
- create_recording_rule_write_target_responses.go
- delete_recording_rule_parameters.go
- delete_recording_rule_responses.go
- delete_recording_rule_write_target_parameters.go
- delete_recording_rule_write_target_responses.go
- get_recording_rule_write_target_parameters.go
- get_recording_rule_write_target_responses.go
- list_recording_rules_parameters.go
- list_recording_rules_responses.go
- recording_rules_client.go
- test_create_recording_rule_parameters.go
- test_create_recording_rule_responses.go
- update_recording_rule_parameters.go
- update_recording_rule_responses.go