Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventEventAttributes ¶
type EventEventAttributes struct { // message // Example: deployment service lambda version v0.0.0 // Required: true Message *string `json:"message"` // priority // Example: P1 // Required: true Priority *string `json:"priority"` // related id // Example: 53aa35c8-e659-44b2-882f-f6056e443c99 RelatedID string `json:"related_id,omitempty"` // service // Example: service-event // Required: true Service *string `json:"service"` // source // Example: github_action // Required: true Source *string `json:"source"` // status // Example: success // Required: true Status *string `json:"status"` // type // Example: deployment // Required: true Type *string `json:"type"` }
EventEventAttributes event event attributes
swagger:model event.EventAttributes
func (*EventEventAttributes) ContextValidate ¶
ContextValidate validates this event event attributes based on context it is used
func (*EventEventAttributes) MarshalBinary ¶
func (m *EventEventAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventEventAttributes) UnmarshalBinary ¶
func (m *EventEventAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventEventLinks ¶
type EventEventLinks struct { // pull request link // Example: https://github.com/jplanckeel/events-tracker/pull/240 PullRequestLink string `json:"pull_request_link,omitempty"` }
EventEventLinks event event links
swagger:model event.EventLinks
func (*EventEventLinks) ContextValidate ¶
ContextValidate validates this event event links based on context it is used
func (*EventEventLinks) MarshalBinary ¶
func (m *EventEventLinks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventEventLinks) UnmarshalBinary ¶
func (m *EventEventLinks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventEventMetadata ¶
type EventEventMetadata struct { // created at CreatedAt string `json:"created_at,omitempty"` // duration Duration float64 `json:"duration,omitempty"` // id ID string `json:"id,omitempty"` }
EventEventMetadata event event metadata
swagger:model event.EventMetadata
func (*EventEventMetadata) ContextValidate ¶
ContextValidate validates this event event metadata based on context it is used
func (*EventEventMetadata) MarshalBinary ¶
func (m *EventEventMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventEventMetadata) UnmarshalBinary ¶
func (m *EventEventMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HandlersCreateDTO ¶
type HandlersCreateDTO struct { // attributes Attributes *EventEventAttributes `json:"attributes,omitempty"` // links Links *EventEventLinks `json:"links,omitempty"` // title // Example: Deployment service lambda Title string `json:"title,omitempty"` }
HandlersCreateDTO handlers create d t o
swagger:model handlers.CreateDTO
func (*HandlersCreateDTO) ContextValidate ¶
ContextValidate validate this handlers create d t o based on the context it is used
func (*HandlersCreateDTO) MarshalBinary ¶
func (m *HandlersCreateDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HandlersCreateDTO) UnmarshalBinary ¶
func (m *HandlersCreateDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicesEventOutput ¶
type ServicesEventOutput struct { // attributes Attributes *EventEventAttributes `json:"attributes,omitempty"` // links Links *EventEventLinks `json:"links,omitempty"` // metadata Metadata *EventEventMetadata `json:"metadata,omitempty"` // title // Example: Deployment service lambda Title string `json:"title,omitempty"` }
ServicesEventOutput services event output
swagger:model services.EventOutput
func (*ServicesEventOutput) ContextValidate ¶
ContextValidate validate this services event output based on the context it is used
func (*ServicesEventOutput) MarshalBinary ¶
func (m *ServicesEventOutput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicesEventOutput) UnmarshalBinary ¶
func (m *ServicesEventOutput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation