1
0
mirror of https://github.com/mayflower/docker-ls.git synced 2025-11-28 00:01:09 +03:00

Support authentification via basic auth.

This commit is contained in:
Christian Speckner
2016-02-26 13:25:34 +01:00
parent 17a44c1a20
commit 1eae834b66
6 changed files with 93 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ import (
"git.mayflower.de/vaillant-team/docker-ls/lib/auth"
)
type TokenAuthConfig interface {
type Config interface {
MaxConcurrentRequests() uint
Credentials() auth.RegistryCredentials
}