Skip to content

feat: support forward requests to leader hub for sharing pool scope m…

Codecov / codecov/patch succeeded Feb 17, 2025 in 0s

58.86% of diff hit (target 45.73%)

View this Pull Request on Codecov

58.86% of diff hit (target 45.73%)

Annotations

Check warning on line 126 in cmd/yurthub/app/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/config/config.go#L124-L126

Added lines #L124 - L126 were not covered by tests

Check warning on line 203 in cmd/yurthub/app/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/config/config.go#L203

Added line #L203 was not covered by tests

Check warning on line 314 in cmd/yurthub/app/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/config/config.go#L314

Added line #L314 was not covered by tests

Check warning on line 418 in cmd/yurthub/app/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/config/config.go#L418

Added line #L418 was not covered by tests

Check warning on line 456 in cmd/yurthub/app/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/config/config.go#L454-L456

Added lines #L454 - L456 were not covered by tests

Check warning on line 176 in cmd/yurthub/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/options/options.go#L176

Added line #L176 was not covered by tests

Check warning on line 182 in cmd/yurthub/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurthub/app/options/options.go#L182

Added line #L182 was not covered by tests

Check warning on line 59 in pkg/node-servant/components/yurthub.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/components/yurthub.go#L59

Added line #L59 was not covered by tests

Check warning on line 63 in pkg/node-servant/components/yurthub.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/components/yurthub.go#L63

Added line #L63 was not covered by tests

Check warning on line 97 in pkg/node-servant/components/yurthub.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/components/yurthub.go#L96-L97

Added lines #L96 - L97 were not covered by tests

Check warning on line 49 in pkg/node-servant/convert/convert.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/convert/convert.go#L49

Added line #L49 was not covered by tests

Check warning on line 75 in pkg/node-servant/convert/convert.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/convert/convert.go#L75

Added line #L75 was not covered by tests

Check warning on line 61 in pkg/node-servant/convert/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/convert/options.go#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 72 in pkg/node-servant/convert/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/convert/options.go#L72

Added line #L72 was not covered by tests

Check warning on line 63 in pkg/node-servant/revert/revert.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/node-servant/revert/revert.go#L63

Added line #L63 was not covered by tests

Check warning on line 96 in pkg/yurthub/configuration/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/configuration/manager.go#L96

Added line #L96 was not covered by tests

Check warning on line 115 in pkg/yurthub/healthchecker/cloudapiserver/health_checker.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/healthchecker/cloudapiserver/health_checker.go#L115

Added line #L115 was not covered by tests

Check warning on line 43 in pkg/yurthub/healthchecker/fake/fake_checker.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/healthchecker/fake/fake_checker.go#L43

Added line #L43 was not covered by tests

Check warning on line 52 in pkg/yurthub/healthchecker/fake/fake_checker.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/healthchecker/fake/fake_checker.go#L52

Added line #L52 was not covered by tests

Check warning on line 63 in pkg/yurthub/multiplexer/multiplexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/multiplexer/multiplexer.go#L63

Added line #L63 was not covered by tests

Check warning on line 68 in pkg/yurthub/multiplexer/multiplexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/multiplexer/multiplexer.go#L68

Added line #L68 was not covered by tests

Check warning on line 73 in pkg/yurthub/multiplexer/multiplexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/multiplexer/multiplexer.go#L73

Added line #L73 was not covered by tests

Check warning on line 81 in pkg/yurthub/multiplexer/multiplexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/multiplexer/multiplexer.go#L81

Added line #L81 was not covered by tests

Check warning on line 92 in pkg/yurthub/multiplexer/multiplexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/multiplexer/multiplexer.go#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 155 in pkg/yurthub/multiplexer/multiplexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/multiplexer/multiplexer.go#L155

Added line #L155 was not covered by tests