mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-08-07 10:20:32 +00:00
Picks up: - kubernetes/kube-openapi#625: update the go-openapi/swag family to v0.27.1 - kubernetes/kube-openapi#622: propagate nullable field between SMD and OpenAPI schemas Transitive dependency changes: - github.com/go-openapi/swag (and submodules) v0.25.4 -> v0.27.1 - github.com/go-openapi/jsonpointer v0.22.4 -> v1.0.0 - github.com/go-openapi/jsonreference v0.21.4 -> v1.0.0 - github.com/go-openapi/swag/jsonname removed (package now provided by jsonpointer) - github.com/go-openapi/swag/pools added No changes to hack/unwanted-dependencies.json needed.
18 lines
524 B
Go
18 lines
524 B
Go
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package pools
|
|
|
|
// TB is the subset of [testing.TB] used by [AssertNoLeaks].
|
|
//
|
|
// It is satisfied by *[testing.T] and *[testing.B].
|
|
//
|
|
// A local interface is used (rather than importing "testing") so that the
|
|
// release build does not pull the testing package — and its flags — into
|
|
// production binaries.
|
|
type TB interface {
|
|
Helper()
|
|
Errorf(format string, args ...any)
|
|
Logf(format string, args ...any)
|
|
}
|