This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/cmd/dex
Rui Yang 4e569024fd use go 1.16 new package io/fs
Unify the interface for reading web statics. Now it could read an
OS directory or get the content on live

One could use

//go:embed static
var webFiles embed.FS

anywhere and config dex server to take the file system by setting

WebConfig{WebFS: webFiles}

Signed-off-by: Rui Yang <ruiya@vmware.com>
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io>
2021-03-20 20:05:59 +00:00
..
config.go Allow to disable os.ExpandEnv for storage + connector configs by env variable DEX_EXPAND_ENV = false 2020-12-30 20:11:18 +00:00
config_test.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
main.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
serve.go refactor: rename gr to group 2021-02-25 12:33:19 +01:00
version.go refactor: version command 2021-01-14 15:55:07 +01:00