- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CaptureState (0.07 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_stack_test.go
"context" "errors" "flag" "fmt" "regexp" "k8s.io/klog/v2" ) //nolint:logcheck // Several functions are normally not okay in a package. func ExampleHandleErrorWithContext() { state := klog.CaptureState() defer state.Restore() var fs flag.FlagSet klog.InitFlags(&fs) for flag, value := range map[string]string{ "one_output": "true", "logtostderr": "false", } {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 1.9K bytes - Viewed (0)