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.8.13-beta.0
Published
Apr 23, 2018
Platform
linux/amd64
Imports
1 packages
Last checked
12 seconds ago

Tools for package owners.