Documentation ¶
Index ¶
- Constants
- type PostProjectsAPIProjectIDEnvelope
- type PostProjectsAPIProjectIDEnvelopeBadRequest
- type PostProjectsAPIProjectIDEnvelopeHandler
- type PostProjectsAPIProjectIDEnvelopeHandlerFunc
- type PostProjectsAPIProjectIDEnvelopeInternalServerError
- type PostProjectsAPIProjectIDEnvelopeOK
- func (o *PostProjectsAPIProjectIDEnvelopeOK) SetPayload(payload *models.ErrorEvent)
- func (o *PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
- func (o *PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *PostProjectsAPIProjectIDEnvelopeOK) WithPayload(payload *models.ErrorEvent) *PostProjectsAPIProjectIDEnvelopeOK
- func (o *PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDEnvelopeOK
- func (o *PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *PostProjectsAPIProjectIDEnvelopeOK
- func (o *PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDEnvelopeOK
- func (o *PostProjectsAPIProjectIDEnvelopeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostProjectsAPIProjectIDEnvelopeParams
- type PostProjectsAPIProjectIDEnvelopeTooManyRequests
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetRetryAfter(retryAfter int64)
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithRetryAfter(retryAfter int64) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
- func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostProjectsAPIProjectIDEnvelopeURL
- func (o *PostProjectsAPIProjectIDEnvelopeURL) Build() (*url.URL, error)
- func (o *PostProjectsAPIProjectIDEnvelopeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostProjectsAPIProjectIDEnvelopeURL) Must(u *url.URL, err error) *url.URL
- func (o *PostProjectsAPIProjectIDEnvelopeURL) SetBasePath(bp string)
- func (o *PostProjectsAPIProjectIDEnvelopeURL) String() string
- func (o *PostProjectsAPIProjectIDEnvelopeURL) StringFull(scheme, host string) string
- func (o *PostProjectsAPIProjectIDEnvelopeURL) WithBasePath(bp string) *PostProjectsAPIProjectIDEnvelopeURL
- type PostProjectsAPIProjectIDStore
- type PostProjectsAPIProjectIDStoreBadRequest
- type PostProjectsAPIProjectIDStoreHandler
- type PostProjectsAPIProjectIDStoreHandlerFunc
- type PostProjectsAPIProjectIDStoreInternalServerError
- type PostProjectsAPIProjectIDStoreOK
- func (o *PostProjectsAPIProjectIDStoreOK) SetPayload(payload *models.ErrorEvent)
- func (o *PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
- func (o *PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *PostProjectsAPIProjectIDStoreOK) WithPayload(payload *models.ErrorEvent) *PostProjectsAPIProjectIDStoreOK
- func (o *PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDStoreOK
- func (o *PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *PostProjectsAPIProjectIDStoreOK
- func (o *PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDStoreOK
- func (o *PostProjectsAPIProjectIDStoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostProjectsAPIProjectIDStoreParams
- type PostProjectsAPIProjectIDStoreTooManyRequests
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetRetryAfter(retryAfter int64)
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithRetryAfter(retryAfter int64) *PostProjectsAPIProjectIDStoreTooManyRequests
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDStoreTooManyRequests
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDStoreTooManyRequests
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *PostProjectsAPIProjectIDStoreTooManyRequests
- func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostProjectsAPIProjectIDStoreURL
- func (o *PostProjectsAPIProjectIDStoreURL) Build() (*url.URL, error)
- func (o *PostProjectsAPIProjectIDStoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostProjectsAPIProjectIDStoreURL) Must(u *url.URL, err error) *url.URL
- func (o *PostProjectsAPIProjectIDStoreURL) SetBasePath(bp string)
- func (o *PostProjectsAPIProjectIDStoreURL) String() string
- func (o *PostProjectsAPIProjectIDStoreURL) StringFull(scheme, host string) string
- func (o *PostProjectsAPIProjectIDStoreURL) WithBasePath(bp string) *PostProjectsAPIProjectIDStoreURL
Constants ¶
const PostProjectsAPIProjectIDEnvelopeBadRequestCode int = 400
PostProjectsAPIProjectIDEnvelopeBadRequestCode is the HTTP code returned for type PostProjectsAPIProjectIDEnvelopeBadRequest
const PostProjectsAPIProjectIDEnvelopeInternalServerErrorCode int = 500
PostProjectsAPIProjectIDEnvelopeInternalServerErrorCode is the HTTP code returned for type PostProjectsAPIProjectIDEnvelopeInternalServerError
const PostProjectsAPIProjectIDEnvelopeOKCode int = 200
PostProjectsAPIProjectIDEnvelopeOKCode is the HTTP code returned for type PostProjectsAPIProjectIDEnvelopeOK
const PostProjectsAPIProjectIDEnvelopeTooManyRequestsCode int = 429
PostProjectsAPIProjectIDEnvelopeTooManyRequestsCode is the HTTP code returned for type PostProjectsAPIProjectIDEnvelopeTooManyRequests
const PostProjectsAPIProjectIDStoreBadRequestCode int = 400
PostProjectsAPIProjectIDStoreBadRequestCode is the HTTP code returned for type PostProjectsAPIProjectIDStoreBadRequest
const PostProjectsAPIProjectIDStoreInternalServerErrorCode int = 500
PostProjectsAPIProjectIDStoreInternalServerErrorCode is the HTTP code returned for type PostProjectsAPIProjectIDStoreInternalServerError
const PostProjectsAPIProjectIDStoreOKCode int = 200
PostProjectsAPIProjectIDStoreOKCode is the HTTP code returned for type PostProjectsAPIProjectIDStoreOK
const PostProjectsAPIProjectIDStoreTooManyRequestsCode int = 429
PostProjectsAPIProjectIDStoreTooManyRequestsCode is the HTTP code returned for type PostProjectsAPIProjectIDStoreTooManyRequests
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostProjectsAPIProjectIDEnvelope ¶
type PostProjectsAPIProjectIDEnvelope struct { Context *middleware.Context Handler PostProjectsAPIProjectIDEnvelopeHandler }
PostProjectsAPIProjectIDEnvelope swagger:route POST /projects/api/{projectId}/envelope events postProjectsApiProjectIdEnvelope
Ingestion endpoint for error events sent from client SDKs
func NewPostProjectsAPIProjectIDEnvelope ¶
func NewPostProjectsAPIProjectIDEnvelope(ctx *middleware.Context, handler PostProjectsAPIProjectIDEnvelopeHandler) *PostProjectsAPIProjectIDEnvelope
NewPostProjectsAPIProjectIDEnvelope creates a new http.Handler for the post projects API project ID envelope operation
func (*PostProjectsAPIProjectIDEnvelope) ServeHTTP ¶
func (o *PostProjectsAPIProjectIDEnvelope) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostProjectsAPIProjectIDEnvelopeBadRequest ¶
type PostProjectsAPIProjectIDEnvelopeBadRequest struct { }
PostProjectsAPIProjectIDEnvelopeBadRequest Bad request
swagger:response postProjectsApiProjectIdEnvelopeBadRequest
func NewPostProjectsAPIProjectIDEnvelopeBadRequest ¶
func NewPostProjectsAPIProjectIDEnvelopeBadRequest() *PostProjectsAPIProjectIDEnvelopeBadRequest
NewPostProjectsAPIProjectIDEnvelopeBadRequest creates PostProjectsAPIProjectIDEnvelopeBadRequest with default headers values
func (*PostProjectsAPIProjectIDEnvelopeBadRequest) WriteResponse ¶
func (o *PostProjectsAPIProjectIDEnvelopeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDEnvelopeHandler ¶
type PostProjectsAPIProjectIDEnvelopeHandler interface {
Handle(PostProjectsAPIProjectIDEnvelopeParams) middleware.Responder
}
PostProjectsAPIProjectIDEnvelopeHandler interface for that can handle valid post projects API project ID envelope params
type PostProjectsAPIProjectIDEnvelopeHandlerFunc ¶
type PostProjectsAPIProjectIDEnvelopeHandlerFunc func(PostProjectsAPIProjectIDEnvelopeParams) middleware.Responder
PostProjectsAPIProjectIDEnvelopeHandlerFunc turns a function with the right signature into a post projects API project ID envelope handler
func (PostProjectsAPIProjectIDEnvelopeHandlerFunc) Handle ¶
func (fn PostProjectsAPIProjectIDEnvelopeHandlerFunc) Handle(params PostProjectsAPIProjectIDEnvelopeParams) middleware.Responder
Handle executing the request and returning a response
type PostProjectsAPIProjectIDEnvelopeInternalServerError ¶
type PostProjectsAPIProjectIDEnvelopeInternalServerError struct { }
PostProjectsAPIProjectIDEnvelopeInternalServerError Internal error
swagger:response postProjectsApiProjectIdEnvelopeInternalServerError
func NewPostProjectsAPIProjectIDEnvelopeInternalServerError ¶
func NewPostProjectsAPIProjectIDEnvelopeInternalServerError() *PostProjectsAPIProjectIDEnvelopeInternalServerError
NewPostProjectsAPIProjectIDEnvelopeInternalServerError creates PostProjectsAPIProjectIDEnvelopeInternalServerError with default headers values
func (*PostProjectsAPIProjectIDEnvelopeInternalServerError) WriteResponse ¶
func (o *PostProjectsAPIProjectIDEnvelopeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDEnvelopeOK ¶
type PostProjectsAPIProjectIDEnvelopeOK 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.ErrorEvent `json:"body,omitempty"` }
PostProjectsAPIProjectIDEnvelopeOK Accepted. Event will be created async
swagger:response postProjectsApiProjectIdEnvelopeOK
func NewPostProjectsAPIProjectIDEnvelopeOK ¶
func NewPostProjectsAPIProjectIDEnvelopeOK() *PostProjectsAPIProjectIDEnvelopeOK
NewPostProjectsAPIProjectIDEnvelopeOK creates PostProjectsAPIProjectIDEnvelopeOK with default headers values
func (*PostProjectsAPIProjectIDEnvelopeOK) SetPayload ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) SetPayload(payload *models.ErrorEvent)
SetPayload sets the payload to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitRemaining ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
SetXSentryRateLimitRemaining sets the xSentryRateLimitRemaining to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) WithPayload ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) WithPayload(payload *models.ErrorEvent) *PostProjectsAPIProjectIDEnvelopeOK
WithPayload adds the payload to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDEnvelopeOK
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitRemaining ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *PostProjectsAPIProjectIDEnvelopeOK
WithXSentryRateLimitRemaining adds the xSentryRateLimitRemaining to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDEnvelopeOK
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the post projects Api project Id envelope o k response
func (*PostProjectsAPIProjectIDEnvelopeOK) WriteResponse ¶
func (o *PostProjectsAPIProjectIDEnvelopeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDEnvelopeParams ¶
type PostProjectsAPIProjectIDEnvelopeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the project where the error was created Required: true In: path */ ProjectID uint64 }
PostProjectsAPIProjectIDEnvelopeParams contains all the bound params for the post projects API project ID envelope operation typically these are obtained from a http.Request
swagger:parameters PostProjectsAPIProjectIDEnvelope
func NewPostProjectsAPIProjectIDEnvelopeParams ¶
func NewPostProjectsAPIProjectIDEnvelopeParams() PostProjectsAPIProjectIDEnvelopeParams
NewPostProjectsAPIProjectIDEnvelopeParams creates a new PostProjectsAPIProjectIDEnvelopeParams object
There are no default values defined in the spec.
func (*PostProjectsAPIProjectIDEnvelopeParams) BindRequest ¶
func (o *PostProjectsAPIProjectIDEnvelopeParams) 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 NewPostProjectsAPIProjectIDEnvelopeParams() beforehand.
type PostProjectsAPIProjectIDEnvelopeTooManyRequests ¶
type PostProjectsAPIProjectIDEnvelopeTooManyRequests 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"` }
PostProjectsAPIProjectIDEnvelopeTooManyRequests Resource limits exceeded
swagger:response postProjectsApiProjectIdEnvelopeTooManyRequests
func NewPostProjectsAPIProjectIDEnvelopeTooManyRequests ¶
func NewPostProjectsAPIProjectIDEnvelopeTooManyRequests() *PostProjectsAPIProjectIDEnvelopeTooManyRequests
NewPostProjectsAPIProjectIDEnvelopeTooManyRequests creates PostProjectsAPIProjectIDEnvelopeTooManyRequests with default headers values
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetRetryAfter ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetRetryAfter(retryAfter int64)
SetRetryAfter sets the retryAfter to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimits ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
SetXSentryRateLimits sets the xSentryRateLimits to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithRetryAfter ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithRetryAfter(retryAfter int64) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
WithRetryAfter adds the retryAfter to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimits ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *PostProjectsAPIProjectIDEnvelopeTooManyRequests
WithXSentryRateLimits adds the xSentryRateLimits to the post projects Api project Id envelope too many requests response
func (*PostProjectsAPIProjectIDEnvelopeTooManyRequests) WriteResponse ¶
func (o *PostProjectsAPIProjectIDEnvelopeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDEnvelopeURL ¶
type PostProjectsAPIProjectIDEnvelopeURL struct { ProjectID uint64 // contains filtered or unexported fields }
PostProjectsAPIProjectIDEnvelopeURL generates an URL for the post projects API project ID envelope operation
func (*PostProjectsAPIProjectIDEnvelopeURL) Build ¶
func (o *PostProjectsAPIProjectIDEnvelopeURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostProjectsAPIProjectIDEnvelopeURL) BuildFull ¶
func (o *PostProjectsAPIProjectIDEnvelopeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostProjectsAPIProjectIDEnvelopeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostProjectsAPIProjectIDEnvelopeURL) SetBasePath ¶
func (o *PostProjectsAPIProjectIDEnvelopeURL) 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 (*PostProjectsAPIProjectIDEnvelopeURL) String ¶
func (o *PostProjectsAPIProjectIDEnvelopeURL) String() string
String returns the string representation of the path with query string
func (*PostProjectsAPIProjectIDEnvelopeURL) StringFull ¶
func (o *PostProjectsAPIProjectIDEnvelopeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostProjectsAPIProjectIDEnvelopeURL) WithBasePath ¶
func (o *PostProjectsAPIProjectIDEnvelopeURL) WithBasePath(bp string) *PostProjectsAPIProjectIDEnvelopeURL
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 PostProjectsAPIProjectIDStore ¶
type PostProjectsAPIProjectIDStore struct { Context *middleware.Context Handler PostProjectsAPIProjectIDStoreHandler }
PostProjectsAPIProjectIDStore swagger:route POST /projects/api/{projectId}/store events postProjectsApiProjectIdStore
Ingestion endpoint for error events sent from client SDKs
func NewPostProjectsAPIProjectIDStore ¶
func NewPostProjectsAPIProjectIDStore(ctx *middleware.Context, handler PostProjectsAPIProjectIDStoreHandler) *PostProjectsAPIProjectIDStore
NewPostProjectsAPIProjectIDStore creates a new http.Handler for the post projects API project ID store operation
func (*PostProjectsAPIProjectIDStore) ServeHTTP ¶
func (o *PostProjectsAPIProjectIDStore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostProjectsAPIProjectIDStoreBadRequest ¶
type PostProjectsAPIProjectIDStoreBadRequest struct { }
PostProjectsAPIProjectIDStoreBadRequest Bad request
swagger:response postProjectsApiProjectIdStoreBadRequest
func NewPostProjectsAPIProjectIDStoreBadRequest ¶
func NewPostProjectsAPIProjectIDStoreBadRequest() *PostProjectsAPIProjectIDStoreBadRequest
NewPostProjectsAPIProjectIDStoreBadRequest creates PostProjectsAPIProjectIDStoreBadRequest with default headers values
func (*PostProjectsAPIProjectIDStoreBadRequest) WriteResponse ¶
func (o *PostProjectsAPIProjectIDStoreBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDStoreHandler ¶
type PostProjectsAPIProjectIDStoreHandler interface {
Handle(PostProjectsAPIProjectIDStoreParams) middleware.Responder
}
PostProjectsAPIProjectIDStoreHandler interface for that can handle valid post projects API project ID store params
type PostProjectsAPIProjectIDStoreHandlerFunc ¶
type PostProjectsAPIProjectIDStoreHandlerFunc func(PostProjectsAPIProjectIDStoreParams) middleware.Responder
PostProjectsAPIProjectIDStoreHandlerFunc turns a function with the right signature into a post projects API project ID store handler
func (PostProjectsAPIProjectIDStoreHandlerFunc) Handle ¶
func (fn PostProjectsAPIProjectIDStoreHandlerFunc) Handle(params PostProjectsAPIProjectIDStoreParams) middleware.Responder
Handle executing the request and returning a response
type PostProjectsAPIProjectIDStoreInternalServerError ¶
type PostProjectsAPIProjectIDStoreInternalServerError struct { }
PostProjectsAPIProjectIDStoreInternalServerError Internal error
swagger:response postProjectsApiProjectIdStoreInternalServerError
func NewPostProjectsAPIProjectIDStoreInternalServerError ¶
func NewPostProjectsAPIProjectIDStoreInternalServerError() *PostProjectsAPIProjectIDStoreInternalServerError
NewPostProjectsAPIProjectIDStoreInternalServerError creates PostProjectsAPIProjectIDStoreInternalServerError with default headers values
func (*PostProjectsAPIProjectIDStoreInternalServerError) WriteResponse ¶
func (o *PostProjectsAPIProjectIDStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDStoreOK ¶
type PostProjectsAPIProjectIDStoreOK 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.ErrorEvent `json:"body,omitempty"` }
PostProjectsAPIProjectIDStoreOK Accepted. Event will be created async
swagger:response postProjectsApiProjectIdStoreOK
func NewPostProjectsAPIProjectIDStoreOK ¶
func NewPostProjectsAPIProjectIDStoreOK() *PostProjectsAPIProjectIDStoreOK
NewPostProjectsAPIProjectIDStoreOK creates PostProjectsAPIProjectIDStoreOK with default headers values
func (*PostProjectsAPIProjectIDStoreOK) SetPayload ¶
func (o *PostProjectsAPIProjectIDStoreOK) SetPayload(payload *models.ErrorEvent)
SetPayload sets the payload to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitRemaining ¶
func (o *PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitRemaining(xSentryRateLimitRemaining int64)
SetXSentryRateLimitRemaining sets the xSentryRateLimitRemaining to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDStoreOK) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) WithPayload ¶
func (o *PostProjectsAPIProjectIDStoreOK) WithPayload(payload *models.ErrorEvent) *PostProjectsAPIProjectIDStoreOK
WithPayload adds the payload to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDStoreOK
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitRemaining ¶
func (o *PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitRemaining(xSentryRateLimitRemaining int64) *PostProjectsAPIProjectIDStoreOK
WithXSentryRateLimitRemaining adds the xSentryRateLimitRemaining to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDStoreOK) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDStoreOK
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the post projects Api project Id store o k response
func (*PostProjectsAPIProjectIDStoreOK) WriteResponse ¶
func (o *PostProjectsAPIProjectIDStoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDStoreParams ¶
type PostProjectsAPIProjectIDStoreParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the project where the error was created Required: true In: path */ ProjectID uint64 }
PostProjectsAPIProjectIDStoreParams contains all the bound params for the post projects API project ID store operation typically these are obtained from a http.Request
swagger:parameters PostProjectsAPIProjectIDStore
func NewPostProjectsAPIProjectIDStoreParams ¶
func NewPostProjectsAPIProjectIDStoreParams() PostProjectsAPIProjectIDStoreParams
NewPostProjectsAPIProjectIDStoreParams creates a new PostProjectsAPIProjectIDStoreParams object
There are no default values defined in the spec.
func (*PostProjectsAPIProjectIDStoreParams) BindRequest ¶
func (o *PostProjectsAPIProjectIDStoreParams) 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 NewPostProjectsAPIProjectIDStoreParams() beforehand.
type PostProjectsAPIProjectIDStoreTooManyRequests ¶
type PostProjectsAPIProjectIDStoreTooManyRequests 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"` }
PostProjectsAPIProjectIDStoreTooManyRequests Resource limits exceeded
swagger:response postProjectsApiProjectIdStoreTooManyRequests
func NewPostProjectsAPIProjectIDStoreTooManyRequests ¶
func NewPostProjectsAPIProjectIDStoreTooManyRequests() *PostProjectsAPIProjectIDStoreTooManyRequests
NewPostProjectsAPIProjectIDStoreTooManyRequests creates PostProjectsAPIProjectIDStoreTooManyRequests with default headers values
func (*PostProjectsAPIProjectIDStoreTooManyRequests) SetRetryAfter ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetRetryAfter(retryAfter int64)
SetRetryAfter sets the retryAfter to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimitLimit(xSentryRateLimitLimit int64)
SetXSentryRateLimitLimit sets the xSentryRateLimitLimit to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimitReset(xSentryRateLimitReset int64)
SetXSentryRateLimitReset sets the xSentryRateLimitReset to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimits ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) SetXSentryRateLimits(xSentryRateLimits string)
SetXSentryRateLimits sets the xSentryRateLimits to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) WithRetryAfter ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithRetryAfter(retryAfter int64) *PostProjectsAPIProjectIDStoreTooManyRequests
WithRetryAfter adds the retryAfter to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimitLimit ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimitLimit(xSentryRateLimitLimit int64) *PostProjectsAPIProjectIDStoreTooManyRequests
WithXSentryRateLimitLimit adds the xSentryRateLimitLimit to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimitReset ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimitReset(xSentryRateLimitReset int64) *PostProjectsAPIProjectIDStoreTooManyRequests
WithXSentryRateLimitReset adds the xSentryRateLimitReset to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimits ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WithXSentryRateLimits(xSentryRateLimits string) *PostProjectsAPIProjectIDStoreTooManyRequests
WithXSentryRateLimits adds the xSentryRateLimits to the post projects Api project Id store too many requests response
func (*PostProjectsAPIProjectIDStoreTooManyRequests) WriteResponse ¶
func (o *PostProjectsAPIProjectIDStoreTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostProjectsAPIProjectIDStoreURL ¶
type PostProjectsAPIProjectIDStoreURL struct { ProjectID uint64 // contains filtered or unexported fields }
PostProjectsAPIProjectIDStoreURL generates an URL for the post projects API project ID store operation
func (*PostProjectsAPIProjectIDStoreURL) Build ¶
func (o *PostProjectsAPIProjectIDStoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostProjectsAPIProjectIDStoreURL) BuildFull ¶
func (o *PostProjectsAPIProjectIDStoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostProjectsAPIProjectIDStoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostProjectsAPIProjectIDStoreURL) SetBasePath ¶
func (o *PostProjectsAPIProjectIDStoreURL) 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 (*PostProjectsAPIProjectIDStoreURL) String ¶
func (o *PostProjectsAPIProjectIDStoreURL) String() string
String returns the string representation of the path with query string
func (*PostProjectsAPIProjectIDStoreURL) StringFull ¶
func (o *PostProjectsAPIProjectIDStoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostProjectsAPIProjectIDStoreURL) WithBasePath ¶
func (o *PostProjectsAPIProjectIDStoreURL) WithBasePath(bp string) *PostProjectsAPIProjectIDStoreURL
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 ¶
- post_projects_api_project_id_envelope.go
- post_projects_api_project_id_envelope_parameters.go
- post_projects_api_project_id_envelope_responses.go
- post_projects_api_project_id_envelope_urlbuilder.go
- post_projects_api_project_id_store.go
- post_projects_api_project_id_store_parameters.go
- post_projects_api_project_id_store_responses.go
- post_projects_api_project_id_store_urlbuilder.go