...

Package remotepodreconciler

import "github.com/chaos-mesh/chaos-mesh/controllers/multicluster/remotepodreconciler"
Overview
Index

Overview ▾

Variables

var Module = fx.Options(
    fx.Provide(
        fx.Annotate(
            New,
            fx.ParamTags(`name:"manage-client"`, `name:"cluster-name"`),
        ),
    ),
    fx.Invoke(Bootstrap),
)

func Bootstrap

func Bootstrap(mgr ctrl.Manager, podReconciler *Reconciler, logger logr.Logger) error

type Reconciler

type Reconciler struct {
    // contains filtered or unexported fields
}

func New

func New(manageClient client.Client, clusterName string, localClient client.Client, logger logr.Logger) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)