package cleanup
import "github.com/containerd/containerd/pkg/cleanup"
Package providing utilies to help cleanup
Index ¶
- func Background(ctx context.Context) context.Context
- func Do(ctx context.Context, do func(context.Context))
Functions ¶
func Background ¶
Background creates a new context which clears out the parent errors
func Do ¶
Do runs the provided function with a context in which the errors are cleared out and will timeout after 10 seconds.
Source Files ¶
- Version
- v1.7.21
- Published
- Aug 26, 2024
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.