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 NetemSpec

      type NetemSpec interface {
      	ToNetem() (*pb.Netem, error)
      }

        NetemSpec defines the interface to convert to a Netem protobuf

        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) 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