Skip to content

Add operator logic for rotation

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

0.00% of diff hit (target 18.69%)

View this Pull Request on Codecov

0.00% of diff hit (target 18.69%)

Annotations

Check warning on line 44 in internal/config/index_operator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/config/index_operator.go#L44

Added line #L44 was not covered by tests

Check warning on line 73 in internal/k8s/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/option.go#L73

Added line #L73 was not covered by tests

Check warning on line 80 in internal/k8s/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/option.go#L75-L80

Added lines #L75 - L80 were not covered by tests

Check warning on line 93 in internal/k8s/pod/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/pod/option.go#L89-L93

Added lines #L89 - L93 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/pod/pod.go#L189-L190

Added lines #L189 - L190 were not covered by tests

Check warning on line 98 in internal/k8s/reconciler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/reconciler.go#L94-L98

Added lines #L94 - L98 were not covered by tests

Check warning on line 90 in pkg/discoverer/k8s/service/discover.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/discoverer/k8s/service/discover.go#L90

Added line #L90 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L62

Added line #L62 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L64-L66

Added lines #L64 - L66 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L79-L81

Added lines #L79 - L81 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L96-L101

Added lines #L96 - L101 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L103-L108

Added lines #L103 - L108 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L110-L115

Added lines #L110 - L115 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L117-L122

Added lines #L117 - L122 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L130

Added line #L130 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L241-L245

Added lines #L241 - L245 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L248-L252

Added lines #L248 - L252 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L255-L269

Added lines #L255 - L269 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L272-L281

Added lines #L272 - L281 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/service/operator.go#L288-L305

Added lines #L288 - L305 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/operator/usecase/operator.go#L45

Added line #L45 was 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#L47-L48

Added lines #L47 - L48 were not covered by tests