fix: handle pod deletion in kubearmor controller #5593
ci-test-go.yml
on: pull_request
go-fmt
12s
go-lint
23s
go-lint-tests
32s
go-sec
1m 59s
go-vuln
58s
go-test
1m 51s
license
32s
Annotations
27 warnings
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-lint:
KubeArmor/feeder/feeder.go#L40
comment on exported const QueueSize should be of the form "QueueSize ..."
|
go-lint:
KubeArmor/feeder/feeder.go#L57
exported type EventStructs should have comment or be unexported
|
go-lint:
KubeArmor/feeder/feeder.go#L112
comment on exported method EventStructs.RemoveAlertStruct should be of the form "RemoveAlertStruct ..."
|
go-lint:
KubeArmor/feeder/policyMatcher.go#L1038
if block ends with a return statement, so drop this else and outdent its block
|
go-lint:
KubeArmor/feeder/logServer.go#L24
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/feeder/feeder.go#L120
comment on exported method EventStructs.AddLogStruct should be of the form "AddLogStruct ..."
|
go-lint:
KubeArmor/feeder/feeder.go#L138
comment on exported method EventStructs.RemoveLogStruct should be of the form "RemoveLogStruct ..."
|
go-lint:
KubeArmor/monitor/systemMonitor.go#L887
if block ends with a continue statement, so drop this else and outdent its block
|
go-lint:
KubeArmor/feeder/feeder.go#L146
comment on exported type FeederInterface should be of the form "FeederInterface ..." (with optional leading article)
|
go-lint:
KubeArmor/feeder/feeder.go#L149
type name will be used as feeder.FeederInterface by other packages, and that stutters; consider calling this Interface
|
go-lint-tests:
tests/k8s_env/blockposture/block_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/blockposture/block_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/blockposture/block_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/throttling/throttling_test.go#L10
should not use dot imports
|
go-lint-tests:
tests/k8s_env/configmap/kubearmor_config_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/smoke/smoke_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/configmap/kubearmor_config_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/throttling/throttling_test.go#L11
should not use dot imports
|
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|