mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-30 14:25:38 -04:00
ginkgo.DeferCleanup has multiple advantages: - The cleanup operation can get registered if and only if needed. - No need to return a cleanup function that the caller must invoke. - Automatically determines whether a context is needed, which will simplify the introduction of context parameters. - Ginkgo's timeline shows when it executes the cleanup operation. |
||
|---|---|---|
| .. | ||
| gcp | ||
| framework.go | ||
| imports.go | ||
| nodes.go | ||
| OWNERS | ||