Separate kubeconfig operations from cluster manager #22930
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)
|