Documentation ¶
Index ¶
- func NewFromCLI(c *cli.Context, tracer opentracing.Tracer) (eventsources.EventSource, error)
- type Event
- type IssueEvent
- func (ie IssueEvent) IsError() (bool, error)
- func (ie IssueEvent) OperationName() string
- func (ie IssueEvent) ParentSpanID() (*string, error)
- func (ie IssueEvent) SpanID() (string, error)
- func (ie IssueEvent) State(prev *eventsources.EventState) (eventsources.SpanState, error)
- func (ie IssueEvent) Tags() (map[string]interface{}, error)
- func (ie IssueEvent) Timings() (eventsources.EventTimings, error)
- type Source
- type SprintEvent
- func (se SprintEvent) IsError() (bool, error)
- func (se SprintEvent) OperationName() string
- func (se SprintEvent) ParentSpanID() (*string, error)
- func (se SprintEvent) SpanID() (string, error)
- func (se SprintEvent) State(prev *eventsources.EventState) (eventsources.SpanState, error)
- func (se SprintEvent) Tags() (map[string]interface{}, error)
- func (se SprintEvent) Timings() (eventsources.EventTimings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromCLI ¶
func NewFromCLI(c *cli.Context, tracer opentracing.Tracer) (eventsources.EventSource, error)
Types ¶
type IssueEvent ¶
type IssueEvent struct { User jira.User Issue jira.Issue Changelog jira.Changelog }
func (IssueEvent) IsError ¶
func (ie IssueEvent) IsError() (bool, error)
func (IssueEvent) OperationName ¶
func (ie IssueEvent) OperationName() string
func (IssueEvent) ParentSpanID ¶
func (ie IssueEvent) ParentSpanID() (*string, error)
func (IssueEvent) SpanID ¶
func (ie IssueEvent) SpanID() (string, error)
func (IssueEvent) State ¶
func (ie IssueEvent) State(prev *eventsources.EventState) (eventsources.SpanState, error)
func (IssueEvent) Tags ¶
func (ie IssueEvent) Tags() (map[string]interface{}, error)
func (IssueEvent) Timings ¶ added in v0.3.0
func (ie IssueEvent) Timings() (eventsources.EventTimings, error)
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
type SprintEvent ¶
type SprintEvent struct {
Sprint jira.Sprint
}
func (SprintEvent) IsError ¶
func (se SprintEvent) IsError() (bool, error)
IsError returns true if the sprint ended before its `endDate` TODO
func (SprintEvent) OperationName ¶
func (se SprintEvent) OperationName() string
func (SprintEvent) ParentSpanID ¶
func (se SprintEvent) ParentSpanID() (*string, error)
func (SprintEvent) SpanID ¶
func (se SprintEvent) SpanID() (string, error)
func (SprintEvent) State ¶
func (se SprintEvent) State(prev *eventsources.EventState) (eventsources.SpanState, error)
func (SprintEvent) Tags ¶
func (se SprintEvent) Tags() (map[string]interface{}, error)
func (SprintEvent) Timings ¶ added in v0.3.0
func (se SprintEvent) Timings() (eventsources.EventTimings, error)
Click to show internal directories.
Click to hide internal directories.