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

Function networkRmShellComplete

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

Source from the content-addressed store, hash-verified

64}
65
66func networkRmShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
67 // show network names, including "bridge"
68 exclude := []string{netutil.DefaultNetworkName, "host", "none"}
69 return completion.NetworkNames(cmd, exclude)
70}

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…