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

Function unpauseShellComplete

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

Source from the content-addressed store, hash-verified

71}
72
73func unpauseShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
74 // show paused container names
75 statusFilterFn := func(st containerd.ProcessStatus) bool {
76 return st == containerd.Paused
77 }
78 return completion.ContainerNames(cmd, statusFilterFn)
79}

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…