// Setup adds a controller that reconciles AppDeployment.
Setup adds a controller that reconciles AppDeployment.
// Setup adds a controller that reconciles AppDeployment .
func Setup(mgr ctrl.Manager, args oamctrl.Args) error {
	r := &Reconciler{
		dm:     args.DiscoveryMapper,
		Client: mgr.GetClient(),
		Scheme: mgr.GetScheme(),
		wr:     NewWorkloadRenderer(mgr.GetClient()),
	}
	return r.SetupWithManager(mgr)
}
func Setup ( mgr ctrl . Manager , args oamctrl . Args ) error { r := & Reconciler { dm : args . DiscoveryMapper , Client : mgr . GetClient ( ) , Scheme : mgr . GetScheme ( ) , wr : NewWorkloadRenderer ( mgr . GetClient ( ) ) , } return r . SetupWithManager ( mgr ) }
Setup adds a controller that reconciles AppDeployment.
Setup adds a controller that reconciles AppDeployment .