MCPcopy
hub / github.com/containerd/containerd / WithLabels

Function WithLabels

core/mount/manager.go:91–95  ·  view source on GitHub ↗

WithLabels specifies the labels to use for the stored activation info.

(labels map[string]string)

Source from the content-addressed store, hash-verified

89
90// WithLabels specifies the labels to use for the stored activation info.
91func WithLabels(labels map[string]string) ActivateOpt {
92 return func(o *ActivateOptions) {
93 o.Labels = labels
94 }
95}
96
97// WithAllowMountType indicates the mount types that the peformer
98// of the mounts will support. Even if there is a custom handler

Callers 4

TestGCFunction · 0.92
TestInfoFunction · 0.92
CreateMethod · 0.92
ActivateMethod · 0.92

Calls

no outgoing calls

Tested by 2

TestGCFunction · 0.74
TestInfoFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…