mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-13 01:19:16 -04:00
The format package is used by ktesting, both to reconfigure Gomega and to format errors, therefore it has to be moved to staging together with ktesting, if or when we get to that because those are desirable features. Because format only has the YAML package as additional dependency and that should be okay for all other repos (except for the YAML package itself, of course), we can publish the format package as a sub-package of such a future ktesting module. Avoiding the dependency on apimachinery to detect unstructured.Unstructured is a bit tricky, but doable by relaxing what we check for. The test/utils/format package is kept to test ktesting/format with the actual packages that it cannot depend on (apimachinery, api). |
||
|---|---|---|
| .. | ||
| examples | ||
| format | ||
| initoption | ||
| internal | ||
| .import-restrictions | ||
| assert.go | ||
| assert_test.go | ||
| contexthelper.go | ||
| contexthelper_test.go | ||
| doc.go | ||
| errorcontext.go | ||
| errorcontext_test.go | ||
| helper_test.go | ||
| klogcontext.go | ||
| ktesting.go | ||
| ktesting_test.go | ||
| main_test.go | ||
| signals.go | ||
| signals_non_win.go | ||
| signals_win.go | ||
| stepcontext.go | ||
| stepcontext_test.go | ||
| tcontext.go | ||
| tcontext_test.go | ||
| withcontext.go | ||