feat: infiniband plugin #1023
Annotations
10 errors and 9 warnings
golangci-lint:
test/plugin/infiniband/main_linux.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
test/plugin/infiniband/main_linux.go#L14
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
pkg/plugin/infiniband/infiniband_stats_linux_test.go#L34
whyNoLint: include an explanation for nolint directive (gocritic)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L23
var `netstatCuratedKeys` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L83
field `totalActiveSockets` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L85
field `socketByState` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L87
field `socketByRemoteAddr` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L103
field `stats` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L108
field `errOrDropKeysOnly` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L111
field `addZeroVal` is unused (unused)
|
golangci-lint:
pkg/plugin/infiniband/infiniband_linux.go#L31
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/plugin/infiniband/infiniband_linux.go#L35
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/plugin/infiniband/infiniband_linux.go#L49
unused-parameter: parameter 'ch' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/plugin/infiniband/infiniband_stats_linux.go#L29
exported: type name will be used as infiniband.InfinibandReader by other packages, and that stutters; consider calling this Reader (revive)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L41
var-naming: struct field TcpExt should be TCPExt (revive)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L42
var-naming: struct field IpExt should be IPExt (revive)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L45
var-naming: struct field UdpSockets should be UDPSockets (revive)
|
golangci-lint:
pkg/plugin/infiniband/types_linux.go#L46
var-naming: struct field TcpSockets should be TCPSockets (revive)
|
golangci-lint:
test/plugin/infiniband/main_linux.go#L49
empty-block: this block is empty, you can remove it (revive)
|
Loading