package timeout
import "github.com/containerd/containerd/pkg/timeout"
Index ¶
- Variables
- func All() map[string]time.Duration
- func Get(key string) time.Duration
- func Set(key string, t time.Duration)
- func WithContext(ctx context.Context, key string) (context.Context, func())
Variables ¶
Functions ¶
func All ¶
All returns all keys and their timeouts
func Get ¶
Get returns the timeout for the provided key
func Set ¶
Set the timeout for the key
func WithContext ¶
WithContext returns a context with the specified timeout for the provided key
Source Files ¶
- Version
- v1.7.7
- Published
- Oct 9, 2023
- Platform
- darwin/amd64
- Imports
- 3 packages
- Last checked
- 15 minutes ago –
Tools for package owners.