consul/agent/uiserver
Chris S. Kim f0a9b30174
Update repo to use go:embed (#10996)
Replace bindata packages with stdlib go:embed.
Modernize some uiserver code with newer interfaces introduced in go 1.16 (mainly working with fs.File instead of http.File.
Remove steps that are no longer used from our build files.
Add Github Action to detect differences in agent/uiserver/dist and verify that the files are correct (by compiling UI assets and comparing contents).
2022-05-31 15:33:56 -04:00
..
dist Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
testdata Add support for serving additional metrics provider JS in the UI (#8743) 2020-10-08 18:03:13 +01:00
README.md Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
buf_index_fs.go Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
buffered_file.go Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
redirect_fs.go Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
ui_template_data.go Export top-level HCP Enabled go-template variable for UI (#13165) 2022-05-26 17:23:56 +01:00
uiserver.go Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
uiserver_test.go Export top-level HCP Enabled go-template variable for UI (#13165) 2022-05-26 17:23:56 +01:00

README.md

uiserver

The contents of dist/ are generated by make ui in the root of this repo which compiles ui assets and copies them here.

A CI job (publish-static-assets) will detect any diffs in ui files and commit the compiled files. Avoid committing files manually to dist/.