MCPcopy Create free account
hub / github.com/containerd/nerdctl / objectWithLabelArgs

Function objectWithLabelArgs

pkg/cmd/namespace/common.go:30–35  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

28)
29
30func objectWithLabelArgs(args []string) map[string]string {
31 if len(args) >= 1 {
32 return labelArgs(args)
33 }
34 return nil
35}
36
37// labelArgs returns a map of label key,value pairs.
38// From https://github.com/containerd/containerd/blob/v1.7.0-rc.2/cmd/ctr/commands/commands.go#L229-L241

Callers 2

UpdateFunction · 0.85
CreateFunction · 0.85

Calls 1

labelArgsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…