Files
kubernetes/test/utils
Patrick Ohly 906505281f ktesting: add step Begin/End
This allows declaring a code region as one step without having to use
an anonymous callback function, which has the advantage that variables
set during the step are visible afterwards.

In Python, this would be done as

    with ktesting.Step(tctx) as tcxt:
        // some code code inside step
    // code not in the same step

But Go has no such construct.

In contrast to WithStep, the start and end of the step are logged, including
timing information.
2025-07-15 12:52:27 +02:00
..
2022-07-26 13:14:05 -04:00
2025-07-15 12:52:27 +02:00
2022-07-26 13:14:05 -04:00
2024-11-08 03:00:54 +00:00