aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/export.go
blob: 85b5ee2ed24bbe35fb1a2a629796d98d7bf711d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package gitlab

import (
	"time"

	"github.com/pkg/errors"

	"github.com/MichaelMure/git-bug/bridge/core"
	"github.com/MichaelMure/git-bug/cache"
)

var (
	ErrMissingIdentityToken = errors.New("missing identity token")
)

// gitlabExporter implement the Exporter interface
type gitlabExporter struct{}

// Init .
func (ge *gitlabExporter) Init(conf core.Configuration) error {
	return nil
}

// ExportAll export all event made by the current user to Gitlab
func (ge *gitlabExporter) ExportAll(repo *cache.RepoCache, since time.Time) (<-chan core.ExportResult, error) {
	return nil, nil
}