Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add hub election leader controller #2281

Merged

feat: add hub election leader controller

1995b3d
Select commit
Loading
Failed to load commit list.
Merged

feat: add hub election leader controller #2281

feat: add hub election leader controller
1995b3d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Feb 3, 2025 in 0s

40.09% of diff hit (target 46.39%)

View this Pull Request on Codecov

40.09% of diff hit (target 46.39%)

Annotations

Check warning on line 33 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L29-L33

Added lines #L29 - L33 were not covered by tests

Check warning on line 40 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L38-L40

Added lines #L38 - L40 were not covered by tests

Check warning on line 48 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L43-L48

Added lines #L43 - L48 were not covered by tests

Check warning on line 54 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 57 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L57

Added line #L57 was not covered by tests

Check warning on line 59 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L59

Added line #L59 was not covered by tests

Check warning on line 65 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L63-L65

Added lines #L63 - L65 were not covered by tests

Check warning on line 68 in cmd/yurt-manager/app/options/hubleadercontroller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/hubleadercontroller.go#L67-L68

Added lines #L67 - L68 were not covered by tests

Check warning on line 77 in cmd/yurt-manager/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/options.go#L77

Added line #L77 was not covered by tests

Check warning on line 106 in cmd/yurt-manager/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/options.go#L106

Added line #L106 was not covered by tests

Check warning on line 134 in cmd/yurt-manager/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/options.go#L134

Added line #L134 was not covered by tests

Check warning on line 204 in cmd/yurt-manager/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/options.go#L203-L204

Added lines #L203 - L204 were not covered by tests

Check warning on line 213 in cmd/yurt-manager/app/options/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/yurt-manager/app/options/options.go#L213

Added line #L213 was not covered by tests

Check warning on line 49 in pkg/apis/apps/v1alpha1/nodepool_conversion.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/apps/v1alpha1/nodepool_conversion.go#L49

Added line #L49 was not covered by tests

Check warning on line 49 in pkg/apis/apps/v1beta1/nodepool_conversion.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/apps/v1beta1/nodepool_conversion.go#L49

Added line #L49 was not covered by tests

Check warning on line 27 in pkg/apis/apps/v1beta2/default.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/apps/v1beta2/default.go#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 53 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L52-L53

Added lines #L52 - L53 were not covered by tests

Check warning on line 58 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 71 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L62-L71

Added lines #L62 - L71 were not covered by tests

Check warning on line 84 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L74-L84

Added lines #L74 - L84 were not covered by tests

Check warning on line 88 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L86-L88

Added lines #L86 - L88 were not covered by tests

Check warning on line 102 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L96-L102

Added lines #L96 - L102 were not covered by tests

Check warning on line 105 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L105

Added line #L105 was not covered by tests

Check warning on line 119 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L110-L119

Added lines #L110 - L119 were not covered by tests

Check warning on line 122 in pkg/yurtmanager/controller/hubleader/hubleader_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurtmanager/controller/hubleader/hubleader_controller.go#L122

Added line #L122 was not covered by tests