aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/export.go
blob: 0aafeef92f0d481fef04e20ebf2af9d467e76675 (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
28
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
}