Add svc discoverer for readreplica svc #2263
4.22% of diff hit (target 30.00%)
View this Pull Request on Codecov
4.22% of diff hit (target 30.00%)
Annotations
Check warning on line 97 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L93-L97
Added lines #L93 - L97 were not covered by tests
Check warning on line 104 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L100-L104
Added lines #L100 - L104 were not covered by tests
Check warning on line 135 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L131-L135
Added lines #L131 - L135 were not covered by tests
Check warning on line 142 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L138-L142
Added lines #L138 - L142 were not covered by tests
Check warning on line 157 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L157
Added line #L157 was not covered by tests
Check warning on line 174 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L174
Added line #L174 was not covered by tests
Check warning on line 197 in internal/config/discoverer.go
codecov / codecov/patch
internal/config/discoverer.go#L192-L197
Added lines #L192 - L197 were not covered by tests
Check warning on line 44 in internal/errors/discoverer.go
codecov / codecov/patch
internal/errors/discoverer.go#L42-L44
Added lines #L42 - L44 were not covered by tests
Check warning on line 33 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L29-L33
Added lines #L29 - L33 were not covered by tests
Check warning on line 40 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L36-L40
Added lines #L36 - L40 were not covered by tests
Check warning on line 47 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L43-L47
Added lines #L43 - L47 were not covered by tests
Check warning on line 54 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L50-L54
Added lines #L50 - L54 were not covered by tests
Check warning on line 64 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L57-L64
Added lines #L57 - L64 were not covered by tests
Check warning on line 73 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L68-L73
Added lines #L68 - L73 were not covered by tests
Check warning on line 82 in internal/k8s/service/option.go
codecov / codecov/patch
internal/k8s/service/option.go#L77-L82
Added lines #L77 - L82 were not covered by tests
Check warning on line 68 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L64-L68
Added lines #L64 - L68 were not covered by tests
Check warning on line 70 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L70
Added line #L70 was not covered by tests
Check warning on line 80 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L73-L80
Added lines #L73 - L80 were not covered by tests
Check warning on line 104 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L97-L104
Added lines #L97 - L104 were not covered by tests
Check warning on line 120 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L106-L120
Added lines #L106 - L120 were not covered by tests
Check warning on line 131 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L123-L131
Added lines #L123 - L131 were not covered by tests
Check warning on line 142 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L134-L142
Added lines #L134 - L142 were not covered by tests
Check warning on line 146 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L144-L146
Added lines #L144 - L146 were not covered by tests
Check warning on line 148 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L148
Added line #L148 was not covered by tests
Check warning on line 153 in internal/k8s/service/service.go
codecov / codecov/patch
internal/k8s/service/service.go#L152-L153
Added lines #L152 - L153 were not covered by tests