Enable kindless management upgrade for cloudstack provider (#6763) #20494
Annotations
10 errors and 10 warnings
lint:
pkg/curatedpackages/bundle_test.go#L181
var-naming: func convertJsonToBytes should be convertJSONToBytes (revive)
|
lint:
pkg/curatedpackages/packagecontrollerclient_test.go#L80
var-naming: var eksaAccessId should be eksaAccessID (revive)
|
lint:
pkg/providers/cloudstack/validator.go#L164
cyclomatic complexity 12 of func `(*Validator).validateMachineConfig` is high (> 10) (gocyclo)
|
lint:
pkg/providers/cloudstack/cloudstack.go#L363
cyclomatic complexity 11 of func `(*cloudstackProvider).SetupAndValidateCreateCluster` is high (> 10) (gocyclo)
|
lint:
pkg/providers/cloudstack/cloudstack_test.go#L44
var-naming: const cloudStackCloudConfigWithInvalidUrl should be cloudStackCloudConfigWithInvalidURL (revive)
|
lint:
pkg/providers/cloudstack/cloudstack.go#L310
var-naming: method validateManagementApiEndpoint should be validateManagementAPIEndpoint (revive)
|
lint:
pkg/providers/cloudstack/cloudstack.go#L224
exported: exported type ProviderKubectlClient should have comment or be unexported (revive)
|
lint:
pkg/providers/cloudstack/cloudstack.go#L458
exported: exported function NeedsNewKubeadmConfigTemplate should have comment or be unexported (revive)
|
lint:
pkg/providers/cloudstack/validator.go#L24
var-naming: struct field skipIpCheck should be skipIPCheck (revive)
|
lint:
pkg/providers/cloudstack/validator_test.go#L209
context-as-argument: context.Context should be the first parameter of a function (revive)
|
lint:
pkg/executables/kubectl_test.go#L1472
var-naming: var wantUrl should be wantURL (revive)
|
lint:
pkg/executables/kubectl_test.go#L1479
var-naming: var gotUrl should be gotURL (revive)
|
lint:
pkg/executables/kubectl_test.go#L2189
var-naming: var bundlesJson should be bundlesJSON (revive)
|
lint:
pkg/executables/kubectl_test.go#L2207
var-naming: var resourceSetJson should be resourceSetJSON (revive)
|
lint:
pkg/executables/kubectl_test.go#L2306
var-naming: var configmapJson should be configmapJSON (revive)
|
lint:
pkg/executables/kubectl_test.go#L2745
var-naming: var datacenterJson should be datacenterJSON (revive)
|
lint:
pkg/executables/kubectl_test.go#L2773
var-naming: var machineconfigJson should be machineconfigJSON (revive)
|
lint:
pkg/executables/kubectl_test.go#L2805
var-naming: var machineconfigJson should be machineconfigJSON (revive)
|
lint:
pkg/executables/kubectl_test.go#L2820
var-naming: var datacenterconfigJson should be datacenterconfigJSON (revive)
|
lint:
pkg/executables/flux_test.go#L421
var-naming: var repoUrl should be repoURL (revive)
|