...
Package remotepodreconciler
import "github.com/chaos-mesh/chaos-mesh/controllers/multicluster/remotepodreconciler"
- Overview
- Index
Variables
var Module = fx.Options(
fx.Provide(
fx.Annotate(
New,
fx.ParamTags(`name:"manage-client"`, `name:"cluster-name"`),
),
),
fx.Invoke(Bootstrap),
)
func Bootstrap(mgr ctrl.Manager, podReconciler *Reconciler, logger logr.Logger) error
type Reconciler struct {
}
func New(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)