fix(bpflsm): readonly and owneronly behaviour #5629
Annotations
11 warnings
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
Run Revive Action on KubeArmor:
KubeArmor/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L133
redefinition of the built-in function new
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L43
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L570
comment on exported function HandleGRPCErrors should be of the form "HandleGRPCErrors ..."
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L591
comment on exported function GetBootTime should be of the form "GetBootTime ..."
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L604
exported function GetLabelsFromString should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/common/common.go#L624
comment on exported function GetCurrentTimeStamp should be of the form "GetCurrentTimeStamp ..."
|
Loading