var ErrInvalidType = errors.New("invalid type of fields")
var ErrUknownType = errors.New("uknown type of fields")
func NewDebugRecorder() *debugRecorder
type Applied struct { Id string }
func (a Applied) Message() string
func (a Applied) Reason() string
func (a Applied) Type() string
type ChaosCustomResourceCreateFailed struct { }
func (it ChaosCustomResourceCreateFailed) Message() string
func (it ChaosCustomResourceCreateFailed) Reason() string
func (it ChaosCustomResourceCreateFailed) Type() string
type ChaosCustomResourceCreated struct { Name string Kind string }
func (it ChaosCustomResourceCreated) Message() string
func (it ChaosCustomResourceCreated) Reason() string
func (it ChaosCustomResourceCreated) Type() string
type ChaosCustomResourceDeleteFailed struct { Name string Kind string }
func (it ChaosCustomResourceDeleteFailed) Message() string
func (it ChaosCustomResourceDeleteFailed) Reason() string
func (it ChaosCustomResourceDeleteFailed) Type() string
type ChaosCustomResourceDeleted struct { Name string Kind string }
func (it ChaosCustomResourceDeleted) Message() string
func (it ChaosCustomResourceDeleted) Reason() string
func (it ChaosCustomResourceDeleted) Type() string
type ChaosEvent interface { Type() string Reason() string Message() string }
func FromAnnotations(annotations map[string]string) (ChaosEvent, error)
FromAnnotations will iterate over all the registered event, return `nil` if there is no suitable event.
type ChaosRecorder interface { Event(object runtime.Object, ev ChaosEvent) }
type ConditionalBranchesSelected struct { SelectedBranches []string }
func (it ConditionalBranchesSelected) Message() string
func (it ConditionalBranchesSelected) Reason() string
func (it ConditionalBranchesSelected) Type() string
type DeadlineExceed struct { }
func (it DeadlineExceed) Message() string
func (it DeadlineExceed) Reason() string
func (it DeadlineExceed) Type() string
type Deleted struct { }
func (d Deleted) Message() string
func (d Deleted) Reason() string
func (d Deleted) Type() string
type EntryCreated struct { Entry string }
func (it EntryCreated) Message() string
func (it EntryCreated) Reason() string
func (it EntryCreated) Type() string
type Failed struct { Activity string Err string }
func (f Failed) Message() string
func (f Failed) Reason() string
func (f Failed) Type() string
type FinalizerInited struct { }
func (p FinalizerInited) Message() string
func (p FinalizerInited) Reason() string
func (p FinalizerInited) Type() string
type FinalizerRemoved struct { }
func (p FinalizerRemoved) Message() string
func (p FinalizerRemoved) Reason() string
func (p FinalizerRemoved) Type() string
type InvalidEntry struct { EntryTemplate string }
func (it InvalidEntry) Message() string
func (it InvalidEntry) Reason() string
func (it InvalidEntry) Type() string
type MissedSchedule struct { MissedRun time.Time }
func (m MissedSchedule) Message() string
func (m MissedSchedule) Reason() string
func (m MissedSchedule) Type() string
type NodeAccomplished struct { }
func (it NodeAccomplished) Message() string
func (it NodeAccomplished) Reason() string
func (it NodeAccomplished) Type() string
type NodesCreated struct { ChildNodes []string }
func (it NodesCreated) Message() string
func (it NodesCreated) Reason() string
func (it NodesCreated) Type() string
type NotSupported struct { Activity string }
func (r NotSupported) Message() string
func (r NotSupported) Reason() string
func (r NotSupported) Type() string
type ParentNodeAborted struct { ParentNodeName string }
func (it ParentNodeAborted) Message() string
func (it ParentNodeAborted) Reason() string
func (it ParentNodeAborted) Type() string
type ParentNodeDeadlineExceed struct { ParentNodeName string }
func (it ParentNodeDeadlineExceed) Message() string
func (it ParentNodeDeadlineExceed) Reason() string
func (it ParentNodeDeadlineExceed) Type() string
type Paused struct { }
func (p Paused) Message() string
func (p Paused) Reason() string
func (p Paused) Type() string
type RecorderBuilder struct {
// contains filtered or unexported fields
}
func NewRecorderBuilder(c client.Client, logger logr.Logger, scheme *runtime.Scheme, metricsCollector *metrics.ChaosControllerManagerMetricsCollector) *RecorderBuilder
func (b *RecorderBuilder) Build(name string) ChaosRecorder
type Recovered struct { Id string }
func (r Recovered) Message() string
func (r Recovered) Reason() string
func (r Recovered) Type() string
type RerunBySpecChanged struct { CleanedChildrenNode []string }
func (it RerunBySpecChanged) Message() string
func (it RerunBySpecChanged) Reason() string
func (it RerunBySpecChanged) Type() string
type ScheduleForbid struct { RunningName string }
func (s ScheduleForbid) Message() string
func (s ScheduleForbid) Reason() string
func (s ScheduleForbid) Type() string
type ScheduleSkipRemoveHistory struct { RunningName string }
func (s ScheduleSkipRemoveHistory) Message() string
func (s ScheduleSkipRemoveHistory) Reason() string
func (s ScheduleSkipRemoveHistory) Type() string
type ScheduleSpawn struct { Name string }
func (s ScheduleSpawn) Message() string
func (s ScheduleSpawn) Reason() string
func (s ScheduleSpawn) Type() string
type Started struct { }
func (p Started) Message() string
func (p Started) Reason() string
func (p Started) Type() string
type StatusCheckCompleted struct { Msg v1alpha1.StatusCheckReason }
func (it StatusCheckCompleted) Message() string
func (it StatusCheckCompleted) Reason() string
func (it StatusCheckCompleted) Type() string
type StatusCheckCreated struct { Name string }
func (it StatusCheckCreated) Message() string
func (it StatusCheckCreated) Reason() string
func (it StatusCheckCreated) Type() string
type StatusCheckCreatedFailed struct { Name string }
func (it StatusCheckCreatedFailed) Message() string
func (it StatusCheckCreatedFailed) Reason() string
func (it StatusCheckCreatedFailed) Type() string
type StatusCheckDeleted struct { Name string }
func (it StatusCheckDeleted) Message() string
func (it StatusCheckDeleted) Reason() string
func (it StatusCheckDeleted) Type() string
type StatusCheckDeletedFailed struct { Name string }
func (it StatusCheckDeletedFailed) Message() string
func (it StatusCheckDeletedFailed) Reason() string
func (it StatusCheckDeletedFailed) Type() string
type StatusCheckDurationExceed struct { }
func (it StatusCheckDurationExceed) Message() string
func (it StatusCheckDurationExceed) Reason() string
func (it StatusCheckDurationExceed) Type() string
type StatusCheckExecutionFailed struct { ExecutorType string Msg string }
func (it StatusCheckExecutionFailed) Message() string
func (it StatusCheckExecutionFailed) Reason() string
func (it StatusCheckExecutionFailed) Type() string
type StatusCheckExecutionSucceed struct { ExecutorType string }
func (it StatusCheckExecutionSucceed) Message() string
func (it StatusCheckExecutionSucceed) Reason() string
func (it StatusCheckExecutionSucceed) Type() string
type StatusCheckFailureThresholdExceed struct { }
func (it StatusCheckFailureThresholdExceed) Message() string
func (it StatusCheckFailureThresholdExceed) Reason() string
func (it StatusCheckFailureThresholdExceed) Type() string
type StatusCheckSuccessThresholdExceed struct { }
func (it StatusCheckSuccessThresholdExceed) Message() string
func (it StatusCheckSuccessThresholdExceed) Reason() string
func (it StatusCheckSuccessThresholdExceed) Type() string
type TaskPodPodCompleted struct { PodName string }
func (it TaskPodPodCompleted) Message() string
func (it TaskPodPodCompleted) Reason() string
func (it TaskPodPodCompleted) Type() string
type TaskPodSpawnFailed struct { }
func (it TaskPodSpawnFailed) Message() string
func (it TaskPodSpawnFailed) Reason() string
func (it TaskPodSpawnFailed) Type() string
type TaskPodSpawned struct { PodName string }
func (it TaskPodSpawned) Message() string
func (it TaskPodSpawned) Reason() string
func (it TaskPodSpawned) Type() string
type TimeUp struct { }
func (t TimeUp) Message() string
func (t TimeUp) Reason() string
func (t TimeUp) Type() string
type Updated struct { Field string }
func (u Updated) Message() string
func (u Updated) Reason() string
func (u Updated) Type() string
type WorkflowAborted struct { WorkflowName string }
func (it WorkflowAborted) Message() string
func (it WorkflowAborted) Reason() string
func (it WorkflowAborted) Type() string
type WorkflowAccomplished struct { }
func (it WorkflowAccomplished) Message() string
func (it WorkflowAccomplished) Reason() string
func (it WorkflowAccomplished) Type() string