Versions in this module Expand all Collapse all v0 v0.8.0 Nov 20, 2022 Changes in this version + func Issues(ctx context.Context, client *gitlab.Client, pid string, since time.Time) <-chan *gitlab.Issue + func LabelEvents(ctx context.Context, client *gitlab.Client, issue *gitlab.Issue) <-chan Event + func Notes(ctx context.Context, client *gitlab.Client, issue *gitlab.Issue) <-chan Event + func SortedEvents(inputs ...<-chan Event) chan Event + func StateEvents(ctx context.Context, client *gitlab.Client, issue *gitlab.Issue) <-chan Event + type ErrorEvent struct + Err error + Time time.Time + func (e ErrorEvent) CreatedAt() time.Time + func (e ErrorEvent) ID() string + func (e ErrorEvent) Kind() EventKind + func (e ErrorEvent) UserID() int + type Event interface + CreatedAt func() time.Time + ID func() string + Kind func() EventKind + UserID func() int + type EventKind int + const EventAddLabel + const EventAssigned + const EventChangedDuedate + const EventChangedMilestone + const EventClosed + const EventComment + const EventDescriptionChanged + const EventError + const EventLocked + const EventMentionedInIssue + const EventMentionedInMergeRequest + const EventRemoveLabel + const EventRemovedDuedate + const EventRemovedMilestone + const EventReopened + const EventTitleChanged + const EventUnassigned + const EventUnknown + const EventUnlocked + type LabelEvent struct + func (l LabelEvent) CreatedAt() time.Time + func (l LabelEvent) ID() string + func (l LabelEvent) Kind() EventKind + func (l LabelEvent) UserID() int + type NoteEvent struct + func (n NoteEvent) CreatedAt() time.Time + func (n NoteEvent) ID() string + func (n NoteEvent) Kind() EventKind + func (n NoteEvent) Title() string + func (n NoteEvent) UserID() int + type StateEvent struct + func (s StateEvent) CreatedAt() time.Time + func (s StateEvent) ID() string + func (s StateEvent) Kind() EventKind + func (s StateEvent) UserID() int v0.7.2 Mar 21, 2021 Changes in this version + var ErrBadProjectURL = errors.New("bad project url") + var ErrMissingIdentityToken = errors.New("missing identity token") + type Gitlab struct + func (Gitlab) NewExporter() core.Exporter + func (Gitlab) NewImporter() core.Importer + func (Gitlab) Target() string + func (g *Gitlab) Configure(repo *cache.RepoCache, params core.BridgeParams) (core.Configuration, error) + func (g *Gitlab) LoginMetaKey() string + func (g *Gitlab) ValidParams() map[string]interface{} + func (g *Gitlab) ValidateConfig(conf core.Configuration) error + type NoteType int + const NOTE_ASSIGNED + const NOTE_CHANGED_DUEDATE + const NOTE_CHANGED_MILESTONE + const NOTE_CLOSED + const NOTE_COMMENT + const NOTE_DESCRIPTION_CHANGED + const NOTE_LOCKED + const NOTE_MENTIONED_IN_ISSUE + const NOTE_MENTIONED_IN_MERGE_REQUEST + const NOTE_REMOVED_DUEDATE + const NOTE_REMOVED_MILESTONE + const NOTE_REOPENED + const NOTE_TITLE_CHANGED + const NOTE_UNASSIGNED + const NOTE_UNKNOWN + const NOTE_UNLOCKED + func GetNoteType(n *gitlab.Note) (NoteType, string) + func (nt NoteType) String() string