Skip to content

Add IAM Roles for Service Accounts to nutanix-spec.md doc (#7285) #23263

Add IAM Roles for Service Accounts to nutanix-spec.md doc (#7285)

Add IAM Roles for Service Accounts to nutanix-spec.md doc (#7285) #23263

Triggered via push January 21, 2024 12:14
Status Failure
Total duration 47s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/providers/nutanix/provider.go#L397
cyclomatic complexity 17 of func `(*Provider).GenerateCAPISpecForUpgrade` is high (> 10) (gocyclo)
lint: pkg/providers/nutanix/validator.go#L424
cyclomatic complexity 13 of func `findClusterUUIDByName` is high (> 10) (gocyclo)
lint: pkg/providers/nutanix/template.go#L154
cyclomatic complexity 12 of func `buildTemplateMapCP` is high (> 10) (gocyclo)
lint: pkg/providers/nutanix/client.go#L9
exported: exported type Client should have comment or be unexported (revive)
lint: pkg/providers/nutanix/validator.go#L253
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: pkg/providers/nutanix/kubectl.go#L14
exported: exported type ProviderKubectlClient should have comment or be unexported (revive)
lint: pkg/providers/nutanix/provider.go#L108
exported: exported method Provider.BootstrapClusterOpts should have comment or be unexported (revive)
lint: pkg/providers/nutanix/template.go#L38
exported: exported function NewNutanixTemplateBuilder should have comment or be unexported (revive)
lint: pkg/providers/nutanix/validator.go#L262
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: pkg/providers/nutanix/template.go#L56
exported: exported method TemplateBuilder.GenerateCAPISpecControlPlane should have comment or be unexported (revive)