open-consul/agent/uiserver
Chris S. Kim ea1e4aa52d
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
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
README.md 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
uiserver.go Update repo to use go:embed (#10996) 2022-05-31 15:33:56 -04:00
uiserver_test.go

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/.