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

Function pushShellComplete

cmd/nerdctl/image/image_push.go:147–150  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string, toComplete string)

Source from the content-addressed store, hash-verified

145}
146
147func pushShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
148 // show image names
149 return completion.ImageNames(cmd)
150}
151
152func signOptions(cmd *cobra.Command) (opt types.ImageSignOptions, err error) {
153 if opt.Provider, err = cmd.Flags().GetString("sign"); err != nil {

Callers

nothing calls this directly

Calls 1

ImageNamesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…