package panic

import "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/panic"

Index

Functions

func HandlePanic

func HandlePanic(fn func()) func()

HandlePanic returns a function that wraps `fn` with the utilruntime.PanicHandlers, and continues to bubble the panic after the PanicHandlers are called

Source Files

panic.go

Version
v1.18.14
Published
Dec 18, 2020
Platform
js/wasm
Imports
1 packages
Last checked
8 minutes ago

Tools for package owners.