Skip to content

Add support for backup gateways, agent-level props

Sign in for the full log view
GitHub Actions / Qodana for Go completed Nov 12, 2024 in 0s

1357 new problems found by Qodana for Go

Qodana for Go

1357 new problems were found

Inspection name Severity Problems
Deprecated element 🔶 Warning 1038
Unused constant 🔶 Warning 66
Unused global variable 🔶 Warning 47
Unhandled error 🔶 Warning 27
Unused exported function 🔶 Warning 6
Malformed struct tag 🔶 Warning 5
Bool condition 🔶 Warning 2
Imported package name as a name identifier 🔶 Warning 1
Unused parameter 🔶 Warning 1
Comment of exported element starts with the incorrect name ◽️ Notice 122
Name starts with a package name ◽️ Notice 16
Redundant parentheses ◽️ Notice 14
Error string should not be capitalized or end with punctuation ◽️ Notice 3
Receiver has a generic name ◽️ Notice 3
Redundant type conversion ◽️ Notice 2
Usage of Snake_Case ◽️ Notice 2
Redundant import alias ◽️ Notice 1
Type can be omitted ◽️ Notice 1

☁️ View the detailed Qodana report

Detected 110 dependencies

Third-party software list

This page lists the third-party software dependencies used in project

Dependency Version Licenses
cloud.google.com/go/compute/metadata v0.2.3 Apache-2.0
cloud.google.com/go/compute v1.24.0 Apache-2.0
cloud.google.com/go/firestore v1.15.0 Apache-2.0
cloud.google.com/go/iam v1.1.5 Apache-2.0
cloud.google.com/go/longrunning v0.5.5 Apache-2.0
cloud.google.com/go/storage v1.35.1 Apache-2.0
cloud.google.com/go v0.112.1 Apache-2.0
github.com/ans-group/go-durationstring v1.2.0 MIT
github.com/armon/go-metrics v0.4.1 MIT
github.com/coreos/go-semver v0.3.0 Apache-2.0
github.com/coreos/go-systemd/v22 v22.3.2 Apache-2.0
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc ISC
github.com/fatih/color v1.14.1 MIT
github.com/felixge/httpsnoop v1.0.4 MIT
github.com/frankban/quicktest v1.14.6 MIT
github.com/fsnotify/fsnotify v1.8.0 BSD-3-Clause
github.com/go-logr/logr v1.4.1 Apache-2.0
github.com/go-logr/stdr v1.2.2 Apache-2.0
github.com/go-playground/locales v0.14.1 MIT
github.com/go-playground/universal-translator v0.18.1 MIT
github.com/gogo/protobuf v1.3.2 BSD-3-Clause
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da Apache-2.0
github.com/golang/mock v1.6.0 Apache-2.0
github.com/golang/protobuf v1.5.3 BSD-3-Clause
github.com/google/go-cmp v0.6.0 BSD-3-Clause
github.com/google/s2a-go v0.1.7 Apache-2.0
github.com/google/uuid v1.4.0 BSD-3-Clause
github.com/googleapis/enterprise-certificate-proxy v0.3.2 Apache-2.0
github.com/googleapis/gax-go/v2 v2.12.3 BSD-3-Clause
github.com/googleapis/google-cloud-go-testing v0.0.0-20210719221736-1c9a4c676720 Apache-2.0
github.com/hashicorp/consul/api v1.28.2 MPL-2.0
github.com/hashicorp/errwrap v1.1.0 MPL-2.0
github.com/hashicorp/go-cleanhttp v0.5.2 MPL-2.0
github.com/hashicorp/go-hclog v1.5.0 MIT
github.com/hashicorp/go-immutable-radix v1.3.1 MPL-2.0
github.com/hashicorp/go-multierror v1.1.1 MPL-2.0
github.com/hashicorp/go-rootcerts v1.0.2 MPL-2.0
github.com/hashicorp/golang-lru v0.5.4 MPL-2.0
github.com/hashicorp/hcl v1.0.0 MPL-2.0
github.com/hashicorp/serf v0.10.1 MPL-2.0
github.com/json-iterator/go v1.1.12 MIT
github.com/klauspost/compress v1.17.2 Apache-2.0
BSD-3-CLAUSE-NO-TRADEMARK
BSD-3-Clause
MIT
github.com/kr/fs v0.1.0 BSD-3-Clause
github.com/kr/pretty v0.3.1 MIT
github.com/kr/text v0.2.0 MIT
github.com/leodido/go-urn v1.4.0 MIT
github.com/magiconair/properties v1.8.7 BSD-2-Clause
github.com/mattn/go-colorable v0.1.13 MIT
github.com/mattn/go-isatty v0.0.17 MIT
github.com/mitchellh/go-homedir v1.1.0 MIT
github.com/mitchellh/mapstructure v1.5.0 MIT
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd Apache-2.0
github.com/modern-go/reflect2 v1.0.2 Apache-2.0
github.com/nats-io/nats.go v1.34.0 Apache-2.0
github.com/nats-io/nkeys v0.4.7 Apache-2.0
github.com/nats-io/nuid v1.0.1 Apache-2.0
github.com/pelletier/go-toml/v2 v2.2.3 MIT
github.com/pkg/errors v0.9.1 BSD-2-Clause
github.com/pkg/sftp v1.13.6 BSD-2-Clause
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 BSD-3-Clause
github.com/rogpeppe/go-internal v1.9.0 BSD-3-Clause
github.com/sagikazarmark/crypt v0.19.0 MIT
github.com/sagikazarmark/locafero v0.6.0 MIT
github.com/sagikazarmark/slog-shim v0.1.0 BSD-3-Clause
github.com/sourcegraph/conc v0.3.0 MIT
github.com/spf13/afero v1.11.0 Apache-2.0
github.com/spf13/cast v1.7.0 MIT
github.com/spf13/pflag v1.0.5 BSD-3-Clause
github.com/spf13/viper v1.19.0 MIT
github.com/stretchr/objx v0.5.2 MIT
github.com/stretchr/testify v1.9.0 MIT
github.com/subosito/gotenv v1.6.0 MIT
github.com/yuin/goldmark v1.3.5 MIT
go.etcd.io/etcd/api/v3 v3.5.12 Apache-2.0
go.etcd.io/etcd/client/pkg/v3 v3.5.12 Apache-2.0
go.etcd.io/etcd/client/v2 v2.305.12 Apache-2.0
go.etcd.io/etcd/client/v3 v3.5.12 Apache-2.0
go.opencensus.io v0.24.0 Apache-2.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 Apache-2.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 Apache-2.0
go.opentelemetry.io/otel/metric v1.24.0 Apache-2.0
go.opentelemetry.io/otel/trace v1.24.0 Apache-2.0
go.opentelemetry.io/otel v1.24.0 Apache-2.0
go.uber.org/atomic v1.9.0 MIT
go.uber.org/multierr v1.11.0 MIT
go.uber.org/zap v1.21.0 MIT
golang.org/x/crypto v0.21.0 BSD-3-Clause
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c BSD-3-Clause
golang.org/x/mod v0.21.0 BSD-3-Clause
golang.org/x/net v0.23.0 BSD-3-Clause
golang.org/x/oauth2 v0.18.0 BSD-3-Clause
golang.org/x/sync v0.9.0 BSD-3-Clause
golang.org/x/sys v0.27.0 BSD-3-Clause
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 BSD-3-Clause
golang.org/x/text v0.20.0 BSD-3-Clause
golang.org/x/time v0.5.0 BSD-3-Clause
golang.org/x/tools v0.26.0 BSD-3-Clause
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 BSD-3-Clause
google.golang.org/api v0.171.0 BSD-3-Clause
google.golang.org/appengine v1.6.8 Apache-2.0
google.golang.org/genproto/googleapis/api v0.0.0-20240311132316-a219d84964c2 Apache-2.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c Apache-2.0
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 Apache-2.0
google.golang.org/grpc v1.62.1 Apache-2.0
google.golang.org/protobuf v1.33.0 BSD-3-Clause
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 BSD-2-Clause
gopkg.in/go-playground/assert.v1 v1.2.1 MIT
gopkg.in/go-playground/validator.v9 v9.31.0 MIT
gopkg.in/ini.v1 v1.67.0 Apache-2.0
gopkg.in/yaml.v3 v3.0.1 Apache-2.0
MIT
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 162 in pkg/ptr/ptr_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `b` is always `true`

Check warning on line 162 in pkg/ptr/ptr_test.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Bool condition

Expression `b` is always `true`

Check notice on line 105 in pkg/service/loadbalancer/service_listener.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'DisableListenerGeoIP ...' (with an optional leading article)

Check notice on line 244 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetRegions ...' (with an optional leading article)

Check notice on line 66 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetV1Hosts ...' (with an optional leading article)

Check notice on line 629 in pkg/service/ecloud/request.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'PatchNATOverloadRuleRequest ...' (with an optional leading article)

Check notice on line 9 in pkg/service/cloudflare/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetAccounts ...' (with an optional leading article)

Check notice on line 66 in pkg/service/ecloud/service_availabilityzone.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetAvailabilityZoneIOPSTiersPaginated ...' (with an optional leading article)

Check notice on line 85 in pkg/service/loadbalancer/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetListenerCertificates ...' (with an optional leading article)

Check notice on line 401 in pkg/service/ecloud/error.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'LoadBalancerSpecNotFoundError ...' (with an optional leading article)

Check notice on line 32 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetSolutions ...' (with an optional leading article)

Check notice on line 31 in pkg/service/ecloud/service_iops.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetIOPSTier ...' (with an optional leading article)

Check notice on line 102 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetCredits ...' (with an optional leading article)

Check notice on line 227 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetRouters ...' (with an optional leading article)

Check notice on line 36 in pkg/service/cloudflare/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetTotalSpendMonthToDate ...' (with an optional leading article)

Check notice on line 198 in pkg/service/ecloud/service_vpnsession.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'UpdateVPNSessionPreSharedKey ...' (with an optional leading article)

Check notice on line 25 in pkg/service/loadbalancer/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetTargetGroups ...' (with an optional leading article)

Check notice on line 626 in pkg/service/pss/model.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'SupportedService ...' (with an optional leading article)

Check notice on line 420 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetVPNGatewaySpecifications ...' (with an optional leading article)

Check notice on line 111 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetVPCs ...' (with an optional leading article)

Check notice on line 284 in pkg/service/ecloud/error.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'HostGroupNotFoundError ...' (with an optional leading article)

Check notice on line 17 in pkg/service/loadbalancer/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetDeployments ...' (with an optional leading article)

Check notice on line 252 in pkg/service/pss/service_case.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetCaseUpdate ...' (with an optional leading article)

Check notice on line 371 in pkg/service/ecloud/service.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'GetVPNEndpoints ...' (with an optional leading article)

Check notice on line 595 in pkg/service/pss/model.go

See this annotation in the file changed.

@github-actions github-actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'ProblemCase ...' (with an optional leading article)