Skip to content

golangci-lint

golangci-lint #161

Triggered via push October 30, 2024 16:27
Status Failure
Total duration 35s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/validations/createvalidations/cluster.go#L11
exported: exported function ValidateClusterNameIsUnique should have comment or be unexported (revive)
lint: pkg/validations/createvalidations/cluster.go#L24
exported: exported function ValidateManagementCluster should have comment or be unexported (revive)
lint: pkg/validations/createvalidations/createvalidations.go#L12
exported: exported function New should have comment or be unexported (revive)
lint: pkg/validations/createvalidations/gitops.go#L22
exported: exported function ValidateGitOps should have comment or be unexported (revive)
lint: pkg/validations/createvalidations/identityproviders.go#L13
exported: exported function ValidateIdentityProviderNameIsUnique should have comment or be unexported (revive)
lint: pkg/validations/createvalidations/createvalidations.go#L17
exported: exported type CreateValidations should have comment or be unexported (revive)
lint: pkg/validations/createvalidations/gitops.go#L17
var `clusterResourceType` is unused (unused)
lint: pkg/cluster/vsphere_test.go#L105
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cluster/vsphere_test.go#L114
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cluster/vsphere_test.go#L122
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']