...

Package events

import "github.com/chaos-mesh/chaos-mesh/pkg/events"
Overview
Index

Overview ▾

Index ▾

Package files

events.go

Constants

For each chaos resource, the controller manager will record events once the chaos is started or completed or failed. The starting and completing events should be of type "Normal". And the failed events should be of type "Warning". The reasons are defined as following.

const (
    // The chaos just started
    ChaosInjected string = "ChaosInjected"

    // The chaos just failed when injecting. The message should include detailed error
    ChaosInjectFailed string = "ChaosInjectFailed"

    // The chaos just failed when recovering. The message should include detailed error
    ChaosRecoverFailed string = "ChaosRecoverFailed"

    // The chaos just completed
    ChaosRecovered string = "ChaosRecovered"
)