(deps commandDeps)
| 970 | } |
| 971 | |
| 972 | func newMemoryExtractorCommand(deps commandDeps) *cobra.Command { |
| 973 | cmd := &cobra.Command{ |
| 974 | Use: memoryExtractorKey, |
| 975 | Short: "Operate Memory v2 extractor runtime", |
| 976 | } |
| 977 | cmd.AddCommand(newMemoryExtractorStatusCommand(deps)) |
| 978 | cmd.AddCommand(newMemoryExtractorListPendingCommand(deps)) |
| 979 | cmd.AddCommand(newMemoryExtractorReplayCommand(deps)) |
| 980 | cmd.AddCommand(newMemoryExtractorDrainCommand(deps)) |
| 981 | cmd.AddCommand(newMemoryExtractorDisableCommand()) |
| 982 | return cmd |
| 983 | } |
| 984 | |
| 985 | func newMemoryExtractorStatusCommand(deps commandDeps) *cobra.Command { |
| 986 | var sessionID string |
no test coverage detected