Skip to content

Separate kubeconfig operations from cluster manager #22930

Separate kubeconfig operations from cluster manager

Separate kubeconfig operations from cluster manager #22930

Triggered via pull request January 10, 2024 00:57
Status Failure
Total duration 1m 15s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
lint
issues found
lint: pkg/clusterapi/name.go#L178
exported: comment on exported function ClusterKubeconfigSecretName should be of the form "ClusterKubeconfigSecretName ..." (revive)
lint: pkg/kubeconfig/kubeconfig_writer.go#L33
exported: type name will be used as kubeconfig.KubeconfigReaderOpt by other packages, and that stutters; consider calling this ReaderOpt (revive)
lint: pkg/kubeconfig/kubeconfig.go#L18
exported: type name will be used as kubeconfig.KubeconfigWriter by other packages, and that stutters; consider calling this Writer (revive)
lint: pkg/providers/docker/docker.go#L561
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)