Documentation ¶
Index ¶
- Variables
- func NewDebugRecorder() *debugRecorder
- type Applied
- type ChaosCustomResourceCreateFailed
- type ChaosCustomResourceCreated
- type ChaosCustomResourceDeleteFailed
- type ChaosCustomResourceDeleted
- type ChaosEvent
- type ChaosRecorder
- type ConditionalBranchesSelected
- type DeadlineExceed
- type Deleted
- type EntryCreated
- type Failed
- type FinalizerInited
- type FinalizerRemoved
- type InvalidEntry
- type MissedSchedule
- type NodeAccomplished
- type NodesCreated
- type NotSupported
- type ParentNodeAborted
- type ParentNodeDeadlineExceed
- type Paused
- type RecorderBuilder
- type Recovered
- type RerunBySpecChanged
- type ScheduleForbid
- type ScheduleSkipRemoveHistory
- type ScheduleSpawn
- type Started
- type StatusCheckCompleted
- type StatusCheckCreated
- type StatusCheckCreatedFailed
- type StatusCheckDeleted
- type StatusCheckDeletedFailed
- type StatusCheckDurationExceed
- type StatusCheckExecutionFailed
- type StatusCheckExecutionSucceed
- type StatusCheckFailureThresholdExceed
- type StatusCheckSuccessThresholdExceed
- type TaskPodPodCompleted
- type TaskPodSpawnFailed
- type TaskPodSpawned
- type TimeUp
- type Updated
- type WorkflowAborted
- type WorkflowAccomplished
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidType = errors.New("invalid type of fields")
View Source
var ErrUknownType = errors.New("uknown type of fields")
Functions ¶
func NewDebugRecorder ¶
func NewDebugRecorder() *debugRecorder
Types ¶
type ChaosCustomResourceCreateFailed ¶
type ChaosCustomResourceCreateFailed struct { }
func (ChaosCustomResourceCreateFailed) Message ¶
func (it ChaosCustomResourceCreateFailed) Message() string
func (ChaosCustomResourceCreateFailed) Reason ¶
func (it ChaosCustomResourceCreateFailed) Reason() string
func (ChaosCustomResourceCreateFailed) Type ¶
func (it ChaosCustomResourceCreateFailed) Type() string
type ChaosCustomResourceCreated ¶
func (ChaosCustomResourceCreated) Message ¶
func (it ChaosCustomResourceCreated) Message() string
func (ChaosCustomResourceCreated) Reason ¶
func (it ChaosCustomResourceCreated) Reason() string
func (ChaosCustomResourceCreated) Type ¶
func (it ChaosCustomResourceCreated) Type() string
type ChaosCustomResourceDeleteFailed ¶
func (ChaosCustomResourceDeleteFailed) Message ¶
func (it ChaosCustomResourceDeleteFailed) Message() string
func (ChaosCustomResourceDeleteFailed) Reason ¶
func (it ChaosCustomResourceDeleteFailed) Reason() string
func (ChaosCustomResourceDeleteFailed) Type ¶
func (it ChaosCustomResourceDeleteFailed) Type() string
type ChaosCustomResourceDeleted ¶
func (ChaosCustomResourceDeleted) Message ¶
func (it ChaosCustomResourceDeleted) Message() string
func (ChaosCustomResourceDeleted) Reason ¶
func (it ChaosCustomResourceDeleted) Reason() string
func (ChaosCustomResourceDeleted) Type ¶
func (it ChaosCustomResourceDeleted) Type() string
type ChaosEvent ¶
func FromAnnotations ¶
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 ¶
type ChaosRecorder interface {
Event(object runtime.Object, ev ChaosEvent)
}
type ConditionalBranchesSelected ¶
type ConditionalBranchesSelected struct {
SelectedBranches []string
}
func (ConditionalBranchesSelected) Message ¶
func (it ConditionalBranchesSelected) Message() string
func (ConditionalBranchesSelected) Reason ¶
func (it ConditionalBranchesSelected) Reason() string
func (ConditionalBranchesSelected) Type ¶
func (it ConditionalBranchesSelected) Type() string
type DeadlineExceed ¶
type DeadlineExceed struct { }
func (DeadlineExceed) Message ¶
func (it DeadlineExceed) Message() string
func (DeadlineExceed) Reason ¶
func (it DeadlineExceed) Reason() string
func (DeadlineExceed) Type ¶
func (it DeadlineExceed) Type() string
type EntryCreated ¶
type EntryCreated struct {
Entry string
}
func (EntryCreated) Message ¶
func (it EntryCreated) Message() string
func (EntryCreated) Reason ¶
func (it EntryCreated) Reason() string
func (EntryCreated) Type ¶
func (it EntryCreated) Type() string
type FinalizerInited ¶
type FinalizerInited struct { }
func (FinalizerInited) Message ¶
func (p FinalizerInited) Message() string
func (FinalizerInited) Reason ¶
func (p FinalizerInited) Reason() string
func (FinalizerInited) Type ¶
func (p FinalizerInited) Type() string
type FinalizerRemoved ¶
type FinalizerRemoved struct { }
func (FinalizerRemoved) Message ¶
func (p FinalizerRemoved) Message() string
func (FinalizerRemoved) Reason ¶
func (p FinalizerRemoved) Reason() string
func (FinalizerRemoved) Type ¶
func (p FinalizerRemoved) Type() string
type InvalidEntry ¶
type InvalidEntry struct {
EntryTemplate string
}
func (InvalidEntry) Message ¶
func (it InvalidEntry) Message() string
func (InvalidEntry) Reason ¶
func (it InvalidEntry) Reason() string
func (InvalidEntry) Type ¶
func (it InvalidEntry) Type() string
type MissedSchedule ¶
func (MissedSchedule) Message ¶
func (m MissedSchedule) Message() string
func (MissedSchedule) Reason ¶
func (m MissedSchedule) Reason() string
func (MissedSchedule) Type ¶
func (m MissedSchedule) Type() string
type NodeAccomplished ¶
type NodeAccomplished struct { }
func (NodeAccomplished) Message ¶
func (it NodeAccomplished) Message() string
func (NodeAccomplished) Reason ¶
func (it NodeAccomplished) Reason() string
func (NodeAccomplished) Type ¶
func (it NodeAccomplished) Type() string
type NodesCreated ¶
type NodesCreated struct {
ChildNodes []string
}
func (NodesCreated) Message ¶
func (it NodesCreated) Message() string
func (NodesCreated) Reason ¶
func (it NodesCreated) Reason() string
func (NodesCreated) Type ¶
func (it NodesCreated) Type() string
type NotSupported ¶
type NotSupported struct {
Activity string
}
func (NotSupported) Message ¶
func (r NotSupported) Message() string
func (NotSupported) Reason ¶
func (r NotSupported) Reason() string
func (NotSupported) Type ¶
func (r NotSupported) Type() string
type ParentNodeAborted ¶
type ParentNodeAborted struct {
ParentNodeName string
}
func (ParentNodeAborted) Message ¶
func (it ParentNodeAborted) Message() string
func (ParentNodeAborted) Reason ¶
func (it ParentNodeAborted) Reason() string
func (ParentNodeAborted) Type ¶
func (it ParentNodeAborted) Type() string
type ParentNodeDeadlineExceed ¶
type ParentNodeDeadlineExceed struct {
ParentNodeName string
}
func (ParentNodeDeadlineExceed) Message ¶
func (it ParentNodeDeadlineExceed) Message() string
func (ParentNodeDeadlineExceed) Reason ¶
func (it ParentNodeDeadlineExceed) Reason() string
func (ParentNodeDeadlineExceed) Type ¶
func (it ParentNodeDeadlineExceed) Type() string
type RecorderBuilder ¶
type RecorderBuilder struct {
// contains filtered or unexported fields
}
func NewRecorderBuilder ¶
func NewRecorderBuilder(c client.Client, logger logr.Logger, scheme *runtime.Scheme, metricsCollector *metrics.ChaosControllerManagerMetricsCollector) *RecorderBuilder
func (*RecorderBuilder) Build ¶
func (b *RecorderBuilder) Build(name string) ChaosRecorder
type RerunBySpecChanged ¶
type RerunBySpecChanged struct {
CleanedChildrenNode []string
}
func (RerunBySpecChanged) Message ¶
func (it RerunBySpecChanged) Message() string
func (RerunBySpecChanged) Reason ¶
func (it RerunBySpecChanged) Reason() string
func (RerunBySpecChanged) Type ¶
func (it RerunBySpecChanged) Type() string
type ScheduleForbid ¶
type ScheduleForbid struct {
RunningName string
}
func (ScheduleForbid) Message ¶
func (s ScheduleForbid) Message() string
func (ScheduleForbid) Reason ¶
func (s ScheduleForbid) Reason() string
func (ScheduleForbid) Type ¶
func (s ScheduleForbid) Type() string
type ScheduleSkipRemoveHistory ¶
type ScheduleSkipRemoveHistory struct {
RunningName string
}
func (ScheduleSkipRemoveHistory) Message ¶
func (s ScheduleSkipRemoveHistory) Message() string
func (ScheduleSkipRemoveHistory) Reason ¶
func (s ScheduleSkipRemoveHistory) Reason() string
func (ScheduleSkipRemoveHistory) Type ¶
func (s ScheduleSkipRemoveHistory) Type() string
type ScheduleSpawn ¶
type ScheduleSpawn struct {
Name string
}
func (ScheduleSpawn) Message ¶
func (s ScheduleSpawn) Message() string
func (ScheduleSpawn) Reason ¶
func (s ScheduleSpawn) Reason() string
func (ScheduleSpawn) Type ¶
func (s ScheduleSpawn) Type() string
type StatusCheckCompleted ¶
type StatusCheckCompleted struct {
Msg v1alpha1.StatusCheckReason
}
func (StatusCheckCompleted) Message ¶
func (it StatusCheckCompleted) Message() string
func (StatusCheckCompleted) Reason ¶
func (it StatusCheckCompleted) Reason() string
func (StatusCheckCompleted) Type ¶
func (it StatusCheckCompleted) Type() string
type StatusCheckCreated ¶
type StatusCheckCreated struct {
Name string
}
func (StatusCheckCreated) Message ¶
func (it StatusCheckCreated) Message() string
func (StatusCheckCreated) Reason ¶
func (it StatusCheckCreated) Reason() string
func (StatusCheckCreated) Type ¶
func (it StatusCheckCreated) Type() string
type StatusCheckCreatedFailed ¶
type StatusCheckCreatedFailed struct {
Name string
}
func (StatusCheckCreatedFailed) Message ¶
func (it StatusCheckCreatedFailed) Message() string
func (StatusCheckCreatedFailed) Reason ¶
func (it StatusCheckCreatedFailed) Reason() string
func (StatusCheckCreatedFailed) Type ¶
func (it StatusCheckCreatedFailed) Type() string
type StatusCheckDeleted ¶
type StatusCheckDeleted struct {
Name string
}
func (StatusCheckDeleted) Message ¶
func (it StatusCheckDeleted) Message() string
func (StatusCheckDeleted) Reason ¶
func (it StatusCheckDeleted) Reason() string
func (StatusCheckDeleted) Type ¶
func (it StatusCheckDeleted) Type() string
type StatusCheckDeletedFailed ¶
type StatusCheckDeletedFailed struct {
Name string
}
func (StatusCheckDeletedFailed) Message ¶
func (it StatusCheckDeletedFailed) Message() string
func (StatusCheckDeletedFailed) Reason ¶
func (it StatusCheckDeletedFailed) Reason() string
func (StatusCheckDeletedFailed) Type ¶
func (it StatusCheckDeletedFailed) Type() string
type StatusCheckDurationExceed ¶
type StatusCheckDurationExceed struct { }
func (StatusCheckDurationExceed) Message ¶
func (it StatusCheckDurationExceed) Message() string
func (StatusCheckDurationExceed) Reason ¶
func (it StatusCheckDurationExceed) Reason() string
func (StatusCheckDurationExceed) Type ¶
func (it StatusCheckDurationExceed) Type() string
type StatusCheckExecutionFailed ¶
func (StatusCheckExecutionFailed) Message ¶
func (it StatusCheckExecutionFailed) Message() string
func (StatusCheckExecutionFailed) Reason ¶
func (it StatusCheckExecutionFailed) Reason() string
func (StatusCheckExecutionFailed) Type ¶
func (it StatusCheckExecutionFailed) Type() string
type StatusCheckExecutionSucceed ¶
type StatusCheckExecutionSucceed struct {
ExecutorType string
}
func (StatusCheckExecutionSucceed) Message ¶
func (it StatusCheckExecutionSucceed) Message() string
func (StatusCheckExecutionSucceed) Reason ¶
func (it StatusCheckExecutionSucceed) Reason() string
func (StatusCheckExecutionSucceed) Type ¶
func (it StatusCheckExecutionSucceed) Type() string
type StatusCheckFailureThresholdExceed ¶
type StatusCheckFailureThresholdExceed struct { }
func (StatusCheckFailureThresholdExceed) Message ¶
func (it StatusCheckFailureThresholdExceed) Message() string
func (StatusCheckFailureThresholdExceed) Reason ¶
func (it StatusCheckFailureThresholdExceed) Reason() string
func (StatusCheckFailureThresholdExceed) Type ¶
func (it StatusCheckFailureThresholdExceed) Type() string
type StatusCheckSuccessThresholdExceed ¶
type StatusCheckSuccessThresholdExceed struct { }
func (StatusCheckSuccessThresholdExceed) Message ¶
func (it StatusCheckSuccessThresholdExceed) Message() string
func (StatusCheckSuccessThresholdExceed) Reason ¶
func (it StatusCheckSuccessThresholdExceed) Reason() string
func (StatusCheckSuccessThresholdExceed) Type ¶
func (it StatusCheckSuccessThresholdExceed) Type() string
type TaskPodPodCompleted ¶
type TaskPodPodCompleted struct {
PodName string
}
func (TaskPodPodCompleted) Message ¶
func (it TaskPodPodCompleted) Message() string
func (TaskPodPodCompleted) Reason ¶
func (it TaskPodPodCompleted) Reason() string
func (TaskPodPodCompleted) Type ¶
func (it TaskPodPodCompleted) Type() string
type TaskPodSpawnFailed ¶
type TaskPodSpawnFailed struct { }
func (TaskPodSpawnFailed) Message ¶
func (it TaskPodSpawnFailed) Message() string
func (TaskPodSpawnFailed) Reason ¶
func (it TaskPodSpawnFailed) Reason() string
func (TaskPodSpawnFailed) Type ¶
func (it TaskPodSpawnFailed) Type() string
type TaskPodSpawned ¶
type TaskPodSpawned struct {
PodName string
}
func (TaskPodSpawned) Message ¶
func (it TaskPodSpawned) Message() string
func (TaskPodSpawned) Reason ¶
func (it TaskPodSpawned) Reason() string
func (TaskPodSpawned) Type ¶
func (it TaskPodSpawned) Type() string
type WorkflowAborted ¶
type WorkflowAborted struct {
WorkflowName string
}
func (WorkflowAborted) Message ¶
func (it WorkflowAborted) Message() string
func (WorkflowAborted) Reason ¶
func (it WorkflowAborted) Reason() string
func (WorkflowAborted) Type ¶
func (it WorkflowAborted) Type() string
type WorkflowAccomplished ¶
type WorkflowAccomplished struct { }
func (WorkflowAccomplished) Message ¶
func (it WorkflowAccomplished) Message() string
func (WorkflowAccomplished) Reason ¶
func (it WorkflowAccomplished) Reason() string
func (WorkflowAccomplished) Type ¶
func (it WorkflowAccomplished) Type() string
Click to show internal directories.
Click to hide internal directories.