...

Package gc

import "github.com/chaos-mesh/chaos-mesh/controllers/schedule/gc"
Overview
Index

Overview ▾

func Bootstrap

func Bootstrap(mgr ctrl.Manager, client client.Client, log logr.Logger, objs Objs, scheme *runtime.Scheme, lister *utils.ActiveLister, recorderBuilder *recorder.RecorderBuilder) error

type Objs

type Objs struct {
    fx.In

    ScheduleObjs []types.Object `group:"schedule"`
    Objs         []types.Object `group:"objs"`
}

type Reconciler

type Reconciler struct {
    client.Client
    Log      logr.Logger
    Recorder recorder.ChaosRecorder

    ActiveLister *utils.ActiveLister
}

func (*Reconciler) Reconcile

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