...

Package remotechaos

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

Overview ▾

func Bootstrap

func Bootstrap(params Params) error

type Params

type Params struct {
    fx.In

    Mgr      ctrl.Manager
    Client   client.Client
    Logger   logr.Logger
    Objs     []types.Object `group:"objs"`
    Registry *clusterregistry.RemoteClusterRegistry
}

type Reconciler

type Reconciler struct {
    client.Client
    Log logr.Logger

    Object v1alpha1.InnerObject
    // contains filtered or unexported fields
}

func (*Reconciler) Reconcile

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