Documentation ¶
Index ¶
- Constants
- type Error
- type ErrorEvent
- type ErrorStats
- type ErrorUpdatePayload
- type ErrorV2
- type MessageEvent
- type Project
- type StatsObject
- type StatsObjectGroupItems0
- func (m *StatsObjectGroupItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StatsObjectGroupItems0) MarshalBinary() ([]byte, error)
- func (m *StatsObjectGroupItems0) UnmarshalBinary(b []byte) error
- func (m *StatsObjectGroupItems0) Validate(formats strfmt.Registry) error
Constants ¶
const ( // ErrorStatusUnresolved captures enum value "unresolved" ErrorStatusUnresolved string = "unresolved" // ErrorStatusResolved captures enum value "resolved" ErrorStatusResolved string = "resolved" // ErrorStatusIgnored captures enum value "ignored" ErrorStatusIgnored string = "ignored" )
const ( // ErrorUpdatePayloadStatusUnresolved captures enum value "unresolved" ErrorUpdatePayloadStatusUnresolved string = "unresolved" // ErrorUpdatePayloadStatusResolved captures enum value "resolved" ErrorUpdatePayloadStatusResolved string = "resolved" // ErrorUpdatePayloadStatusIgnored captures enum value "ignored" ErrorUpdatePayloadStatusIgnored string = "ignored" )
const ( // ErrorV2StatusUnresolved captures enum value "unresolved" ErrorV2StatusUnresolved string = "unresolved" // ErrorV2StatusResolved captures enum value "resolved" ErrorV2StatusResolved string = "resolved" // ErrorV2StatusIgnored captures enum value "ignored" ErrorV2StatusIgnored string = "ignored" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // actor // Example: PostsController#edit Actor string `json:"actor,omitempty"` // approximated user count ApproximatedUserCount uint64 `json:"approximated_user_count,omitempty"` // description // Example: Missing template posts/edit Description string `json:"description,omitempty"` // event count EventCount uint64 `json:"event_count,omitempty"` // fingerprint Fingerprint uint32 `json:"fingerprint,omitempty"` // first seen at // Format: date-time FirstSeenAt strfmt.DateTime `json:"first_seen_at,omitempty"` // last seen at // Format: date-time LastSeenAt strfmt.DateTime `json:"last_seen_at,omitempty"` // name // Example: ActionView::MissingTemplate Name string `json:"name,omitempty"` // project id ProjectID uint64 `json:"project_id,omitempty"` // stats Stats *ErrorStats `json:"stats,omitempty"` // Status of the error // Enum: [unresolved resolved ignored] Status string `json:"status,omitempty"` }
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validate this error based on the context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorEvent ¶
type ErrorEvent struct { // actor // Example: PostsController#edit Actor string `json:"actor,omitempty"` // description // Example: Missing template posts/edit Description string `json:"description,omitempty"` // environment // Example: production Environment string `json:"environment,omitempty"` // fingerprint Fingerprint uint32 `json:"fingerprint,omitempty"` // name // Example: ActionView::MissingTemplate Name string `json:"name,omitempty"` // JSON encoded string Payload string `json:"payload,omitempty"` // platform // Example: ruby Platform string `json:"platform,omitempty"` // project Id ProjectID uint64 `json:"projectId,omitempty"` }
ErrorEvent error event
swagger:model ErrorEvent
func (*ErrorEvent) ContextValidate ¶
ContextValidate validates this error event based on context it is used
func (*ErrorEvent) MarshalBinary ¶
func (m *ErrorEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorEvent) UnmarshalBinary ¶
func (m *ErrorEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorStats ¶
type ErrorStats struct {
// frequency
Frequency interface{} `json:"frequency,omitempty"`
}
ErrorStats error stats
swagger:model ErrorStats
func (*ErrorStats) ContextValidate ¶
ContextValidate validates this error stats based on context it is used
func (*ErrorStats) MarshalBinary ¶
func (m *ErrorStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorStats) UnmarshalBinary ¶
func (m *ErrorStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorUpdatePayload ¶
type ErrorUpdatePayload struct { // Status of the error // Enum: [unresolved resolved ignored] Status string `json:"status,omitempty"` // GitLab user id who triggered the update UpdatedByID int64 `json:"updated_by_id,omitempty"` }
ErrorUpdatePayload error update payload
swagger:model ErrorUpdatePayload
func (*ErrorUpdatePayload) ContextValidate ¶
ContextValidate validates this error update payload based on context it is used
func (*ErrorUpdatePayload) MarshalBinary ¶
func (m *ErrorUpdatePayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorUpdatePayload) UnmarshalBinary ¶
func (m *ErrorUpdatePayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorV2 ¶
type ErrorV2 struct { // actor // Example: PostsController#edit Actor string `json:"actor,omitempty"` // count Count string `json:"count,omitempty"` // first seen // Format: date-time FirstSeen strfmt.DateTime `json:"firstSeen,omitempty"` // id ID string `json:"id,omitempty"` // last seen // Format: date-time LastSeen strfmt.DateTime `json:"lastSeen,omitempty"` // project Project *Project `json:"project,omitempty"` // Status of the error // Enum: [unresolved resolved ignored] Status string `json:"status,omitempty"` // title // Example: ActionView::MissingTemplate Title string `json:"title,omitempty"` // user count UserCount uint64 `json:"userCount,omitempty"` }
ErrorV2 error v2
swagger:model ErrorV2
func (*ErrorV2) ContextValidate ¶
ContextValidate validate this error v2 based on the context it is used
func (*ErrorV2) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorV2) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MessageEvent ¶
type MessageEvent struct { // environment // Example: production Environment string `json:"environment,omitempty"` // event Id EventID string `json:"eventId,omitempty"` // level // Example: info Level string `json:"level,omitempty"` // message // Example: some message from the SDK Message string `json:"message,omitempty"` // platform // Example: ruby Platform string `json:"platform,omitempty"` // project Id ProjectID uint64 `json:"projectId,omitempty"` // release // Example: v1.0.0 Release string `json:"release,omitempty"` // timestamp // Format: date-time Timestamp strfmt.DateTime `json:"timestamp,omitempty"` }
MessageEvent message event
swagger:model MessageEvent
func (*MessageEvent) ContextValidate ¶
ContextValidate validates this message event based on context it is used
func (*MessageEvent) MarshalBinary ¶
func (m *MessageEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MessageEvent) UnmarshalBinary ¶
func (m *MessageEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Project ¶
type Project struct { // ID of the project ID string `json:"id,omitempty"` // Name of the project Name string `json:"name,omitempty"` // Slug of the project Slug string `json:"slug,omitempty"` }
Project project
swagger:model Project
func (*Project) ContextValidate ¶
ContextValidate validates this project based on context it is used
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatsObject ¶
type StatsObject struct { // Name of the project End string `json:"end,omitempty"` // group Group []*StatsObjectGroupItems0 `json:"group"` // Slug of the project Interval []string `json:"interval"` // ID of the project Start string `json:"start,omitempty"` }
StatsObject stats object
swagger:model StatsObject
func (*StatsObject) ContextValidate ¶
ContextValidate validate this stats object based on the context it is used
func (*StatsObject) MarshalBinary ¶
func (m *StatsObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatsObject) UnmarshalBinary ¶
func (m *StatsObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatsObjectGroupItems0 ¶
type StatsObjectGroupItems0 struct { // by By map[string]interface{} `json:"by,omitempty"` // series Series map[string]interface{} `json:"series,omitempty"` // totals Totals map[string]interface{} `json:"totals,omitempty"` }
StatsObjectGroupItems0 stats object group items0
swagger:model StatsObjectGroupItems0
func (*StatsObjectGroupItems0) ContextValidate ¶
func (m *StatsObjectGroupItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stats object group items0 based on context it is used
func (*StatsObjectGroupItems0) MarshalBinary ¶
func (m *StatsObjectGroupItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatsObjectGroupItems0) UnmarshalBinary ¶
func (m *StatsObjectGroupItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation