Skip to content

xdsclient: update watcher API as per gRFC A88

Codecov / codecov/patch succeeded Jan 6, 2025 in 1s

67.58% of diff hit (target 82.05%)

View this Pull Request on Codecov

67.58% of diff hit (target 82.05%)

Annotations

Check warning on line 42 in xds/internal/balancer/cdsbalancer/cluster_watcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/balancer/cdsbalancer/cluster_watcher.go#L40-L42

Added lines #L40 - L42 were not covered by tests

Check warning on line 91 in xds/internal/balancer/clusterresolver/resource_resolver_eds.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/balancer/clusterresolver/resource_resolver_eds.go#L87-L91

Added lines #L87 - L91 were not covered by tests

Check warning on line 75 in xds/internal/resolver/watch_service.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/resolver/watch_service.go#L75

Added line #L75 was not covered by tests

Check warning on line 535 in xds/internal/resolver/xds_resolver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/resolver/xds_resolver.go#L531-L535

Added lines #L531 - L535 were not covered by tests

Check warning on line 424 in xds/internal/server/listener_wrapper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/server/listener_wrapper.go#L420-L424

Added lines #L420 - L424 were not covered by tests

Check warning on line 432 in xds/internal/server/listener_wrapper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/server/listener_wrapper.go#L428-L432

Added lines #L428 - L432 were not covered by tests

Check warning on line 46 in xds/internal/testutils/resource_watcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/testutils/resource_watcher.go#L43-L46

Added lines #L43 - L46 were not covered by tests

Check warning on line 49 in xds/internal/testutils/resource_watcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/testutils/resource_watcher.go#L48-L49

Added lines #L48 - L49 were not covered by tests

Check warning on line 53 in xds/internal/testutils/resource_watcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/testutils/resource_watcher.go#L51-L53

Added lines #L51 - L53 were not covered by tests

Check warning on line 56 in xds/internal/testutils/resource_watcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/testutils/resource_watcher.go#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 435 in xds/internal/xdsclient/authority.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/xdsclient/authority.go#L428-L435

Added lines #L428 - L435 were not covered by tests

Check warning on line 48 in xds/internal/xdsclient/clientimpl_watchers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

xds/internal/xdsclient/clientimpl_watchers.go#L48

Added line #L48 was not covered by tests