Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertNoErrors ¶
func AssertNoErrors()
AssertNoErrors fails the test if any controller logged errors.
func AssertNoErrorsFor ¶
func AssertNoErrorsFor(controllerName string)
AssertNoErrorsFor fails the test if the named controller has errors.
func AssertNoRestarts ¶
func AssertNoRestarts()
AssertNoRestarts fails the test if any controller container restarted during the suite.
func SaveRestartCounts ¶
func SaveRestartCounts()
SaveRestartCounts records the current restart count for all controller containers.
Types ¶
type LogError ¶
type LogError struct {
Controller string
Pod string
Container string
Line string
Timestamp time.Time
}
LogError stores a single error line found in controller logs.
type LogWatchManager ¶
type LogWatchManager struct {
// contains filtered or unexported fields
}
LogWatchManager manages watchers for all controllers.
Click to show internal directories.
Click to hide internal directories.