mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
The type alias made `go doc ./test/utils/ktesting.TContext` useless and was a weird workaround for preserving the original interface type name. Passing a TContext instance by value (almost) preserves the original API and is acceptable because the struct is still small. The only consumers which need to be updated are those which relied on passing nil as tCtx. If we ever find that TContext is or becomes too large, then we can make it a wrapper around some pointer.