stresschaos

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

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

Reconciler is stresschaos reconciler

func (*Reconciler) Apply

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

Apply applies stress-chaos

func (*Reconciler) Object

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

Object would return the instance of chaos

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req ctrl.Request, chaos *v1alpha1.StressChaos) (ctrl.Result, error)

Reconcile reconciles a StressChaos resource

func (*Reconciler) Recover

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

Recover means the reconciler recovers the chaos action

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL