aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/gitlab/export.go')
-rw-r--r--bridge/gitlab/export.go27
1 files changed, 27 insertions, 0 deletions
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go
new file mode 100644
index 00000000..85b5ee2e
--- /dev/null
+++ b/bridge/gitlab/export.go
@@ -0,0 +1,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
+}