export.go

 1package gitlab
 2
 3import (
 4	"time"
 5
 6	"github.com/pkg/errors"
 7
 8	"github.com/MichaelMure/git-bug/bridge/core"
 9	"github.com/MichaelMure/git-bug/cache"
10)
11
12var (
13	ErrMissingIdentityToken = errors.New("missing identity token")
14)
15
16// gitlabExporter implement the Exporter interface
17type gitlabExporter struct{}
18
19// Init .
20func (ge *gitlabExporter) Init(conf core.Configuration) error {
21	return nil
22}
23
24// ExportAll export all event made by the current user to Gitlab
25func (ge *gitlabExporter) ExportAll(repo *cache.RepoCache, since time.Time) (<-chan core.ExportResult, error) {
26	return nil, nil
27}