Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-26 15:20:51 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-26 15:20:51 +0300
commit5681803e1073edbc4fc3fa9c8f2f48ab6199b887 (patch)
treed7b8eedb4e7bfe0d82fc6a4cbb3c529c545d20a7
parentc5bdfd0e034e79e460d2fb663f63fe41d46e5bd1 (diff)
Simplify gitlab source config
-rw-r--r--internal/source/config.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/source/config.go b/internal/source/config.go
index 9ca398cf..9cf87bc6 100644
--- a/internal/source/config.go
+++ b/internal/source/config.go
@@ -1,8 +1,7 @@
package source
+import "gitlab.com/gitlab-org/gitlab-pages/internal/source/gitlab/client"
+
// Config represents an interface that is configuration provider for client
// capable of comunicating with GitLab
-type Config interface {
- GitlabServerURL() string
- GitlabClientSecret() []byte
-}
+type Config client.Config