MCPcopy Index your code
hub / github.com/containerd/containerd / WithTestLabels

Function WithTestLabels

integration/main_test.go:341–345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339type ContainerOpts func(*runtime.ContainerConfig)
340
341func WithTestLabels() ContainerOpts {
342 return func(c *runtime.ContainerConfig) {
343 c.Labels = map[string]string{"key": "value"}
344 }
345}
346
347func WithTestAnnotations() ContainerOpts {
348 return func(c *runtime.ContainerConfig) {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…