mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(api): introduce gitlab proxy package
This commit is contained in:
parent
19d4db13be
commit
914b46f813
6 changed files with 62 additions and 42 deletions
|
@ -107,3 +107,8 @@ func (factory *ProxyFactory) NewEndpointProxy(endpoint *portainer.Endpoint) (htt
|
|||
|
||||
return factory.newDockerProxy(endpoint)
|
||||
}
|
||||
|
||||
// NewGitlabProxy returns a new HTTP proxy to a Gitlab API server
|
||||
func (factory *ProxyFactory) NewGitlabProxy(gitlabAPIUri string) (http.Handler, error) {
|
||||
return newGitlabProxy(gitlabAPIUri)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue