From b0e24a3bf0e05da34f3a9596c3968b9e44613705 Mon Sep 17 00:00:00 2001 From: Itamar Perez Date: Thu, 18 Jul 2024 11:08:27 -0700 Subject: [PATCH] srun make update --- pkg/plugin/generated/ObjectStore.pb.go | 154 ++++++++++++------------- 1 file changed, 73 insertions(+), 81 deletions(-) diff --git a/pkg/plugin/generated/ObjectStore.pb.go b/pkg/plugin/generated/ObjectStore.pb.go index b9d6915754..d43978641a 100644 --- a/pkg/plugin/generated/ObjectStore.pb.go +++ b/pkg/plugin/generated/ObjectStore.pb.go @@ -673,17 +673,17 @@ func (x *CreateSignedURLRequest) GetTtl() int64 { return 0 } -type HeaderEntry struct { +type CreateSignedURLResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Headers map[string]*HeaderValues `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *HeaderEntry) Reset() { - *x = HeaderEntry{} +func (x *CreateSignedURLResponse) Reset() { + *x = CreateSignedURLResponse{} if protoimpl.UnsafeEnabled { mi := &file_ObjectStore_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -691,14 +691,14 @@ func (x *HeaderEntry) Reset() { } } -func (x *HeaderEntry) String() string { +func (x *CreateSignedURLResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*HeaderEntry) ProtoMessage() {} +func (*CreateSignedURLResponse) ProtoMessage() {} -func (x *HeaderEntry) ProtoReflect() protoreflect.Message { - mi := &file_ObjectStore_proto_msgTypes[11] +func (x *CreateSignedURLResponse) ProtoReflect() protoreflect.Message { + mi := &file_ObjectStore_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -709,34 +709,25 @@ func (x *HeaderEntry) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use HeaderEntry.ProtoReflect.Descriptor instead. -func (*HeaderEntry) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateSignedURLResponse.ProtoReflect.Descriptor instead. +func (*CreateSignedURLResponse) Descriptor() ([]byte, []int) { return file_ObjectStore_proto_rawDescGZIP(), []int{11} } -func (x *HeaderEntry) GetKey() string { +func (x *CreateSignedURLResponse) GetUrl() string { if x != nil { - return x.Key + return x.Url } return "" } -func (x *HeaderEntry) GetValue() []string { +func (x *CreateSignedURLResponse) GetHeaders() map[string]*HeaderValues { if x != nil { - return x.Value + return x.Headers } return nil } -type CreateSignedURLResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Headers map[string]*HeaderValues `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=values,proto3"` -} - type HeaderValues struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -745,8 +736,8 @@ type HeaderValues struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` } -func (x *CreateSignedURLResponse) Reset() { - *x = CreateSignedURLResponse{} +func (x *HeaderValues) Reset() { + *x = HeaderValues{} if protoimpl.UnsafeEnabled { mi := &file_ObjectStore_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -754,13 +745,13 @@ func (x *CreateSignedURLResponse) Reset() { } } -func (x *CreateSignedURLResponse) String() string { +func (x *HeaderValues) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CreateSignedURLResponse) ProtoMessage() {} +func (*HeaderValues) ProtoMessage() {} -func (x *CreateSignedURLResponse) ProtoReflect() protoreflect.Message { +func (x *HeaderValues) ProtoReflect() protoreflect.Message { mi := &file_ObjectStore_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -772,25 +763,18 @@ func (x *CreateSignedURLResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CreateSignedURLResponse.ProtoReflect.Descriptor instead. -func (*CreateSignedURLResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use HeaderValues.ProtoReflect.Descriptor instead. +func (*HeaderValues) Descriptor() ([]byte, []int) { return file_ObjectStore_proto_rawDescGZIP(), []int{12} } -func (x *CreateSignedURLResponse) GetHeaders() map[string]*HeaderValues { +func (x *HeaderValues) GetValues() []string { if x != nil { - return x.Headers + return x.Values } return nil } -func (x *CreateSignedURLResponse) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - type ObjectStoreInitRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -907,16 +891,22 @@ var file_ObjectStore_proto_rawDesc = []byte{ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, - 0x22, 0x35, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5d, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xb2, 0x01, 0x0a, 0x16, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x22, 0xcb, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x49, + 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x53, 0x0a, 0x0c, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, + 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x16, + 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xb2, 0x01, 0x0a, 0x16, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x45, 0x0a, 0x06, 0x63, 0x6f, 0x6e, @@ -985,7 +975,7 @@ func file_ObjectStore_proto_rawDescGZIP() []byte { return file_ObjectStore_proto_rawDescData } -var file_ObjectStore_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_ObjectStore_proto_msgTypes = make([]protoimpl.MessageInfo, 16) var file_ObjectStore_proto_goTypes = []interface{}{ (*PutObjectRequest)(nil), // 0: generated.PutObjectRequest (*ObjectExistsRequest)(nil), // 1: generated.ObjectExistsRequest @@ -998,36 +988,38 @@ var file_ObjectStore_proto_goTypes = []interface{}{ (*ListObjectsResponse)(nil), // 8: generated.ListObjectsResponse (*DeleteObjectRequest)(nil), // 9: generated.DeleteObjectRequest (*CreateSignedURLRequest)(nil), // 10: generated.CreateSignedURLRequest - (*HeaderEntry)(nil), // 11: generated.HeaderEntry - (*CreateSignedURLResponse)(nil), // 12: generated.CreateSignedURLResponse + (*CreateSignedURLResponse)(nil), // 11: generated.CreateSignedURLResponse + (*HeaderValues)(nil), // 12: generated.HeaderValues (*ObjectStoreInitRequest)(nil), // 13: generated.ObjectStoreInitRequest - nil, // 14: generated.ObjectStoreInitRequest.ConfigEntry - (*Empty)(nil), // 15: generated.Empty + nil, // 14: generated.CreateSignedURLResponse.HeadersEntry + nil, // 15: generated.ObjectStoreInitRequest.ConfigEntry + (*Empty)(nil), // 16: generated.Empty } var file_ObjectStore_proto_depIdxs = []int32{ - 11, // 0: generated.CreateSignedURLResponse.headers:type_name -> generated.HeaderEntry - 14, // 1: generated.ObjectStoreInitRequest.config:type_name -> generated.ObjectStoreInitRequest.ConfigEntry - 13, // 2: generated.ObjectStore.Init:input_type -> generated.ObjectStoreInitRequest - 0, // 3: generated.ObjectStore.PutObject:input_type -> generated.PutObjectRequest - 1, // 4: generated.ObjectStore.ObjectExists:input_type -> generated.ObjectExistsRequest - 3, // 5: generated.ObjectStore.GetObject:input_type -> generated.GetObjectRequest - 5, // 6: generated.ObjectStore.ListCommonPrefixes:input_type -> generated.ListCommonPrefixesRequest - 7, // 7: generated.ObjectStore.ListObjects:input_type -> generated.ListObjectsRequest - 9, // 8: generated.ObjectStore.DeleteObject:input_type -> generated.DeleteObjectRequest - 10, // 9: generated.ObjectStore.CreateSignedURL:input_type -> generated.CreateSignedURLRequest - 15, // 10: generated.ObjectStore.Init:output_type -> generated.Empty - 15, // 11: generated.ObjectStore.PutObject:output_type -> generated.Empty - 2, // 12: generated.ObjectStore.ObjectExists:output_type -> generated.ObjectExistsResponse - 4, // 13: generated.ObjectStore.GetObject:output_type -> generated.Bytes - 6, // 14: generated.ObjectStore.ListCommonPrefixes:output_type -> generated.ListCommonPrefixesResponse - 8, // 15: generated.ObjectStore.ListObjects:output_type -> generated.ListObjectsResponse - 15, // 16: generated.ObjectStore.DeleteObject:output_type -> generated.Empty - 12, // 17: generated.ObjectStore.CreateSignedURL:output_type -> generated.CreateSignedURLResponse - 10, // [10:18] is the sub-list for method output_type - 2, // [2:10] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name + 14, // 0: generated.CreateSignedURLResponse.headers:type_name -> generated.CreateSignedURLResponse.HeadersEntry + 15, // 1: generated.ObjectStoreInitRequest.config:type_name -> generated.ObjectStoreInitRequest.ConfigEntry + 12, // 2: generated.CreateSignedURLResponse.HeadersEntry.value:type_name -> generated.HeaderValues + 13, // 3: generated.ObjectStore.Init:input_type -> generated.ObjectStoreInitRequest + 0, // 4: generated.ObjectStore.PutObject:input_type -> generated.PutObjectRequest + 1, // 5: generated.ObjectStore.ObjectExists:input_type -> generated.ObjectExistsRequest + 3, // 6: generated.ObjectStore.GetObject:input_type -> generated.GetObjectRequest + 5, // 7: generated.ObjectStore.ListCommonPrefixes:input_type -> generated.ListCommonPrefixesRequest + 7, // 8: generated.ObjectStore.ListObjects:input_type -> generated.ListObjectsRequest + 9, // 9: generated.ObjectStore.DeleteObject:input_type -> generated.DeleteObjectRequest + 10, // 10: generated.ObjectStore.CreateSignedURL:input_type -> generated.CreateSignedURLRequest + 16, // 11: generated.ObjectStore.Init:output_type -> generated.Empty + 16, // 12: generated.ObjectStore.PutObject:output_type -> generated.Empty + 2, // 13: generated.ObjectStore.ObjectExists:output_type -> generated.ObjectExistsResponse + 4, // 14: generated.ObjectStore.GetObject:output_type -> generated.Bytes + 6, // 15: generated.ObjectStore.ListCommonPrefixes:output_type -> generated.ListCommonPrefixesResponse + 8, // 16: generated.ObjectStore.ListObjects:output_type -> generated.ListObjectsResponse + 16, // 17: generated.ObjectStore.DeleteObject:output_type -> generated.Empty + 11, // 18: generated.ObjectStore.CreateSignedURL:output_type -> generated.CreateSignedURLResponse + 11, // [11:19] is the sub-list for method output_type + 3, // [3:11] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name } func init() { file_ObjectStore_proto_init() } @@ -1170,7 +1162,7 @@ func file_ObjectStore_proto_init() { } } file_ObjectStore_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HeaderEntry); i { + switch v := v.(*CreateSignedURLResponse); i { case 0: return &v.state case 1: @@ -1182,7 +1174,7 @@ func file_ObjectStore_proto_init() { } } file_ObjectStore_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSignedURLResponse); i { + switch v := v.(*HeaderValues); i { case 0: return &v.state case 1: @@ -1212,7 +1204,7 @@ func file_ObjectStore_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_ObjectStore_proto_rawDesc, NumEnums: 0, - NumMessages: 15, + NumMessages: 16, NumExtensions: 0, NumServices: 1, },