...

Package remotechaosmonitor

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

Overview ▾

Variables

var Module = fx.Options(
    fx.Invoke(Bootstrap),
)

func Bootstrap

func Bootstrap(params Params) error

type Params

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

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

func New

func New(obj v1alpha1.InnerObject, 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)