Skip to content

Refactor(instance): Refactor the way instance metadata is retrieved

Codecov / codecov/patch failed Feb 20, 2025 in 1s

12.03% of diff hit (target 26.41%)

View this Pull Request on Codecov

12.03% of diff hit (target 26.41%)

Annotations

Check warning on line 71 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L65-L71

Added lines #L65 - L71 were not covered by tests

Check warning on line 73 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L73

Added line #L73 was not covered by tests

Check warning on line 78 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L75-L78

Added lines #L75 - L78 were not covered by tests

Check warning on line 91 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L86-L91

Added lines #L86 - L91 were not covered by tests

Check warning on line 101 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L95-L101

Added lines #L95 - L101 were not covered by tests

Check warning on line 105 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L103-L105

Added lines #L103 - L105 were not covered by tests

Check warning on line 114 in cmd/terway-cli/cni_linux.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-cli/cni_linux.go#L107-L114

Added lines #L107 - L114 were not covered by tests

Check warning on line 98 in cmd/terway-controlplane/terway-controlplane.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-controlplane/terway-controlplane.go#L98

Added line #L98 was not covered by tests

Check warning on line 103 in cmd/terway-controlplane/terway-controlplane.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-controlplane/terway-controlplane.go#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 117 in cmd/terway-controlplane/terway-controlplane.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/terway-controlplane/terway-controlplane.go#L113-L117

Added lines #L113 - L117 were not covered by tests

Check warning on line 127 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L124-L127

Added lines #L124 - L127 were not covered by tests

Check warning on line 162 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L160-L162

Added lines #L160 - L162 were not covered by tests

Check warning on line 172 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L172

Added line #L172 was not covered by tests

Check warning on line 192 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L192

Added line #L192 was not covered by tests

Check warning on line 203 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L199-L203

Added lines #L199 - L203 were not covered by tests

Check warning on line 216 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L215-L216

Added lines #L215 - L216 were not covered by tests

Check warning on line 222 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L218-L222

Added lines #L218 - L222 were not covered by tests

Check warning on line 229 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L225-L229

Added lines #L225 - L229 were not covered by tests

Check warning on line 235 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L231-L235

Added lines #L231 - L235 were not covered by tests

Check warning on line 268 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L257-L268

Added lines #L257 - L268 were not covered by tests

Check warning on line 278 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L270-L278

Added lines #L270 - L278 were not covered by tests

Check warning on line 414 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L414

Added line #L414 was not covered by tests

Check warning on line 458 in daemon/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/builder.go#L458

Added line #L458 was not covered by tests

Check warning on line 38 in daemon/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/config.go#L38

Added line #L38 was not covered by tests

Check warning on line 912 in daemon/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

daemon/daemon.go#L912

Added line #L912 was not covered by tests