Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommonReconciler

func NewCommonReconciler(c client.Client, log logr.Logger, req ctrl.Request,
	recorder record.EventRecorder) *common.Reconciler

    NewCommonReconciler would create Reconciler for common package

    func NewTwoPhaseReconciler

    func NewTwoPhaseReconciler(c client.Client, log logr.Logger, req ctrl.Request,
    	recorder record.EventRecorder) *twophase.Reconciler

      NewTwoPhaseReconciler would create Reconciler for twophase package

      Types

      type Reconciler

      type Reconciler struct {
      	client.Client
      	record.EventRecorder
      	Log logr.Logger
      }

      func (*Reconciler) Apply

      func (r *Reconciler) Apply(ctx context.Context, req ctrl.Request, chaos reconciler.InnerObject) error

        Apply implements the reconciler.InnerReconciler.Apply

        func (*Reconciler) BlockSet

        func (r *Reconciler) BlockSet(ctx context.Context, pods []v1.Pod, set pb.IpSet, direction pb.Rule_Direction, networkchaos *v1alpha1.NetworkChaos) error

        func (*Reconciler) Object

        func (r *Reconciler) Object() reconciler.InnerObject

          Object implements the reconciler.InnerReconciler.Object

          func (*Reconciler) Recover

          func (r *Reconciler) Recover(ctx context.Context, req ctrl.Request, chaos reconciler.InnerObject) error

            Recover implements the reconciler.InnerReconciler.Recover

            Source Files