var Module = fx.Options( fx.Invoke(Bootstrap), )
func Bootstrap(params Params) error
type Params struct { fx.In Mgr ctrl.Manager ManageClient client.Client `name:"manage-client"` LocalClient client.Client ClusterName string `name:"cluster-name"` Logger logr.Logger Objs []types.Object `group:"objs"` }
type Reconciler struct {
// contains filtered or unexported fields
}
func New(obj v1alpha1.InnerObject, manageClient client.Client, clusterName string, localClient client.Client, logger logr.Logger) *Reconciler
func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)