Skip to content

refactor: policy compilation

Codecov / codecov/patch succeeded Sep 24, 2024 in 1s

30.99% of diff hit (target 21.41%)

View this Pull Request on Codecov

30.99% of diff hit (target 21.41%)

Annotations

Check warning on line 24 in pkg/apis/policy/v1alpha1/any.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/policy/v1alpha1/any.go#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 24 in pkg/apis/policy/v1alpha1/assertion_tree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/policy/v1alpha1/assertion_tree.go#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 97 in pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go#L90-L97

Added lines #L90 - L97 were not covered by tests

Check warning on line 108 in pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go#L102-L108

Added lines #L102 - L108 were not covered by tests

Check warning on line 291 in pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go#L291

Added line #L291 was not covered by tests

Check warning on line 27 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 37 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L36-L37

Added lines #L36 - L37 were not covered by tests

Check warning on line 56 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 99 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L75-L99

Added lines #L75 - L99 were not covered by tests

Check warning on line 106 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L101-L106

Added lines #L101 - L106 were not covered by tests

Check warning on line 108 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L108

Added line #L108 was not covered by tests

Check warning on line 119 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L118-L119

Added lines #L118 - L119 were not covered by tests

Check warning on line 122 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L121-L122

Added lines #L121 - L122 were not covered by tests

Check warning on line 126 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L125-L126

Added lines #L125 - L126 were not covered by tests

Check warning on line 130 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L129-L130

Added lines #L129 - L130 were not covered by tests

Check warning on line 141 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L133-L141

Added lines #L133 - L141 were not covered by tests

Check warning on line 143 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L143

Added line #L143 was not covered by tests

Check warning on line 147 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L145-L147

Added lines #L145 - L147 were not covered by tests

Check warning on line 155 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L154-L155

Added lines #L154 - L155 were not covered by tests

Check warning on line 158 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L157-L158

Added lines #L157 - L158 were not covered by tests

Check warning on line 162 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L162

Added line #L162 was not covered by tests

Check warning on line 174 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L174

Added line #L174 was not covered by tests

Check warning on line 189 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L188-L189

Added lines #L188 - L189 were not covered by tests

Check warning on line 193 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L192-L193

Added lines #L192 - L193 were not covered by tests

Check warning on line 214 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L207-L214

Added lines #L207 - L214 were not covered by tests