package status import "embed" // assetsFS embeds the fleet status page's viewer โ€” index.html and // status.css โ€” straight into the carlos binary. This is the "the viewer // rides the binary" half of the design (see the design spec ยง3): page // changes deploy with a binary release, data changes deploy every 5 // minutes when the status-lease holder republishes fleet.json. Kept in its // own file (rather than fleet.go) because it's a pure asset declaration // with no logic of its own โ€” PublishFleet in fleet.go is what actually // reads out of this FS and Puts each file to the bucket. // //go:embed assets/* var assetsFS embed.FS