internal/resolver: introduce a new delegating resolver to handle both target URI and proxy address resolution #7857
54.62% of diff hit (target 81.90%)
View this Pull Request on Codecov
54.62% of diff hit (target 81.90%)
Annotations
Check warning on line 93 in internal/envconfig/envconfig.go
codecov / codecov/patch
internal/envconfig/envconfig.go#L93
Added line #L93 was not covered by tests
Check warning on line 68 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L67-L68
Added lines #L67 - L68 were not covered by tests
Check warning on line 84 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L83-L84
Added lines #L83 - L84 were not covered by tests
Check warning on line 89 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L88-L89
Added lines #L88 - L89 were not covered by tests
Check warning on line 102 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L101-L102
Added lines #L101 - L102 were not covered by tests
Check warning on line 107 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L106-L107
Added lines #L106 - L107 were not covered by tests
Check warning on line 115 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L114-L115
Added lines #L114 - L115 were not covered by tests
Check warning on line 120 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L119-L120
Added lines #L119 - L120 were not covered by tests
Check warning on line 132 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L126-L132
Added lines #L126 - L132 were not covered by tests
Check warning on line 141 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L135-L141
Added lines #L135 - L141 were not covered by tests
Check warning on line 161 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L159-L161
Added lines #L159 - L161 were not covered by tests
Check warning on line 168 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L166-L168
Added lines #L166 - L168 were not covered by tests
Check warning on line 175 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L173-L175
Added lines #L173 - L175 were not covered by tests
Check warning on line 188 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L187-L188
Added lines #L187 - L188 were not covered by tests
Check warning on line 224 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L223-L224
Added lines #L223 - L224 were not covered by tests
Check warning on line 230 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L229-L230
Added lines #L229 - L230 were not covered by tests
Check warning on line 236 in internal/resolver/delegatingresolver/delegatingresolver.go
codecov / codecov/patch
internal/resolver/delegatingresolver/delegatingresolver.go#L235-L236
Added lines #L235 - L236 were not covered by tests