mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 12:46:03 +01:00
9ce98f4acd
The controller will redirect user to the OIDC login page based on configuration. Additionally this commit add some basic code to wrap `oauth2` package and `provider` in `go-oidc`, and fixed an issue in UT to make InMemoryDriver for config management thread-safe. Signed-off-by: Daniel Jiang <jiangd@vmware.com>
126 lines
2.4 KiB
TOML
126 lines
2.4 KiB
TOML
# Gopkg.toml example
|
|
#
|
|
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
|
# for detailed Gopkg.toml documentation.
|
|
#
|
|
# required = ["github.com/user/thing/cmd/thing"]
|
|
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
|
#
|
|
# [[constraint]]
|
|
# name = "github.com/user/project"
|
|
# version = "1.0.0"
|
|
#
|
|
# [[constraint]]
|
|
# name = "github.com/user/project2"
|
|
# branch = "dev"
|
|
# source = "github.com/myfork/project2"
|
|
#
|
|
# [[override]]
|
|
# name = "github.com/x/y"
|
|
# version = "2.4.0"
|
|
ignored = ["github.com/goharbor/harbor/tests*"]
|
|
|
|
[prune]
|
|
go-tests = true
|
|
unused-packages = true
|
|
|
|
[[constraint]]
|
|
name = "github.com/astaxie/beego"
|
|
version = "=1.9.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/casbin/casbin"
|
|
version = "=1.7.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/dghubble/sling"
|
|
version = "=1.1.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/dgrijalva/jwt-go"
|
|
version = "=3.0.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/docker/distribution"
|
|
version = "=2.6.2"
|
|
|
|
[[constraint]]
|
|
branch = "master"
|
|
name = "github.com/docker/libtrust"
|
|
|
|
[[constraint]]
|
|
name = "github.com/go-sql-driver/mysql"
|
|
version = "=1.3.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/mattn/go-sqlite3"
|
|
version = "=1.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/opencontainers/go-digest"
|
|
version = "=1.0.0-rc0"
|
|
|
|
[[constraint]]
|
|
name = "gopkg.in/ldap.v2"
|
|
version = "=2.5.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/stretchr/testify"
|
|
version = "=1.2.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gorilla/handlers"
|
|
version = "=1.3.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gorilla/mux"
|
|
version = "=1.6.0"
|
|
|
|
[[override]]
|
|
name = "github.com/Sirupsen/logrus"
|
|
version = "=1.0.5"
|
|
|
|
[[override]]
|
|
name = "github.com/gorilla/context"
|
|
version = "=1.1"
|
|
|
|
[[override]]
|
|
name = "github.com/garyburd/redigo"
|
|
version = "=1.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/golang-migrate/migrate"
|
|
version = "=3.3.0"
|
|
|
|
[[constraint]]
|
|
name = "k8s.io/helm"
|
|
version = "2.9.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/ghodss/yaml"
|
|
version = "=1.0.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/Masterminds/semver"
|
|
version = "=1.4.2"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gocraft/work"
|
|
version = "=0.5.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/robfig/cron"
|
|
version = "=1.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/coreos/go-oidc"
|
|
version = "=2.0.0"
|
|
|
|
[[constraint]]
|
|
name = "gopkg.in/yaml.v2"
|
|
version = "=2.1.1"
|
|
|
|
[[constraint]]
|
|
name = "k8s.io/api"
|
|
version = "kubernetes-1.13.4"
|