Add VM validation webhook #607
42.85% of diff hit (target 82.17%)
View this Pull Request on Codecov
42.85% of diff hit (target 82.17%)
Annotations
Check warning on line 24 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L23-L24
Added lines #L23 - L24 were not covered by tests
Check warning on line 29 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L27-L29
Added lines #L27 - L29 were not covered by tests
Check warning on line 37 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L36-L37
Added lines #L36 - L37 were not covered by tests
Check warning on line 48 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L44-L48
Added lines #L44 - L48 were not covered by tests
Check warning on line 54 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L52-L54
Added lines #L52 - L54 were not covered by tests
Check warning on line 60 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L58-L60
Added lines #L58 - L60 were not covered by tests
Check warning on line 73 in pkg/webhook/validatingwebhook/validate_vm_request.go
codecov / codecov/patch
pkg/webhook/validatingwebhook/validate_vm_request.go#L72-L73
Added lines #L72 - L73 were not covered by tests