chore: require go 1.22/1.23, upgrade protobuf, upgrade all deps
Go upgrade: - Go 1.23 is current => use that for release builds - Go 1.22 is less than one year old, it's desirable to support it. - The [`Go Toolchains`](https://go.dev/doc/toolchain) stuff is available in both of these (would also be in Go 1.21). That is quite nice stuff, but required some changes to how we versions we use in CircleCI and the `release-docker` Makefile target. Protobuf upgrade: - Go to protobuf GH release website - Download latest locally - run `sha256sum` - replace existing pinned hashes - `make generate` Deps upgrade: - `go get -t -u all` - repository moves aren't handled well automatically, fix manually - repeat until no changes
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.14.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v5.28.0
|
||||
// source: pdu.proto
|
||||
|
||||
package pdu
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -21,10 +20,6 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||
// of the legacy proto package is being used.
|
||||
const _ = proto.ProtoPackageIsVersion4
|
||||
|
||||
type ReplicationGuaranteeKind int32
|
||||
|
||||
const (
|
||||
@@ -1153,6 +1148,7 @@ type ReplicationCursorRes struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Types that are assignable to Result:
|
||||
//
|
||||
// *ReplicationCursorRes_Guid
|
||||
// *ReplicationCursorRes_Notexist
|
||||
Result isReplicationCursorRes_Result `protobuf_oneof:"Result"`
|
||||
@@ -1496,7 +1492,7 @@ func file_pdu_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_pdu_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_pdu_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
||||
var file_pdu_proto_goTypes = []interface{}{
|
||||
var file_pdu_proto_goTypes = []any{
|
||||
(ReplicationGuaranteeKind)(0), // 0: ReplicationGuaranteeKind
|
||||
(FilesystemVersion_VersionType)(0), // 1: FilesystemVersion.VersionType
|
||||
(*ListFilesystemReq)(nil), // 2: ListFilesystemReq
|
||||
@@ -1565,7 +1561,7 @@ func file_pdu_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_pdu_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListFilesystemReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1577,7 +1573,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListFilesystemRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1589,7 +1585,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Filesystem); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1601,7 +1597,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListFilesystemVersionsReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1613,7 +1609,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ListFilesystemVersionsRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1625,7 +1621,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*FilesystemVersion); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1637,7 +1633,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SendReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1649,7 +1645,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReplicationConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1661,7 +1657,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReplicationConfigProtection); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1673,7 +1669,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Property); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1685,7 +1681,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SendRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1697,7 +1693,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SendCompletedReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1709,7 +1705,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SendCompletedRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1721,7 +1717,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReceiveReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1733,7 +1729,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[14].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReceiveRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1745,7 +1741,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[15].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DestroySnapshotsReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1757,7 +1753,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[16].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DestroySnapshotRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1769,7 +1765,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[17].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DestroySnapshotsRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1781,7 +1777,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[18].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReplicationCursorReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1793,7 +1789,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[19].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReplicationCursorRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1805,7 +1801,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[20].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PingReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1817,7 +1813,7 @@ func file_pdu_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_pdu_proto_msgTypes[21].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PingRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1830,7 +1826,7 @@ func file_pdu_proto_init() {
|
||||
}
|
||||
}
|
||||
}
|
||||
file_pdu_proto_msgTypes[19].OneofWrappers = []interface{}{
|
||||
file_pdu_proto_msgTypes[19].OneofWrappers = []any{
|
||||
(*ReplicationCursorRes_Guid)(nil),
|
||||
(*ReplicationCursorRes_Notexist)(nil),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user