Skip to content

cli/control: Do not use API client from NeoFS SDK

Codecov / codecov/patch succeeded Dec 18, 2024 in 1s

30.92% of diff hit (target 22.43%)

View this Pull Request on Codecov

30.92% of diff hit (target 22.43%)

Annotations

Check warning on line 49 in cmd/neofs-cli/modules/control/drop_objects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/drop_objects.go#L49

Added line #L49 was not covered by tests

Check warning on line 46 in cmd/neofs-cli/modules/control/evacuate_shard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/evacuate_shard.go#L46

Added line #L46 was not covered by tests

Check warning on line 45 in cmd/neofs-cli/modules/control/flush_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/flush_cache.go#L45

Added line #L45 was not covered by tests

Check warning on line 45 in cmd/neofs-cli/modules/control/healthcheck.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/healthcheck.go#L45

Added line #L45 was not covered by tests

Check warning on line 51 in cmd/neofs-cli/modules/control/healthcheck.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/healthcheck.go#L51

Added line #L51 was not covered by tests

Check warning on line 62 in cmd/neofs-cli/modules/control/healthcheck.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/healthcheck.go#L62

Added line #L62 was not covered by tests

Check warning on line 83 in cmd/neofs-cli/modules/control/healthcheck.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/healthcheck.go#L83

Added line #L83 was not covered by tests

Check warning on line 93 in cmd/neofs-cli/modules/control/healthcheck.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/healthcheck.go#L93

Added line #L93 was not covered by tests

Check warning on line 48 in cmd/neofs-cli/modules/control/object_list.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/object_list.go#L48

Added line #L48 was not covered by tests

Check warning on line 59 in cmd/neofs-cli/modules/control/object_list.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/object_list.go#L53-L59

Added lines #L53 - L59 were not covered by tests

Check warning on line 65 in cmd/neofs-cli/modules/control/object_list.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/object_list.go#L62-L65

Added lines #L62 - L65 were not covered by tests

Check warning on line 69 in cmd/neofs-cli/modules/control/object_list.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/object_list.go#L67-L69

Added lines #L67 - L69 were not covered by tests

Check warning on line 55 in cmd/neofs-cli/modules/control/object_revive.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/object_revive.go#L55

Added line #L55 was not covered by tests

Check warning on line 55 in cmd/neofs-cli/modules/control/object_status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/object_status.go#L55

Added line #L55 was not covered by tests

Check warning on line 95 in cmd/neofs-cli/modules/control/set_netmap_status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/set_netmap_status.go#L95

Added line #L95 was not covered by tests

Check warning on line 60 in cmd/neofs-cli/modules/control/shards_dump.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/shards_dump.go#L60

Added line #L60 was not covered by tests

Check warning on line 53 in cmd/neofs-cli/modules/control/shards_list.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/shards_list.go#L53

Added line #L53 was not covered by tests

Check warning on line 60 in cmd/neofs-cli/modules/control/shards_restore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/shards_restore.go#L60

Added line #L60 was not covered by tests

Check warning on line 146 in cmd/neofs-cli/modules/control/shards_set_mode.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/shards_set_mode.go#L146

Added line #L146 was not covered by tests

Check warning on line 74 in cmd/neofs-cli/modules/control/synchronize_tree.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/synchronize_tree.go#L74

Added line #L74 was not covered by tests

Check warning on line 67 in cmd/neofs-cli/modules/control/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/util.go#L62-L67

Added lines #L62 - L67 were not covered by tests

Check warning on line 74 in cmd/neofs-cli/modules/control/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/util.go#L70-L74

Added lines #L70 - L74 were not covered by tests

Check warning on line 79 in cmd/neofs-cli/modules/control/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/util.go#L76-L79

Added lines #L76 - L79 were not covered by tests

Check warning on line 85 in cmd/neofs-cli/modules/control/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/util.go#L81-L85

Added lines #L81 - L85 were not covered by tests

Check warning on line 92 in cmd/neofs-cli/modules/control/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/util.go#L87-L92

Added lines #L87 - L92 were not covered by tests