github.com/argoproj/argo-events@v1.9.1/test/stress/generator/cmd/sqs.go (about) 1 package cmd 2 3 import ( 4 "fmt" 5 6 "github.com/spf13/cobra" 7 "sigs.k8s.io/controller-runtime/pkg/manager/signals" 8 ) 9 10 func NewSqsCommand() *cobra.Command { 11 command := &cobra.Command{ 12 Use: "sqs", 13 Short: "Generate SQS messages", 14 Long: ``, 15 Run: func(cmd *cobra.Command, args []string) { 16 validateGlobalParameters(cmd, args) 17 18 stressRun(signals.SetupSignalHandler(), func() error { 19 return fmt.Errorf("To be implemented.") 20 }) 21 }, 22 } 23 24 return command 25 }