Skip to content

add ephemeraljob validating webhook, add validation&ut

Codecov / codecov/patch succeeded May 31, 2024 in 1s

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 56 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L54 - L56 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L58-L61

Added lines #L58 - L61 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added line #L65 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added line #L68 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/webhook/ephemeraljob/validating/validation.go#L72-L73

Added lines #L72 - L73 were 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 79 in pkg/webhook/ephemeraljob/validating/validation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added line #L79 was 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#L122-L125

Added lines #L122 - L125 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added line #L127 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