Files
ayatori/cmd/main.go
T
panxiao81 c7b80890fb
Verify / lint (pull_request) Successful in 9m21s
Verify / test (pull_request) Successful in 10m8s
Verify / database-integration (pull_request) Successful in 10m3s
refactor: 将 controller 装配收拢到 bootstrap 包
2026-09-27 17:06:35 +00:00

16 lines
269 B
Go

package main
import (
"os"
"git.ddupan.top/panxiao81/ayatori/internal/bootstrap"
ctrl "sigs.k8s.io/controller-runtime"
)
func main() {
if err := bootstrap.Run(); err != nil {
ctrl.Log.WithName("setup").Error(err, "Controller manager exited")
os.Exit(1)
}
}