external-dns/provider/awssd
Artem Voronin 4eb7e7513a
AWSSD: Utilize DiscoverInstances instead of ListInstances (#2506)
* AWSSD: Utilize DiscoverInstances instead of ListInstances

* Fixed stylecheck

Renamed instanceToHttpInstanceSummary to instanceToHTTPInstanceSummary

* awssd use DiscoverInstancesWithContext from client directly

* updated awssd tests

fix DiscoverInstancesWithContext to implement AWSSDClient interface
drop old test, no need to cover direct calls to aws clent methods
moved instanceToHTTPInstanceSummary to _test file

* awssd log error on failed DeleteService

* updated awssd tests

* fix missing import

* awssd tests handle not found NS with DiscoverInstancesWithContext

* Update provider/awssd/aws_sd_test.go

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>

* Update provider/awssd/aws_sd_test.go

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>

---------

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2023-10-04 02:33:43 +02:00
..
aws_sd_test.go AWSSD: Utilize DiscoverInstances instead of ListInstances (#2506) 2023-10-04 02:33:43 +02:00
aws_sd.go AWSSD: Utilize DiscoverInstances instead of ListInstances (#2506) 2023-10-04 02:33:43 +02:00