Skip to content

[CORE] token model

[CORE] token model #38

Triggered via pull request June 7, 2023 18:49
Status Success
Total duration 42s
Billable time 1m
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
linter: pkg/telemetry/log/logger.go#L17
var-declaration: should omit type *KubehoundLogger from declaration of var I; it will be inferred from the right-hand side (revive)
linter: pkg/telemetry/log/logger.go#L30
return with no blank line before (nlreturn)
linter: pkg/telemetry/log/logger.go#L36
return with no blank line before (nlreturn)
linter: pkg/telemetry/log/logger.go#L16
ST1022: comment on exported var I should be of the form "I ..." (stylecheck)
linter: pkg/kubehound/store/collections/container.go#L3
File is not `gofumpt`-ed (gofumpt)
linter: pkg/kubehound/store/collections/identity.go#L3
File is not `gofumpt`-ed (gofumpt)
linter: pkg/kubehound/store/collections/node.go#L3
File is not `gofumpt`-ed (gofumpt)
linter: pkg/kubehound/services/dependency.go#L28
continue with no blank line before (nlreturn)
linter: pkg/kubehound/graph/path/builder.go#L1
: # github.com/DataDog/KubeHound/pkg/kubehound/graph/path
linter: pkg/kubehound/graph/path/token_steal.go#L65
syntax error: unexpected ), expected name or ( (typecheck)
linter: pkg/kubehound/storage/cache/cachekey/role.go#L13
unexported-return: exported func Role returns unexported type *cachekey.roleCacheKey, which can be annoying to use (revive)
linter: pkg/kubehound/storage/cache/cachekey/container.go#L14
unexported-return: exported func Container returns unexported type *cachekey.containerCacheKey, which can be annoying to use (revive)
linter: pkg/kubehound/storage/cache/cachekey/node.go#L13
unexported-return: exported func Node returns unexported type *cachekey.nodeCacheKey, which can be annoying to use (revive)
linter: pkg/kubehound/storage/cache/cachekey/identity.go#L13
unexported-return: exported func Identity returns unexported type *cachekey.identityCacheKey, which can be annoying to use (revive)
linter: pkg/kubehound/storage/cache/cachekey/pod_identity.go#L13
unexported-return: exported func PodIdentity returns unexported type *cachekey.podIdentityCacheKey, which can be annoying to use (revive)
linter: pkg/kubehound/storage/cache/cachekey/pod_identity.go#L8
var-naming: struct field podId should be podID (revive)
linter: pkg/kubehound/models/graph/models.go#L6
var-naming: struct field StoreId should be StoreID (revive)
linter: pkg/kubehound/models/graph/models.go#L27
var-naming: struct field StoreId should be StoreID (revive)
linter: pkg/kubehound/models/graph/models.go#L32
var-naming: struct field StoreId should be StoreID (revive)
linter: pkg/kubehound/models/store/models.go#L23
var-naming: struct field Id should be ID (revive)
linter
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeHound/KubeHound. Supported file pattern: go.sum