Gencel #1
Annotations
10 errors and 10 warnings
lint:
funcs/coll_gen.go#L240
x.JSONPath undefined (type CollFuncs has no field or method JSONPath) (typecheck)
|
lint:
gencel/file.go#L75
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
gencel/generator.go#L106
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
lint:
gencel/generator.go#L157
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
lint:
gencel/templates.go#L9
Consider pre-allocating `output` (prealloc)
|
lint:
gcp/meta.go#L12
import 'github.com/flanksource/gomplate/v3/env' is not allowed from list 'Main' (depguard)
|
lint:
internal/deprecated/deprecated.go#L6
import 'github.com/rs/zerolog' is not allowed from list 'Main' (depguard)
|
lint:
gencel/generator.go#L14
import 'github.com/flanksource/commons/logger' is not allowed from list 'Main' (depguard)
|
lint:
aws/ec2info.go#L11
import 'github.com/aws/aws-sdk-go/aws' is not allowed from list 'Main' (depguard)
|
lint:
aws/ec2info.go#L12
import 'github.com/aws/aws-sdk-go/aws/credentials' is not allowed from list 'Main' (depguard)
|
lint:
env/env_test.go#L95
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
env/env_test.go#L99
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/gencel_test.go#L11
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
aws/kms.go#L21
unused-parameter: parameter 'option' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
aws/sts.go#L22
unused-parameter: parameter 'options' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
data/datasource_env.go#L10
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
data/datasource_merge.go#L23
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
data/datasource_awssmp_test.go#L25
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
data/datasource_test.go#L183
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
data/datasource_aws_sm_test.go#L23
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|