feat: add endpoints webhook for node autonomy #2211
73.68% of diff hit (target 58.93%)
View this Pull Request on Codecov
73.68% of diff hit (target 58.93%)
Annotations
Check warning on line 36 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go#L36
Added line #L36 was not covered by tests
Check warning on line 52 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go#L52
Added line #L52 was not covered by tests
Check warning on line 67 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go#L67
Added line #L67 was not covered by tests
Check warning on line 89 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go#L88-L89
Added lines #L88 - L89 were not covered by tests
Check warning on line 97 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go#L97
Added line #L97 was not covered by tests
Check warning on line 113 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_default.go#L113
Added line #L113 was not covered by tests
Check warning on line 40 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_handler.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_handler.go#L40
Added line #L40 was not covered by tests
Check warning on line 42 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_handler.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_handler.go#L42
Added line #L42 was not covered by tests
Check warning on line 44 in pkg/yurtmanager/webhook/endpoints/v1/endpoints_handler.go
codecov / codecov/patch
pkg/yurtmanager/webhook/endpoints/v1/endpoints_handler.go#L44
Added line #L44 was not covered by tests
Check warning on line 86 in pkg/yurtmanager/webhook/server.go
codecov / codecov/patch
pkg/yurtmanager/webhook/server.go#L86
Added line #L86 was not covered by tests