Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance secure_backup property is readonly #165

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

Xiol
Copy link
Contributor

@Xiol Xiol commented Nov 13, 2024

secure_backup property on an instance is readonly and indicates agent-level backups are working correctly.

Also adds the ability to patch the backup gateway ID on an instance.

@Xiol Xiol self-assigned this Nov 13, 2024
@Xiol Xiol merged commit 70245cb into master Nov 13, 2024
1 check passed
@Xiol Xiol deleted the secure-backup-readonly-prop branch November 13, 2024 12:35
Copy link

Qodana for Go

1355 new problems were found

Inspection name Severity Problems
Deprecated element 🔶 Warning 1036
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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant