- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetNameFromCallsite (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack.go
import ( "fmt" "regexp" goruntime "runtime" "runtime/debug" "strconv" "strings" ) // GetNameFromCallsite walks back through the call stack until we find a caller from outside of the ignoredPackages // it returns back a shortpath/filename:line to aid in identification of this reflector when it starts logging func GetNameFromCallsite(ignoredPackages ...string) string { name := "????" const maxStack = 10 for i := 1; i < maxStack; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 12 01:31:42 UTC 2019 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 28 17:40:28 UTC 2019 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go
defaulterFuncs: map[reflect.Type]func(interface{}){}, versionPriority: map[string][]string{}, schemeName: naming.GetNameFromCallsite(internalPackages...), } s.converter = conversion.NewConverter(nil) // Enable couple default conversions by default. utilruntime.Must(RegisterEmbeddedConversions(s))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 25.2K bytes - Viewed (0)