Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllSteps ¶
func AllSteps() []pipeline.PipelineStep
Types ¶
type Params ¶
type Params struct { fx.In Mgr ctrl.Manager Client client.Client Logger logr.Logger Selector *selector.Selector RecorderBuilder *recorder.RecorderBuilder Impls []*chaosimpltypes.ChaosImplPair `group:"impl"` Reader client.Reader `name:"no-cache"` Steps []pipeline.PipelineStep }
type PickChildCRDPredicate ¶
PickChildCRDPredicate allows events to trigger the Reconcile of Chaos CRD, for example: Reconcile of IOChaos could be triggered by changes on PodIOChaos. For now, we have PodHttpChaos/PodIOChaos/PodNetworkChaos which require to follow this pattern.
func (PickChildCRDPredicate) Update ¶
func (PickChildCRDPredicate) Update(e event.UpdateEvent) bool
Update implements UpdateEvent filter for child CRD.
type RemoteChaosPredicate ¶
func (RemoteChaosPredicate) Create ¶
func (RemoteChaosPredicate) Create(e event.CreateEvent) bool
func (RemoteChaosPredicate) Delete ¶
func (RemoteChaosPredicate) Delete(e event.DeleteEvent) bool
func (RemoteChaosPredicate) Generic ¶
func (RemoteChaosPredicate) Generic(e event.GenericEvent) bool
func (RemoteChaosPredicate) Update ¶
func (RemoteChaosPredicate) Update(e event.UpdateEvent) bool
type StatusRecordEventsChangePredicate ¶
StatusRecordEventsChangePredicate skip the update event, when we Only update object.status.experiment.records[].events
func (StatusRecordEventsChangePredicate) Update ¶
func (StatusRecordEventsChangePredicate) Update(e event.UpdateEvent) bool
Update implements UpdateEvent filter for update to filter the events which we Only update object.status.experiment.records[].events
Click to show internal directories.
Click to hide internal directories.