package server import ( "context" "sync" "github.com/rancher/k3s/pkg/daemons/config" ) type Config struct { DisableAgent bool DisableServiceLB bool ControlConfig config.Control Rootless bool SupervisorPort int StartupHooks []func(context.Context, *sync.WaitGroup, <-chan struct{}, string) error StartupHooksWg *sync.WaitGroup LeaderControllers CustomControllers Controllers CustomControllers } type CustomControllers []func(ctx context.Context, sc *Context) error