Documentation ¶
Index ¶
- Constants
- type GetError
- type GetErrorHandler
- type GetErrorHandlerFunc
- type GetErrorInternalServerError
- type GetErrorNotFound
- type GetErrorOK
- func (o *GetErrorOK) SetPayload(payload *models.Error)
- func (o *GetErrorOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *GetErrorOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
- func (o *GetErrorOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *GetErrorOK) WithPayload(payload *models.Error) *GetErrorOK
- func (o *GetErrorOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *GetErrorOK
- func (o *GetErrorOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *GetErrorOK
- func (o *GetErrorOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *GetErrorOK
- func (o *GetErrorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetErrorParams
- type GetErrorTooManyRequests
- func (o *GetErrorTooManyRequests) SetRetryAfter(retryAfter int64)
- func (o *GetErrorTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *GetErrorTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *GetErrorTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
- func (o *GetErrorTooManyRequests) WithRetryAfter(retryAfter int64) *GetErrorTooManyRequests
- func (o *GetErrorTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *GetErrorTooManyRequests
- func (o *GetErrorTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *GetErrorTooManyRequests
- func (o *GetErrorTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *GetErrorTooManyRequests
- func (o *GetErrorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetErrorURL
- func (o *GetErrorURL) Build() (*url.URL, error)
- func (o *GetErrorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetErrorURL) Must(u *url.URL, err error) *url.URL
- func (o *GetErrorURL) SetBasePath(bp string)
- func (o *GetErrorURL) String() string
- func (o *GetErrorURL) StringFull(scheme, host string) string
- func (o *GetErrorURL) WithBasePath(bp string) *GetErrorURL
- type ListErrors
- type ListErrorsHandler
- type ListErrorsHandlerFunc
- type ListErrorsInternalServerError
- type ListErrorsNotFound
- type ListErrorsOK
- func (o *ListErrorsOK) SetLink(link string)
- func (o *ListErrorsOK) SetPayload(payload []*models.Error)
- func (o *ListErrorsOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *ListErrorsOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
- func (o *ListErrorsOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *ListErrorsOK) WithLink(link string) *ListErrorsOK
- func (o *ListErrorsOK) WithPayload(payload []*models.Error) *ListErrorsOK
- func (o *ListErrorsOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListErrorsOK
- func (o *ListErrorsOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *ListErrorsOK
- func (o *ListErrorsOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListErrorsOK
- func (o *ListErrorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListErrorsParams
- type ListErrorsTooManyRequests
- func (o *ListErrorsTooManyRequests) SetRetryAfter(retryAfter int64)
- func (o *ListErrorsTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *ListErrorsTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *ListErrorsTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
- func (o *ListErrorsTooManyRequests) WithRetryAfter(retryAfter int64) *ListErrorsTooManyRequests
- func (o *ListErrorsTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListErrorsTooManyRequests
- func (o *ListErrorsTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListErrorsTooManyRequests
- func (o *ListErrorsTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *ListErrorsTooManyRequests
- func (o *ListErrorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListErrorsURL
- func (o *ListErrorsURL) Build() (*url.URL, error)
- func (o *ListErrorsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListErrorsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListErrorsURL) SetBasePath(bp string)
- func (o *ListErrorsURL) String() string
- func (o *ListErrorsURL) StringFull(scheme, host string) string
- func (o *ListErrorsURL) WithBasePath(bp string) *ListErrorsURL
- type ListEvents
- type ListEventsHandler
- type ListEventsHandlerFunc
- type ListEventsInternalServerError
- type ListEventsNotFound
- type ListEventsOK
- func (o *ListEventsOK) SetLink(link string)
- func (o *ListEventsOK) SetPayload(payload []*models.ErrorEvent)
- func (o *ListEventsOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *ListEventsOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
- func (o *ListEventsOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *ListEventsOK) WithLink(link string) *ListEventsOK
- func (o *ListEventsOK) WithPayload(payload []*models.ErrorEvent) *ListEventsOK
- func (o *ListEventsOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListEventsOK
- func (o *ListEventsOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *ListEventsOK
- func (o *ListEventsOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListEventsOK
- func (o *ListEventsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEventsParams
- type ListEventsTooManyRequests
- func (o *ListEventsTooManyRequests) SetRetryAfter(retryAfter int64)
- func (o *ListEventsTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *ListEventsTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *ListEventsTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
- func (o *ListEventsTooManyRequests) WithRetryAfter(retryAfter int64) *ListEventsTooManyRequests
- func (o *ListEventsTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListEventsTooManyRequests
- func (o *ListEventsTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListEventsTooManyRequests
- func (o *ListEventsTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *ListEventsTooManyRequests
- func (o *ListEventsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEventsURL
- func (o *ListEventsURL) Build() (*url.URL, error)
- func (o *ListEventsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListEventsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListEventsURL) SetBasePath(bp string)
- func (o *ListEventsURL) String() string
- func (o *ListEventsURL) StringFull(scheme, host string) string
- func (o *ListEventsURL) WithBasePath(bp string) *ListEventsURL
- type UpdateError
- type UpdateErrorHandler
- type UpdateErrorHandlerFunc
- type UpdateErrorInternalServerError
- type UpdateErrorNotFound
- type UpdateErrorOK
- func (o *UpdateErrorOK) SetPayload(payload *models.Error)
- func (o *UpdateErrorOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *UpdateErrorOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
- func (o *UpdateErrorOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *UpdateErrorOK) WithPayload(payload *models.Error) *UpdateErrorOK
- func (o *UpdateErrorOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *UpdateErrorOK
- func (o *UpdateErrorOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *UpdateErrorOK
- func (o *UpdateErrorOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *UpdateErrorOK
- func (o *UpdateErrorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateErrorParams
- type UpdateErrorTooManyRequests
- func (o *UpdateErrorTooManyRequests) SetRetryAfter(retryAfter int64)
- func (o *UpdateErrorTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *UpdateErrorTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *UpdateErrorTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
- func (o *UpdateErrorTooManyRequests) WithRetryAfter(retryAfter int64) *UpdateErrorTooManyRequests
- func (o *UpdateErrorTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *UpdateErrorTooManyRequests
- func (o *UpdateErrorTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *UpdateErrorTooManyRequests
- func (o *UpdateErrorTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *UpdateErrorTooManyRequests
- func (o *UpdateErrorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateErrorURL
- func (o *UpdateErrorURL) Build() (*url.URL, error)
- func (o *UpdateErrorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateErrorURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateErrorURL) SetBasePath(bp string)
- func (o *UpdateErrorURL) String() string
- func (o *UpdateErrorURL) StringFull(scheme, host string) string
- func (o *UpdateErrorURL) WithBasePath(bp string) *UpdateErrorURL
Constants ¶
const GetErrorInternalServerErrorCode int = 500
GetErrorInternalServerErrorCode is the HTTP code returned for type GetErrorInternalServerError
const GetErrorNotFoundCode int = 404
GetErrorNotFoundCode is the HTTP code returned for type GetErrorNotFound
const GetErrorOKCode int = 200
GetErrorOKCode is the HTTP code returned for type GetErrorOK
const GetErrorTooManyRequestsCode int = 429
GetErrorTooManyRequestsCode is the HTTP code returned for type GetErrorTooManyRequests
const ListErrorsInternalServerErrorCode int = 500
ListErrorsInternalServerErrorCode is the HTTP code returned for type ListErrorsInternalServerError
const ListErrorsNotFoundCode int = 404
ListErrorsNotFoundCode is the HTTP code returned for type ListErrorsNotFound
const ListErrorsOKCode int = 200
ListErrorsOKCode is the HTTP code returned for type ListErrorsOK
const ListErrorsTooManyRequestsCode int = 429
ListErrorsTooManyRequestsCode is the HTTP code returned for type ListErrorsTooManyRequests
const ListEventsInternalServerErrorCode int = 500
ListEventsInternalServerErrorCode is the HTTP code returned for type ListEventsInternalServerError
const ListEventsNotFoundCode int = 404
ListEventsNotFoundCode is the HTTP code returned for type ListEventsNotFound
const ListEventsOKCode int = 200
ListEventsOKCode is the HTTP code returned for type ListEventsOK
const ListEventsTooManyRequestsCode int = 429
ListEventsTooManyRequestsCode is the HTTP code returned for type ListEventsTooManyRequests
const UpdateErrorInternalServerErrorCode int = 500
UpdateErrorInternalServerErrorCode is the HTTP code returned for type UpdateErrorInternalServerError
const UpdateErrorNotFoundCode int = 404
UpdateErrorNotFoundCode is the HTTP code returned for type UpdateErrorNotFound
const UpdateErrorOKCode int = 200
UpdateErrorOKCode is the HTTP code returned for type UpdateErrorOK
const UpdateErrorTooManyRequestsCode int = 429
UpdateErrorTooManyRequestsCode is the HTTP code returned for type UpdateErrorTooManyRequests
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetError ¶
type GetError struct { Context *middleware.Context Handler GetErrorHandler }
GetError swagger:route GET /projects/{projectId}/errors/{fingerprint} errors getError
Get information about the error
func NewGetError ¶
func NewGetError(ctx *middleware.Context, handler GetErrorHandler) *GetError
NewGetError creates a new http.Handler for the get error operation
type GetErrorHandler ¶
type GetErrorHandler interface {
Handle(GetErrorParams) middleware.Responder
}
GetErrorHandler interface for that can handle valid get error params
type GetErrorHandlerFunc ¶
type GetErrorHandlerFunc func(GetErrorParams) middleware.Responder
GetErrorHandlerFunc turns a function with the right signature into a get error handler
func (GetErrorHandlerFunc) Handle ¶
func (fn GetErrorHandlerFunc) Handle(params GetErrorParams) middleware.Responder
Handle executing the request and returning a response
type GetErrorInternalServerError ¶
type GetErrorInternalServerError struct { }
GetErrorInternalServerError Internal error
swagger:response getErrorInternalServerError
func NewGetErrorInternalServerError ¶
func NewGetErrorInternalServerError() *GetErrorInternalServerError
NewGetErrorInternalServerError creates GetErrorInternalServerError with default headers values
func (*GetErrorInternalServerError) WriteResponse ¶
func (o *GetErrorInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetErrorNotFound ¶
type GetErrorNotFound struct { }
GetErrorNotFound Error not found
swagger:response getErrorNotFound
func NewGetErrorNotFound ¶
func NewGetErrorNotFound() *GetErrorNotFound
NewGetErrorNotFound creates GetErrorNotFound with default headers values
func (*GetErrorNotFound) WriteResponse ¶
func (o *GetErrorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetErrorOK ¶
type GetErrorOK struct { /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The number of requests this caller has left on this endpoint within the current window. */ XSentryRateLimitRemaining int64 `json:"X-Sentry-Rate-Limit-Remaining"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetErrorOK Success
swagger:response getErrorOK
func NewGetErrorOK ¶
func NewGetErrorOK() *GetErrorOK
NewGetErrorOK creates GetErrorOK with default headers values
func (*GetErrorOK) SetPayload ¶
func (o *GetErrorOK) SetPayload(payload *models.Error)
SetPayload sets the payload to the get error o k response
func (*GetErrorOK) SetXSentryRateLimitLimit ¶
func (o *GetErrorOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the get error o k response
func (*GetErrorOK) SetXSentryRateLimitRemaining ¶
func (o *GetErrorOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
SetXSentryRateLimitRemaining sets the xSentryRateLimitRemaining to the get error o k response
func (*GetErrorOK) SetXSentryRateLimitReset ¶
func (o *GetErrorOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the get error o k response
func (*GetErrorOK) WithPayload ¶
func (o *GetErrorOK) WithPayload(payload *models.Error) *GetErrorOK
WithPayload adds the payload to the get error o k response
func (*GetErrorOK) WithXSentryRateLimitLimit ¶
func (o *GetErrorOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *GetErrorOK
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the get error o k response
func (*GetErrorOK) WithXSentryRateLimitRemaining ¶
func (o *GetErrorOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *GetErrorOK
WithXSentryRateLimitRemaining adds the xSentryRateLimitRemaining to the get error o k response
func (*GetErrorOK) WithXSentryRateLimitReset ¶
func (o *GetErrorOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *GetErrorOK
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the get error o k response
func (*GetErrorOK) WriteResponse ¶
func (o *GetErrorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetErrorParams ¶
type GetErrorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the error that needs to be updated deleted Required: true In: path */ Fingerprint uint32 /*ID of the project where the error was created Required: true In: path */ ProjectID uint64 }
GetErrorParams contains all the bound params for the get error operation typically these are obtained from a http.Request
swagger:parameters getError
func NewGetErrorParams ¶
func NewGetErrorParams() GetErrorParams
NewGetErrorParams creates a new GetErrorParams object
There are no default values defined in the spec.
func (*GetErrorParams) BindRequest ¶
func (o *GetErrorParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetErrorParams() beforehand.
type GetErrorTooManyRequests ¶
type GetErrorTooManyRequests struct { /*Number of seconds after which requests will be permitted again */ RetryAfter int64 `json:"Retry-After"` /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /*Detailed list of all rate limits that apply per data category, with seconds remaining untill they reset */ XSentryRateLimits string `json:"X-Sentry-Rate-Limits"` }
GetErrorTooManyRequests Resource limits exceeded
swagger:response getErrorTooManyRequests
func NewGetErrorTooManyRequests ¶
func NewGetErrorTooManyRequests() *GetErrorTooManyRequests
NewGetErrorTooManyRequests creates GetErrorTooManyRequests with default headers values
func (*GetErrorTooManyRequests) SetRetryAfter ¶
func (o *GetErrorTooManyRequests) SetRetryAfter(retryAfter int64)
SetRetryAfter sets the retryAfter to the get error too many requests response
func (*GetErrorTooManyRequests) SetXSentryRateLimitLimit ¶
func (o *GetErrorTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the get error too many requests response
func (*GetErrorTooManyRequests) SetXSentryRateLimitReset ¶
func (o *GetErrorTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the get error too many requests response
func (*GetErrorTooManyRequests) SetXSentryRateLimits ¶
func (o *GetErrorTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
SetXSentryRateLimits sets the xSentryRateLimits to the get error too many requests response
func (*GetErrorTooManyRequests) WithRetryAfter ¶
func (o *GetErrorTooManyRequests) WithRetryAfter(retryAfter int64) *GetErrorTooManyRequests
WithRetryAfter adds the retryAfter to the get error too many requests response
func (*GetErrorTooManyRequests) WithXSentryRateLimitLimit ¶
func (o *GetErrorTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *GetErrorTooManyRequests
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the get error too many requests response
func (*GetErrorTooManyRequests) WithXSentryRateLimitReset ¶
func (o *GetErrorTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *GetErrorTooManyRequests
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the get error too many requests response
func (*GetErrorTooManyRequests) WithXSentryRateLimits ¶
func (o *GetErrorTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *GetErrorTooManyRequests
WithXSentryRateLimits adds the xSentryRateLimits to the get error too many requests response
func (*GetErrorTooManyRequests) WriteResponse ¶
func (o *GetErrorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetErrorURL ¶
type GetErrorURL struct { Fingerprint uint32 ProjectID uint64 // contains filtered or unexported fields }
GetErrorURL generates an URL for the get error operation
func (*GetErrorURL) Build ¶
func (o *GetErrorURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetErrorURL) BuildFull ¶
func (o *GetErrorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetErrorURL) SetBasePath ¶
func (o *GetErrorURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetErrorURL) String ¶
func (o *GetErrorURL) String() string
String returns the string representation of the path with query string
func (*GetErrorURL) StringFull ¶
func (o *GetErrorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetErrorURL) WithBasePath ¶
func (o *GetErrorURL) WithBasePath(bp string) *GetErrorURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListErrors ¶
type ListErrors struct { Context *middleware.Context Handler ListErrorsHandler }
ListErrors swagger:route GET /projects/{projectId}/errors errors listErrors
List of errors
func NewListErrors ¶
func NewListErrors(ctx *middleware.Context, handler ListErrorsHandler) *ListErrors
NewListErrors creates a new http.Handler for the list errors operation
func (*ListErrors) ServeHTTP ¶
func (o *ListErrors) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListErrorsHandler ¶
type ListErrorsHandler interface {
Handle(ListErrorsParams) middleware.Responder
}
ListErrorsHandler interface for that can handle valid list errors params
type ListErrorsHandlerFunc ¶
type ListErrorsHandlerFunc func(ListErrorsParams) middleware.Responder
ListErrorsHandlerFunc turns a function with the right signature into a list errors handler
func (ListErrorsHandlerFunc) Handle ¶
func (fn ListErrorsHandlerFunc) Handle(params ListErrorsParams) middleware.Responder
Handle executing the request and returning a response
type ListErrorsInternalServerError ¶
type ListErrorsInternalServerError struct { }
ListErrorsInternalServerError Internal error
swagger:response listErrorsInternalServerError
func NewListErrorsInternalServerError ¶
func NewListErrorsInternalServerError() *ListErrorsInternalServerError
NewListErrorsInternalServerError creates ListErrorsInternalServerError with default headers values
func (*ListErrorsInternalServerError) WriteResponse ¶
func (o *ListErrorsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListErrorsNotFound ¶
type ListErrorsNotFound struct { }
ListErrorsNotFound Error not found
swagger:response listErrorsNotFound
func NewListErrorsNotFound ¶
func NewListErrorsNotFound() *ListErrorsNotFound
NewListErrorsNotFound creates ListErrorsNotFound with default headers values
func (*ListErrorsNotFound) WriteResponse ¶
func (o *ListErrorsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListErrorsOK ¶
type ListErrorsOK struct { /*Link header containing pagination information (previous and next pages). https://docs.gitlab.com/ee/api/#pagination-link-header */ Link string `json:"Link"` /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The number of requests this caller has left on this endpoint within the current window. */ XSentryRateLimitRemaining int64 `json:"X-Sentry-Rate-Limit-Remaining"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /* In: Body */ Payload []*models.Error `json:"body,omitempty"` }
ListErrorsOK Success
swagger:response listErrorsOK
func NewListErrorsOK ¶
func NewListErrorsOK() *ListErrorsOK
NewListErrorsOK creates ListErrorsOK with default headers values
func (*ListErrorsOK) SetLink ¶
func (o *ListErrorsOK) SetLink(link string)
SetLink sets the link to the list errors o k response
func (*ListErrorsOK) SetPayload ¶
func (o *ListErrorsOK) SetPayload(payload []*models.Error)
SetPayload sets the payload to the list errors o k response
func (*ListErrorsOK) SetXSentryRateLimitLimit ¶
func (o *ListErrorsOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the list errors o k response
func (*ListErrorsOK) SetXSentryRateLimitRemaining ¶
func (o *ListErrorsOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
SetXSentryRateLimitRemaining sets the xSentryRateLimitRemaining to the list errors o k response
func (*ListErrorsOK) SetXSentryRateLimitReset ¶
func (o *ListErrorsOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the list errors o k response
func (*ListErrorsOK) WithLink ¶
func (o *ListErrorsOK) WithLink(link string) *ListErrorsOK
WithLink adds the link to the list errors o k response
func (*ListErrorsOK) WithPayload ¶
func (o *ListErrorsOK) WithPayload(payload []*models.Error) *ListErrorsOK
WithPayload adds the payload to the list errors o k response
func (*ListErrorsOK) WithXSentryRateLimitLimit ¶
func (o *ListErrorsOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListErrorsOK
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the list errors o k response
func (*ListErrorsOK) WithXSentryRateLimitRemaining ¶
func (o *ListErrorsOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *ListErrorsOK
WithXSentryRateLimitRemaining adds the xSentryRateLimitRemaining to the list errors o k response
func (*ListErrorsOK) WithXSentryRateLimitReset ¶
func (o *ListErrorsOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListErrorsOK
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the list errors o k response
func (*ListErrorsOK) WriteResponse ¶
func (o *ListErrorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListErrorsParams ¶
type ListErrorsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Base64 encoded information for pagination In: query */ Cursor *string /*Number of entries to return Maximum: 100 Minimum: 1 In: query Default: 20 */ Limit *int64 /*ID of the project where the error was created Required: true In: path */ ProjectID uint64 /* In: query */ Query *string /* In: query Default: "30d" */ QueryPeriod *string /* In: query Default: "last_seen_desc" */ Sort *string /* In: query Default: "24h" */ StatsPeriod *string /* In: query Default: "unresolved" */ Status *string }
ListErrorsParams contains all the bound params for the list errors operation typically these are obtained from a http.Request
swagger:parameters listErrors
func NewListErrorsParams ¶
func NewListErrorsParams() ListErrorsParams
NewListErrorsParams creates a new ListErrorsParams object with the default values initialized.
func (*ListErrorsParams) BindRequest ¶
func (o *ListErrorsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListErrorsParams() beforehand.
type ListErrorsTooManyRequests ¶
type ListErrorsTooManyRequests struct { /*Number of seconds after which requests will be permitted again */ RetryAfter int64 `json:"Retry-After"` /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /*Detailed list of all rate limits that apply per data category, with seconds remaining untill they reset */ XSentryRateLimits string `json:"X-Sentry-Rate-Limits"` }
ListErrorsTooManyRequests Resource limits exceeded
swagger:response listErrorsTooManyRequests
func NewListErrorsTooManyRequests ¶
func NewListErrorsTooManyRequests() *ListErrorsTooManyRequests
NewListErrorsTooManyRequests creates ListErrorsTooManyRequests with default headers values
func (*ListErrorsTooManyRequests) SetRetryAfter ¶
func (o *ListErrorsTooManyRequests) SetRetryAfter(retryAfter int64)
SetRetryAfter sets the retryAfter to the list errors too many requests response
func (*ListErrorsTooManyRequests) SetXSentryRateLimitLimit ¶
func (o *ListErrorsTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the list errors too many requests response
func (*ListErrorsTooManyRequests) SetXSentryRateLimitReset ¶
func (o *ListErrorsTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the list errors too many requests response
func (*ListErrorsTooManyRequests) SetXSentryRateLimits ¶
func (o *ListErrorsTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
SetXSentryRateLimits sets the xSentryRateLimits to the list errors too many requests response
func (*ListErrorsTooManyRequests) WithRetryAfter ¶
func (o *ListErrorsTooManyRequests) WithRetryAfter(retryAfter int64) *ListErrorsTooManyRequests
WithRetryAfter adds the retryAfter to the list errors too many requests response
func (*ListErrorsTooManyRequests) WithXSentryRateLimitLimit ¶
func (o *ListErrorsTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListErrorsTooManyRequests
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the list errors too many requests response
func (*ListErrorsTooManyRequests) WithXSentryRateLimitReset ¶
func (o *ListErrorsTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListErrorsTooManyRequests
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the list errors too many requests response
func (*ListErrorsTooManyRequests) WithXSentryRateLimits ¶
func (o *ListErrorsTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *ListErrorsTooManyRequests
WithXSentryRateLimits adds the xSentryRateLimits to the list errors too many requests response
func (*ListErrorsTooManyRequests) WriteResponse ¶
func (o *ListErrorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListErrorsURL ¶
type ListErrorsURL struct { ProjectID uint64 Cursor *string Limit *int64 Query *string QueryPeriod *string Sort *string StatsPeriod *string Status *string // contains filtered or unexported fields }
ListErrorsURL generates an URL for the list errors operation
func (*ListErrorsURL) Build ¶
func (o *ListErrorsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListErrorsURL) BuildFull ¶
func (o *ListErrorsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListErrorsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListErrorsURL) SetBasePath ¶
func (o *ListErrorsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListErrorsURL) String ¶
func (o *ListErrorsURL) String() string
String returns the string representation of the path with query string
func (*ListErrorsURL) StringFull ¶
func (o *ListErrorsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListErrorsURL) WithBasePath ¶
func (o *ListErrorsURL) WithBasePath(bp string) *ListErrorsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListEvents ¶
type ListEvents struct { Context *middleware.Context Handler ListEventsHandler }
ListEvents swagger:route GET /projects/{projectId}/errors/{fingerprint}/events errors events listEvents
Get information about the events related to the error
func NewListEvents ¶
func NewListEvents(ctx *middleware.Context, handler ListEventsHandler) *ListEvents
NewListEvents creates a new http.Handler for the list events operation
func (*ListEvents) ServeHTTP ¶
func (o *ListEvents) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListEventsHandler ¶
type ListEventsHandler interface {
Handle(ListEventsParams) middleware.Responder
}
ListEventsHandler interface for that can handle valid list events params
type ListEventsHandlerFunc ¶
type ListEventsHandlerFunc func(ListEventsParams) middleware.Responder
ListEventsHandlerFunc turns a function with the right signature into a list events handler
func (ListEventsHandlerFunc) Handle ¶
func (fn ListEventsHandlerFunc) Handle(params ListEventsParams) middleware.Responder
Handle executing the request and returning a response
type ListEventsInternalServerError ¶
type ListEventsInternalServerError struct { }
ListEventsInternalServerError Internal error
swagger:response listEventsInternalServerError
func NewListEventsInternalServerError ¶
func NewListEventsInternalServerError() *ListEventsInternalServerError
NewListEventsInternalServerError creates ListEventsInternalServerError with default headers values
func (*ListEventsInternalServerError) WriteResponse ¶
func (o *ListEventsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsNotFound ¶
type ListEventsNotFound struct { }
ListEventsNotFound Error not found
swagger:response listEventsNotFound
func NewListEventsNotFound ¶
func NewListEventsNotFound() *ListEventsNotFound
NewListEventsNotFound creates ListEventsNotFound with default headers values
func (*ListEventsNotFound) WriteResponse ¶
func (o *ListEventsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsOK ¶
type ListEventsOK struct { /*Link header containing pagination information (previous and next pages). https://docs.gitlab.com/ee/api/#pagination-link-header */ Link string `json:"Link"` /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The number of requests this caller has left on this endpoint within the current window. */ XSentryRateLimitRemaining int64 `json:"X-Sentry-Rate-Limit-Remaining"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /* In: Body */ Payload []*models.ErrorEvent `json:"body,omitempty"` }
ListEventsOK Success
swagger:response listEventsOK
func NewListEventsOK ¶
func NewListEventsOK() *ListEventsOK
NewListEventsOK creates ListEventsOK with default headers values
func (*ListEventsOK) SetLink ¶
func (o *ListEventsOK) SetLink(link string)
SetLink sets the link to the list events o k response
func (*ListEventsOK) SetPayload ¶
func (o *ListEventsOK) SetPayload(payload []*models.ErrorEvent)
SetPayload sets the payload to the list events o k response
func (*ListEventsOK) SetXSentryRateLimitLimit ¶
func (o *ListEventsOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the list events o k response
func (*ListEventsOK) SetXSentryRateLimitRemaining ¶
func (o *ListEventsOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
SetXSentryRateLimitRemaining sets the xSentryRateLimitRemaining to the list events o k response
func (*ListEventsOK) SetXSentryRateLimitReset ¶
func (o *ListEventsOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the list events o k response
func (*ListEventsOK) WithLink ¶
func (o *ListEventsOK) WithLink(link string) *ListEventsOK
WithLink adds the link to the list events o k response
func (*ListEventsOK) WithPayload ¶
func (o *ListEventsOK) WithPayload(payload []*models.ErrorEvent) *ListEventsOK
WithPayload adds the payload to the list events o k response
func (*ListEventsOK) WithXSentryRateLimitLimit ¶
func (o *ListEventsOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListEventsOK
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the list events o k response
func (*ListEventsOK) WithXSentryRateLimitRemaining ¶
func (o *ListEventsOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *ListEventsOK
WithXSentryRateLimitRemaining adds the xSentryRateLimitRemaining to the list events o k response
func (*ListEventsOK) WithXSentryRateLimitReset ¶
func (o *ListEventsOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListEventsOK
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the list events o k response
func (*ListEventsOK) WriteResponse ¶
func (o *ListEventsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsParams ¶
type ListEventsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Base64 encoded information for pagination In: query */ Cursor *string /*ID of the error within the project Required: true In: path */ Fingerprint uint32 /*Number of entries to return Maximum: 100 Minimum: 1 In: query Default: 20 */ Limit *int64 /*ID of the project where the error was created Required: true In: path */ ProjectID uint64 /* In: query Default: "occurred_at_asc" */ Sort *string }
ListEventsParams contains all the bound params for the list events operation typically these are obtained from a http.Request
swagger:parameters listEvents
func NewListEventsParams ¶
func NewListEventsParams() ListEventsParams
NewListEventsParams creates a new ListEventsParams object with the default values initialized.
func (*ListEventsParams) BindRequest ¶
func (o *ListEventsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListEventsParams() beforehand.
type ListEventsTooManyRequests ¶
type ListEventsTooManyRequests struct { /*Number of seconds after which requests will be permitted again */ RetryAfter int64 `json:"Retry-After"` /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /*Detailed list of all rate limits that apply per data category, with seconds remaining untill they reset */ XSentryRateLimits string `json:"X-Sentry-Rate-Limits"` }
ListEventsTooManyRequests Resource limits exceeded
swagger:response listEventsTooManyRequests
func NewListEventsTooManyRequests ¶
func NewListEventsTooManyRequests() *ListEventsTooManyRequests
NewListEventsTooManyRequests creates ListEventsTooManyRequests with default headers values
func (*ListEventsTooManyRequests) SetRetryAfter ¶
func (o *ListEventsTooManyRequests) SetRetryAfter(retryAfter int64)
SetRetryAfter sets the retryAfter to the list events too many requests response
func (*ListEventsTooManyRequests) SetXSentryRateLimitLimit ¶
func (o *ListEventsTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the list events too many requests response
func (*ListEventsTooManyRequests) SetXSentryRateLimitReset ¶
func (o *ListEventsTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the list events too many requests response
func (*ListEventsTooManyRequests) SetXSentryRateLimits ¶
func (o *ListEventsTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
SetXSentryRateLimits sets the xSentryRateLimits to the list events too many requests response
func (*ListEventsTooManyRequests) WithRetryAfter ¶
func (o *ListEventsTooManyRequests) WithRetryAfter(retryAfter int64) *ListEventsTooManyRequests
WithRetryAfter adds the retryAfter to the list events too many requests response
func (*ListEventsTooManyRequests) WithXSentryRateLimitLimit ¶
func (o *ListEventsTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *ListEventsTooManyRequests
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the list events too many requests response
func (*ListEventsTooManyRequests) WithXSentryRateLimitReset ¶
func (o *ListEventsTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *ListEventsTooManyRequests
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the list events too many requests response
func (*ListEventsTooManyRequests) WithXSentryRateLimits ¶
func (o *ListEventsTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *ListEventsTooManyRequests
WithXSentryRateLimits adds the xSentryRateLimits to the list events too many requests response
func (*ListEventsTooManyRequests) WriteResponse ¶
func (o *ListEventsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEventsURL ¶
type ListEventsURL struct { Fingerprint uint32 ProjectID uint64 Cursor *string Limit *int64 Sort *string // contains filtered or unexported fields }
ListEventsURL generates an URL for the list events operation
func (*ListEventsURL) Build ¶
func (o *ListEventsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListEventsURL) BuildFull ¶
func (o *ListEventsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListEventsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListEventsURL) SetBasePath ¶
func (o *ListEventsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListEventsURL) String ¶
func (o *ListEventsURL) String() string
String returns the string representation of the path with query string
func (*ListEventsURL) StringFull ¶
func (o *ListEventsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListEventsURL) WithBasePath ¶
func (o *ListEventsURL) WithBasePath(bp string) *ListEventsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateError ¶
type UpdateError struct { Context *middleware.Context Handler UpdateErrorHandler }
UpdateError swagger:route PUT /projects/{projectId}/errors/{fingerprint} errors updateError
Update the status of the error
func NewUpdateError ¶
func NewUpdateError(ctx *middleware.Context, handler UpdateErrorHandler) *UpdateError
NewUpdateError creates a new http.Handler for the update error operation
func (*UpdateError) ServeHTTP ¶
func (o *UpdateError) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateErrorHandler ¶
type UpdateErrorHandler interface {
Handle(UpdateErrorParams) middleware.Responder
}
UpdateErrorHandler interface for that can handle valid update error params
type UpdateErrorHandlerFunc ¶
type UpdateErrorHandlerFunc func(UpdateErrorParams) middleware.Responder
UpdateErrorHandlerFunc turns a function with the right signature into a update error handler
func (UpdateErrorHandlerFunc) Handle ¶
func (fn UpdateErrorHandlerFunc) Handle(params UpdateErrorParams) middleware.Responder
Handle executing the request and returning a response
type UpdateErrorInternalServerError ¶
type UpdateErrorInternalServerError struct { }
UpdateErrorInternalServerError Internal error
swagger:response updateErrorInternalServerError
func NewUpdateErrorInternalServerError ¶
func NewUpdateErrorInternalServerError() *UpdateErrorInternalServerError
NewUpdateErrorInternalServerError creates UpdateErrorInternalServerError with default headers values
func (*UpdateErrorInternalServerError) WriteResponse ¶
func (o *UpdateErrorInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateErrorNotFound ¶
type UpdateErrorNotFound struct { }
UpdateErrorNotFound Error not found
swagger:response updateErrorNotFound
func NewUpdateErrorNotFound ¶
func NewUpdateErrorNotFound() *UpdateErrorNotFound
NewUpdateErrorNotFound creates UpdateErrorNotFound with default headers values
func (*UpdateErrorNotFound) WriteResponse ¶
func (o *UpdateErrorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateErrorOK ¶
type UpdateErrorOK struct { /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The number of requests this caller has left on this endpoint within the current window. */ XSentryRateLimitRemaining int64 `json:"X-Sentry-Rate-Limit-Remaining"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateErrorOK Success
swagger:response updateErrorOK
func NewUpdateErrorOK ¶
func NewUpdateErrorOK() *UpdateErrorOK
NewUpdateErrorOK creates UpdateErrorOK with default headers values
func (*UpdateErrorOK) SetPayload ¶
func (o *UpdateErrorOK) SetPayload(payload *models.Error)
SetPayload sets the payload to the update error o k response
func (*UpdateErrorOK) SetXSentryRateLimitLimit ¶
func (o *UpdateErrorOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the update error o k response
func (*UpdateErrorOK) SetXSentryRateLimitRemaining ¶
func (o *UpdateErrorOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
SetXSentryRateLimitRemaining sets the xSentryRateLimitRemaining to the update error o k response
func (*UpdateErrorOK) SetXSentryRateLimitReset ¶
func (o *UpdateErrorOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the update error o k response
func (*UpdateErrorOK) WithPayload ¶
func (o *UpdateErrorOK) WithPayload(payload *models.Error) *UpdateErrorOK
WithPayload adds the payload to the update error o k response
func (*UpdateErrorOK) WithXSentryRateLimitLimit ¶
func (o *UpdateErrorOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *UpdateErrorOK
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the update error o k response
func (*UpdateErrorOK) WithXSentryRateLimitRemaining ¶
func (o *UpdateErrorOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *UpdateErrorOK
WithXSentryRateLimitRemaining adds the xSentryRateLimitRemaining to the update error o k response
func (*UpdateErrorOK) WithXSentryRateLimitReset ¶
func (o *UpdateErrorOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *UpdateErrorOK
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the update error o k response
func (*UpdateErrorOK) WriteResponse ¶
func (o *UpdateErrorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateErrorParams ¶
type UpdateErrorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Error update object with the new values Required: true In: body */ Body *models.ErrorUpdatePayload /*ID of the error that needs to be updated deleted Required: true In: path */ Fingerprint uint32 /*ID of the project where the error was created Required: true In: path */ ProjectID uint64 }
UpdateErrorParams contains all the bound params for the update error operation typically these are obtained from a http.Request
swagger:parameters updateError
func NewUpdateErrorParams ¶
func NewUpdateErrorParams() UpdateErrorParams
NewUpdateErrorParams creates a new UpdateErrorParams object
There are no default values defined in the spec.
func (*UpdateErrorParams) BindRequest ¶
func (o *UpdateErrorParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateErrorParams() beforehand.
type UpdateErrorTooManyRequests ¶
type UpdateErrorTooManyRequests struct { /*Number of seconds after which requests will be permitted again */ RetryAfter int64 `json:"Retry-After"` /*The maximum number of requests allowed within the window. */ XSentryRateLimitLimit int64 `json:"X-Sentry-Rate-Limit-Limit"` /*The time when the next rate limit window begins and the count resets, measured in UTC seconds from epoch. */ XSentryRateLimitReset int64 `json:"X-Sentry-Rate-Limit-Reset"` /*Detailed list of all rate limits that apply per data category, with seconds remaining untill they reset */ XSentryRateLimits string `json:"X-Sentry-Rate-Limits"` }
UpdateErrorTooManyRequests Resource limits exceeded
swagger:response updateErrorTooManyRequests
func NewUpdateErrorTooManyRequests ¶
func NewUpdateErrorTooManyRequests() *UpdateErrorTooManyRequests
NewUpdateErrorTooManyRequests creates UpdateErrorTooManyRequests with default headers values
func (*UpdateErrorTooManyRequests) SetRetryAfter ¶
func (o *UpdateErrorTooManyRequests) SetRetryAfter(retryAfter int64)
SetRetryAfter sets the retryAfter to the update error too many requests response
func (*UpdateErrorTooManyRequests) SetXSentryRateLimitLimit ¶
func (o *UpdateErrorTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the update error too many requests response
func (*UpdateErrorTooManyRequests) SetXSentryRateLimitReset ¶
func (o *UpdateErrorTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the update error too many requests response
func (*UpdateErrorTooManyRequests) SetXSentryRateLimits ¶
func (o *UpdateErrorTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
SetXSentryRateLimits sets the xSentryRateLimits to the update error too many requests response
func (*UpdateErrorTooManyRequests) WithRetryAfter ¶
func (o *UpdateErrorTooManyRequests) WithRetryAfter(retryAfter int64) *UpdateErrorTooManyRequests
WithRetryAfter adds the retryAfter to the update error too many requests response
func (*UpdateErrorTooManyRequests) WithXSentryRateLimitLimit ¶
func (o *UpdateErrorTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *UpdateErrorTooManyRequests
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the update error too many requests response
func (*UpdateErrorTooManyRequests) WithXSentryRateLimitReset ¶
func (o *UpdateErrorTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *UpdateErrorTooManyRequests
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the update error too many requests response
func (*UpdateErrorTooManyRequests) WithXSentryRateLimits ¶
func (o *UpdateErrorTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *UpdateErrorTooManyRequests
WithXSentryRateLimits adds the xSentryRateLimits to the update error too many requests response
func (*UpdateErrorTooManyRequests) WriteResponse ¶
func (o *UpdateErrorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateErrorURL ¶
type UpdateErrorURL struct { Fingerprint uint32 ProjectID uint64 // contains filtered or unexported fields }
UpdateErrorURL generates an URL for the update error operation
func (*UpdateErrorURL) Build ¶
func (o *UpdateErrorURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateErrorURL) BuildFull ¶
func (o *UpdateErrorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateErrorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateErrorURL) SetBasePath ¶
func (o *UpdateErrorURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateErrorURL) String ¶
func (o *UpdateErrorURL) String() string
String returns the string representation of the path with query string
func (*UpdateErrorURL) StringFull ¶
func (o *UpdateErrorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateErrorURL) WithBasePath ¶
func (o *UpdateErrorURL) WithBasePath(bp string) *UpdateErrorURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_error.go
- get_error_parameters.go
- get_error_responses.go
- get_error_urlbuilder.go
- list_errors.go
- list_errors_parameters.go
- list_errors_responses.go
- list_errors_urlbuilder.go
- list_events.go
- list_events_parameters.go
- list_events_responses.go
- list_events_urlbuilder.go
- update_error.go
- update_error_parameters.go
- update_error_responses.go
- update_error_urlbuilder.go