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

Function portShellComplete

cmd/nerdctl/container/container_port.go:117–119  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string, toComplete string)

Source from the content-addressed store, hash-verified

115}
116
117func portShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
118 return completion.ContainerNames(cmd, nil)
119}

Callers

nothing calls this directly

Calls 1

ContainerNamesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…