Private
(cmd *cobra.Command, args []string)
| 28 | // Private |
| 29 | |
| 30 | func (b *backgroundRunCommand) run(cmd *cobra.Command, args []string) error { |
| 31 | ctx, stop := signal.NotifyContext(cmd.Context(), syscall.SIGTERM, syscall.SIGINT) |
| 32 | defer stop() |
| 33 | |
| 34 | runner := background.NewRunner(namespaceFlag(cmd)) |
| 35 | |
| 36 | return runner.Run(ctx) |
| 37 | } |
nothing calls this directly
no test coverage detected