From 52dc87abecb1b1a94dbbd68ce43551688d30ee69 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Sun, 15 Dec 2024 01:00:09 +0100 Subject: [PATCH] chore: update generated files --- pb/image.pb.go | 270 +++++++++---------------------------------------- pb/notif.pb.go | 50 ++------- 2 files changed, 60 insertions(+), 260 deletions(-) diff --git a/pb/image.pb.go b/pb/image.pb.go index c56331fc1..0390b12c1 100644 --- a/pb/image.pb.go +++ b/pb/image.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.35.2 // protoc v3.17.3 // source: image.proto @@ -37,11 +37,9 @@ type Manifest struct { func (x *Manifest) Reset() { *x = Manifest{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Manifest) String() string { @@ -52,7 +50,7 @@ func (*Manifest) ProtoMessage() {} func (x *Manifest) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -124,11 +122,9 @@ type ImageListRequest struct { func (x *ImageListRequest) Reset() { *x = ImageListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageListRequest) String() string { @@ -139,7 +135,7 @@ func (*ImageListRequest) ProtoMessage() {} func (x *ImageListRequest) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,11 +160,9 @@ type ImageListResponse struct { func (x *ImageListResponse) Reset() { *x = ImageListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageListResponse) String() string { @@ -179,7 +173,7 @@ func (*ImageListResponse) ProtoMessage() {} func (x *ImageListResponse) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,11 +205,9 @@ type ImageInspectRequest struct { func (x *ImageInspectRequest) Reset() { *x = ImageInspectRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageInspectRequest) String() string { @@ -226,7 +218,7 @@ func (*ImageInspectRequest) ProtoMessage() {} func (x *ImageInspectRequest) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -258,11 +250,9 @@ type ImageInspectResponse struct { func (x *ImageInspectResponse) Reset() { *x = ImageInspectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageInspectResponse) String() string { @@ -273,7 +263,7 @@ func (*ImageInspectResponse) ProtoMessage() {} func (x *ImageInspectResponse) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,11 +295,9 @@ type ImageRemoveRequest struct { func (x *ImageRemoveRequest) Reset() { *x = ImageRemoveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageRemoveRequest) String() string { @@ -320,7 +308,7 @@ func (*ImageRemoveRequest) ProtoMessage() {} func (x *ImageRemoveRequest) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,11 +340,9 @@ type ImageRemoveResponse struct { func (x *ImageRemoveResponse) Reset() { *x = ImageRemoveResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageRemoveResponse) String() string { @@ -367,7 +353,7 @@ func (*ImageRemoveResponse) ProtoMessage() {} func (x *ImageRemoveResponse) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,11 +386,9 @@ type ImagePruneRequest struct { func (x *ImagePruneRequest) Reset() { *x = ImagePruneRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImagePruneRequest) String() string { @@ -415,7 +399,7 @@ func (*ImagePruneRequest) ProtoMessage() {} func (x *ImagePruneRequest) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +438,9 @@ type ImagePruneResponse struct { func (x *ImagePruneResponse) Reset() { *x = ImagePruneResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImagePruneResponse) String() string { @@ -469,7 +451,7 @@ func (*ImagePruneResponse) ProtoMessage() {} func (x *ImagePruneResponse) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -503,11 +485,9 @@ type ImageListResponse_Image struct { func (x *ImageListResponse_Image) Reset() { *x = ImageListResponse_Image{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageListResponse_Image) String() string { @@ -518,7 +498,7 @@ func (*ImageListResponse_Image) ProtoMessage() {} func (x *ImageListResponse_Image) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -565,11 +545,9 @@ type ImageInspectResponse_Image struct { func (x *ImageInspectResponse_Image) Reset() { *x = ImageInspectResponse_Image{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageInspectResponse_Image) String() string { @@ -580,7 +558,7 @@ func (*ImageInspectResponse_Image) ProtoMessage() {} func (x *ImageInspectResponse_Image) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -620,11 +598,9 @@ type ImagePruneResponse_Image struct { func (x *ImagePruneResponse_Image) Reset() { *x = ImagePruneResponse_Image{} - if protoimpl.UnsafeEnabled { - mi := &file_image_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_image_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImagePruneResponse_Image) String() string { @@ -635,7 +611,7 @@ func (*ImagePruneResponse_Image) ProtoMessage() {} func (x *ImagePruneResponse_Image) ProtoReflect() protoreflect.Message { mi := &file_image_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -769,7 +745,7 @@ func file_image_proto_rawDescGZIP() []byte { } var file_image_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_image_proto_goTypes = []interface{}{ +var file_image_proto_goTypes = []any{ (*Manifest)(nil), // 0: pb.Manifest (*ImageListRequest)(nil), // 1: pb.ImageListRequest (*ImageListResponse)(nil), // 2: pb.ImageListResponse @@ -815,152 +791,6 @@ func file_image_proto_init() { if File_image_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_image_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Manifest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageListRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageInspectRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageInspectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageRemoveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageRemoveResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImagePruneRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImagePruneResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageListResponse_Image); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageInspectResponse_Image); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_image_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImagePruneResponse_Image); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pb/notif.pb.go b/pb/notif.pb.go index 1843be360..724176534 100644 --- a/pb/notif.pb.go +++ b/pb/notif.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.35.2 // protoc v3.17.3 // source: notif.proto @@ -28,11 +28,9 @@ type NotifTestRequest struct { func (x *NotifTestRequest) Reset() { *x = NotifTestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_notif_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notif_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NotifTestRequest) String() string { @@ -43,7 +41,7 @@ func (*NotifTestRequest) ProtoMessage() {} func (x *NotifTestRequest) ProtoReflect() protoreflect.Message { mi := &file_notif_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -68,11 +66,9 @@ type NotifTestResponse struct { func (x *NotifTestResponse) Reset() { *x = NotifTestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_notif_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notif_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NotifTestResponse) String() string { @@ -83,7 +79,7 @@ func (*NotifTestResponse) ProtoMessage() {} func (x *NotifTestResponse) ProtoReflect() protoreflect.Message { mi := &file_notif_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -136,7 +132,7 @@ func file_notif_proto_rawDescGZIP() []byte { } var file_notif_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_notif_proto_goTypes = []interface{}{ +var file_notif_proto_goTypes = []any{ (*NotifTestRequest)(nil), // 0: pb.NotifTestRequest (*NotifTestResponse)(nil), // 1: pb.NotifTestResponse } @@ -155,32 +151,6 @@ func file_notif_proto_init() { if File_notif_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_notif_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotifTestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notif_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotifTestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{