Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { context.Context, md *provider.ResourceInfo, g *collaboration.ShareGrant) (*collaboration.Share, error) GetShare(ctx context.Context, ref *collaboration.ShareReference) (*collaboration.Share, error) Unshare(ctx context.Context, ref *collaboration.ShareReference) error UpdateShare(ctx context.Context, ref *collaboration.ShareReference, p *collaboration.SharePermissions) (*collaboration.Share, error) // it returns only shares attached to the given resource. ListShares(ctx context.Context, filters []*collaboration.ListSharesRequest_Filter) ([]*collaboration.Share, error) ListReceivedShares(ctx context.Context) ([]*collaboration.ReceivedShare, error) GetReceivedShare(ctx context.Context, ref *collaboration.ShareReference) (*collaboration.ReceivedShare, error) UpdateReceivedShare(ctx context.Context, ref *collaboration.ShareReference, f *collaboration.UpdateReceivedShareRequest_UpdateField) (*collaboration.ReceivedShare, error) }Share(ctx
Manager is the interface that manipulates shares.
Click to show internal directories.
Click to hide internal directories.