public class EventFailFastCheckBuilder extends Object
Builds WatchedResourcesSupplier and provides reason when a check fails - list of filtered events and filter itself
| Modifier and Type | Method and Description |
|---|---|
EventFailFastCheckBuilder |
after(ZonedDateTime after)
Consider event after certain time.
|
FailFastBuilder |
atLeastOneExists()
If at least one event exist (after filtration), final function returns true.
|
EventFailFastCheckBuilder |
ofKinds(String... kinds)
Array of demanded object kinds of events (case in-sensitive).
|
EventFailFastCheckBuilder |
ofMessages(String... messages)
Regexes for demanded messages.
|
EventFailFastCheckBuilder |
ofNames(String... name)
Regexes to match event involved object name.
|
EventFailFastCheckBuilder |
ofReasons(String... reasons)
Array of demanded reasons of events (case in-sensitive).
|
EventFailFastCheckBuilder |
ofTypes(String... types)
Array of demanded types of events (case in-sensitive).
|
public EventFailFastCheckBuilder ofNames(String... name)
name - event names (regexes)public EventFailFastCheckBuilder ofReasons(String... reasons)
reasons - event reasonspublic EventFailFastCheckBuilder ofTypes(String... types)
Warning, Normal, ...types - event typespublic EventFailFastCheckBuilder ofKinds(String... kinds)
persistentvolume, pod, ...kinds - event kindspublic EventFailFastCheckBuilder ofMessages(String... messages)
messages - event messagespublic FailFastBuilder atLeastOneExists()
public EventFailFastCheckBuilder after(ZonedDateTime after)
after - event timeCopyright © 2025. All rights reserved.