Documentation
¶
Index ¶
- func AssertCondition(name string, condition func(*harness.Context) error) harness.Step
- func AssertEventually(name string, assertion func() error, timeout time.Duration) harness.Step
- func RetryOnFailure(name string, fn harness.StepFunc, attempts int) harness.Step
- func VerifyEndpoint(url string, expectedStatus int) harness.Step
- func VerifyNoErrors(containerName string, errorPatterns ...string) harness.Step
- func WaitFor(name string, condition wait.Condition, timeout time.Duration) harness.Step
- func WaitForService(serviceName string) harness.Step
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCondition ¶
AssertCondition creates a step that asserts a condition
func AssertEventually ¶
AssertEventually creates a step that waits for an assertion to pass
func RetryOnFailure ¶
RetryOnFailure creates a step that retries on failure
func VerifyEndpoint ¶
VerifyEndpoint creates a step that verifies an HTTP endpoint
func VerifyNoErrors ¶
VerifyNoErrors creates a step that checks for errors in logs
func WaitForService ¶
WaitForService creates a step that waits for a service to be running
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.