feat: infiniband plugin #1023
Annotations
27 errors and 18 warnings
Lint (windows, arm64):
pkg/plugin/infiniband/infiniband_mock_generated.go#L15
could not import github.com/cakturk/go-netstat/netstat (-: # github.com/cakturk/go-netstat/netstat
|
Lint (windows, arm64)
undefined: skStates
|
Lint (windows, arm64)
undefined: osTCPSocks
|
Lint (windows, arm64)
undefined: osTCP6Socks
|
Lint (windows, arm64)
undefined: osUDPSocks
|
Lint (windows, arm64)
undefined: osUDP6Socks) (typecheck)
|
Lint (windows, arm64)
issues found
|
Lint (linux, amd64):
test/plugin/infiniband/main_linux.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Lint (linux, amd64):
test/plugin/infiniband/main_linux.go#L14
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Lint (linux, amd64):
pkg/plugin/infiniband/infiniband_stats_linux_test.go#L34
whyNoLint: include an explanation for nolint directive (gocritic)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L23
var `netstatCuratedKeys` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L83
field `totalActiveSockets` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L85
field `socketByState` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L87
field `socketByRemoteAddr` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L103
field `stats` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L108
field `errOrDropKeysOnly` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L111
field `addZeroVal` is unused (unused)
|
Lint (linux, arm64):
test/plugin/infiniband/main_linux.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Lint (linux, arm64):
test/plugin/infiniband/main_linux.go#L14
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Lint (linux, arm64):
pkg/plugin/infiniband/infiniband_stats_linux_test.go#L34
whyNoLint: include an explanation for nolint directive (gocritic)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L23
var `netstatCuratedKeys` is unused (unused)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L83
field `totalActiveSockets` is unused (unused)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L85
field `socketByState` is unused (unused)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L87
field `socketByRemoteAddr` is unused (unused)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L103
field `stats` is unused (unused)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L108
field `errOrDropKeysOnly` is unused (unused)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L111
field `addZeroVal` is unused (unused)
|
Lint (linux, amd64):
pkg/plugin/infiniband/infiniband_linux.go#L31
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (linux, amd64):
pkg/plugin/infiniband/infiniband_linux.go#L35
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (linux, amd64):
pkg/plugin/infiniband/infiniband_linux.go#L49
unused-parameter: parameter 'ch' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (linux, amd64):
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)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L41
var-naming: struct field TcpExt should be TCPExt (revive)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L42
var-naming: struct field IpExt should be IPExt (revive)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L45
var-naming: struct field UdpSockets should be UDPSockets (revive)
|
Lint (linux, amd64):
pkg/plugin/infiniband/types_linux.go#L46
var-naming: struct field TcpSockets should be TCPSockets (revive)
|
Lint (linux, amd64):
test/plugin/infiniband/main_linux.go#L49
empty-block: this block is empty, you can remove it (revive)
|
Lint (linux, arm64):
pkg/plugin/infiniband/infiniband_linux.go#L31
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (linux, arm64):
pkg/plugin/infiniband/infiniband_linux.go#L35
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (linux, arm64):
pkg/plugin/infiniband/infiniband_linux.go#L49
unused-parameter: parameter 'ch' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (linux, arm64):
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)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L41
var-naming: struct field TcpExt should be TCPExt (revive)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L42
var-naming: struct field IpExt should be IPExt (revive)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L45
var-naming: struct field UdpSockets should be UDPSockets (revive)
|
Lint (linux, arm64):
pkg/plugin/infiniband/types_linux.go#L46
var-naming: struct field TcpSockets should be TCPSockets (revive)
|
Lint (linux, arm64):
test/plugin/infiniband/main_linux.go#L49
empty-block: this block is empty, you can remove it (revive)
|