MCPcopy Index your code
hub / github.com/cortexlabs/cortex / deleteQueueByURL

Function deleteQueueByURL

pkg/operator/resources/asyncapi/queue.go:64–73  ·  view source on GitHub ↗
(queueURL string)

Source from the content-addressed store, hash-verified

62}
63
64func deleteQueueByURL(queueURL string) error {
65 _, err := config.AWS.SQS().DeleteQueue(&sqs.DeleteQueueInput{
66 QueueUrl: aws.String(queueURL),
67 })
68 if err != nil {
69 return errors.Wrap(err, "failed to delete queue", queueURL)
70 }
71
72 return err
73}
74
75func getQueueURL(apiName string, initialDeploymentTime int64) (string, error) {
76 operatorAccountID, _, err := config.AWS.GetCachedAccountID()

Callers 2

UpdateAPIFunction · 0.85
DeleteAPIFunction · 0.85

Calls 3

WrapFunction · 0.92
SQSMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected