Skip to content

Add FeatureGate framework to handle new features

Codecov / codecov/patch succeeded Mar 15, 2024 in 0s

69.44% of diff hit (target 0.00%)

View this Pull Request on Codecov

69.44% of diff hit (target 0.00%)

Annotations

Check warning on line 51 in cmd/nfd-master/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/nfd-master/main.go#L46-L51

Added lines #L46 - L51 were not covered by tests

Check warning on line 49 in cmd/nfd-worker/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/nfd-worker/main.go#L43-L49

Added lines #L43 - L49 were not covered by tests

Check warning on line 427 in pkg/nfd-master/nfd-master.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/nfd-master/nfd-master.go#L427

Added line #L427 was not covered by tests

Check warning on line 1343 in pkg/nfd-master/nfd-master.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/nfd-master/nfd-master.go#L1343

Added line #L1343 was not covered by tests

Check warning on line 141 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L140-L141

Added lines #L140 - L141 were not covered by tests

Check warning on line 146 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L145-L146

Added lines #L145 - L146 were not covered by tests

Check warning on line 165 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L164-L165

Added lines #L164 - L165 were not covered by tests

Check warning on line 179 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L179

Added line #L179 was not covered by tests

Check warning on line 204 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L203-L204

Added lines #L203 - L204 were not covered by tests

Check warning on line 214 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L213-L214

Added lines #L213 - L214 were not covered by tests

Check warning on line 220 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L219-L220

Added lines #L219 - L220 were not covered by tests

Check warning on line 222 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L222

Added line #L222 was not covered by tests

Check warning on line 240 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L239-L240

Added lines #L239 - L240 were not covered by tests

Check warning on line 250 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L249-L250

Added lines #L249 - L250 were not covered by tests

Check warning on line 254 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L253-L254

Added lines #L253 - L254 were not covered by tests

Check warning on line 272 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L267-L272

Added lines #L267 - L272 were not covered by tests

Check warning on line 284 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L284

Added line #L284 was not covered by tests

Check warning on line 326 in pkg/utils/featuregate/featuregate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/featuregate/featuregate.go#L325-L326

Added lines #L325 - L326 were not covered by tests