Add mirror gateway definitions and Implementations #2262
36.67% of diff hit (target 30.31%)
View this Pull Request on Codecov
36.67% of diff hit (target 30.31%)
Annotations
Check warning on line 297 in hack/license/gen/main.go
codecov / codecov/patch
hack/license/gen/main.go#L296-L297
Added lines #L296 - L297 were not covered by tests
Check warning on line 71 in internal/config/mirror.go
codecov / codecov/patch
internal/config/mirror.go#L51-L71
Added lines #L51 - L71 were not covered by tests
Check warning on line 24 in internal/hash/hash.go
codecov / codecov/patch
internal/hash/hash.go#L23-L24
Added lines #L23 - L24 were not covered by tests
Check warning on line 68 in internal/net/grpc/interceptor/server/metric/metric.go
codecov / codecov/patch
internal/net/grpc/interceptor/server/metric/metric.go#L68
Added line #L68 was not covered by tests
Check warning on line 29 in internal/net/grpc/metadata.go
codecov / codecov/patch
internal/net/grpc/metadata.go#L28-L29
Added lines #L28 - L29 were not covered by tests
Check warning on line 33 in internal/net/grpc/metadata.go
codecov / codecov/patch
internal/net/grpc/metadata.go#L32-L33
Added lines #L32 - L33 were not covered by tests
Check warning on line 36 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L35-L36
Added lines #L35 - L36 were not covered by tests
Check warning on line 48 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L45-L48
Added lines #L45 - L48 were not covered by tests
Check warning on line 58 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L55-L58
Added lines #L55 - L58 were not covered by tests
Check warning on line 67 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L62-L67
Added lines #L62 - L67 were not covered by tests
Check warning on line 76 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L71-L76
Added lines #L71 - L76 were not covered by tests
Check warning on line 85 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L82-L85
Added lines #L82 - L85 were not covered by tests
Check warning on line 94 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L91-L94
Added lines #L91 - L94 were not covered by tests
Check warning on line 104 in pkg/gateway/mirror/handler/grpc/option.go
codecov / codecov/patch
pkg/gateway/mirror/handler/grpc/option.go#L98-L104
Added lines #L98 - L104 were not covered by tests
Check warning on line 75 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L69-L75
Added lines #L69 - L75 were not covered by tests
Check warning on line 87 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L86-L87
Added lines #L86 - L87 were not covered by tests
Check warning on line 92 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L91-L92
Added lines #L91 - L92 were not covered by tests
Check warning on line 101 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L95-L101
Added lines #L95 - L101 were not covered by tests
Check warning on line 134 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L112-L134
Added lines #L112 - L134 were not covered by tests
Check warning on line 142 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L137-L142
Added lines #L137 - L142 were not covered by tests
Check warning on line 148 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L148
Added line #L148 was not covered by tests
Check warning on line 155 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L155
Added line #L155 was not covered by tests
Check warning on line 223 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L223
Added line #L223 was not covered by tests
Check warning on line 249 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L246-L249
Added lines #L246 - L249 were not covered by tests
Check warning on line 255 in pkg/gateway/mirror/service/discovery.go
codecov / codecov/patch
pkg/gateway/mirror/service/discovery.go#L253-L255
Added lines #L253 - L255 were not covered by tests