(cmd *cobra.Command, args []string)
| 66 | } |
| 67 | |
| 68 | func rmiAction(cmd *cobra.Command, args []string) error { |
| 69 | options, err := removeOptions(cmd) |
| 70 | if err != nil { |
| 71 | return err |
| 72 | } |
| 73 | |
| 74 | client, ctx, cancel, err := clientutil.NewClient(cmd.Context(), options.GOptions.Namespace, options.GOptions.Address) |
| 75 | if err != nil { |
| 76 | return err |
| 77 | } |
| 78 | defer cancel() |
| 79 | |
| 80 | return image.Remove(ctx, client, args, options) |
| 81 | } |
| 82 | |
| 83 | func rmiShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { |
| 84 | // show image names |
nothing calls this directly
no test coverage detected
searching dependent graphs…