kubernetes/LICENSES/vendor
Patrick Ohly f131cabfa0 test: use go-uber/goleak for strict leak checking
It provides more readable output and has additional APIs for using it inside a
unit test. goleak.IgnoreCurrent is needed to filter out the goroutine that gets
started when importing go.opencensus.io/stats/view.

In order to handle background goroutines that get created on demand and cannot
be stopped (like the one for LogzHealth), a helper function ensures that those
are running before calling goleak.IgnoreCurrent. Keeping those goroutines
running is not a problem and thus not worth the effort of adding new APIs to
stop them.

Other goroutines are genuine leaks for which no fix is available. Those get
suppressed via IgnoreTopFunction, which works as long as that function
is unique enough.

Example output for the leak fixed in https://github.com/kubernetes/kubernetes/pull/115423:

    E0202 09:30:51.641841   74789 etcd.go:205] "EtcdMain goroutine check" err=<
        found unexpected goroutines:
        [Goroutine 4889 in state chan receive, with k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop on top of the stack:
        goroutine 4889 [chan receive]:
        k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop(0xc0076183c0)
        	/nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/watch/mux.go:268 +0x65
        created by k8s.io/apimachinery/pkg/watch.NewBroadcaster
        	/nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/watch/mux.go:77 +0x116
    >
2023-02-14 12:11:37 +01:00
..
bitbucket.org/bertimus9/systemstat
cloud.google.com/go Revert "bump golang.org/x/oauth2" 2023-01-04 17:58:08 -05:00
github.com vendor: removed unused dep github.com/elazarl/goproxy 2023-01-18 18:31:50 +00:00
go.etcd.io Drop etcd tests dependency 2021-06-23 10:22:58 -04:00
go.opencensus.io Fix searching for licenses in single-segment modules 2020-07-01 16:12:36 -04:00
go.opentelemetry.io updated etcd to v3.5.5 and newer otel libraries as well 2022-09-17 21:47:24 -04:00
go.starlark.net until stable: pin-dependency, update-vendor, update-bazel, lint-dep 2021-03-08 16:50:43 -08:00
go.uber.org test: use go-uber/goleak for strict leak checking 2023-02-14 12:11:37 +01:00
golang.org/x Bump prometheus/client_golang to v1.13.0 2022-08-26 05:40:17 +02:00
google.golang.org update license gathering script for forked code 2021-07-08 07:48:19 -04:00
gopkg.in e2e: adapt output tests to Ginkgo v2 and Gomega 1.19 2022-07-08 10:46:11 +08:00
k8s.io update kube-openapi 2022-10-13 19:51:29 -07:00
sigs.k8s.io vendor sigs.k8s.io/json 2021-10-20 13:12:08 -04:00