newCheckpointCommand returns the `checkpoint` subcommand (only in experimental)
(dockerCLI command.Cli)
| 13 | |
| 14 | // newCheckpointCommand returns the `checkpoint` subcommand (only in experimental) |
| 15 | func newCheckpointCommand(dockerCLI command.Cli) *cobra.Command { |
| 16 | cmd := &cobra.Command{ |
| 17 | Use: "checkpoint", |
| 18 | Short: "Manage checkpoints", |
| 19 | Args: cli.NoArgs, |
| 20 | RunE: command.ShowHelp(dockerCLI.Err()), |
| 21 | Annotations: map[string]string{ |
| 22 | "experimental": "", |
| 23 | "ostype": "linux", |
| 24 | "version": "1.25", |
| 25 | }, |
| 26 | DisableFlagsInUseLine: true, |
| 27 | } |
| 28 | cmd.AddCommand( |
| 29 | newCreateCommand(dockerCLI), |
| 30 | newListCommand(dockerCLI), |
| 31 | newRemoveCommand(dockerCLI), |
| 32 | ) |
| 33 | return cmd |
| 34 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…