Skip to content

add ephemeraljob validating webhook, add validation&ut

Codecov / codecov/patch succeeded Jun 4, 2024 in 0s

70.33% of diff hit (target 47.91%)

View this Pull Request on Codecov

70.33% of diff hit (target 47.91%)

Annotations

Check warning on line 42 in pkg/webhook/ephemeraljob/validating/ephemeraljob_create_update_handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/ephemeraljob_create_update_handler.go#L41-L42

Added lines #L41 - L42 were not covered by tests

Check warning on line 56 in pkg/webhook/ephemeraljob/validating/ephemeraljob_create_update_handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/ephemeraljob_create_update_handler.go#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 65 in pkg/webhook/ephemeraljob/validating/ephemeraljob_create_update_handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/ephemeraljob_create_update_handler.go#L65

Added line #L65 was not covered by tests

Check warning on line 54 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 59 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L56-L59

Added lines #L56 - L59 were not covered by tests

Check warning on line 63 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L63

Added line #L63 was not covered by tests

Check warning on line 66 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L66

Added line #L66 was not covered by tests

Check warning on line 71 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 75 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L75

Added line #L75 was not covered by tests

Check warning on line 77 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L77

Added line #L77 was not covered by tests

Check warning on line 123 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L120-L123

Added lines #L120 - L123 were not covered by tests

Check warning on line 125 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L125

Added line #L125 was not covered by tests

Check warning on line 33 in pkg/webhook/ephemeraljob/validating/webhooks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/webhooks.go#L31-L33

Added lines #L31 - L33 were not covered by tests