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

Function networkInspectShellComplete

cmd/nerdctl/network/network_inspect.go:81–85  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string, toComplete string)

Source from the content-addressed store, hash-verified

79}
80
81func networkInspectShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
82 // show network names, including "bridge"
83 exclude := []string{"host", "none"}
84 return completion.NetworkNames(cmd, exclude)
85}

Callers

nothing calls this directly

Calls 1

NetworkNamesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…