refactor(deploy)!: TUI

This commit is contained in:
Lemon-miaow committed 2026-06-29 20:17:17 +08:00
1 parent 318a724f98
commit e5f1682898
37 files changed
+3622 -1303

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
package felis
import "embed"
//go:embed deploy/bootstrap.sh
var bootstrapScript string
//go:embed deploy/crd/*.yaml
var bootstrapAssets embed.FS
// BootstrapScript returns the host bootstrap installer embedded in the felis binary.
func BootstrapScript() string {
return bootstrapScript
}
// MinecraftServerCRD returns the embedded MinecraftServer CRD YAML used by the
// host bootstrap path that runs without a source checkout.
func MinecraftServerCRD() ([]byte, error) {
return bootstrapAssets.ReadFile("deploy/crd/felis.lolicon.best_minecraftservers.yaml")
}