Fix error status when the user share the locked file

This commit is contained in:
Roman Perekhod
2023-05-22 15:59:48 +02:00
parent 2dfb20b354
commit 55b3bd2db7
21 changed files with 660 additions and 496 deletions
@@ -0,0 +1,6 @@
Enhancement: Fix err when the user share the locked file
Fix unexpected behavior when the user try to share the locked file
https://github.com/owncloud/ocis/pull/6357
https://github.com/owncloud/ocis/issues/6197
+3 -3
View File
@@ -12,8 +12,8 @@ require (
github.com/blevesearch/bleve/v2 v2.3.7 github.com/blevesearch/bleve/v2 v2.3.7
github.com/coreos/go-oidc v2.2.1+incompatible github.com/coreos/go-oidc v2.2.1+incompatible
github.com/coreos/go-oidc/v3 v3.4.0 github.com/coreos/go-oidc/v3 v3.4.0
github.com/cs3org/go-cs3apis v0.0.0-20221012090518-ef2996678965 github.com/cs3org/go-cs3apis v0.0.0-20230516150832-730ac860c71d
github.com/cs3org/reva/v2 v2.13.4-0.20230522074943-fde10c4f3dea github.com/cs3org/reva/v2 v2.13.4-0.20230522082327-0d66bdd610d3
github.com/disintegration/imaging v1.6.2 github.com/disintegration/imaging v1.6.2
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
github.com/egirna/icap-client v0.1.1 github.com/egirna/icap-client v0.1.1
@@ -320,4 +320,4 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect sigs.k8s.io/yaml v1.3.0 // indirect
) )
replace github.com/cs3org/go-cs3apis => github.com/c0rby/go-cs3apis v0.0.0-20230110100311-5b424f1baa35 replace github.com/cs3org/go-cs3apis => github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1
+4 -4
View File
@@ -388,6 +388,8 @@ contrib.go.opencensus.io/exporter/ocagent v0.4.12/go.mod h1:450APlNTSR6FrvC3CTRq
contrib.go.opencensus.io/exporter/prometheus v0.4.2 h1:sqfsYl5GIY/L570iT+l93ehxaWJs2/OwXtiWwew3oAg= contrib.go.opencensus.io/exporter/prometheus v0.4.2 h1:sqfsYl5GIY/L570iT+l93ehxaWJs2/OwXtiWwew3oAg=
contrib.go.opencensus.io/exporter/prometheus v0.4.2/go.mod h1:dvEHbiKmgvbr5pjaF9fpw1KeYcjrnC1J8B+JKjsZyRQ= contrib.go.opencensus.io/exporter/prometheus v0.4.2/go.mod h1:dvEHbiKmgvbr5pjaF9fpw1KeYcjrnC1J8B+JKjsZyRQ=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1 h1:dOIG9lXUo5CAZbjlegvZpeTqfAlH+zn+0uXbtlZjCPY=
github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k= github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k=
github.com/Azure/azure-sdk-for-go v32.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v32.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-storage-blob-go v0.14.0/go.mod h1:SMqIBi+SuiQH32bvyjngEewEeXoPfKMgWlBDaYf6fck= github.com/Azure/azure-storage-blob-go v0.14.0/go.mod h1:SMqIBi+SuiQH32bvyjngEewEeXoPfKMgWlBDaYf6fck=
@@ -562,8 +564,6 @@ github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBW
github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA= github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA=
github.com/c-bata/go-prompt v0.2.5/go.mod h1:vFnjEGDIIA/Lib7giyE4E9c50Lvl8j0S+7FVlAwDAVw= github.com/c-bata/go-prompt v0.2.5/go.mod h1:vFnjEGDIIA/Lib7giyE4E9c50Lvl8j0S+7FVlAwDAVw=
github.com/c0rby/go-cs3apis v0.0.0-20230110100311-5b424f1baa35 h1:bbpRY/l4z5MTH+TRGZdkIqDM9JXQQewJdO1o+80zcok=
github.com/c0rby/go-cs3apis v0.0.0-20230110100311-5b424f1baa35/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
github.com/cenkalti/backoff/v4 v4.1.0/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.1.0/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
@@ -627,8 +627,8 @@ github.com/crewjam/httperr v0.2.0 h1:b2BfXR8U3AlIHwNeFFvZ+BV1LFvKLlzMjzaTnZMybNo
github.com/crewjam/httperr v0.2.0/go.mod h1:Jlz+Sg/XqBQhyMjdDiC+GNNRzZTD7x39Gu3pglZ5oH4= github.com/crewjam/httperr v0.2.0/go.mod h1:Jlz+Sg/XqBQhyMjdDiC+GNNRzZTD7x39Gu3pglZ5oH4=
github.com/crewjam/saml v0.4.13 h1:TYHggH/hwP7eArqiXSJUvtOPNzQDyQ7vwmwEqlFWhMc= github.com/crewjam/saml v0.4.13 h1:TYHggH/hwP7eArqiXSJUvtOPNzQDyQ7vwmwEqlFWhMc=
github.com/crewjam/saml v0.4.13/go.mod h1:igEejV+fihTIlHXYP8zOec3V5A8y3lws5bQBFsTm4gA= github.com/crewjam/saml v0.4.13/go.mod h1:igEejV+fihTIlHXYP8zOec3V5A8y3lws5bQBFsTm4gA=
github.com/cs3org/reva/v2 v2.13.4-0.20230522074943-fde10c4f3dea h1:UDl1PP9Ydr/0NE1pXPzYSUJrmltFottU9QKcFgf4o40= github.com/cs3org/reva/v2 v2.13.4-0.20230522082327-0d66bdd610d3 h1:YGqR0xnslU9wkQ8/XhZE0fJ87u5meecdvOQ15VKFiFM=
github.com/cs3org/reva/v2 v2.13.4-0.20230522074943-fde10c4f3dea/go.mod h1:MoymB39kU/myG7LFkaCwqtoXQHct+/8uoZAvJEmNi+I= github.com/cs3org/reva/v2 v2.13.4-0.20230522082327-0d66bdd610d3/go.mod h1:jkngU/36YdFNQfFurjgKl8URY2dkhwgJ5gQXt1GUoPw=
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8 h1:Z9lwXumT5ACSmJ7WGnFl+OMLLjpz5uR2fyz7dC255FI= github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8 h1:Z9lwXumT5ACSmJ7WGnFl+OMLLjpz5uR2fyz7dC255FI=
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8/go.mod h1:4abs/jPXcmJzYoYGF91JF9Uq9s/KL5n1jvFDix8KcqY= github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8/go.mod h1:4abs/jPXcmJzYoYGF91JF9Uq9s/KL5n1jvFDix8KcqY=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
+191 -189
View File
@@ -680,179 +680,179 @@ func init() {
} }
var fileDescriptor_2d35d050f2c88549 = []byte{ var fileDescriptor_2d35d050f2c88549 = []byte{
// 2749 bytes of a gzipped FileDescriptorProto // 2740 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0xdb, 0x73, 0xdc, 0xb6, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5b, 0x6f, 0xdc, 0xc6,
0xf5, 0xfe, 0x51, 0x72, 0x14, 0x0b, 0xb2, 0x64, 0x19, 0xb2, 0x63, 0x45, 0xc9, 0x6f, 0xea, 0x51, 0x15, 0x2e, 0x25, 0x47, 0xb1, 0x46, 0x96, 0x2c, 0x53, 0x76, 0xac, 0x28, 0x29, 0x6a, 0x28, 0x75,
0xe2, 0xd8, 0x8e, 0xed, 0x95, 0x2d, 0xd9, 0x4e, 0x1c, 0x27, 0x9d, 0x59, 0x5d, 0xbc, 0xd9, 0xb1, 0x6c, 0xc7, 0xf6, 0xca, 0x96, 0x6c, 0x27, 0x8e, 0x93, 0x02, 0xab, 0x8b, 0x37, 0x0b, 0x5b, 0x91,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d, 0x06, 0xa5, 0xcf, 0xa0, 0x74, 0x77, 0x4c, 0xbc, 0xf4, 0x5e, 0xfa, 0x6f, 0xbb, 0x63, 0xe2, 0xbd, 0xf7, 0xd2, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x12, 0x3f, 0x74,
0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xda, 0xe4, 0xa2, 0x30, 0x36, 0x00, 0x00, 0x36, 0x36, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@@ -995,6 +995,7 @@ type GatewayAPIClient interface {
OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta15.OpenInAppResponse, error) OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta15.OpenInAppResponse, error)
// Creates a new share. // Creates a new share.
// MUST return CODE_NOT_FOUND if the resource reference does not exist. // MUST return CODE_NOT_FOUND if the resource reference does not exist.
// MUST return CODE_LOCKED if the resource reference already locked.
// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
// (owner, shared_resource, grantee). // (owner, shared_resource, grantee).
// New shares MUST be created in the state SHARE_STATE_PENDING. // New shares MUST be created in the state SHARE_STATE_PENDING.
@@ -1132,8 +1133,8 @@ type GatewayAPIClient interface {
ListAllProviders(ctx context.Context, in *v1beta114.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta114.ListAllProvidersResponse, error) ListAllProviders(ctx context.Context, in *v1beta114.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta114.ListAllProvidersResponse, error)
// Creates a new ocm share. // Creates a new ocm share.
CreateOCMCoreShare(ctx context.Context, in *v1beta115.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.CreateOCMCoreShareResponse, error) CreateOCMCoreShare(ctx context.Context, in *v1beta115.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta115.CreateOCMCoreShareResponse, error)
// Requests the destination to pull a resource from source. // Requests creation of a transfer.
PullTransfer(ctx context.Context, in *v1beta116.PullTransferRequest, opts ...grpc.CallOption) (*v1beta116.PullTransferResponse, error) CreateTransfer(ctx context.Context, in *v1beta116.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta116.CreateTransferResponse, error)
// Requests a transfer status. // Requests a transfer status.
GetTransferStatus(ctx context.Context, in *v1beta116.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta116.GetTransferStatusResponse, error) GetTransferStatus(ctx context.Context, in *v1beta116.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta116.GetTransferStatusResponse, error)
// Requests to cancel a transfer. // Requests to cancel a transfer.
@@ -1974,9 +1975,9 @@ func (c *gatewayAPIClient) CreateOCMCoreShare(ctx context.Context, in *v1beta115
return out, nil return out, nil
} }
func (c *gatewayAPIClient) PullTransfer(ctx context.Context, in *v1beta116.PullTransferRequest, opts ...grpc.CallOption) (*v1beta116.PullTransferResponse, error) { func (c *gatewayAPIClient) CreateTransfer(ctx context.Context, in *v1beta116.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta116.CreateTransferResponse, error) {
out := new(v1beta116.PullTransferResponse) out := new(v1beta116.CreateTransferResponse)
err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/PullTransfer", in, out, opts...) err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/CreateTransfer", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@@ -2158,6 +2159,7 @@ type GatewayAPIServer interface {
OpenInApp(context.Context, *OpenInAppRequest) (*v1beta15.OpenInAppResponse, error) OpenInApp(context.Context, *OpenInAppRequest) (*v1beta15.OpenInAppResponse, error)
// Creates a new share. // Creates a new share.
// MUST return CODE_NOT_FOUND if the resource reference does not exist. // MUST return CODE_NOT_FOUND if the resource reference does not exist.
// MUST return CODE_LOCKED if the resource reference already locked.
// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
// (owner, shared_resource, grantee). // (owner, shared_resource, grantee).
// New shares MUST be created in the state SHARE_STATE_PENDING. // New shares MUST be created in the state SHARE_STATE_PENDING.
@@ -2295,8 +2297,8 @@ type GatewayAPIServer interface {
ListAllProviders(context.Context, *v1beta114.ListAllProvidersRequest) (*v1beta114.ListAllProvidersResponse, error) ListAllProviders(context.Context, *v1beta114.ListAllProvidersRequest) (*v1beta114.ListAllProvidersResponse, error)
// Creates a new ocm share. // Creates a new ocm share.
CreateOCMCoreShare(context.Context, *v1beta115.CreateOCMCoreShareRequest) (*v1beta115.CreateOCMCoreShareResponse, error) CreateOCMCoreShare(context.Context, *v1beta115.CreateOCMCoreShareRequest) (*v1beta115.CreateOCMCoreShareResponse, error)
// Requests the destination to pull a resource from source. // Requests creation of a transfer.
PullTransfer(context.Context, *v1beta116.PullTransferRequest) (*v1beta116.PullTransferResponse, error) CreateTransfer(context.Context, *v1beta116.CreateTransferRequest) (*v1beta116.CreateTransferResponse, error)
// Requests a transfer status. // Requests a transfer status.
GetTransferStatus(context.Context, *v1beta116.GetTransferStatusRequest) (*v1beta116.GetTransferStatusResponse, error) GetTransferStatus(context.Context, *v1beta116.GetTransferStatusRequest) (*v1beta116.GetTransferStatusResponse, error)
// Requests to cancel a transfer. // Requests to cancel a transfer.
@@ -2571,8 +2573,8 @@ func (*UnimplementedGatewayAPIServer) ListAllProviders(ctx context.Context, req
func (*UnimplementedGatewayAPIServer) CreateOCMCoreShare(ctx context.Context, req *v1beta115.CreateOCMCoreShareRequest) (*v1beta115.CreateOCMCoreShareResponse, error) { func (*UnimplementedGatewayAPIServer) CreateOCMCoreShare(ctx context.Context, req *v1beta115.CreateOCMCoreShareRequest) (*v1beta115.CreateOCMCoreShareResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateOCMCoreShare not implemented") return nil, status.Errorf(codes.Unimplemented, "method CreateOCMCoreShare not implemented")
} }
func (*UnimplementedGatewayAPIServer) PullTransfer(ctx context.Context, req *v1beta116.PullTransferRequest) (*v1beta116.PullTransferResponse, error) { func (*UnimplementedGatewayAPIServer) CreateTransfer(ctx context.Context, req *v1beta116.CreateTransferRequest) (*v1beta116.CreateTransferResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method PullTransfer not implemented") return nil, status.Errorf(codes.Unimplemented, "method CreateTransfer not implemented")
} }
func (*UnimplementedGatewayAPIServer) GetTransferStatus(ctx context.Context, req *v1beta116.GetTransferStatusRequest) (*v1beta116.GetTransferStatusResponse, error) { func (*UnimplementedGatewayAPIServer) GetTransferStatus(ctx context.Context, req *v1beta116.GetTransferStatusRequest) (*v1beta116.GetTransferStatusResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented") return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented")
@@ -4148,20 +4150,20 @@ func _GatewayAPI_CreateOCMCoreShare_Handler(srv interface{}, ctx context.Context
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _GatewayAPI_PullTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _GatewayAPI_CreateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1beta116.PullTransferRequest) in := new(v1beta116.CreateTransferRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
} }
if interceptor == nil { if interceptor == nil {
return srv.(GatewayAPIServer).PullTransfer(ctx, in) return srv.(GatewayAPIServer).CreateTransfer(ctx, in)
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/PullTransfer", FullMethod: "/cs3.gateway.v1beta1.GatewayAPI/CreateTransfer",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(GatewayAPIServer).PullTransfer(ctx, req.(*v1beta116.PullTransferRequest)) return srv.(GatewayAPIServer).CreateTransfer(ctx, req.(*v1beta116.CreateTransferRequest))
} }
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
@@ -4597,8 +4599,8 @@ var _GatewayAPI_serviceDesc = grpc.ServiceDesc{
Handler: _GatewayAPI_CreateOCMCoreShare_Handler, Handler: _GatewayAPI_CreateOCMCoreShare_Handler,
}, },
{ {
MethodName: "PullTransfer", MethodName: "CreateTransfer",
Handler: _GatewayAPI_PullTransfer_Handler, Handler: _GatewayAPI_CreateTransfer_Handler,
}, },
{ {
MethodName: "GetTransferStatus", MethodName: "GetTransferStatus",
+145 -55
View File
@@ -31,10 +31,13 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type GenerateInviteTokenRequest struct { type GenerateInviteTokenRequest struct {
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` // OPTIONAL.
XXX_unrecognized []byte `json:"-"` // The description of the token.
XXX_sizecache int32 `json:"-"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *GenerateInviteTokenRequest) Reset() { *m = GenerateInviteTokenRequest{} } func (m *GenerateInviteTokenRequest) Reset() { *m = GenerateInviteTokenRequest{} }
@@ -69,6 +72,13 @@ func (m *GenerateInviteTokenRequest) GetOpaque() *v1beta1.Opaque {
return nil return nil
} }
func (m *GenerateInviteTokenRequest) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type GenerateInviteTokenResponse struct { type GenerateInviteTokenResponse struct {
// REQUIRED. // REQUIRED.
// The response status. // The response status.
@@ -197,10 +207,19 @@ type ForwardInviteResponse struct {
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` // REQUIRED.
XXX_unrecognized []byte `json:"-"` // The initiator's user id of the workflow.
XXX_sizecache int32 `json:"-"` UserId *v1beta13.UserId `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// REQUIRED.
// The initiator's email of the workflow.
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
// REQUIRED.
// The initiator's display name of the workflow.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *ForwardInviteResponse) Reset() { *m = ForwardInviteResponse{} } func (m *ForwardInviteResponse) Reset() { *m = ForwardInviteResponse{} }
@@ -242,6 +261,27 @@ func (m *ForwardInviteResponse) GetOpaque() *v1beta1.Opaque {
return nil return nil
} }
func (m *ForwardInviteResponse) GetUserId() *v1beta13.UserId {
if m != nil {
return m.UserId
}
return nil
}
func (m *ForwardInviteResponse) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *ForwardInviteResponse) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
type AcceptInviteRequest struct { type AcceptInviteRequest struct {
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
@@ -309,10 +349,19 @@ type AcceptInviteResponse struct {
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` // REQUIRED.
XXX_unrecognized []byte `json:"-"` // The initiator's user id of the workflow.
XXX_sizecache int32 `json:"-"` UserId *v1beta13.UserId `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// REQUIRED.
// The initiator's email of the workflow.
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
// REQUIRED.
// The initiator's display name of the workflow.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *AcceptInviteResponse) Reset() { *m = AcceptInviteResponse{} } func (m *AcceptInviteResponse) Reset() { *m = AcceptInviteResponse{} }
@@ -354,6 +403,27 @@ func (m *AcceptInviteResponse) GetOpaque() *v1beta1.Opaque {
return nil return nil
} }
func (m *AcceptInviteResponse) GetUserId() *v1beta13.UserId {
if m != nil {
return m.UserId
}
return nil
}
func (m *AcceptInviteResponse) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *AcceptInviteResponse) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
type GetAcceptedUserRequest struct { type GetAcceptedUserRequest struct {
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
@@ -596,49 +666,53 @@ func init() {
} }
var fileDescriptor_b0e70953130e3677 = []byte{ var fileDescriptor_b0e70953130e3677 = []byte{
// 667 bytes of a gzipped FileDescriptorProto // 733 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xdf, 0x6e, 0xd3, 0x3e, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0xcf, 0x4e, 0x13, 0x41,
0x14, 0x56, 0xda, 0x9f, 0x2a, 0xed, 0xec, 0xcf, 0x4f, 0x64, 0xa3, 0xeb, 0x02, 0x88, 0x11, 0xa4, 0x18, 0xcf, 0xb6, 0x50, 0xc3, 0xd7, 0x82, 0x71, 0xc1, 0x52, 0x56, 0x8d, 0xa5, 0x26, 0x88, 0x11,
0x31, 0xc4, 0x48, 0xe9, 0xfa, 0x02, 0x6c, 0x93, 0x36, 0xf5, 0xaa, 0x55, 0x06, 0x5c, 0xa0, 0x4a, 0xb7, 0x96, 0xde, 0x3c, 0x09, 0x24, 0x90, 0x5e, 0x6c, 0x53, 0xd4, 0x83, 0x69, 0xd2, 0x2c, 0xbb,
0x55, 0xe6, 0x9c, 0x21, 0x8b, 0x25, 0xce, 0x6c, 0x77, 0x30, 0x90, 0x78, 0x0a, 0x9e, 0x80, 0x4b, 0x1f, 0x66, 0x62, 0x77, 0x67, 0x99, 0x99, 0xa2, 0xbd, 0xf8, 0x14, 0x3e, 0x81, 0x47, 0x5f, 0xc2,
0x5e, 0x82, 0x4b, 0x04, 0x97, 0x7b, 0x11, 0x5e, 0x01, 0xc5, 0x76, 0xb3, 0x6c, 0x4b, 0xa0, 0xeb, 0xa3, 0xd1, 0x23, 0x2f, 0xa2, 0x8f, 0x60, 0x76, 0x66, 0xba, 0x2c, 0x65, 0x57, 0x0b, 0x24, 0xc4,
0xa4, 0x8a, 0xbb, 0xba, 0xdf, 0x77, 0xbe, 0x73, 0xfc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a, 0xbe, 0xd6,
0xe8, 0x77, 0x49, 0xd4, 0xd7, 0x40, 0xdf, 0x00, 0x07, 0x35, 0xf5, 0xe5, 0xd4, 0xfe, 0x1d, 0x00, 0xfc, 0x00, 0xb7, 0xce, 0xcd, 0xa8, 0xf9, 0x34, 0xb3, 0x44, 0x19, 0xc7, 0xc6, 0x6a, 0x5c, 0xc0,
0x00, 0xff, 0xff, 0xb7, 0x73, 0x79, 0xaf, 0x36, 0x0a, 0x00, 0x00, 0x42, 0x29, 0x6f, 0x0f, 0xc1, 0x72, 0xa9, 0x9f, 0x61, 0xb7, 0xbd, 0xa0, 0xe7, 0x2d, 0x24, 0x9d,
0xe8, 0xbb, 0xaf, 0x63, 0xbc, 0x99, 0x57, 0x0c, 0x4d, 0xf8, 0x9c, 0xcb, 0xef, 0xb4, 0x5b, 0x5f,
0x72, 0xe5, 0x1d, 0xde, 0xb4, 0xdb, 0xae, 0xaf, 0x9f, 0x1e, 0xfb, 0x75, 0x63, 0x3b, 0x82, 0x7f,
0x48, 0xa0, 0xd7, 0x76, 0xfd, 0x9e, 0x02, 0x7a, 0x1a, 0x38, 0x28, 0xc8, 0xef, 0xc8, 0xe6, 0xef,
0x00, 0x00, 0x00, 0xff, 0xff, 0x5d, 0xbe, 0x67, 0xda, 0x44, 0x0b, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@@ -656,10 +730,18 @@ type InviteAPIClient interface {
// Generates a new token for the user with a validity of 24 hours. // Generates a new token for the user with a validity of 24 hours.
GenerateInviteToken(ctx context.Context, in *GenerateInviteTokenRequest, opts ...grpc.CallOption) (*GenerateInviteTokenResponse, error) GenerateInviteToken(ctx context.Context, in *GenerateInviteTokenRequest, opts ...grpc.CallOption) (*GenerateInviteTokenResponse, error)
// Forwards a received invite to the sync'n'share system provider. // Forwards a received invite to the sync'n'share system provider.
// MUST return CODE_NOT_FOUND if the token does not exist.
// MUST return CODE_INVALID_ARGUMENT if the token expired.
// MUST return CODE_ALREADY_EXISTS if the user already accepted an invite.
// MUST return CODE_PERMISSION_DENIED if the remote service is not trusted to accept invitations.
ForwardInvite(ctx context.Context, in *ForwardInviteRequest, opts ...grpc.CallOption) (*ForwardInviteResponse, error) ForwardInvite(ctx context.Context, in *ForwardInviteRequest, opts ...grpc.CallOption) (*ForwardInviteResponse, error)
// Completes an invitation acceptance. // Completes an invitation acceptance.
// MUST return CODE_NOT_FOUND if the token does not exist.
// MUST return CODE_INVALID_ARGUMENT if the token expired.
// MUST return CODE_ALREADY_EXISTS if the user already accepted an invite.
AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*AcceptInviteResponse, error) AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*AcceptInviteResponse, error)
// Retrieves details about a remote user who has accepted an invite to share. // Retrieves details about a remote user who has accepted an invite to share.
// MUST return CODE_NOT_FOUND if the user does not exist.
GetAcceptedUser(ctx context.Context, in *GetAcceptedUserRequest, opts ...grpc.CallOption) (*GetAcceptedUserResponse, error) GetAcceptedUser(ctx context.Context, in *GetAcceptedUserRequest, opts ...grpc.CallOption) (*GetAcceptedUserResponse, error)
// Finds users who accepted invite tokens by their attributes. // Finds users who accepted invite tokens by their attributes.
FindAcceptedUsers(ctx context.Context, in *FindAcceptedUsersRequest, opts ...grpc.CallOption) (*FindAcceptedUsersResponse, error) FindAcceptedUsers(ctx context.Context, in *FindAcceptedUsersRequest, opts ...grpc.CallOption) (*FindAcceptedUsersResponse, error)
@@ -723,10 +805,18 @@ type InviteAPIServer interface {
// Generates a new token for the user with a validity of 24 hours. // Generates a new token for the user with a validity of 24 hours.
GenerateInviteToken(context.Context, *GenerateInviteTokenRequest) (*GenerateInviteTokenResponse, error) GenerateInviteToken(context.Context, *GenerateInviteTokenRequest) (*GenerateInviteTokenResponse, error)
// Forwards a received invite to the sync'n'share system provider. // Forwards a received invite to the sync'n'share system provider.
// MUST return CODE_NOT_FOUND if the token does not exist.
// MUST return CODE_INVALID_ARGUMENT if the token expired.
// MUST return CODE_ALREADY_EXISTS if the user already accepted an invite.
// MUST return CODE_PERMISSION_DENIED if the remote service is not trusted to accept invitations.
ForwardInvite(context.Context, *ForwardInviteRequest) (*ForwardInviteResponse, error) ForwardInvite(context.Context, *ForwardInviteRequest) (*ForwardInviteResponse, error)
// Completes an invitation acceptance. // Completes an invitation acceptance.
// MUST return CODE_NOT_FOUND if the token does not exist.
// MUST return CODE_INVALID_ARGUMENT if the token expired.
// MUST return CODE_ALREADY_EXISTS if the user already accepted an invite.
AcceptInvite(context.Context, *AcceptInviteRequest) (*AcceptInviteResponse, error) AcceptInvite(context.Context, *AcceptInviteRequest) (*AcceptInviteResponse, error)
// Retrieves details about a remote user who has accepted an invite to share. // Retrieves details about a remote user who has accepted an invite to share.
// MUST return CODE_NOT_FOUND if the user does not exist.
GetAcceptedUser(context.Context, *GetAcceptedUserRequest) (*GetAcceptedUserResponse, error) GetAcceptedUser(context.Context, *GetAcceptedUserRequest) (*GetAcceptedUserResponse, error)
// Finds users who accepted invite tokens by their attributes. // Finds users who accepted invite tokens by their attributes.
FindAcceptedUsers(context.Context, *FindAcceptedUsersRequest) (*FindAcceptedUsersResponse, error) FindAcceptedUsers(context.Context, *FindAcceptedUsersRequest) (*FindAcceptedUsersResponse, error)
+38 -28
View File
@@ -185,6 +185,13 @@ const (
// //
// HTTP Mapping: 507 Insufficient Storage // HTTP Mapping: 507 Insufficient Storage
Code_CODE_INSUFFICIENT_STORAGE Code = 19 Code_CODE_INSUFFICIENT_STORAGE Code = 19
//
// The ability to lock a resource is specific to some WebDAV servers.
// The HTTP 423 Locked error response code indicates that either
// the resources tentatively targeted by is locked, meaning it can't be accessed.
//
// HTTP Mapping: 423 Locked
Code_CODE_LOCKED Code = 20
) )
var Code_name = map[int32]string{ var Code_name = map[int32]string{
@@ -208,6 +215,7 @@ var Code_name = map[int32]string{
17: "CODE_DATA_LOSS", 17: "CODE_DATA_LOSS",
18: "CODE_REDIRECTION", 18: "CODE_REDIRECTION",
19: "CODE_INSUFFICIENT_STORAGE", 19: "CODE_INSUFFICIENT_STORAGE",
20: "CODE_LOCKED",
} }
var Code_value = map[string]int32{ var Code_value = map[string]int32{
@@ -231,6 +239,7 @@ var Code_value = map[string]int32{
"CODE_DATA_LOSS": 17, "CODE_DATA_LOSS": 17,
"CODE_REDIRECTION": 18, "CODE_REDIRECTION": 18,
"CODE_INSUFFICIENT_STORAGE": 19, "CODE_INSUFFICIENT_STORAGE": 19,
"CODE_LOCKED": 20,
} }
func (x Code) String() string { func (x Code) String() string {
@@ -248,32 +257,33 @@ func init() {
func init() { proto.RegisterFile("cs3/rpc/v1beta1/code.proto", fileDescriptor_d7978aa548ead3ec) } func init() { proto.RegisterFile("cs3/rpc/v1beta1/code.proto", fileDescriptor_d7978aa548ead3ec) }
var fileDescriptor_d7978aa548ead3ec = []byte{ var fileDescriptor_d7978aa548ead3ec = []byte{
// 427 bytes of a gzipped FileDescriptorProto // 437 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0xdd, 0x6e, 0xd3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0x5d, 0x6e, 0x13, 0x31,
0x14, 0xc7, 0x59, 0x3b, 0x36, 0x76, 0xf6, 0xd1, 0x53, 0x77, 0xdf, 0xc0, 0x0b, 0x70, 0x91, 0xaa, 0x10, 0xc7, 0x69, 0x52, 0x5a, 0x3a, 0x69, 0x9b, 0x89, 0x93, 0x7e, 0x02, 0x17, 0xe0, 0x61, 0xa3,
0xea, 0x13, 0x38, 0xf6, 0x49, 0x67, 0xcd, 0xb5, 0x23, 0xdb, 0x29, 0x05, 0x4d, 0xb2, 0x58, 0xd6, 0x28, 0x27, 0x70, 0xec, 0x49, 0x6a, 0xc5, 0xb1, 0x23, 0xdb,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3c, 0xba, 0xaa, 0x78,
0x00, 0xff, 0xff, 0xca, 0x09, 0x0e, 0x95, 0x65, 0x02, 0x00, 0x00, 0x6c, 0x94, 0xa7, 0x93, 0x74, 0x58, 0xd3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x1f, 0x7f,
0x3c, 0x76, 0x02, 0x00, 0x00,
} }
@@ -1222,6 +1222,7 @@ const _ = grpc.SupportPackageIsVersion4
type CollaborationAPIClient interface { type CollaborationAPIClient interface {
// Creates a new share. // Creates a new share.
// MUST return CODE_NOT_FOUND if the resource reference does not exist. // MUST return CODE_NOT_FOUND if the resource reference does not exist.
// MUST return CODE_LOCKED if the resource reference already locked.
// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
// (owner, shared_resource, grantee). // (owner, shared_resource, grantee).
// New shares MUST be created in the state SHARE_STATE_PENDING. // New shares MUST be created in the state SHARE_STATE_PENDING.
@@ -1333,6 +1334,7 @@ func (c *collaborationAPIClient) GetReceivedShare(ctx context.Context, in *GetRe
type CollaborationAPIServer interface { type CollaborationAPIServer interface {
// Creates a new share. // Creates a new share.
// MUST return CODE_NOT_FOUND if the resource reference does not exist. // MUST return CODE_NOT_FOUND if the resource reference does not exist.
// MUST return CODE_LOCKED if the resource reference already locked.
// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of // MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
// (owner, shared_resource, grantee). // (owner, shared_resource, grantee).
// New shares MUST be created in the state SHARE_STATE_PENDING. // New shares MUST be created in the state SHARE_STATE_PENDING.
+176 -166
View File
@@ -6,9 +6,9 @@ package txv1beta1
import ( import (
context "context" context "context"
fmt "fmt" fmt "fmt"
v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" v1beta12 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
v1beta12 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1"
v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" v1beta11 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
@@ -59,7 +59,7 @@ func (ListTransfersRequest_Filter_Type) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_13b0cfd696cc0a1f, []int{6, 0, 0} return fileDescriptor_13b0cfd696cc0a1f, []int{6, 0, 0}
} }
type PullTransferRequest struct { type CreateTransferRequest struct {
// REQUIRED. // REQUIRED.
// The source target URI. Should include at the minimum all the info needed to access the source. // The source target URI. Should include at the minimum all the info needed to access the source.
// https://golang.org/pkg/net/url/#URL provides a quick view of the format. // https://golang.org/pkg/net/url/#URL provides a quick view of the format.
@@ -68,115 +68,125 @@ type PullTransferRequest struct {
// The destination target URI. Should include at the minimum all the info needed to access the destination. // The destination target URI. Should include at the minimum all the info needed to access the destination.
// https://golang.org/pkg/net/url/#URL provides a quick view of the format. // https://golang.org/pkg/net/url/#URL provides a quick view of the format.
DestTargetUri string `protobuf:"bytes,2,opt,name=dest_target_uri,json=destTargetUri,proto3" json:"dest_target_uri,omitempty"` DestTargetUri string `protobuf:"bytes,2,opt,name=dest_target_uri,json=destTargetUri,proto3" json:"dest_target_uri,omitempty"`
// REQUIRED.
// The share Id of the share this transfer is based on.
ShareId *v1beta1.ShareId `protobuf:"bytes,3,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,4,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *PullTransferRequest) Reset() { *m = PullTransferRequest{} } func (m *CreateTransferRequest) Reset() { *m = CreateTransferRequest{} }
func (m *PullTransferRequest) String() string { return proto.CompactTextString(m) } func (m *CreateTransferRequest) String() string { return proto.CompactTextString(m) }
func (*PullTransferRequest) ProtoMessage() {} func (*CreateTransferRequest) ProtoMessage() {}
func (*PullTransferRequest) Descriptor() ([]byte, []int) { func (*CreateTransferRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_13b0cfd696cc0a1f, []int{0} return fileDescriptor_13b0cfd696cc0a1f, []int{0}
} }
func (m *PullTransferRequest) XXX_Unmarshal(b []byte) error { func (m *CreateTransferRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PullTransferRequest.Unmarshal(m, b) return xxx_messageInfo_CreateTransferRequest.Unmarshal(m, b)
} }
func (m *PullTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CreateTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PullTransferRequest.Marshal(b, m, deterministic) return xxx_messageInfo_CreateTransferRequest.Marshal(b, m, deterministic)
} }
func (m *PullTransferRequest) XXX_Merge(src proto.Message) { func (m *CreateTransferRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PullTransferRequest.Merge(m, src) xxx_messageInfo_CreateTransferRequest.Merge(m, src)
} }
func (m *PullTransferRequest) XXX_Size() int { func (m *CreateTransferRequest) XXX_Size() int {
return xxx_messageInfo_PullTransferRequest.Size(m) return xxx_messageInfo_CreateTransferRequest.Size(m)
} }
func (m *PullTransferRequest) XXX_DiscardUnknown() { func (m *CreateTransferRequest) XXX_DiscardUnknown() {
xxx_messageInfo_PullTransferRequest.DiscardUnknown(m) xxx_messageInfo_CreateTransferRequest.DiscardUnknown(m)
} }
var xxx_messageInfo_PullTransferRequest proto.InternalMessageInfo var xxx_messageInfo_CreateTransferRequest proto.InternalMessageInfo
func (m *PullTransferRequest) GetSrcTargetUri() string { func (m *CreateTransferRequest) GetSrcTargetUri() string {
if m != nil { if m != nil {
return m.SrcTargetUri return m.SrcTargetUri
} }
return "" return ""
} }
func (m *PullTransferRequest) GetDestTargetUri() string { func (m *CreateTransferRequest) GetDestTargetUri() string {
if m != nil { if m != nil {
return m.DestTargetUri return m.DestTargetUri
} }
return "" return ""
} }
func (m *PullTransferRequest) GetOpaque() *v1beta1.Opaque { func (m *CreateTransferRequest) GetShareId() *v1beta1.ShareId {
if m != nil {
return m.ShareId
}
return nil
}
func (m *CreateTransferRequest) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
return nil return nil
} }
type PullTransferResponse struct { type CreateTransferResponse struct {
// REQUIRED. // REQUIRED.
// The response status. // The response status.
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// REQUIRED. // REQUIRED.
// TxInfo, includes transfer id, status, description. // TxInfo, includes transfer id, status, description.
TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *PullTransferResponse) Reset() { *m = PullTransferResponse{} } func (m *CreateTransferResponse) Reset() { *m = CreateTransferResponse{} }
func (m *PullTransferResponse) String() string { return proto.CompactTextString(m) } func (m *CreateTransferResponse) String() string { return proto.CompactTextString(m) }
func (*PullTransferResponse) ProtoMessage() {} func (*CreateTransferResponse) ProtoMessage() {}
func (*PullTransferResponse) Descriptor() ([]byte, []int) { func (*CreateTransferResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_13b0cfd696cc0a1f, []int{1} return fileDescriptor_13b0cfd696cc0a1f, []int{1}
} }
func (m *PullTransferResponse) XXX_Unmarshal(b []byte) error { func (m *CreateTransferResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PullTransferResponse.Unmarshal(m, b) return xxx_messageInfo_CreateTransferResponse.Unmarshal(m, b)
} }
func (m *PullTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CreateTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PullTransferResponse.Marshal(b, m, deterministic) return xxx_messageInfo_CreateTransferResponse.Marshal(b, m, deterministic)
} }
func (m *PullTransferResponse) XXX_Merge(src proto.Message) { func (m *CreateTransferResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_PullTransferResponse.Merge(m, src) xxx_messageInfo_CreateTransferResponse.Merge(m, src)
} }
func (m *PullTransferResponse) XXX_Size() int { func (m *CreateTransferResponse) XXX_Size() int {
return xxx_messageInfo_PullTransferResponse.Size(m) return xxx_messageInfo_CreateTransferResponse.Size(m)
} }
func (m *PullTransferResponse) XXX_DiscardUnknown() { func (m *CreateTransferResponse) XXX_DiscardUnknown() {
xxx_messageInfo_PullTransferResponse.DiscardUnknown(m) xxx_messageInfo_CreateTransferResponse.DiscardUnknown(m)
} }
var xxx_messageInfo_PullTransferResponse proto.InternalMessageInfo var xxx_messageInfo_CreateTransferResponse proto.InternalMessageInfo
func (m *PullTransferResponse) GetStatus() *v1beta11.Status { func (m *CreateTransferResponse) GetStatus() *v1beta12.Status {
if m != nil { if m != nil {
return m.Status return m.Status
} }
return nil return nil
} }
func (m *PullTransferResponse) GetTxInfo() *TxInfo { func (m *CreateTransferResponse) GetTxInfo() *TxInfo {
if m != nil { if m != nil {
return m.TxInfo return m.TxInfo
} }
return nil return nil
} }
func (m *PullTransferResponse) GetOpaque() *v1beta1.Opaque { func (m *CreateTransferResponse) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -189,10 +199,10 @@ type GetTransferStatusRequest struct {
TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *GetTransferStatusRequest) Reset() { *m = GetTransferStatusRequest{} } func (m *GetTransferStatusRequest) Reset() { *m = GetTransferStatusRequest{} }
@@ -227,7 +237,7 @@ func (m *GetTransferStatusRequest) GetTxId() *TxId {
return nil return nil
} }
func (m *GetTransferStatusRequest) GetOpaque() *v1beta1.Opaque { func (m *GetTransferStatusRequest) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -237,16 +247,16 @@ func (m *GetTransferStatusRequest) GetOpaque() *v1beta1.Opaque {
type GetTransferStatusResponse struct { type GetTransferStatusResponse struct {
// REQUIRED. // REQUIRED.
// The response status. // The response status.
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// REQUIRED. // REQUIRED.
// TxInfo, includes ao. transfer id, status, description. // TxInfo, includes ao. transfer id, status, description.
TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *GetTransferStatusResponse) Reset() { *m = GetTransferStatusResponse{} } func (m *GetTransferStatusResponse) Reset() { *m = GetTransferStatusResponse{} }
@@ -274,7 +284,7 @@ func (m *GetTransferStatusResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_GetTransferStatusResponse proto.InternalMessageInfo var xxx_messageInfo_GetTransferStatusResponse proto.InternalMessageInfo
func (m *GetTransferStatusResponse) GetStatus() *v1beta11.Status { func (m *GetTransferStatusResponse) GetStatus() *v1beta12.Status {
if m != nil { if m != nil {
return m.Status return m.Status
} }
@@ -288,7 +298,7 @@ func (m *GetTransferStatusResponse) GetTxInfo() *TxInfo {
return nil return nil
} }
func (m *GetTransferStatusResponse) GetOpaque() *v1beta1.Opaque { func (m *GetTransferStatusResponse) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -301,10 +311,10 @@ type CancelTransferRequest struct {
TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *CancelTransferRequest) Reset() { *m = CancelTransferRequest{} } func (m *CancelTransferRequest) Reset() { *m = CancelTransferRequest{} }
@@ -339,7 +349,7 @@ func (m *CancelTransferRequest) GetTxId() *TxId {
return nil return nil
} }
func (m *CancelTransferRequest) GetOpaque() *v1beta1.Opaque { func (m *CancelTransferRequest) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -349,16 +359,16 @@ func (m *CancelTransferRequest) GetOpaque() *v1beta1.Opaque {
type CancelTransferResponse struct { type CancelTransferResponse struct {
// REQUIRED. // REQUIRED.
// The response status. // The response status.
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// REQUIRED. // REQUIRED.
// TxInfo, includes ao. transfer id, status, description. // TxInfo, includes ao. transfer id, status, description.
TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *CancelTransferResponse) Reset() { *m = CancelTransferResponse{} } func (m *CancelTransferResponse) Reset() { *m = CancelTransferResponse{} }
@@ -386,7 +396,7 @@ func (m *CancelTransferResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_CancelTransferResponse proto.InternalMessageInfo var xxx_messageInfo_CancelTransferResponse proto.InternalMessageInfo
func (m *CancelTransferResponse) GetStatus() *v1beta11.Status { func (m *CancelTransferResponse) GetStatus() *v1beta12.Status {
if m != nil { if m != nil {
return m.Status return m.Status
} }
@@ -400,7 +410,7 @@ func (m *CancelTransferResponse) GetTxInfo() *TxInfo {
return nil return nil
} }
func (m *CancelTransferResponse) GetOpaque() *v1beta1.Opaque { func (m *CancelTransferResponse) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -410,7 +420,7 @@ func (m *CancelTransferResponse) GetOpaque() *v1beta1.Opaque {
type ListTransfersRequest struct { type ListTransfersRequest struct {
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
// OPTIONAL. // OPTIONAL.
// The list of filters to apply if any. // The list of filters to apply if any.
Filters []*ListTransfersRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` Filters []*ListTransfersRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
@@ -444,7 +454,7 @@ func (m *ListTransfersRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ListTransfersRequest proto.InternalMessageInfo var xxx_messageInfo_ListTransfersRequest proto.InternalMessageInfo
func (m *ListTransfersRequest) GetOpaque() *v1beta1.Opaque { func (m *ListTransfersRequest) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -516,7 +526,7 @@ type ListTransfersRequest_Filter_Status struct {
} }
type ListTransfersRequest_Filter_ShareId struct { type ListTransfersRequest_Filter_ShareId struct {
ShareId *v1beta12.ShareId `protobuf:"bytes,3,opt,name=share_id,json=shareId,proto3,oneof"` ShareId *v1beta1.ShareId `protobuf:"bytes,3,opt,name=share_id,json=shareId,proto3,oneof"`
} }
type ListTransfersRequest_Filter_TxId struct { type ListTransfersRequest_Filter_TxId struct {
@@ -543,7 +553,7 @@ func (m *ListTransfersRequest_Filter) GetStatus() Status {
return Status_STATUS_INVALID return Status_STATUS_INVALID
} }
func (m *ListTransfersRequest_Filter) GetShareId() *v1beta12.ShareId { func (m *ListTransfersRequest_Filter) GetShareId() *v1beta1.ShareId {
if x, ok := m.GetTerm().(*ListTransfersRequest_Filter_ShareId); ok { if x, ok := m.GetTerm().(*ListTransfersRequest_Filter_ShareId); ok {
return x.ShareId return x.ShareId
} }
@@ -569,16 +579,16 @@ func (*ListTransfersRequest_Filter) XXX_OneofWrappers() []interface{} {
type ListTransfersResponse struct { type ListTransfersResponse struct {
// REQUIRED. // REQUIRED.
// The response status. // The response status.
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// REQUIRED. // REQUIRED.
// List of TxInfo types representing transfers. // List of TxInfo types representing transfers.
Transfers []*TxInfo `protobuf:"bytes,2,rep,name=transfers,proto3" json:"transfers,omitempty"` Transfers []*TxInfo `protobuf:"bytes,2,rep,name=transfers,proto3" json:"transfers,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *ListTransfersResponse) Reset() { *m = ListTransfersResponse{} } func (m *ListTransfersResponse) Reset() { *m = ListTransfersResponse{} }
@@ -606,7 +616,7 @@ func (m *ListTransfersResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_ListTransfersResponse proto.InternalMessageInfo var xxx_messageInfo_ListTransfersResponse proto.InternalMessageInfo
func (m *ListTransfersResponse) GetStatus() *v1beta11.Status { func (m *ListTransfersResponse) GetStatus() *v1beta12.Status {
if m != nil { if m != nil {
return m.Status return m.Status
} }
@@ -620,7 +630,7 @@ func (m *ListTransfersResponse) GetTransfers() []*TxInfo {
return nil return nil
} }
func (m *ListTransfersResponse) GetOpaque() *v1beta1.Opaque { func (m *ListTransfersResponse) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -633,10 +643,10 @@ type RetryTransferRequest struct {
TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` TxId *TxId `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *RetryTransferRequest) Reset() { *m = RetryTransferRequest{} } func (m *RetryTransferRequest) Reset() { *m = RetryTransferRequest{} }
@@ -671,7 +681,7 @@ func (m *RetryTransferRequest) GetTxId() *TxId {
return nil return nil
} }
func (m *RetryTransferRequest) GetOpaque() *v1beta1.Opaque { func (m *RetryTransferRequest) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -681,16 +691,16 @@ func (m *RetryTransferRequest) GetOpaque() *v1beta1.Opaque {
type RetryTransferResponse struct { type RetryTransferResponse struct {
// REQUIRED. // REQUIRED.
// The response status. // The response status.
Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Status *v1beta12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// REQUIRED. // REQUIRED.
// TxInfo, includes ao. transfer id, status, description. // TxInfo, includes ao. transfer id, status, description.
TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"` TxInfo *TxInfo `protobuf:"bytes,2,opt,name=tx_info,json=txInfo,proto3" json:"tx_info,omitempty"`
// OPTIONAL. // OPTIONAL.
// Opaque information. // Opaque information.
Opaque *v1beta1.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` Opaque *v1beta11.Opaque `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *RetryTransferResponse) Reset() { *m = RetryTransferResponse{} } func (m *RetryTransferResponse) Reset() { *m = RetryTransferResponse{} }
@@ -718,7 +728,7 @@ func (m *RetryTransferResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_RetryTransferResponse proto.InternalMessageInfo var xxx_messageInfo_RetryTransferResponse proto.InternalMessageInfo
func (m *RetryTransferResponse) GetStatus() *v1beta11.Status { func (m *RetryTransferResponse) GetStatus() *v1beta12.Status {
if m != nil { if m != nil {
return m.Status return m.Status
} }
@@ -732,7 +742,7 @@ func (m *RetryTransferResponse) GetTxInfo() *TxInfo {
return nil return nil
} }
func (m *RetryTransferResponse) GetOpaque() *v1beta1.Opaque { func (m *RetryTransferResponse) GetOpaque() *v1beta11.Opaque {
if m != nil { if m != nil {
return m.Opaque return m.Opaque
} }
@@ -741,8 +751,8 @@ func (m *RetryTransferResponse) GetOpaque() *v1beta1.Opaque {
func init() { func init() {
proto.RegisterEnum("cs3.tx.v1beta1.ListTransfersRequest_Filter_Type", ListTransfersRequest_Filter_Type_name, ListTransfersRequest_Filter_Type_value) proto.RegisterEnum("cs3.tx.v1beta1.ListTransfersRequest_Filter_Type", ListTransfersRequest_Filter_Type_name, ListTransfersRequest_Filter_Type_value)
proto.RegisterType((*PullTransferRequest)(nil), "cs3.tx.v1beta1.PullTransferRequest") proto.RegisterType((*CreateTransferRequest)(nil), "cs3.tx.v1beta1.CreateTransferRequest")
proto.RegisterType((*PullTransferResponse)(nil), "cs3.tx.v1beta1.PullTransferResponse") proto.RegisterType((*CreateTransferResponse)(nil), "cs3.tx.v1beta1.CreateTransferResponse")
proto.RegisterType((*GetTransferStatusRequest)(nil), "cs3.tx.v1beta1.GetTransferStatusRequest") proto.RegisterType((*GetTransferStatusRequest)(nil), "cs3.tx.v1beta1.GetTransferStatusRequest")
proto.RegisterType((*GetTransferStatusResponse)(nil), "cs3.tx.v1beta1.GetTransferStatusResponse") proto.RegisterType((*GetTransferStatusResponse)(nil), "cs3.tx.v1beta1.GetTransferStatusResponse")
proto.RegisterType((*CancelTransferRequest)(nil), "cs3.tx.v1beta1.CancelTransferRequest") proto.RegisterType((*CancelTransferRequest)(nil), "cs3.tx.v1beta1.CancelTransferRequest")
@@ -757,55 +767,55 @@ func init() {
func init() { proto.RegisterFile("cs3/tx/v1beta1/tx_api.proto", fileDescriptor_13b0cfd696cc0a1f) } func init() { proto.RegisterFile("cs3/tx/v1beta1/tx_api.proto", fileDescriptor_13b0cfd696cc0a1f) }
var fileDescriptor_13b0cfd696cc0a1f = []byte{ var fileDescriptor_13b0cfd696cc0a1f = []byte{
// 753 bytes of a gzipped FileDescriptorProto // 759 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x5d, 0x4f, 0xda, 0x50, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x5f, 0x4f, 0xda, 0x5c,
0x18, 0xa6, 0x05, 0x71, 0xbe, 0x28, 0xe2, 0x19, 0x3a, 0x64, 0x1f, 0x21, 0x4c, 0x1d, 0xc6, 0xa4, 0x18, 0xa7, 0x05, 0xf1, 0xf5, 0x41, 0x11, 0x4f, 0xc4, 0x17, 0x79, 0xff, 0x84, 0x10, 0x75, 0x18,
0x08, 0xec, 0x76, 0x17, 0xa0, 0x6e, 0x90, 0x98, 0x8d, 0xd4, 0x6a, 0x74, 0x31, 0x21, 0xb5, 0x1c, 0x93, 0x22, 0xb0, 0xbb, 0x65, 0x17, 0x80, 0x6e, 0x90, 0x98, 0x8d, 0xd4, 0x6a, 0xdc, 0x62, 0xd2,
0xb4, 0x89, 0xd0, 0x7a, 0xce, 0x61, 0xa9, 0x7f, 0x64, 0x3f, 0x60, 0x97, 0xfb, 0x48, 0xb6, 0xbf, 0xd4, 0x72, 0xd0, 0x26, 0x42, 0xeb, 0x39, 0x87, 0xa5, 0x7e, 0x9d, 0x5d, 0x2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, 0xd2, 0x0e, 0x3f, 0xca, 0xc9, 0x2d, 0x5a, 0x51, 0x34, 0x0e, 0xff, 0x40, 0xeb, 0x48, 0xef, 0x17, 0x98, 0xeb, 0x3b, 0x3e, 0xca, 0xf1, 0xa6, 0x76, 0xf2,
0x47, 0x39, 0x28, 0xd5, 0xdc, 0xf2, 0x0f, 0x5e, 0x38, 0xd6, 0x9c, 0x63, 0x51, 0x38, 0x89, 0xf3, 0x49, 0x4e, 0x37, 0x69, 0x4d, 0xd1, 0x5c, 0xe5, 0xb8, 0xd2, 0xe0, 0xe6, 0x1f, 0xc2, 0x70, 0xaa,
0xaf, 0xb2, 0xca, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa7, 0x1c, 0xfd, 0x29, 0x4a, 0x0a, 0x00, 0xb9, 0xa7, 0xbe, 0xe1, 0x2c, 0x29, 0x3e, 0xee, 0x6a, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfc,
0x00, 0xba, 0x11, 0x1e, 0x91, 0x0a, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@@ -820,9 +830,9 @@ const _ = grpc.SupportPackageIsVersion4
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type TxAPIClient interface { type TxAPIClient interface {
// Requests the destination to pull a resource from source. // Requests creation of a transfer.
// Returns a PullTransferResponse // Returns a CreateTransferResponse.
PullTransfer(ctx context.Context, in *PullTransferRequest, opts ...grpc.CallOption) (*PullTransferResponse, error) CreateTransfer(ctx context.Context, in *CreateTransferRequest, opts ...grpc.CallOption) (*CreateTransferResponse, error)
// Requests a transfer status. // Requests a transfer status.
GetTransferStatus(ctx context.Context, in *GetTransferStatusRequest, opts ...grpc.CallOption) (*GetTransferStatusResponse, error) GetTransferStatus(ctx context.Context, in *GetTransferStatusRequest, opts ...grpc.CallOption) (*GetTransferStatusResponse, error)
// Requests to cancel a transfer. // Requests to cancel a transfer.
@@ -842,9 +852,9 @@ func NewTxAPIClient(cc *grpc.ClientConn) TxAPIClient {
return &txAPIClient{cc} return &txAPIClient{cc}
} }
func (c *txAPIClient) PullTransfer(ctx context.Context, in *PullTransferRequest, opts ...grpc.CallOption) (*PullTransferResponse, error) { func (c *txAPIClient) CreateTransfer(ctx context.Context, in *CreateTransferRequest, opts ...grpc.CallOption) (*CreateTransferResponse, error) {
out := new(PullTransferResponse) out := new(CreateTransferResponse)
err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/PullTransfer", in, out, opts...) err := c.cc.Invoke(ctx, "/cs3.tx.v1beta1.TxAPI/CreateTransfer", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@@ -889,9 +899,9 @@ func (c *txAPIClient) RetryTransfer(ctx context.Context, in *RetryTransferReques
// TxAPIServer is the server API for TxAPI service. // TxAPIServer is the server API for TxAPI service.
type TxAPIServer interface { type TxAPIServer interface {
// Requests the destination to pull a resource from source. // Requests creation of a transfer.
// Returns a PullTransferResponse // Returns a CreateTransferResponse.
PullTransfer(context.Context, *PullTransferRequest) (*PullTransferResponse, error) CreateTransfer(context.Context, *CreateTransferRequest) (*CreateTransferResponse, error)
// Requests a transfer status. // Requests a transfer status.
GetTransferStatus(context.Context, *GetTransferStatusRequest) (*GetTransferStatusResponse, error) GetTransferStatus(context.Context, *GetTransferStatusRequest) (*GetTransferStatusResponse, error)
// Requests to cancel a transfer. // Requests to cancel a transfer.
@@ -907,8 +917,8 @@ type TxAPIServer interface {
type UnimplementedTxAPIServer struct { type UnimplementedTxAPIServer struct {
} }
func (*UnimplementedTxAPIServer) PullTransfer(ctx context.Context, req *PullTransferRequest) (*PullTransferResponse, error) { func (*UnimplementedTxAPIServer) CreateTransfer(ctx context.Context, req *CreateTransferRequest) (*CreateTransferResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method PullTransfer not implemented") return nil, status.Errorf(codes.Unimplemented, "method CreateTransfer not implemented")
} }
func (*UnimplementedTxAPIServer) GetTransferStatus(ctx context.Context, req *GetTransferStatusRequest) (*GetTransferStatusResponse, error) { func (*UnimplementedTxAPIServer) GetTransferStatus(ctx context.Context, req *GetTransferStatusRequest) (*GetTransferStatusResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented") return nil, status.Errorf(codes.Unimplemented, "method GetTransferStatus not implemented")
@@ -927,20 +937,20 @@ func RegisterTxAPIServer(s *grpc.Server, srv TxAPIServer) {
s.RegisterService(&_TxAPI_serviceDesc, srv) s.RegisterService(&_TxAPI_serviceDesc, srv)
} }
func _TxAPI_PullTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _TxAPI_CreateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PullTransferRequest) in := new(CreateTransferRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
} }
if interceptor == nil { if interceptor == nil {
return srv.(TxAPIServer).PullTransfer(ctx, in) return srv.(TxAPIServer).CreateTransfer(ctx, in)
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/cs3.tx.v1beta1.TxAPI/PullTransfer", FullMethod: "/cs3.tx.v1beta1.TxAPI/CreateTransfer",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TxAPIServer).PullTransfer(ctx, req.(*PullTransferRequest)) return srv.(TxAPIServer).CreateTransfer(ctx, req.(*CreateTransferRequest))
} }
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
@@ -1022,8 +1032,8 @@ var _TxAPI_serviceDesc = grpc.ServiceDesc{
HandlerType: (*TxAPIServer)(nil), HandlerType: (*TxAPIServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
MethodName: "PullTransfer", MethodName: "CreateTransfer",
Handler: _TxAPI_PullTransfer_Handler, Handler: _TxAPI_CreateTransfer_Handler,
}, },
{ {
MethodName: "GetTransferStatus", MethodName: "GetTransferStatus",
+4 -4
View File
@@ -156,7 +156,7 @@ func (s *service) UnprotectedEndpoints() []string {
return []string{} return []string{}
} }
func (s *service) PullTransfer(ctx context.Context, req *datatx.PullTransferRequest) (*datatx.PullTransferResponse, error) { func (s *service) CreateTransfer(ctx context.Context, req *datatx.CreateTransferRequest) (*datatx.CreateTransferResponse, error) {
srcEp, err := s.extractEndpointInfo(ctx, req.SrcTargetUri) srcEp, err := s.extractEndpointInfo(ctx, req.SrcTargetUri)
if err != nil { if err != nil {
return nil, err return nil, err
@@ -189,7 +189,7 @@ func (s *service) PullTransfer(ctx context.Context, req *datatx.PullTransferRequ
s.txShareDriver.model.TxShares[txInfo.GetId().OpaqueId] = txShare s.txShareDriver.model.TxShares[txInfo.GetId().OpaqueId] = txShare
if err := s.txShareDriver.model.saveTxShare(); err != nil { if err := s.txShareDriver.model.saveTxShare(); err != nil {
err = errors.Wrap(err, "datatx service: error saving transfer share: "+datatx.Status_STATUS_INVALID.String()) err = errors.Wrap(err, "datatx service: error saving transfer share: "+datatx.Status_STATUS_INVALID.String())
return &datatx.PullTransferResponse{ return &datatx.CreateTransferResponse{
Status: status.NewInvalid(ctx, "error pulling transfer"), Status: status.NewInvalid(ctx, "error pulling transfer"),
}, err }, err
} }
@@ -197,13 +197,13 @@ func (s *service) PullTransfer(ctx context.Context, req *datatx.PullTransferRequ
// now check start transfer outcome // now check start transfer outcome
if startTransferErr != nil { if startTransferErr != nil {
startTransferErr = errors.Wrap(startTransferErr, "datatx service: error starting transfer job") startTransferErr = errors.Wrap(startTransferErr, "datatx service: error starting transfer job")
return &datatx.PullTransferResponse{ return &datatx.CreateTransferResponse{
Status: status.NewInvalid(ctx, "datatx service: error pulling transfer"), Status: status.NewInvalid(ctx, "datatx service: error pulling transfer"),
TxInfo: txInfo, TxInfo: txInfo,
}, startTransferErr }, startTransferErr
} }
return &datatx.PullTransferResponse{ return &datatx.CreateTransferResponse{
Status: status.NewOK(ctx), Status: status.NewOK(ctx),
TxInfo: txInfo, TxInfo: txInfo,
}, err }, err
+3 -3
View File
@@ -27,15 +27,15 @@ import (
"github.com/pkg/errors" "github.com/pkg/errors"
) )
func (s *svc) PullTransfer(ctx context.Context, req *datatx.PullTransferRequest) (*datatx.PullTransferResponse, error) { func (s *svc) CreateTransfer(ctx context.Context, req *datatx.CreateTransferRequest) (*datatx.CreateTransferResponse, error) {
c, err := pool.GetDataTxClient(s.c.DataTxEndpoint) c, err := pool.GetDataTxClient(s.c.DataTxEndpoint)
if err != nil { if err != nil {
return &datatx.PullTransferResponse{ return &datatx.CreateTransferResponse{
Status: status.NewInternal(ctx, "error getting data transfer client"), Status: status.NewInternal(ctx, "error getting data transfer client"),
}, nil }, nil
} }
res, err := c.PullTransfer(ctx, req) res, err := c.CreateTransfer(ctx, req)
if err != nil { if err != nil {
return nil, errors.Wrap(err, "gateway: error calling PullTransfer") return nil, errors.Wrap(err, "gateway: error calling PullTransfer")
} }
@@ -345,12 +345,12 @@ func (s *svc) UpdateReceivedOCMShare(ctx context.Context, req *ocm.UpdateReceive
}, },
}, },
} }
req := &datatx.PullTransferRequest{ req := &datatx.CreateTransferRequest{
SrcTargetUri: srcTargetURI, SrcTargetUri: srcTargetURI,
DestTargetUri: destTargetURI, DestTargetUri: destTargetURI,
Opaque: opaqueObj, Opaque: opaqueObj,
} }
res, err := s.PullTransfer(ctx, req) res, err := s.CreateTransfer(ctx, req)
if err != nil { if err != nil {
log.Err(err).Msg("gateway: error calling PullTransfer") log.Err(err).Msg("gateway: error calling PullTransfer")
return &ocm.UpdateReceivedOCMShareResponse{ return &ocm.UpdateReceivedOCMShareResponse{
@@ -468,6 +468,23 @@ func (s *svc) addShare(ctx context.Context, req *collaboration.CreateShareReques
return res, nil return res, nil
} }
rollBackFn := func(status *rpc.Status) {
rmvReq := &collaboration.RemoveShareRequest{
Ref: &collaboration.ShareReference{
Spec: &collaboration.ShareReference_Key{
Key: &collaboration.ShareKey{
ResourceId: req.ResourceInfo.Id,
Grantee: req.Grant.Grantee,
},
},
},
}
appctx.GetLogger(ctx).Debug().Interface("status", status).Interface("req", req).Msg("rollback the CreateShare attempt")
if resp, err := s.removeShare(ctx, rmvReq); err != nil {
appctx.GetLogger(ctx).Debug().Interface("status", resp.GetStatus()).Interface("req", req).Msg(err.Error())
}
}
if s.c.CommitShareToStorageGrant { if s.c.CommitShareToStorageGrant {
// If the share is a denial we call denyGrant instead. // If the share is a denial we call denyGrant instead.
var status *rpc.Status var status *rpc.Status
@@ -479,6 +496,8 @@ func (s *svc) addShare(ctx context.Context, req *collaboration.CreateShareReques
} else { } else {
status, err = s.addGrant(ctx, req.ResourceInfo.Id, req.Grant.Grantee, req.Grant.Permissions.Permissions, req.Grant.Expiration, nil) status, err = s.addGrant(ctx, req.ResourceInfo.Id, req.Grant.Grantee, req.Grant.Permissions.Permissions, req.Grant.Expiration, nil)
if err != nil { if err != nil {
appctx.GetLogger(ctx).Debug().Interface("status", status).Interface("req", req).Msg(err.Error())
rollBackFn(status)
return nil, errors.Wrap(err, "gateway: error adding grant to storage") return nil, errors.Wrap(err, "gateway: error adding grant to storage")
} }
} }
@@ -488,7 +507,10 @@ func (s *svc) addShare(ctx context.Context, req *collaboration.CreateShareReques
s.statCache.RemoveStat(ctxpkg.ContextMustGetUser(ctx).GetId(), req.ResourceInfo.Id) s.statCache.RemoveStat(ctxpkg.ContextMustGetUser(ctx).GetId(), req.ResourceInfo.Id)
case rpc.Code_CODE_UNIMPLEMENTED: case rpc.Code_CODE_UNIMPLEMENTED:
appctx.GetLogger(ctx).Debug().Interface("status", status).Interface("req", req).Msg("storing grants not supported, ignoring") appctx.GetLogger(ctx).Debug().Interface("status", status).Interface("req", req).Msg("storing grants not supported, ignoring")
rollBackFn(status)
default: default:
appctx.GetLogger(ctx).Debug().Interface("status", status).Interface("req", req).Msg("storing grants is not successful")
rollBackFn(status)
return &collaboration.CreateShareResponse{ return &collaboration.CreateShareResponse{
Status: status, Status: status,
}, err }, err
+1 -1
View File
@@ -112,7 +112,7 @@ func New(m map[string]interface{}) (global.Middleware, int, error) {
} }
// TODO(jfd): use log from request context, otherwise fmt will be used to log, // TODO(jfd): use log from request context, otherwise fmt will be used to log,
// preventing us from pinging the log to eg jq // preventing us from piping the log to eg jq
c := cors.New(cors.Options{ c := cors.New(cors.Options{
AllowCredentials: conf.AllowCredentials, AllowCredentials: conf.AllowCredentials,
AllowedHeaders: conf.AllowedHeaders, AllowedHeaders: conf.AllowedHeaders,
@@ -393,7 +393,7 @@ func (s *svc) doPatch(w http.ResponseWriter, r *http.Request) {
func copyHeader(dst, src http.Header) { func copyHeader(dst, src http.Header) {
for key, values := range src { for key, values := range src {
for i := range values { for i := range values {
dst.Add(key, values[i]) dst.Set(key, values[i])
} }
} }
} }
@@ -92,7 +92,7 @@ func (s *svc) handleSpacesTusPost(w http.ResponseWriter, r *http.Request, spaceI
func (s *svc) handleTusPost(ctx context.Context, w http.ResponseWriter, r *http.Request, meta map[string]string, ref *provider.Reference, log zerolog.Logger) { func (s *svc) handleTusPost(ctx context.Context, w http.ResponseWriter, r *http.Request, meta map[string]string, ref *provider.Reference, log zerolog.Logger) {
w.Header().Add(net.HeaderAccessControlAllowHeaders, strings.Join([]string{net.HeaderTusResumable, net.HeaderUploadLength, net.HeaderUploadMetadata, net.HeaderIfMatch}, ", ")) w.Header().Add(net.HeaderAccessControlAllowHeaders, strings.Join([]string{net.HeaderTusResumable, net.HeaderUploadLength, net.HeaderUploadMetadata, net.HeaderIfMatch}, ", "))
w.Header().Add(net.HeaderAccessControlExposeHeaders, strings.Join([]string{net.HeaderTusResumable, net.HeaderLocation}, ", ")) w.Header().Add(net.HeaderAccessControlExposeHeaders, strings.Join([]string{net.HeaderTusResumable, net.HeaderUploadOffset, net.HeaderLocation}, ", "))
w.Header().Set(net.HeaderTusExtension, "creation,creation-with-upload,checksum,expiration") w.Header().Set(net.HeaderTusExtension, "creation,creation-with-upload,checksum,expiration")
w.Header().Set(net.HeaderTusResumable, "1.0.0") w.Header().Set(net.HeaderTusResumable, "1.0.0")
@@ -1453,6 +1453,12 @@ func (h *Handler) createCs3Share(ctx context.Context, w http.ResponseWriter, r *
Message: createShareResponse.Status.Message, Message: createShareResponse.Status.Message,
Error: nil, Error: nil,
} }
case rpc.Code_CODE_LOCKED:
return nil, &ocsError{
Code: response.MetaLocked.StatusCode,
Message: response.MessageLockedForSharing,
Error: nil,
}
default: default:
return nil, &ocsError{ return nil, &ocsError{
Code: response.MetaServerError.StatusCode, Code: response.MetaServerError.StatusCode,
@@ -127,6 +127,9 @@ var MetaBadRequest = Meta{Status: "error", StatusCode: 400, Message: "Bad Reques
// MetaPathNotFound is returned when trying to share not existing resources // MetaPathNotFound is returned when trying to share not existing resources
var MetaPathNotFound = Meta{Status: "failure", StatusCode: 404, Message: MessagePathNotFound} var MetaPathNotFound = Meta{Status: "failure", StatusCode: 404, Message: MessagePathNotFound}
// MetaLocked is returned when trying to share not existing resources
var MetaLocked = Meta{Status: "failure", StatusCode: 423, Message: "The file is locked"}
// MetaServerError is returned on server errors // MetaServerError is returned on server errors
var MetaServerError = Meta{Status: "error", StatusCode: 996, Message: "Server Error"} var MetaServerError = Meta{Status: "error", StatusCode: 996, Message: "Server Error"}
@@ -151,6 +154,9 @@ var MessagePathNotFound = "Wrong path, file/folder doesn't exist"
// MessageShareExists is used when a user tries to create a new share for the same user // MessageShareExists is used when a user tries to create a new share for the same user
var MessageShareExists = "A share for the recipient already exists" var MessageShareExists = "A share for the recipient already exists"
// MessageLockedForSharing is used when a user tries to create a new share until the file is in use by at least one user
var MessageLockedForSharing = "The file is locked until the file is in use by at least one user"
// WriteOCSSuccess handles writing successful ocs response data // WriteOCSSuccess handles writing successful ocs response data
func WriteOCSSuccess(w http.ResponseWriter, r *http.Request, d interface{}) { func WriteOCSSuccess(w http.ResponseWriter, r *http.Request, d interface{}) {
WriteOCSData(w, r, MetaOK, d, nil) WriteOCSData(w, r, MetaOK, d, nil)
+2 -2
View File
@@ -286,8 +286,8 @@ func NewErrtypeFromStatus(status *rpc.Status) error {
return Locked(strings.TrimPrefix(status.Message, "set lock: error: locked by ")) return Locked(strings.TrimPrefix(status.Message, "set lock: error: locked by "))
} }
return PermissionDenied(status.Message) return PermissionDenied(status.Message)
// case rpc.Code_CODE_LOCKED: case rpc.Code_CODE_LOCKED:
// return Locked(status.Message) return Locked(status.Message)
// case rpc.Code_CODE_DATA_LOSS: ? // case rpc.Code_CODE_DATA_LOSS: ?
// IsPartialContent // IsPartialContent
case rpc.Code_CODE_ABORTED: case rpc.Code_CODE_ABORTED:
+11 -1
View File
@@ -144,6 +144,15 @@ func NewConflict(ctx context.Context, err error, msg string) *rpc.Status {
} }
} }
// NewLocked returns a status Code_CODE_LOCKED
func NewLocked(ctx context.Context, msg string) *rpc.Status {
return &rpc.Status{
Code: rpc.Code_CODE_LOCKED,
Message: msg,
Trace: getTrace(ctx),
}
}
// NewStatusFromErrType returns a status that corresponds to the given errtype // NewStatusFromErrType returns a status that corresponds to the given errtype
func NewStatusFromErrType(ctx context.Context, msg string, err error) *rpc.Status { func NewStatusFromErrType(ctx context.Context, msg string, err error) *rpc.Status {
switch e := err.(type) { switch e := err.(type) {
@@ -161,7 +170,7 @@ func NewStatusFromErrType(ctx context.Context, msg string, err error) *rpc.Statu
case errtypes.Locked: case errtypes.Locked:
// FIXME a locked error returns the current lockid // FIXME a locked error returns the current lockid
// FIXME use NewAborted as per the rpc code docs // FIXME use NewAborted as per the rpc code docs
return NewPermissionDenied(ctx, e, msg+": "+err.Error()) return NewLocked(ctx, msg+": "+err.Error())
case errtypes.Aborted: case errtypes.Aborted:
return NewAborted(ctx, e, msg+": "+err.Error()) return NewAborted(ctx, e, msg+": "+err.Error())
case errtypes.PreconditionFailed: case errtypes.PreconditionFailed:
@@ -231,6 +240,7 @@ var httpStatusCode = map[rpc.Code]int{
rpc.Code_CODE_UNAVAILABLE: http.StatusServiceUnavailable, rpc.Code_CODE_UNAVAILABLE: http.StatusServiceUnavailable,
rpc.Code_CODE_UNIMPLEMENTED: http.StatusNotImplemented, rpc.Code_CODE_UNIMPLEMENTED: http.StatusNotImplemented,
rpc.Code_CODE_UNKNOWN: http.StatusInternalServerError, rpc.Code_CODE_UNKNOWN: http.StatusInternalServerError,
rpc.Code_CODE_LOCKED: http.StatusLocked,
} }
// HTTPStatusFromCode returns an HTTP status code for the rpc code. It returns // HTTPStatusFromCode returns an HTTP status code for the rpc code. It returns
+33 -33
View File
@@ -495,6 +495,39 @@ func (_m *GatewayAPIClient) CreateSymlink(ctx context.Context, in *providerv1bet
return r0, r1 return r0, r1
} }
// CreateTransfer provides a mock function with given fields: ctx, in, opts
func (_m *GatewayAPIClient) CreateTransfer(ctx context.Context, in *txv1beta1.CreateTransferRequest, opts ...grpc.CallOption) (*txv1beta1.CreateTransferResponse, error) {
_va := make([]interface{}, len(opts))
for _i := range opts {
_va[_i] = opts[_i]
}
var _ca []interface{}
_ca = append(_ca, ctx, in)
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 *txv1beta1.CreateTransferResponse
var r1 error
if rf, ok := ret.Get(0).(func(context.Context, *txv1beta1.CreateTransferRequest, ...grpc.CallOption) (*txv1beta1.CreateTransferResponse, error)); ok {
return rf(ctx, in, opts...)
}
if rf, ok := ret.Get(0).(func(context.Context, *txv1beta1.CreateTransferRequest, ...grpc.CallOption) *txv1beta1.CreateTransferResponse); ok {
r0 = rf(ctx, in, opts...)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*txv1beta1.CreateTransferResponse)
}
}
if rf, ok := ret.Get(1).(func(context.Context, *txv1beta1.CreateTransferRequest, ...grpc.CallOption) error); ok {
r1 = rf(ctx, in, opts...)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// Delete provides a mock function with given fields: ctx, in, opts // Delete provides a mock function with given fields: ctx, in, opts
func (_m *GatewayAPIClient) Delete(ctx context.Context, in *providerv1beta1.DeleteRequest, opts ...grpc.CallOption) (*providerv1beta1.DeleteResponse, error) { func (_m *GatewayAPIClient) Delete(ctx context.Context, in *providerv1beta1.DeleteRequest, opts ...grpc.CallOption) (*providerv1beta1.DeleteResponse, error) {
_va := make([]interface{}, len(opts)) _va := make([]interface{}, len(opts))
@@ -2310,39 +2343,6 @@ func (_m *GatewayAPIClient) OpenInApp(ctx context.Context, in *gatewayv1beta1.Op
return r0, r1 return r0, r1
} }
// PullTransfer provides a mock function with given fields: ctx, in, opts
func (_m *GatewayAPIClient) PullTransfer(ctx context.Context, in *txv1beta1.PullTransferRequest, opts ...grpc.CallOption) (*txv1beta1.PullTransferResponse, error) {
_va := make([]interface{}, len(opts))
for _i := range opts {
_va[_i] = opts[_i]
}
var _ca []interface{}
_ca = append(_ca, ctx, in)
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 *txv1beta1.PullTransferResponse
var r1 error
if rf, ok := ret.Get(0).(func(context.Context, *txv1beta1.PullTransferRequest, ...grpc.CallOption) (*txv1beta1.PullTransferResponse, error)); ok {
return rf(ctx, in, opts...)
}
if rf, ok := ret.Get(0).(func(context.Context, *txv1beta1.PullTransferRequest, ...grpc.CallOption) *txv1beta1.PullTransferResponse); ok {
r0 = rf(ctx, in, opts...)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*txv1beta1.PullTransferResponse)
}
}
if rf, ok := ret.Get(1).(func(context.Context, *txv1beta1.PullTransferRequest, ...grpc.CallOption) error); ok {
r1 = rf(ctx, in, opts...)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// PurgeRecycle provides a mock function with given fields: ctx, in, opts // PurgeRecycle provides a mock function with given fields: ctx, in, opts
func (_m *GatewayAPIClient) PurgeRecycle(ctx context.Context, in *providerv1beta1.PurgeRecycleRequest, opts ...grpc.CallOption) (*providerv1beta1.PurgeRecycleResponse, error) { func (_m *GatewayAPIClient) PurgeRecycle(ctx context.Context, in *providerv1beta1.PurgeRecycleRequest, opts ...grpc.CallOption) (*providerv1beta1.PurgeRecycleResponse, error) {
_va := make([]interface{}, len(opts)) _va := make([]interface{}, len(opts))
+3 -3
View File
@@ -326,7 +326,7 @@ github.com/crewjam/saml
github.com/crewjam/saml/logger github.com/crewjam/saml/logger
github.com/crewjam/saml/samlsp github.com/crewjam/saml/samlsp
github.com/crewjam/saml/xmlenc github.com/crewjam/saml/xmlenc
# github.com/cs3org/go-cs3apis v0.0.0-20221012090518-ef2996678965 => github.com/c0rby/go-cs3apis v0.0.0-20230110100311-5b424f1baa35 # github.com/cs3org/go-cs3apis v0.0.0-20230516150832-730ac860c71d => github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1
## explicit; go 1.13 ## explicit; go 1.13
github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1 github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1
github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1 github.com/cs3org/go-cs3apis/cs3/app/registry/v1beta1
@@ -349,7 +349,7 @@ github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1 github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1 github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
github.com/cs3org/go-cs3apis/cs3/types/v1beta1 github.com/cs3org/go-cs3apis/cs3/types/v1beta1
# github.com/cs3org/reva/v2 v2.13.4-0.20230522074943-fde10c4f3dea # github.com/cs3org/reva/v2 v2.13.4-0.20230522082327-0d66bdd610d3
## explicit; go 1.19 ## explicit; go 1.19
github.com/cs3org/reva/v2/cmd/revad/internal/grace github.com/cs3org/reva/v2/cmd/revad/internal/grace
github.com/cs3org/reva/v2/cmd/revad/runtime github.com/cs3org/reva/v2/cmd/revad/runtime
@@ -2123,4 +2123,4 @@ stash.kopano.io/kgol/oidc-go
# stash.kopano.io/kgol/rndm v1.1.2 # stash.kopano.io/kgol/rndm v1.1.2
## explicit; go 1.13 ## explicit; go 1.13
stash.kopano.io/kgol/rndm stash.kopano.io/kgol/rndm
# github.com/cs3org/go-cs3apis => github.com/c0rby/go-cs3apis v0.0.0-20230110100311-5b424f1baa35 # github.com/cs3org/go-cs3apis => github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1