initial commit #1
Annotations
10 errors and 4 warnings
lint:
cmd/create.go#L6
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
|
lint:
cmd/create.go#L7
import 'github.com/spf13/cobra' is not allowed from list 'Main' (depguard)
|
lint:
cmd/create.go#L9
import 'github.com/kubeshop/kube-webhook-certgen/pkg/certs' is not allowed from list 'Main' (depguard)
|
lint:
cmd/create.go#L10
import 'github.com/kubeshop/kube-webhook-certgen/pkg/k8s' is not allowed from list 'Main' (depguard)
|
lint:
cmd/create.go#L57
don't use `init` function (gochecknoinits)
|
lint:
cmd/create.go#L64
Error return value of `create.MarkFlagRequired` is not checked (errcheck)
|
lint:
cmd/create.go#L65
Error return value of `create.MarkFlagRequired` is not checked (errcheck)
|
lint:
cmd/create.go#L66
Error return value of `create.MarkFlagRequired` is not checked (errcheck)
|
lint:
cmd/patch.go#L7
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
|
lint:
cmd/patch.go#L8
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
cmd/patch.go#L29
unreachable-code: unreachable code after this statement (revive)
|
lint:
cmd/version.go#L18
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/certs/certs_test.go#L17
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|