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.6.0-beta.5
- Published
- Jan 6, 2022
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 7 minutes ago –
Tools for package owners.