feat(operator): fetch cluster name from providers #5176
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/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L15
type name will be used as cert.CertLoader by other packages, and that stutters; consider calling this Loader
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L19
comment on exported type SelfSignedCertLoader should be of the form "SelfSignedCertLoader ..." (with optional leading article)
|
Run Revive Action on KubeArmor:
KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
|
Run Revive Action on KubeArmor:
KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L25
exported method SelfSignedCertLoader.GetCertificateAndCaPool should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L49
comment on exported type ExternalCertLoader should be of the form "ExternalCertLoader ..." (with optional leading article)
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
|
Loading