(t *testing.T)
| 29 | const cmdOperator = "operator" |
| 30 | |
| 31 | func initializeOperatorCmdOptions(t *testing.T) (*operatorCmdOptions, *cobra.Command, RootCmdOptions) { |
| 32 | t.Helper() |
| 33 | |
| 34 | options, rootCmd := kamelTestPreAddCommandInit() |
| 35 | operatorCmdOptions := addTestOperatorCmd(*options, rootCmd) |
| 36 | kamelTestPostAddCommandInit(t, rootCmd, options) |
| 37 | |
| 38 | return operatorCmdOptions, rootCmd, *options |
| 39 | } |
| 40 | |
| 41 | func addTestOperatorCmd(options RootCmdOptions, rootCmd *cobra.Command) *operatorCmdOptions { |
| 42 | // add a testing version of operator Command |
no test coverage detected