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
20// Init .
21func (ge *gitlabExporter) Init(conf core.Configuration) error {
22	return nil
23}
24
25// ExportAll export all event made by the current user to Gitlab
26func (ge *gitlabExporter) ExportAll(repo *cache.RepoCache, since time.Time) (<-chan core.ExportResult, error) {
27	return nil, nil
28}