diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-26 15:20:51 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-26 15:20:51 +0300 |
commit | 5681803e1073edbc4fc3fa9c8f2f48ab6199b887 (patch) | |
tree | d7b8eedb4e7bfe0d82fc6a4cbb3c529c545d20a7 | |
parent | c5bdfd0e034e79e460d2fb663f63fe41d46e5bd1 (diff) |
Simplify gitlab source config
-rw-r--r-- | internal/source/config.go | 7 |
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 |