Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeferContext ¶
func DeferContext() (context.Context, context.CancelFunc)
DeferContext returns a context for containerd cleanup operations in defer. A default timeout is applied to avoid cleanup operation pending forever.
func NamespacedContext ¶
NamespacedContext returns a context with kubernetes namespace set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.