Skip to content

refactor: interface for standard policy errors

Codecov / codecov/patch succeeded Dec 15, 2023 in 0s

89.28% of diff hit (target 65.32%)

View this Pull Request on Codecov

89.28% of diff hit (target 65.32%)

Annotations

Check warning on line 283 in api/v1beta2/authpolicy_types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/v1beta2/authpolicy_types.go#L282-L283

Added lines #L282 - L283 were not covered by tests

Check warning on line 246 in api/v1beta2/ratelimitpolicy_types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/v1beta2/ratelimitpolicy_types.go#L245-L246

Added lines #L245 - L246 were not covered by tests

Check warning on line 141 in controllers/authpolicy_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/authpolicy_controller.go#L140-L141

Added lines #L140 - L141 were not covered by tests

Check warning on line 160 in controllers/ratelimitpolicy_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/ratelimitpolicy_controller.go#L159-L160

Added lines #L159 - L160 were not covered by tests

Check warning on line 169 in pkg/reconcilers/targetref_reconciler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/reconcilers/targetref_reconciler.go#L169

Added line #L169 was not covered by tests