RemoveQueueByArn removes all queue configurations that match the exact specified ARN
(arn Arn)
| 383 | |
| 384 | // RemoveQueueByArn removes all queue configurations that match the exact specified ARN |
| 385 | func (b *Configuration) RemoveQueueByArn(arn Arn) { |
| 386 | var queues []QueueConfig |
| 387 | for _, queue := range b.QueueConfigs { |
| 388 | if queue.Queue != arn.String() { |
| 389 | queues = append(queues, queue) |
| 390 | } |
| 391 | } |
| 392 | b.QueueConfigs = queues |
| 393 | } |
| 394 | |
| 395 | // RemoveQueueByArnEventsPrefixSuffix removes a queue configuration that match the exact specified ARN, events, prefix and suffix |
| 396 | func (b *Configuration) RemoveQueueByArnEventsPrefixSuffix(arn Arn, events []EventType, prefix, suffix string) error { |
no test coverage detected