Skip to content

Add MatchingLabels method to ValdK8sClientMock

Codecov / codecov/patch failed Mar 6, 2024 in 0s

1.17% of diff hit (target 18.71%)

View this Pull Request on Codecov

1.17% of diff hit (target 18.71%)

Annotations

Check warning on line 181 in internal/k8s/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/client/client.go#L180-L181

Added lines #L180 - L181 were not covered by tests

Check warning on line 155 in internal/k8s/pod/pod.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/pod/pod.go#L155

Added line #L155 was not covered by tests

Check warning on line 70 in internal/test/mock/k8s/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/test/mock/k8s/client.go#L68-L70

Added lines #L68 - L70 were not covered by tests

Check warning on line 164 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L164

Added line #L164 was not covered by tests

Check warning on line 215 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L215

Added line #L215 was not covered by tests

Check warning on line 261 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L261

Added line #L261 was not covered by tests

Check warning on line 299 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L299

Added line #L299 was not covered by tests

Check warning on line 309 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L303-L309

Added lines #L303 - L309 were not covered by tests

Check warning on line 105 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L100-L105

Added lines #L100 - L105 were not covered by tests

Check warning on line 150 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L145-L150

Added lines #L145 - L150 were not covered by tests

Check warning on line 176 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L167-L176

Added lines #L167 - L176 were not covered by tests

Check warning on line 182 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L178-L182

Added lines #L178 - L182 were not covered by tests

Check warning on line 200 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L184-L200

Added lines #L184 - L200 were not covered by tests

Check warning on line 205 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L202-L205

Added lines #L202 - L205 were not covered by tests

Check warning on line 211 in pkg/index/operator/service/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L208-L211

Added lines #L208 - L211 were not covered by tests

Check warning on line 38 in pkg/index/operator/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/options.go#L34-L38

Added lines #L34 - L38 were not covered by tests

Check warning on line 45 in pkg/index/operator/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/options.go#L41-L45

Added lines #L41 - L45 were not covered by tests

Check warning on line 48 in pkg/index/operator/usecase/operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/usecase/operator.go#L44-L48

Added lines #L44 - L48 were not covered by tests