fix: adds graph api to unload the ebpf hooks during unit test code co… #2
Annotations
10 errors and 11 warnings
lint:
pkg/platform/interface.go#L11
var-naming: interface method parameter lastSeenId should be lastSeenID (revive)
|
lint:
pkg/platform/interface.go#L20
var-naming: interface method parameter runId should be runID (revive)
|
lint:
pkg/platform/interface.go#L21
var-naming: interface method parameter runId should be runID (revive)
|
lint:
pkg/platform/interface.go#L1
package-comments: should have a package comment (revive)
|
lint:
pkg/hooks/structs/enums.go#L1
package-comments: should have a package comment (revive)
|
lint:
pkg/hooks/structs/structs.go#L34
exported: comment on exported const EventBodyMaxSize should be of the form "EventBodyMaxSize ..." (revive)
|
lint:
pkg/hooks/structs/structs.go#L51
exported: comment on exported type SocketDataEvent should be of the form "SocketDataEvent ..." (with optional leading article) (revive)
|
lint:
pkg/hooks/structs/enums.go#L12
exported: exported const EgressTraffic should have comment (or a comment on this block) or be unexported (revive)
|
lint:
pkg/hooks/structs/structs.go#L92
var-naming: don't use underscores in Go names; type Bpf_spin_lock should be BpfSpinLock (revive)
|
lint:
pkg/hooks/structs/structs.go#L104
var-naming: struct field IpVersion should be IPVersion (revive)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
pkg/hooks/settings/clock.go#L1
package-comments: should have a package comment (revive)
|
lint:
pkg/hooks/settings/clock.go#L12
var-declaration: should drop = 0 from declaration of var realTimeOffset; it is the zero value (revive)
|
lint:
pkg/models/const.go#L9
var-naming: const NoSqlDB should be NoSQLDB (revive)
|
lint:
pkg/models/mock.go#L14
var-naming: struct field Id should be ID (revive)
|
lint:
pkg/models/const.go#L10
var-naming: const SqlDB should be SQLDB (revive)
|
lint:
pkg/models/const.go#L12
var-naming: const HttpClient should be HTTPClient (revive)
|
lint:
pkg/models/mock.go#L27
var-naming: struct field HttpReq should be HTTPReq (revive)
|
lint:
pkg/models/mock.go#L28
var-naming: struct field HttpResp should be HTTPResp (revive)
|
lint:
pkg/models/mode.go#L14
exported: exported const MODE_RECORD should have comment (or a comment on this block) or be unexported (revive)
|
lint:
pkg/models/mock.go#L36
var-naming: struct field MySqlRequests should be MySQLRequests (revive)
|