Documentation ¶
Index ¶
- func GetMountpointAndUnmountedShares(ctx context.Context, gwc gateway.GatewayAPIClient, id *provider.ResourceId, ...) (string, []*collaboration.ReceivedShare, error)
- func HasGrantPermissions(p *provider.ResourcePermissions) bool
- func New(gatewaySelector pool.Selectable[gateway.GatewayAPIClient], sm share.Manager, ...) rgrpc.Service
- func NewDefault(m map[string]interface{}, ss *grpc.Server) (rgrpc.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMountpointAndUnmountedShares ¶ added in v2.20.0
func GetMountpointAndUnmountedShares(ctx context.Context, gwc gateway.GatewayAPIClient, id *provider.ResourceId, name string, userId *userpb.UserId) (string, []*collaboration.ReceivedShare, error)
GetMountpointAndUnmountedShares returns a new or existing mountpoint for the given info and produces a list of unmounted received shares for the same resource
func HasGrantPermissions ¶ added in v2.19.0
func HasGrantPermissions(p *provider.ResourcePermissions) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.