...

Package utils

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

Overview ▾

type ActiveLister

type ActiveLister struct {
    client.Client
    Log logr.Logger
}

func NewActiveLister

func NewActiveLister(c client.Client, logger logr.Logger) *ActiveLister

func (*ActiveLister) ListActiveJobs

func (lister *ActiveLister) ListActiveJobs(ctx context.Context, schedule *v1alpha1.Schedule) (v1alpha1.GenericChaosList, error)

TODO: use another easy-to-used type for describing ChaosList