gatewayv1beta1

package
v0.0.0-...-d2cb316 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 26 Imported by: 82

Documentation

Index

Constants

View Source
const (
	GatewayAPI_Authenticate_FullMethodName                     = "/cs3.gateway.v1beta1.GatewayAPI/Authenticate"
	GatewayAPI_WhoAmI_FullMethodName                           = "/cs3.gateway.v1beta1.GatewayAPI/WhoAmI"
	GatewayAPI_GenerateAppPassword_FullMethodName              = "/cs3.gateway.v1beta1.GatewayAPI/GenerateAppPassword"
	GatewayAPI_ListAppPasswords_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/ListAppPasswords"
	GatewayAPI_InvalidateAppPassword_FullMethodName            = "/cs3.gateway.v1beta1.GatewayAPI/InvalidateAppPassword"
	GatewayAPI_GetAppPassword_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/GetAppPassword"
	GatewayAPI_CreateContainer_FullMethodName                  = "/cs3.gateway.v1beta1.GatewayAPI/CreateContainer"
	GatewayAPI_TouchFile_FullMethodName                        = "/cs3.gateway.v1beta1.GatewayAPI/TouchFile"
	GatewayAPI_Delete_FullMethodName                           = "/cs3.gateway.v1beta1.GatewayAPI/Delete"
	GatewayAPI_GetPath_FullMethodName                          = "/cs3.gateway.v1beta1.GatewayAPI/GetPath"
	GatewayAPI_GetQuota_FullMethodName                         = "/cs3.gateway.v1beta1.GatewayAPI/GetQuota"
	GatewayAPI_InitiateFileDownload_FullMethodName             = "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileDownload"
	GatewayAPI_InitiateFileUpload_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/InitiateFileUpload"
	GatewayAPI_ListContainerStream_FullMethodName              = "/cs3.gateway.v1beta1.GatewayAPI/ListContainerStream"
	GatewayAPI_ListContainer_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/ListContainer"
	GatewayAPI_ListFileVersions_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/ListFileVersions"
	GatewayAPI_ListRecycleStream_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/ListRecycleStream"
	GatewayAPI_ListRecycle_FullMethodName                      = "/cs3.gateway.v1beta1.GatewayAPI/ListRecycle"
	GatewayAPI_Move_FullMethodName                             = "/cs3.gateway.v1beta1.GatewayAPI/Move"
	GatewayAPI_PurgeRecycle_FullMethodName                     = "/cs3.gateway.v1beta1.GatewayAPI/PurgeRecycle"
	GatewayAPI_RestoreFileVersion_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/RestoreFileVersion"
	GatewayAPI_RestoreRecycleItem_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/RestoreRecycleItem"
	GatewayAPI_Stat_FullMethodName                             = "/cs3.gateway.v1beta1.GatewayAPI/Stat"
	GatewayAPI_CreateSymlink_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/CreateSymlink"
	GatewayAPI_SetArbitraryMetadata_FullMethodName             = "/cs3.gateway.v1beta1.GatewayAPI/SetArbitraryMetadata"
	GatewayAPI_UnsetArbitraryMetadata_FullMethodName           = "/cs3.gateway.v1beta1.GatewayAPI/UnsetArbitraryMetadata"
	GatewayAPI_SetLock_FullMethodName                          = "/cs3.gateway.v1beta1.GatewayAPI/SetLock"
	GatewayAPI_GetLock_FullMethodName                          = "/cs3.gateway.v1beta1.GatewayAPI/GetLock"
	GatewayAPI_RefreshLock_FullMethodName                      = "/cs3.gateway.v1beta1.GatewayAPI/RefreshLock"
	GatewayAPI_Unlock_FullMethodName                           = "/cs3.gateway.v1beta1.GatewayAPI/Unlock"
	GatewayAPI_CreateHome_FullMethodName                       = "/cs3.gateway.v1beta1.GatewayAPI/CreateHome"
	GatewayAPI_CreateStorageSpace_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/CreateStorageSpace"
	GatewayAPI_ListStorageSpaces_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/ListStorageSpaces"
	GatewayAPI_UpdateStorageSpace_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/UpdateStorageSpace"
	GatewayAPI_DeleteStorageSpace_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/DeleteStorageSpace"
	GatewayAPI_OpenInApp_FullMethodName                        = "/cs3.gateway.v1beta1.GatewayAPI/OpenInApp"
	GatewayAPI_CreateShare_FullMethodName                      = "/cs3.gateway.v1beta1.GatewayAPI/CreateShare"
	GatewayAPI_RemoveShare_FullMethodName                      = "/cs3.gateway.v1beta1.GatewayAPI/RemoveShare"
	GatewayAPI_GetShare_FullMethodName                         = "/cs3.gateway.v1beta1.GatewayAPI/GetShare"
	GatewayAPI_ListShares_FullMethodName                       = "/cs3.gateway.v1beta1.GatewayAPI/ListShares"
	GatewayAPI_UpdateShare_FullMethodName                      = "/cs3.gateway.v1beta1.GatewayAPI/UpdateShare"
	GatewayAPI_ListReceivedShares_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedShares"
	GatewayAPI_ListExistingReceivedShares_FullMethodName       = "/cs3.gateway.v1beta1.GatewayAPI/ListExistingReceivedShares"
	GatewayAPI_UpdateReceivedShare_FullMethodName              = "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedShare"
	GatewayAPI_GetReceivedShare_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedShare"
	GatewayAPI_SetKey_FullMethodName                           = "/cs3.gateway.v1beta1.GatewayAPI/SetKey"
	GatewayAPI_GetKey_FullMethodName                           = "/cs3.gateway.v1beta1.GatewayAPI/GetKey"
	GatewayAPI_CreatePublicShare_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/CreatePublicShare"
	GatewayAPI_RemovePublicShare_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/RemovePublicShare"
	GatewayAPI_GetPublicShare_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShare"
	GatewayAPI_GetPublicShareByToken_FullMethodName            = "/cs3.gateway.v1beta1.GatewayAPI/GetPublicShareByToken"
	GatewayAPI_ListPublicShares_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/ListPublicShares"
	GatewayAPI_UpdatePublicShare_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/UpdatePublicShare"
	GatewayAPI_CreateOCMShare_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMShare"
	GatewayAPI_RemoveOCMShare_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/RemoveOCMShare"
	GatewayAPI_GetOCMShare_FullMethodName                      = "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShare"
	GatewayAPI_GetOCMShareByToken_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/GetOCMShareByToken"
	GatewayAPI_ListOCMShares_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/ListOCMShares"
	GatewayAPI_UpdateOCMShare_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMShare"
	GatewayAPI_ListReceivedOCMShares_FullMethodName            = "/cs3.gateway.v1beta1.GatewayAPI/ListReceivedOCMShares"
	GatewayAPI_UpdateReceivedOCMShare_FullMethodName           = "/cs3.gateway.v1beta1.GatewayAPI/UpdateReceivedOCMShare"
	GatewayAPI_GetReceivedOCMShare_FullMethodName              = "/cs3.gateway.v1beta1.GatewayAPI/GetReceivedOCMShare"
	GatewayAPI_GetAppProviders_FullMethodName                  = "/cs3.gateway.v1beta1.GatewayAPI/GetAppProviders"
	GatewayAPI_AddAppProvider_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/AddAppProvider"
	GatewayAPI_ListAppProviders_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/ListAppProviders"
	GatewayAPI_ListSupportedMimeTypes_FullMethodName           = "/cs3.gateway.v1beta1.GatewayAPI/ListSupportedMimeTypes"
	GatewayAPI_GetDefaultAppProviderForMimeType_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/GetDefaultAppProviderForMimeType"
	GatewayAPI_SetDefaultAppProviderForMimeType_FullMethodName = "/cs3.gateway.v1beta1.GatewayAPI/SetDefaultAppProviderForMimeType"
	GatewayAPI_GetUser_FullMethodName                          = "/cs3.gateway.v1beta1.GatewayAPI/GetUser"
	GatewayAPI_GetUserByClaim_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/GetUserByClaim"
	GatewayAPI_GetUserGroups_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/GetUserGroups"
	GatewayAPI_FindUsers_FullMethodName                        = "/cs3.gateway.v1beta1.GatewayAPI/FindUsers"
	GatewayAPI_GetGroup_FullMethodName                         = "/cs3.gateway.v1beta1.GatewayAPI/GetGroup"
	GatewayAPI_GetGroupByClaim_FullMethodName                  = "/cs3.gateway.v1beta1.GatewayAPI/GetGroupByClaim"
	GatewayAPI_GetMembers_FullMethodName                       = "/cs3.gateway.v1beta1.GatewayAPI/GetMembers"
	GatewayAPI_HasMember_FullMethodName                        = "/cs3.gateway.v1beta1.GatewayAPI/HasMember"
	GatewayAPI_FindGroups_FullMethodName                       = "/cs3.gateway.v1beta1.GatewayAPI/FindGroups"
	GatewayAPI_ListAuthProviders_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/ListAuthProviders"
	GatewayAPI_GetHome_FullMethodName                          = "/cs3.gateway.v1beta1.GatewayAPI/GetHome"
	GatewayAPI_GenerateInviteToken_FullMethodName              = "/cs3.gateway.v1beta1.GatewayAPI/GenerateInviteToken"
	GatewayAPI_ListInviteTokens_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/ListInviteTokens"
	GatewayAPI_ForwardInvite_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/ForwardInvite"
	GatewayAPI_AcceptInvite_FullMethodName                     = "/cs3.gateway.v1beta1.GatewayAPI/AcceptInvite"
	GatewayAPI_GetAcceptedUser_FullMethodName                  = "/cs3.gateway.v1beta1.GatewayAPI/GetAcceptedUser"
	GatewayAPI_FindAcceptedUsers_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/FindAcceptedUsers"
	GatewayAPI_DeleteAcceptedUser_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/DeleteAcceptedUser"
	GatewayAPI_IsProviderAllowed_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/IsProviderAllowed"
	GatewayAPI_GetInfoByDomain_FullMethodName                  = "/cs3.gateway.v1beta1.GatewayAPI/GetInfoByDomain"
	GatewayAPI_ListAllProviders_FullMethodName                 = "/cs3.gateway.v1beta1.GatewayAPI/ListAllProviders"
	GatewayAPI_CreateOCMCoreShare_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/CreateOCMCoreShare"
	GatewayAPI_UpdateOCMCoreShare_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMCoreShare"
	GatewayAPI_DeleteOCMCoreShare_FullMethodName               = "/cs3.gateway.v1beta1.GatewayAPI/DeleteOCMCoreShare"
	GatewayAPI_CreateTransfer_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/CreateTransfer"
	GatewayAPI_GetTransferStatus_FullMethodName                = "/cs3.gateway.v1beta1.GatewayAPI/GetTransferStatus"
	GatewayAPI_CancelTransfer_FullMethodName                   = "/cs3.gateway.v1beta1.GatewayAPI/CancelTransfer"
	GatewayAPI_ListTransfers_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/ListTransfers"
	GatewayAPI_RetryTransfer_FullMethodName                    = "/cs3.gateway.v1beta1.GatewayAPI/RetryTransfer"
	GatewayAPI_CheckPermission_FullMethodName                  = "/cs3.gateway.v1beta1.GatewayAPI/CheckPermission"
)

Variables

View Source
var (
	OpenInAppRequest_ViewMode_name = map[int32]string{
		0: "VIEW_MODE_INVALID",
		1: "VIEW_MODE_VIEW_ONLY",
		2: "VIEW_MODE_READ_ONLY",
		3: "VIEW_MODE_READ_WRITE",
		4: "VIEW_MODE_PREVIEW",
	}
	OpenInAppRequest_ViewMode_value = map[string]int32{
		"VIEW_MODE_INVALID":    0,
		"VIEW_MODE_VIEW_ONLY":  1,
		"VIEW_MODE_READ_ONLY":  2,
		"VIEW_MODE_READ_WRITE": 3,
		"VIEW_MODE_PREVIEW":    4,
	}
)

Enum value maps for OpenInAppRequest_ViewMode.

View Source
var File_cs3_gateway_v1beta1_gateway_api_proto protoreflect.FileDescriptor
View Source
var File_cs3_gateway_v1beta1_resources_proto protoreflect.FileDescriptor
View Source
var GatewayAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cs3.gateway.v1beta1.GatewayAPI",
	HandlerType: (*GatewayAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authenticate",
			Handler:    _GatewayAPI_Authenticate_Handler,
		},
		{
			MethodName: "WhoAmI",
			Handler:    _GatewayAPI_WhoAmI_Handler,
		},
		{
			MethodName: "GenerateAppPassword",
			Handler:    _GatewayAPI_GenerateAppPassword_Handler,
		},
		{
			MethodName: "ListAppPasswords",
			Handler:    _GatewayAPI_ListAppPasswords_Handler,
		},
		{
			MethodName: "InvalidateAppPassword",
			Handler:    _GatewayAPI_InvalidateAppPassword_Handler,
		},
		{
			MethodName: "GetAppPassword",
			Handler:    _GatewayAPI_GetAppPassword_Handler,
		},
		{
			MethodName: "CreateContainer",
			Handler:    _GatewayAPI_CreateContainer_Handler,
		},
		{
			MethodName: "TouchFile",
			Handler:    _GatewayAPI_TouchFile_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _GatewayAPI_Delete_Handler,
		},
		{
			MethodName: "GetPath",
			Handler:    _GatewayAPI_GetPath_Handler,
		},
		{
			MethodName: "GetQuota",
			Handler:    _GatewayAPI_GetQuota_Handler,
		},
		{
			MethodName: "InitiateFileDownload",
			Handler:    _GatewayAPI_InitiateFileDownload_Handler,
		},
		{
			MethodName: "InitiateFileUpload",
			Handler:    _GatewayAPI_InitiateFileUpload_Handler,
		},
		{
			MethodName: "ListContainer",
			Handler:    _GatewayAPI_ListContainer_Handler,
		},
		{
			MethodName: "ListFileVersions",
			Handler:    _GatewayAPI_ListFileVersions_Handler,
		},
		{
			MethodName: "ListRecycle",
			Handler:    _GatewayAPI_ListRecycle_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _GatewayAPI_Move_Handler,
		},
		{
			MethodName: "PurgeRecycle",
			Handler:    _GatewayAPI_PurgeRecycle_Handler,
		},
		{
			MethodName: "RestoreFileVersion",
			Handler:    _GatewayAPI_RestoreFileVersion_Handler,
		},
		{
			MethodName: "RestoreRecycleItem",
			Handler:    _GatewayAPI_RestoreRecycleItem_Handler,
		},
		{
			MethodName: "Stat",
			Handler:    _GatewayAPI_Stat_Handler,
		},
		{
			MethodName: "CreateSymlink",
			Handler:    _GatewayAPI_CreateSymlink_Handler,
		},
		{
			MethodName: "SetArbitraryMetadata",
			Handler:    _GatewayAPI_SetArbitraryMetadata_Handler,
		},
		{
			MethodName: "UnsetArbitraryMetadata",
			Handler:    _GatewayAPI_UnsetArbitraryMetadata_Handler,
		},
		{
			MethodName: "SetLock",
			Handler:    _GatewayAPI_SetLock_Handler,
		},
		{
			MethodName: "GetLock",
			Handler:    _GatewayAPI_GetLock_Handler,
		},
		{
			MethodName: "RefreshLock",
			Handler:    _GatewayAPI_RefreshLock_Handler,
		},
		{
			MethodName: "Unlock",
			Handler:    _GatewayAPI_Unlock_Handler,
		},
		{
			MethodName: "CreateHome",
			Handler:    _GatewayAPI_CreateHome_Handler,
		},
		{
			MethodName: "CreateStorageSpace",
			Handler:    _GatewayAPI_CreateStorageSpace_Handler,
		},
		{
			MethodName: "ListStorageSpaces",
			Handler:    _GatewayAPI_ListStorageSpaces_Handler,
		},
		{
			MethodName: "UpdateStorageSpace",
			Handler:    _GatewayAPI_UpdateStorageSpace_Handler,
		},
		{
			MethodName: "DeleteStorageSpace",
			Handler:    _GatewayAPI_DeleteStorageSpace_Handler,
		},
		{
			MethodName: "OpenInApp",
			Handler:    _GatewayAPI_OpenInApp_Handler,
		},
		{
			MethodName: "CreateShare",
			Handler:    _GatewayAPI_CreateShare_Handler,
		},
		{
			MethodName: "RemoveShare",
			Handler:    _GatewayAPI_RemoveShare_Handler,
		},
		{
			MethodName: "GetShare",
			Handler:    _GatewayAPI_GetShare_Handler,
		},
		{
			MethodName: "ListShares",
			Handler:    _GatewayAPI_ListShares_Handler,
		},
		{
			MethodName: "UpdateShare",
			Handler:    _GatewayAPI_UpdateShare_Handler,
		},
		{
			MethodName: "ListReceivedShares",
			Handler:    _GatewayAPI_ListReceivedShares_Handler,
		},
		{
			MethodName: "ListExistingReceivedShares",
			Handler:    _GatewayAPI_ListExistingReceivedShares_Handler,
		},
		{
			MethodName: "UpdateReceivedShare",
			Handler:    _GatewayAPI_UpdateReceivedShare_Handler,
		},
		{
			MethodName: "GetReceivedShare",
			Handler:    _GatewayAPI_GetReceivedShare_Handler,
		},
		{
			MethodName: "SetKey",
			Handler:    _GatewayAPI_SetKey_Handler,
		},
		{
			MethodName: "GetKey",
			Handler:    _GatewayAPI_GetKey_Handler,
		},
		{
			MethodName: "CreatePublicShare",
			Handler:    _GatewayAPI_CreatePublicShare_Handler,
		},
		{
			MethodName: "RemovePublicShare",
			Handler:    _GatewayAPI_RemovePublicShare_Handler,
		},
		{
			MethodName: "GetPublicShare",
			Handler:    _GatewayAPI_GetPublicShare_Handler,
		},
		{
			MethodName: "GetPublicShareByToken",
			Handler:    _GatewayAPI_GetPublicShareByToken_Handler,
		},
		{
			MethodName: "ListPublicShares",
			Handler:    _GatewayAPI_ListPublicShares_Handler,
		},
		{
			MethodName: "UpdatePublicShare",
			Handler:    _GatewayAPI_UpdatePublicShare_Handler,
		},
		{
			MethodName: "CreateOCMShare",
			Handler:    _GatewayAPI_CreateOCMShare_Handler,
		},
		{
			MethodName: "RemoveOCMShare",
			Handler:    _GatewayAPI_RemoveOCMShare_Handler,
		},
		{
			MethodName: "GetOCMShare",
			Handler:    _GatewayAPI_GetOCMShare_Handler,
		},
		{
			MethodName: "GetOCMShareByToken",
			Handler:    _GatewayAPI_GetOCMShareByToken_Handler,
		},
		{
			MethodName: "ListOCMShares",
			Handler:    _GatewayAPI_ListOCMShares_Handler,
		},
		{
			MethodName: "UpdateOCMShare",
			Handler:    _GatewayAPI_UpdateOCMShare_Handler,
		},
		{
			MethodName: "ListReceivedOCMShares",
			Handler:    _GatewayAPI_ListReceivedOCMShares_Handler,
		},
		{
			MethodName: "UpdateReceivedOCMShare",
			Handler:    _GatewayAPI_UpdateReceivedOCMShare_Handler,
		},
		{
			MethodName: "GetReceivedOCMShare",
			Handler:    _GatewayAPI_GetReceivedOCMShare_Handler,
		},
		{
			MethodName: "GetAppProviders",
			Handler:    _GatewayAPI_GetAppProviders_Handler,
		},
		{
			MethodName: "AddAppProvider",
			Handler:    _GatewayAPI_AddAppProvider_Handler,
		},
		{
			MethodName: "ListAppProviders",
			Handler:    _GatewayAPI_ListAppProviders_Handler,
		},
		{
			MethodName: "ListSupportedMimeTypes",
			Handler:    _GatewayAPI_ListSupportedMimeTypes_Handler,
		},
		{
			MethodName: "GetDefaultAppProviderForMimeType",
			Handler:    _GatewayAPI_GetDefaultAppProviderForMimeType_Handler,
		},
		{
			MethodName: "SetDefaultAppProviderForMimeType",
			Handler:    _GatewayAPI_SetDefaultAppProviderForMimeType_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _GatewayAPI_GetUser_Handler,
		},
		{
			MethodName: "GetUserByClaim",
			Handler:    _GatewayAPI_GetUserByClaim_Handler,
		},
		{
			MethodName: "GetUserGroups",
			Handler:    _GatewayAPI_GetUserGroups_Handler,
		},
		{
			MethodName: "FindUsers",
			Handler:    _GatewayAPI_FindUsers_Handler,
		},
		{
			MethodName: "GetGroup",
			Handler:    _GatewayAPI_GetGroup_Handler,
		},
		{
			MethodName: "GetGroupByClaim",
			Handler:    _GatewayAPI_GetGroupByClaim_Handler,
		},
		{
			MethodName: "GetMembers",
			Handler:    _GatewayAPI_GetMembers_Handler,
		},
		{
			MethodName: "HasMember",
			Handler:    _GatewayAPI_HasMember_Handler,
		},
		{
			MethodName: "FindGroups",
			Handler:    _GatewayAPI_FindGroups_Handler,
		},
		{
			MethodName: "ListAuthProviders",
			Handler:    _GatewayAPI_ListAuthProviders_Handler,
		},
		{
			MethodName: "GetHome",
			Handler:    _GatewayAPI_GetHome_Handler,
		},
		{
			MethodName: "GenerateInviteToken",
			Handler:    _GatewayAPI_GenerateInviteToken_Handler,
		},
		{
			MethodName: "ListInviteTokens",
			Handler:    _GatewayAPI_ListInviteTokens_Handler,
		},
		{
			MethodName: "ForwardInvite",
			Handler:    _GatewayAPI_ForwardInvite_Handler,
		},
		{
			MethodName: "AcceptInvite",
			Handler:    _GatewayAPI_AcceptInvite_Handler,
		},
		{
			MethodName: "GetAcceptedUser",
			Handler:    _GatewayAPI_GetAcceptedUser_Handler,
		},
		{
			MethodName: "FindAcceptedUsers",
			Handler:    _GatewayAPI_FindAcceptedUsers_Handler,
		},
		{
			MethodName: "DeleteAcceptedUser",
			Handler:    _GatewayAPI_DeleteAcceptedUser_Handler,
		},
		{
			MethodName: "IsProviderAllowed",
			Handler:    _GatewayAPI_IsProviderAllowed_Handler,
		},
		{
			MethodName: "GetInfoByDomain",
			Handler:    _GatewayAPI_GetInfoByDomain_Handler,
		},
		{
			MethodName: "ListAllProviders",
			Handler:    _GatewayAPI_ListAllProviders_Handler,
		},
		{
			MethodName: "CreateOCMCoreShare",
			Handler:    _GatewayAPI_CreateOCMCoreShare_Handler,
		},
		{
			MethodName: "UpdateOCMCoreShare",
			Handler:    _GatewayAPI_UpdateOCMCoreShare_Handler,
		},
		{
			MethodName: "DeleteOCMCoreShare",
			Handler:    _GatewayAPI_DeleteOCMCoreShare_Handler,
		},
		{
			MethodName: "CreateTransfer",
			Handler:    _GatewayAPI_CreateTransfer_Handler,
		},
		{
			MethodName: "GetTransferStatus",
			Handler:    _GatewayAPI_GetTransferStatus_Handler,
		},
		{
			MethodName: "CancelTransfer",
			Handler:    _GatewayAPI_CancelTransfer_Handler,
		},
		{
			MethodName: "ListTransfers",
			Handler:    _GatewayAPI_ListTransfers_Handler,
		},
		{
			MethodName: "RetryTransfer",
			Handler:    _GatewayAPI_RetryTransfer_Handler,
		},
		{
			MethodName: "CheckPermission",
			Handler:    _GatewayAPI_CheckPermission_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListContainerStream",
			Handler:       _GatewayAPI_ListContainerStream_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListRecycleStream",
			Handler:       _GatewayAPI_ListRecycleStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "cs3/gateway/v1beta1/gateway_api.proto",
}

GatewayAPI_ServiceDesc is the grpc.ServiceDesc for GatewayAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGatewayAPIServer

func RegisterGatewayAPIServer(s grpc.ServiceRegistrar, srv GatewayAPIServer)

Types

type AuthenticateRequest

type AuthenticateRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The type of authentication to use.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// OPTIONAL.
	// The id of the client.
	// For basic authentication with username and password
	// both client_id and client_secret are expected to be filled.
	// However, for example, for OIDC only a token is necessary.
	ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// OPTIONAL.
	// The secret of the client.
	ClientSecret string `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateRequest) Descriptor deprecated

func (*AuthenticateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetClientId

func (x *AuthenticateRequest) GetClientId() string

func (*AuthenticateRequest) GetClientSecret

func (x *AuthenticateRequest) GetClientSecret() string

func (*AuthenticateRequest) GetOpaque

func (x *AuthenticateRequest) GetOpaque() *v1beta1.Opaque

func (*AuthenticateRequest) GetType

func (x *AuthenticateRequest) GetType() string

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect

func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

type AuthenticateResponse

type AuthenticateResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The access token.
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// REQUIRED.
	// The authenticated user.
	User *v1beta12.User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateResponse) Descriptor deprecated

func (*AuthenticateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetOpaque

func (x *AuthenticateResponse) GetOpaque() *v1beta1.Opaque

func (*AuthenticateResponse) GetStatus

func (x *AuthenticateResponse) GetStatus() *v1beta11.Status

func (*AuthenticateResponse) GetToken

func (x *AuthenticateResponse) GetToken() string

func (*AuthenticateResponse) GetUser

func (x *AuthenticateResponse) GetUser() *v1beta12.User

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect

func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

type FileDownloadProtocol

type FileDownloadProtocol struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The protocol to be followed.
	Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// REQUIRED.
	// The endpoint where to download the data.
	// The value MUST be a Uniform Resource Identifier (URI)
	// as specified in RFC 3986.
	DownloadEndpoint string `protobuf:"bytes,3,opt,name=download_endpoint,json=downloadEndpoint,proto3" json:"download_endpoint,omitempty"`
	// OPTIONAL.
	// A token that MUST be validated by the data gateway for the download.
	// Only makes sense for downloads passing through the data gateway.
	Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

A file download protocol object stores information about downloading resources using a specific protocol.

func (*FileDownloadProtocol) Descriptor deprecated

func (*FileDownloadProtocol) Descriptor() ([]byte, []int)

Deprecated: Use FileDownloadProtocol.ProtoReflect.Descriptor instead.

func (*FileDownloadProtocol) GetDownloadEndpoint

func (x *FileDownloadProtocol) GetDownloadEndpoint() string

func (*FileDownloadProtocol) GetOpaque

func (x *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque

func (*FileDownloadProtocol) GetProtocol

func (x *FileDownloadProtocol) GetProtocol() string

func (*FileDownloadProtocol) GetToken

func (x *FileDownloadProtocol) GetToken() string

func (*FileDownloadProtocol) ProtoMessage

func (*FileDownloadProtocol) ProtoMessage()

func (*FileDownloadProtocol) ProtoReflect

func (x *FileDownloadProtocol) ProtoReflect() protoreflect.Message

func (*FileDownloadProtocol) Reset

func (x *FileDownloadProtocol) Reset()

func (*FileDownloadProtocol) String

func (x *FileDownloadProtocol) String() string

type FileUploadProtocol

type FileUploadProtocol struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The protocol to be followed.
	Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// REQUIRED.
	// The endpoint where to upload the data.
	// The value MUST be a Uniform Resource Identifier (URI)
	// as specified in RFC 3986.
	UploadEndpoint string `protobuf:"bytes,3,opt,name=upload_endpoint,json=uploadEndpoint,proto3" json:"upload_endpoint,omitempty"`
	// REQUIRED.
	// List of available checksums
	// the client can use when sending
	// the file.
	AvailableChecksums []*v1beta11.ResourceChecksumPriority `protobuf:"bytes,4,rep,name=available_checksums,json=availableChecksums,proto3" json:"available_checksums,omitempty"`
	// OPTIONAL.
	// A token that MUST be validated by the data gateway for the upload.
	// Only makes sense for uploads passing through the data gateway.
	Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

A file upload protocol object stores information about uploading resources using a specific protocol.

func (*FileUploadProtocol) Descriptor deprecated

func (*FileUploadProtocol) Descriptor() ([]byte, []int)

Deprecated: Use FileUploadProtocol.ProtoReflect.Descriptor instead.

func (*FileUploadProtocol) GetAvailableChecksums

func (x *FileUploadProtocol) GetAvailableChecksums() []*v1beta11.ResourceChecksumPriority

func (*FileUploadProtocol) GetOpaque

func (x *FileUploadProtocol) GetOpaque() *v1beta1.Opaque

func (*FileUploadProtocol) GetProtocol

func (x *FileUploadProtocol) GetProtocol() string

func (*FileUploadProtocol) GetToken

func (x *FileUploadProtocol) GetToken() string

func (*FileUploadProtocol) GetUploadEndpoint

func (x *FileUploadProtocol) GetUploadEndpoint() string

func (*FileUploadProtocol) ProtoMessage

func (*FileUploadProtocol) ProtoMessage()

func (*FileUploadProtocol) ProtoReflect

func (x *FileUploadProtocol) ProtoReflect() protoreflect.Message

func (*FileUploadProtocol) Reset

func (x *FileUploadProtocol) Reset()

func (*FileUploadProtocol) String

func (x *FileUploadProtocol) String() string

type GatewayAPIClient

type GatewayAPIClient interface {
	// Authenticates a user.
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	// WhoAmI returns the information for a user.
	WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error)
	// GenerateAppPassword creates a password with specified scope to be used by
	// third-party applications.
	GenerateAppPassword(ctx context.Context, in *v1beta1.GenerateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.GenerateAppPasswordResponse, error)
	// ListAppPasswords lists the application passwords created by a user.
	ListAppPasswords(ctx context.Context, in *v1beta1.ListAppPasswordsRequest, opts ...grpc.CallOption) (*v1beta1.ListAppPasswordsResponse, error)
	// InvalidateAppPassword invalidates a generated password.
	InvalidateAppPassword(ctx context.Context, in *v1beta1.InvalidateAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.InvalidateAppPasswordResponse, error)
	// GetAppPassword retrieves the password information by the combination of username and password.
	GetAppPassword(ctx context.Context, in *v1beta1.GetAppPasswordRequest, opts ...grpc.CallOption) (*v1beta1.GetAppPasswordResponse, error)
	// Creates a new resource of type container.
	// MUST return CODE_FAILED_PRECONDITION if the container
	// cannot be created at the specified reference.
	CreateContainer(ctx context.Context, in *v1beta11.CreateContainerRequest, opts ...grpc.CallOption) (*v1beta11.CreateContainerResponse, error)
	// Creates a new resource of type file.
	// MUST return CODE_FAILED_PRECONDITION if the file
	// cannot be created at the specified reference.
	TouchFile(ctx context.Context, in *v1beta11.TouchFileRequest, opts ...grpc.CallOption) (*v1beta11.TouchFileResponse, error)
	// Deletes a resource.
	// If a resource specifies the non-empty container (directory, ...),
	// then the entire directory is deleted recursively.
	// If a resource specifies a reference or symlink type, only the reference is removed (not the target).
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	Delete(ctx context.Context, in *v1beta11.DeleteRequest, opts ...grpc.CallOption) (*v1beta11.DeleteResponse, error)
	// Returns the path reference for
	// the provided resource id reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist
	GetPath(ctx context.Context, in *v1beta11.GetPathRequest, opts ...grpc.CallOption) (*v1beta11.GetPathResponse, error)
	// Returns the quota available under the provided
	// reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist
	// MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits.
	GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*v1beta11.GetQuotaResponse, error)
	// Initiates the download of a file using an
	// out-of-band data transfer mechanism.
	InitiateFileDownload(ctx context.Context, in *v1beta11.InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error)
	// Initiates the upload of a file using an
	// out-of-band data transfer mechanism.
	InitiateFileUpload(ctx context.Context, in *v1beta11.InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error)
	// Returns a stream of resource informations
	// for the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exists.
	ListContainerStream(ctx context.Context, in *v1beta11.ListContainerStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListContainerStreamClient, error)
	// Returns a list of resource information
	// for the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exists.
	ListContainer(ctx context.Context, in *v1beta11.ListContainerRequest, opts ...grpc.CallOption) (*v1beta11.ListContainerResponse, error)
	// Returns a list of the versions for a resource of
	// type file at the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_OK and MUST return an empty list if no versions are available.
	// TODO: What code if resource not of type file?
	ListFileVersions(ctx context.Context, in *v1beta11.ListFileVersionsRequest, opts ...grpc.CallOption) (*v1beta11.ListFileVersionsResponse, error)
	// Returns a stream of recycle items for this storage provider.
	ListRecycleStream(ctx context.Context, in *v1beta11.ListRecycleStreamRequest, opts ...grpc.CallOption) (GatewayAPI_ListRecycleStreamClient, error)
	// Returns a list of recycle items for this storage provider.
	// MUST return CODE_OK and MUST return an empty list if no recycle items are available.
	ListRecycle(ctx context.Context, in *v1beta11.ListRecycleRequest, opts ...grpc.CallOption) (*v1beta11.ListRecycleResponse, error)
	// Moves a resource from one reference to another.
	// MUST return CODE_NOT_FOUND if any of the references do not exist.
	// MUST return CODE_FAILED_PRECONDITION if the source reference
	// cannot be moved to the destination reference.
	Move(ctx context.Context, in *v1beta11.MoveRequest, opts ...grpc.CallOption) (*v1beta11.MoveResponse, error)
	// Permanently removes a recycle item from the recycle.
	// This operation is irrevocable.
	// MUST return CODE_NOT_FOUND if the recycle item id does not exist.
	PurgeRecycle(ctx context.Context, in *v1beta11.PurgeRecycleRequest, opts ...grpc.CallOption) (*v1beta11.PurgeRecycleResponse, error)
	// Restores a file version for the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_NOT_FOUND if the version does not exist.
	RestoreFileVersion(ctx context.Context, in *v1beta11.RestoreFileVersionRequest, opts ...grpc.CallOption) (*v1beta11.RestoreFileVersionResponse, error)
	// Restores a recycle item from the recycle.
	// MUST return CODE_NOT_FOUND if the recycle item id does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty
	// and the recycle item cannot be restored to the restore_path.
	RestoreRecycleItem(ctx context.Context, in *v1beta11.RestoreRecycleItemRequest, opts ...grpc.CallOption) (*v1beta11.RestoreRecycleItemResponse, error)
	// Returns the resource information at the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	Stat(ctx context.Context, in *v1beta11.StatRequest, opts ...grpc.CallOption) (*v1beta11.StatResponse, error)
	// Creates a symlink to another resource.
	CreateSymlink(ctx context.Context, in *v1beta11.CreateSymlinkRequest, opts ...grpc.CallOption) (*v1beta11.CreateSymlinkResponse, error)
	// Sets arbitrary metadata into a storage resource.
	// Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo.
	SetArbitraryMetadata(ctx context.Context, in *v1beta11.SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta11.SetArbitraryMetadataResponse, error)
	// Unsets arbitrary metdata into a storage resource.
	// Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo.
	UnsetArbitraryMetadata(ctx context.Context, in *v1beta11.UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*v1beta11.UnsetArbitraryMetadataResponse, error)
	// Locks a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the reference is already locked.
	// In addition, the implementation MUST ensure atomicity when multiple users
	// concurrently attempt to set a lock.
	// The caller MUST have write permissions on the resource.
	SetLock(ctx context.Context, in *v1beta11.SetLockRequest, opts ...grpc.CallOption) (*v1beta11.SetLockResponse, error)
	// Gets the lock metadata of a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist or is not locked.
	// The caller MUST have read permissions on the resource.
	GetLock(ctx context.Context, in *v1beta11.GetLockRequest, opts ...grpc.CallOption) (*v1beta11.GetLockResponse, error)
	// Refreshes the lock metadata of a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the reference is not locked
	// or if the caller does not hold the lock.
	// The caller MUST have write permissions on the resource.
	RefreshLock(ctx context.Context, in *v1beta11.RefreshLockRequest, opts ...grpc.CallOption) (*v1beta11.RefreshLockResponse, error)
	// Unlocks a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the reference is not locked
	// or if the caller does not hold the lock.
	// The caller MUST have write permissions on the resource.
	Unlock(ctx context.Context, in *v1beta11.UnlockRequest, opts ...grpc.CallOption) (*v1beta11.UnlockResponse, error)
	// Creates the home directory for a user.
	CreateHome(ctx context.Context, in *v1beta11.CreateHomeRequest, opts ...grpc.CallOption) (*v1beta11.CreateHomeResponse, error)
	// Creates a storage space.
	CreateStorageSpace(ctx context.Context, in *v1beta11.CreateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.CreateStorageSpaceResponse, error)
	// Lists storage spaces.
	ListStorageSpaces(ctx context.Context, in *v1beta11.ListStorageSpacesRequest, opts ...grpc.CallOption) (*v1beta11.ListStorageSpacesResponse, error)
	// Updates a storage space.
	UpdateStorageSpace(ctx context.Context, in *v1beta11.UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.UpdateStorageSpaceResponse, error)
	// Deletes a storage space.
	DeleteStorageSpace(ctx context.Context, in *v1beta11.DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*v1beta11.DeleteStorageSpaceResponse, error)
	// Returns the App URL and all necessary info to open a resource in an online editor.
	// MUST return CODE_NOT_FOUND if the resource does not exist.
	OpenInApp(ctx context.Context, in *OpenInAppRequest, opts ...grpc.CallOption) (*v1beta12.OpenInAppResponse, error)
	// Creates a new share.
	// 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
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateShare(ctx context.Context, in *v1beta13.CreateShareRequest, opts ...grpc.CallOption) (*v1beta13.CreateShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveShare(ctx context.Context, in *v1beta13.RemoveShareRequest, opts ...grpc.CallOption) (*v1beta13.RemoveShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetShare(ctx context.Context, in *v1beta13.GetShareRequest, opts ...grpc.CallOption) (*v1beta13.GetShareResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListShares(ctx context.Context, in *v1beta13.ListSharesRequest, opts ...grpc.CallOption) (*v1beta13.ListSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateShare(ctx context.Context, in *v1beta13.UpdateShareRequest, opts ...grpc.CallOption) (*v1beta13.UpdateShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedShares(ctx context.Context, in *v1beta13.ListReceivedSharesRequest, opts ...grpc.CallOption) (*v1beta13.ListReceivedSharesResponse, error)
	// List all existing shares the authenticated principal has received,
	// including their storage resource information.
	ListExistingReceivedShares(ctx context.Context, in *v1beta13.ListReceivedSharesRequest, opts ...grpc.CallOption) (*ListExistingReceivedSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedShare(ctx context.Context, in *v1beta13.UpdateReceivedShareRequest, opts ...grpc.CallOption) (*v1beta13.UpdateReceivedShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedShare(ctx context.Context, in *v1beta13.GetReceivedShareRequest, opts ...grpc.CallOption) (*v1beta13.GetReceivedShareResponse, error)
	// Maps the key-value pair.
	SetKey(ctx context.Context, in *v1beta14.SetKeyRequest, opts ...grpc.CallOption) (*v1beta14.SetKeyResponse, error)
	// Returns the value associated with the
	// requested key.
	GetKey(ctx context.Context, in *v1beta14.GetKeyRequest, opts ...grpc.CallOption) (*v1beta14.GetKeyResponse, error)
	// Creates a new share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreatePublicShare(ctx context.Context, in *v1beta15.CreatePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.CreatePublicShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemovePublicShare(ctx context.Context, in *v1beta15.RemovePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.RemovePublicShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetPublicShare(ctx context.Context, in *v1beta15.GetPublicShareRequest, opts ...grpc.CallOption) (*v1beta15.GetPublicShareResponse, error)
	// Gets share information for a single share by its unlisted token.
	// MUST return CODE_NOT_FOUND if the share does not exist.
	GetPublicShareByToken(ctx context.Context, in *v1beta15.GetPublicShareByTokenRequest, opts ...grpc.CallOption) (*v1beta15.GetPublicShareByTokenResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListPublicShares(ctx context.Context, in *v1beta15.ListPublicSharesRequest, opts ...grpc.CallOption) (*v1beta15.ListPublicSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdatePublicShare(ctx context.Context, in *v1beta15.UpdatePublicShareRequest, opts ...grpc.CallOption) (*v1beta15.UpdatePublicShareResponse, error)
	// Creates a new ocm share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateOCMShare(ctx context.Context, in *v1beta16.CreateOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.CreateOCMShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveOCMShare(ctx context.Context, in *v1beta16.RemoveOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.RemoveOCMShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetOCMShare(ctx context.Context, in *v1beta16.GetOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.GetOCMShareResponse, error)
	// Gets share information for a single share by its unlisted token.
	// MUST return CODE_NOT_FOUND if the share does not exist.
	GetOCMShareByToken(ctx context.Context, in *v1beta16.GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*v1beta16.GetOCMShareByTokenResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListOCMShares(ctx context.Context, in *v1beta16.ListOCMSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListOCMSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateOCMShare(ctx context.Context, in *v1beta16.UpdateOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateOCMShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedOCMShares(ctx context.Context, in *v1beta16.ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*v1beta16.ListReceivedOCMSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedOCMShare(ctx context.Context, in *v1beta16.UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.UpdateReceivedOCMShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedOCMShare(ctx context.Context, in *v1beta16.GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*v1beta16.GetReceivedOCMShareResponse, error)
	// Returns the app providers that are capable of handling this resource info.
	// MUST return CODE_NOT_FOUND if no providers are available.
	GetAppProviders(ctx context.Context, in *v1beta17.GetAppProvidersRequest, opts ...grpc.CallOption) (*v1beta17.GetAppProvidersResponse, error)
	// Registers a new app provider to the registry.
	AddAppProvider(ctx context.Context, in *v1beta17.AddAppProviderRequest, opts ...grpc.CallOption) (*v1beta17.AddAppProviderResponse, error)
	// Returns a list of the available app providers known by this registry.
	ListAppProviders(ctx context.Context, in *v1beta17.ListAppProvidersRequest, opts ...grpc.CallOption) (*v1beta17.ListAppProvidersResponse, error)
	// Returns a list of the supported mime types along with the apps which they can opened with.
	ListSupportedMimeTypes(ctx context.Context, in *v1beta17.ListSupportedMimeTypesRequest, opts ...grpc.CallOption) (*v1beta17.ListSupportedMimeTypesResponse, error)
	// Returns the default app provider which serves a specified mime type.
	GetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta17.GetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta17.GetDefaultAppProviderForMimeTypeResponse, error)
	// Sets the default app provider for a specified mime type.
	SetDefaultAppProviderForMimeType(ctx context.Context, in *v1beta17.SetDefaultAppProviderForMimeTypeRequest, opts ...grpc.CallOption) (*v1beta17.SetDefaultAppProviderForMimeTypeResponse, error)
	// Gets the information about a user by the user id.
	GetUser(ctx context.Context, in *v1beta18.GetUserRequest, opts ...grpc.CallOption) (*v1beta18.GetUserResponse, error)
	// Gets the information about a user based on a specified claim.
	GetUserByClaim(ctx context.Context, in *v1beta18.GetUserByClaimRequest, opts ...grpc.CallOption) (*v1beta18.GetUserByClaimResponse, error)
	// Gets the groups of a user.
	GetUserGroups(ctx context.Context, in *v1beta18.GetUserGroupsRequest, opts ...grpc.CallOption) (*v1beta18.GetUserGroupsResponse, error)
	// Finds users by any attribute of the user.
	// TODO(labkode): to define the filters that make more sense.
	FindUsers(ctx context.Context, in *v1beta18.FindUsersRequest, opts ...grpc.CallOption) (*v1beta18.FindUsersResponse, error)
	// Gets the information about a group by the group id.
	GetGroup(ctx context.Context, in *v1beta19.GetGroupRequest, opts ...grpc.CallOption) (*v1beta19.GetGroupResponse, error)
	// Gets the information about a group based on a specified claim.
	GetGroupByClaim(ctx context.Context, in *v1beta19.GetGroupByClaimRequest, opts ...grpc.CallOption) (*v1beta19.GetGroupByClaimResponse, error)
	// Gets the members of a group.
	GetMembers(ctx context.Context, in *v1beta19.GetMembersRequest, opts ...grpc.CallOption) (*v1beta19.GetMembersResponse, error)
	// Tells if the group has a certain member.
	HasMember(ctx context.Context, in *v1beta19.HasMemberRequest, opts ...grpc.CallOption) (*v1beta19.HasMemberResponse, error)
	// TODO(labkode): to define the filters that make more sense.
	// Finds groups whose names match the specified filter.
	FindGroups(ctx context.Context, in *v1beta19.FindGroupsRequest, opts ...grpc.CallOption) (*v1beta19.FindGroupsResponse, error)
	// Returns a list of the available auth providers known by this registry.
	ListAuthProviders(ctx context.Context, in *v1beta110.ListAuthProvidersRequest, opts ...grpc.CallOption) (*ListAuthProvidersResponse, error)
	// Returns the home path for the given authenticated user.
	// When a user has access to multiple storage providers, one of them is the home.
	GetHome(ctx context.Context, in *v1beta11.GetHomeRequest, opts ...grpc.CallOption) (*v1beta11.GetHomeResponse, error)
	// Generates a new token for the user with a validity of 24 hours.
	GenerateInviteToken(ctx context.Context, in *v1beta111.GenerateInviteTokenRequest, opts ...grpc.CallOption) (*v1beta111.GenerateInviteTokenResponse, error)
	// Lists the valid tokens generated by the user.
	ListInviteTokens(ctx context.Context, in *v1beta111.ListInviteTokensRequest, opts ...grpc.CallOption) (*v1beta111.ListInviteTokensResponse, error)
	// Forwards a received invite to the sync'n'share system provider.
	ForwardInvite(ctx context.Context, in *v1beta111.ForwardInviteRequest, opts ...grpc.CallOption) (*v1beta111.ForwardInviteResponse, error)
	// Completes an invitation acceptance.
	AcceptInvite(ctx context.Context, in *v1beta111.AcceptInviteRequest, opts ...grpc.CallOption) (*v1beta111.AcceptInviteResponse, error)
	// Retrieves details about a remote user who has accepted an invite to share.
	GetAcceptedUser(ctx context.Context, in *v1beta111.GetAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta111.GetAcceptedUserResponse, error)
	// Finds users who accepted invite tokens by their attributes.
	FindAcceptedUsers(ctx context.Context, in *v1beta111.FindAcceptedUsersRequest, opts ...grpc.CallOption) (*v1beta111.FindAcceptedUsersResponse, error)
	// Delete a previously accepted remote user, that is unfriend that user.
	DeleteAcceptedUser(ctx context.Context, in *v1beta111.DeleteAcceptedUserRequest, opts ...grpc.CallOption) (*v1beta111.DeleteAcceptedUserResponse, error)
	// Check if a given system provider is registered in the mesh or not.
	// MUST return CODE_UNAUTHENTICATED if the system is not registered
	IsProviderAllowed(ctx context.Context, in *v1beta112.IsProviderAllowedRequest, opts ...grpc.CallOption) (*v1beta112.IsProviderAllowedResponse, error)
	// Get the information of the provider identified by a specific domain.
	// MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist.
	GetInfoByDomain(ctx context.Context, in *v1beta112.GetInfoByDomainRequest, opts ...grpc.CallOption) (*v1beta112.GetInfoByDomainResponse, error)
	// Get the information of all the providers registered in the mesh.
	ListAllProviders(ctx context.Context, in *v1beta112.ListAllProvidersRequest, opts ...grpc.CallOption) (*v1beta112.ListAllProvidersResponse, error)
	// Creates a new OCM share.
	CreateOCMCoreShare(ctx context.Context, in *v1beta113.CreateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.CreateOCMCoreShareResponse, error)
	// Updates an OCM share.
	UpdateOCMCoreShare(ctx context.Context, in *v1beta113.UpdateOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.UpdateOCMCoreShareResponse, error)
	// Deletes an OCM share.
	DeleteOCMCoreShare(ctx context.Context, in *v1beta113.DeleteOCMCoreShareRequest, opts ...grpc.CallOption) (*v1beta113.DeleteOCMCoreShareResponse, error)
	// Requests creation of a transfer.
	CreateTransfer(ctx context.Context, in *v1beta114.CreateTransferRequest, opts ...grpc.CallOption) (*v1beta114.CreateTransferResponse, error)
	// Requests a transfer status.
	GetTransferStatus(ctx context.Context, in *v1beta114.GetTransferStatusRequest, opts ...grpc.CallOption) (*v1beta114.GetTransferStatusResponse, error)
	// Requests to cancel a transfer.
	CancelTransfer(ctx context.Context, in *v1beta114.CancelTransferRequest, opts ...grpc.CallOption) (*v1beta114.CancelTransferResponse, error)
	// Requests a list of transfers received by the authenticated principle.
	ListTransfers(ctx context.Context, in *v1beta114.ListTransfersRequest, opts ...grpc.CallOption) (*v1beta114.ListTransfersResponse, error)
	// Requests retrying a transfer.
	RetryTransfer(ctx context.Context, in *v1beta114.RetryTransferRequest, opts ...grpc.CallOption) (*v1beta114.RetryTransferResponse, error)
	// CheckPermission checks if a user or group has a certain permission.
	CheckPermission(ctx context.Context, in *v1beta115.CheckPermissionRequest, opts ...grpc.CallOption) (*v1beta115.CheckPermissionResponse, error)
}

GatewayAPIClient is the client API for GatewayAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGatewayAPIClient

func NewGatewayAPIClient(cc grpc.ClientConnInterface) GatewayAPIClient

type GatewayAPIServer

type GatewayAPIServer interface {
	// Authenticates a user.
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	// WhoAmI returns the information for a user.
	WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error)
	// GenerateAppPassword creates a password with specified scope to be used by
	// third-party applications.
	GenerateAppPassword(context.Context, *v1beta1.GenerateAppPasswordRequest) (*v1beta1.GenerateAppPasswordResponse, error)
	// ListAppPasswords lists the application passwords created by a user.
	ListAppPasswords(context.Context, *v1beta1.ListAppPasswordsRequest) (*v1beta1.ListAppPasswordsResponse, error)
	// InvalidateAppPassword invalidates a generated password.
	InvalidateAppPassword(context.Context, *v1beta1.InvalidateAppPasswordRequest) (*v1beta1.InvalidateAppPasswordResponse, error)
	// GetAppPassword retrieves the password information by the combination of username and password.
	GetAppPassword(context.Context, *v1beta1.GetAppPasswordRequest) (*v1beta1.GetAppPasswordResponse, error)
	// Creates a new resource of type container.
	// MUST return CODE_FAILED_PRECONDITION if the container
	// cannot be created at the specified reference.
	CreateContainer(context.Context, *v1beta11.CreateContainerRequest) (*v1beta11.CreateContainerResponse, error)
	// Creates a new resource of type file.
	// MUST return CODE_FAILED_PRECONDITION if the file
	// cannot be created at the specified reference.
	TouchFile(context.Context, *v1beta11.TouchFileRequest) (*v1beta11.TouchFileResponse, error)
	// Deletes a resource.
	// If a resource specifies the non-empty container (directory, ...),
	// then the entire directory is deleted recursively.
	// If a resource specifies a reference or symlink type, only the reference is removed (not the target).
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	Delete(context.Context, *v1beta11.DeleteRequest) (*v1beta11.DeleteResponse, error)
	// Returns the path reference for
	// the provided resource id reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist
	GetPath(context.Context, *v1beta11.GetPathRequest) (*v1beta11.GetPathResponse, error)
	// Returns the quota available under the provided
	// reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist
	// MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits.
	GetQuota(context.Context, *GetQuotaRequest) (*v1beta11.GetQuotaResponse, error)
	// Initiates the download of a file using an
	// out-of-band data transfer mechanism.
	InitiateFileDownload(context.Context, *v1beta11.InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error)
	// Initiates the upload of a file using an
	// out-of-band data transfer mechanism.
	InitiateFileUpload(context.Context, *v1beta11.InitiateFileUploadRequest) (*InitiateFileUploadResponse, error)
	// Returns a stream of resource informations
	// for the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exists.
	ListContainerStream(*v1beta11.ListContainerStreamRequest, GatewayAPI_ListContainerStreamServer) error
	// Returns a list of resource information
	// for the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exists.
	ListContainer(context.Context, *v1beta11.ListContainerRequest) (*v1beta11.ListContainerResponse, error)
	// Returns a list of the versions for a resource of
	// type file at the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_OK and MUST return an empty list if no versions are available.
	// TODO: What code if resource not of type file?
	ListFileVersions(context.Context, *v1beta11.ListFileVersionsRequest) (*v1beta11.ListFileVersionsResponse, error)
	// Returns a stream of recycle items for this storage provider.
	ListRecycleStream(*v1beta11.ListRecycleStreamRequest, GatewayAPI_ListRecycleStreamServer) error
	// Returns a list of recycle items for this storage provider.
	// MUST return CODE_OK and MUST return an empty list if no recycle items are available.
	ListRecycle(context.Context, *v1beta11.ListRecycleRequest) (*v1beta11.ListRecycleResponse, error)
	// Moves a resource from one reference to another.
	// MUST return CODE_NOT_FOUND if any of the references do not exist.
	// MUST return CODE_FAILED_PRECONDITION if the source reference
	// cannot be moved to the destination reference.
	Move(context.Context, *v1beta11.MoveRequest) (*v1beta11.MoveResponse, error)
	// Permanently removes a recycle item from the recycle.
	// This operation is irrevocable.
	// MUST return CODE_NOT_FOUND if the recycle item id does not exist.
	PurgeRecycle(context.Context, *v1beta11.PurgeRecycleRequest) (*v1beta11.PurgeRecycleResponse, error)
	// Restores a file version for the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_NOT_FOUND if the version does not exist.
	RestoreFileVersion(context.Context, *v1beta11.RestoreFileVersionRequest) (*v1beta11.RestoreFileVersionResponse, error)
	// Restores a recycle item from the recycle.
	// MUST return CODE_NOT_FOUND if the recycle item id does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the restore_path is non-empty
	// and the recycle item cannot be restored to the restore_path.
	RestoreRecycleItem(context.Context, *v1beta11.RestoreRecycleItemRequest) (*v1beta11.RestoreRecycleItemResponse, error)
	// Returns the resource information at the provided reference.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	Stat(context.Context, *v1beta11.StatRequest) (*v1beta11.StatResponse, error)
	// Creates a symlink to another resource.
	CreateSymlink(context.Context, *v1beta11.CreateSymlinkRequest) (*v1beta11.CreateSymlinkResponse, error)
	// Sets arbitrary metadata into a storage resource.
	// Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo.
	SetArbitraryMetadata(context.Context, *v1beta11.SetArbitraryMetadataRequest) (*v1beta11.SetArbitraryMetadataResponse, error)
	// Unsets arbitrary metdata into a storage resource.
	// Arbitrary metadata is returned in a cs3.storage.provider.v1beta1.ResourceInfo.
	UnsetArbitraryMetadata(context.Context, *v1beta11.UnsetArbitraryMetadataRequest) (*v1beta11.UnsetArbitraryMetadataResponse, error)
	// Locks a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the reference is already locked.
	// In addition, the implementation MUST ensure atomicity when multiple users
	// concurrently attempt to set a lock.
	// The caller MUST have write permissions on the resource.
	SetLock(context.Context, *v1beta11.SetLockRequest) (*v1beta11.SetLockResponse, error)
	// Gets the lock metadata of a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist or is not locked.
	// The caller MUST have read permissions on the resource.
	GetLock(context.Context, *v1beta11.GetLockRequest) (*v1beta11.GetLockResponse, error)
	// Refreshes the lock metadata of a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the reference is not locked
	// or if the caller does not hold the lock.
	// The caller MUST have write permissions on the resource.
	RefreshLock(context.Context, *v1beta11.RefreshLockRequest) (*v1beta11.RefreshLockResponse, error)
	// Unlocks a storage resource.
	// MUST return CODE_NOT_FOUND if the reference does not exist.
	// MUST return CODE_FAILED_PRECONDITION if the reference is not locked
	// or if the caller does not hold the lock.
	// The caller MUST have write permissions on the resource.
	Unlock(context.Context, *v1beta11.UnlockRequest) (*v1beta11.UnlockResponse, error)
	// Creates the home directory for a user.
	CreateHome(context.Context, *v1beta11.CreateHomeRequest) (*v1beta11.CreateHomeResponse, error)
	// Creates a storage space.
	CreateStorageSpace(context.Context, *v1beta11.CreateStorageSpaceRequest) (*v1beta11.CreateStorageSpaceResponse, error)
	// Lists storage spaces.
	ListStorageSpaces(context.Context, *v1beta11.ListStorageSpacesRequest) (*v1beta11.ListStorageSpacesResponse, error)
	// Updates a storage space.
	UpdateStorageSpace(context.Context, *v1beta11.UpdateStorageSpaceRequest) (*v1beta11.UpdateStorageSpaceResponse, error)
	// Deletes a storage space.
	DeleteStorageSpace(context.Context, *v1beta11.DeleteStorageSpaceRequest) (*v1beta11.DeleteStorageSpaceResponse, error)
	// Returns the App URL and all necessary info to open a resource in an online editor.
	// MUST return CODE_NOT_FOUND if the resource does not exist.
	OpenInApp(context.Context, *OpenInAppRequest) (*v1beta12.OpenInAppResponse, error)
	// Creates a new share.
	// 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
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateShare(context.Context, *v1beta13.CreateShareRequest) (*v1beta13.CreateShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveShare(context.Context, *v1beta13.RemoveShareRequest) (*v1beta13.RemoveShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetShare(context.Context, *v1beta13.GetShareRequest) (*v1beta13.GetShareResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListShares(context.Context, *v1beta13.ListSharesRequest) (*v1beta13.ListSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateShare(context.Context, *v1beta13.UpdateShareRequest) (*v1beta13.UpdateShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedShares(context.Context, *v1beta13.ListReceivedSharesRequest) (*v1beta13.ListReceivedSharesResponse, error)
	// List all existing shares the authenticated principal has received,
	// including their storage resource information.
	ListExistingReceivedShares(context.Context, *v1beta13.ListReceivedSharesRequest) (*ListExistingReceivedSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedShare(context.Context, *v1beta13.UpdateReceivedShareRequest) (*v1beta13.UpdateReceivedShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedShare(context.Context, *v1beta13.GetReceivedShareRequest) (*v1beta13.GetReceivedShareResponse, error)
	// Maps the key-value pair.
	SetKey(context.Context, *v1beta14.SetKeyRequest) (*v1beta14.SetKeyResponse, error)
	// Returns the value associated with the
	// requested key.
	GetKey(context.Context, *v1beta14.GetKeyRequest) (*v1beta14.GetKeyResponse, error)
	// Creates a new share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreatePublicShare(context.Context, *v1beta15.CreatePublicShareRequest) (*v1beta15.CreatePublicShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemovePublicShare(context.Context, *v1beta15.RemovePublicShareRequest) (*v1beta15.RemovePublicShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetPublicShare(context.Context, *v1beta15.GetPublicShareRequest) (*v1beta15.GetPublicShareResponse, error)
	// Gets share information for a single share by its unlisted token.
	// MUST return CODE_NOT_FOUND if the share does not exist.
	GetPublicShareByToken(context.Context, *v1beta15.GetPublicShareByTokenRequest) (*v1beta15.GetPublicShareByTokenResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListPublicShares(context.Context, *v1beta15.ListPublicSharesRequest) (*v1beta15.ListPublicSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdatePublicShare(context.Context, *v1beta15.UpdatePublicShareRequest) (*v1beta15.UpdatePublicShareResponse, error)
	// Creates a new ocm share.
	// MUST return CODE_NOT_FOUND if the resource reference does not exist.
	// MUST return CODE_ALREADY_EXISTS if the share already exists for the 4-tuple consisting of
	// (owner, shared_resource, grantee).
	// New shares MUST be created in the state SHARE_STATE_PENDING.
	CreateOCMShare(context.Context, *v1beta16.CreateOCMShareRequest) (*v1beta16.CreateOCMShareResponse, error)
	// Removes a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	RemoveOCMShare(context.Context, *v1beta16.RemoveOCMShareRequest) (*v1beta16.RemoveOCMShareResponse, error)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetOCMShare(context.Context, *v1beta16.GetOCMShareRequest) (*v1beta16.GetOCMShareResponse, error)
	// Gets share information for a single share by its unlisted token.
	// MUST return CODE_NOT_FOUND if the share does not exist.
	GetOCMShareByToken(context.Context, *v1beta16.GetOCMShareByTokenRequest) (*v1beta16.GetOCMShareByTokenResponse, error)
	// List the shares the authenticated principal has created,
	// both as owner and creator. If a filter is specified, only
	// shares satisfying the filter MUST be returned.
	ListOCMShares(context.Context, *v1beta16.ListOCMSharesRequest) (*v1beta16.ListOCMSharesResponse, error)
	// Updates a share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateOCMShare(context.Context, *v1beta16.UpdateOCMShareRequest) (*v1beta16.UpdateOCMShareResponse, error)
	// List all shares the authenticated principal has received.
	ListReceivedOCMShares(context.Context, *v1beta16.ListReceivedOCMSharesRequest) (*v1beta16.ListReceivedOCMSharesResponse, error)
	// Update the received share to change the share state or the display name.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	UpdateReceivedOCMShare(context.Context, *v1beta16.UpdateReceivedOCMShareRequest) (*v1beta16.UpdateReceivedOCMShareResponse, error)
	// Get the information for the given received share reference.
	// MUST return CODE_NOT_FOUND if the received share reference does not exist.
	GetReceivedOCMShare(context.Context, *v1beta16.GetReceivedOCMShareRequest) (*v1beta16.GetReceivedOCMShareResponse, error)
	// Returns the app providers that are capable of handling this resource info.
	// MUST return CODE_NOT_FOUND if no providers are available.
	GetAppProviders(context.Context, *v1beta17.GetAppProvidersRequest) (*v1beta17.GetAppProvidersResponse, error)
	// Registers a new app provider to the registry.
	AddAppProvider(context.Context, *v1beta17.AddAppProviderRequest) (*v1beta17.AddAppProviderResponse, error)
	// Returns a list of the available app providers known by this registry.
	ListAppProviders(context.Context, *v1beta17.ListAppProvidersRequest) (*v1beta17.ListAppProvidersResponse, error)
	// Returns a list of the supported mime types along with the apps which they can opened with.
	ListSupportedMimeTypes(context.Context, *v1beta17.ListSupportedMimeTypesRequest) (*v1beta17.ListSupportedMimeTypesResponse, error)
	// Returns the default app provider which serves a specified mime type.
	GetDefaultAppProviderForMimeType(context.Context, *v1beta17.GetDefaultAppProviderForMimeTypeRequest) (*v1beta17.GetDefaultAppProviderForMimeTypeResponse, error)
	// Sets the default app provider for a specified mime type.
	SetDefaultAppProviderForMimeType(context.Context, *v1beta17.SetDefaultAppProviderForMimeTypeRequest) (*v1beta17.SetDefaultAppProviderForMimeTypeResponse, error)
	// Gets the information about a user by the user id.
	GetUser(context.Context, *v1beta18.GetUserRequest) (*v1beta18.GetUserResponse, error)
	// Gets the information about a user based on a specified claim.
	GetUserByClaim(context.Context, *v1beta18.GetUserByClaimRequest) (*v1beta18.GetUserByClaimResponse, error)
	// Gets the groups of a user.
	GetUserGroups(context.Context, *v1beta18.GetUserGroupsRequest) (*v1beta18.GetUserGroupsResponse, error)
	// Finds users by any attribute of the user.
	// TODO(labkode): to define the filters that make more sense.
	FindUsers(context.Context, *v1beta18.FindUsersRequest) (*v1beta18.FindUsersResponse, error)
	// Gets the information about a group by the group id.
	GetGroup(context.Context, *v1beta19.GetGroupRequest) (*v1beta19.GetGroupResponse, error)
	// Gets the information about a group based on a specified claim.
	GetGroupByClaim(context.Context, *v1beta19.GetGroupByClaimRequest) (*v1beta19.GetGroupByClaimResponse, error)
	// Gets the members of a group.
	GetMembers(context.Context, *v1beta19.GetMembersRequest) (*v1beta19.GetMembersResponse, error)
	// Tells if the group has a certain member.
	HasMember(context.Context, *v1beta19.HasMemberRequest) (*v1beta19.HasMemberResponse, error)
	// TODO(labkode): to define the filters that make more sense.
	// Finds groups whose names match the specified filter.
	FindGroups(context.Context, *v1beta19.FindGroupsRequest) (*v1beta19.FindGroupsResponse, error)
	// Returns a list of the available auth providers known by this registry.
	ListAuthProviders(context.Context, *v1beta110.ListAuthProvidersRequest) (*ListAuthProvidersResponse, error)
	// Returns the home path for the given authenticated user.
	// When a user has access to multiple storage providers, one of them is the home.
	GetHome(context.Context, *v1beta11.GetHomeRequest) (*v1beta11.GetHomeResponse, error)
	// Generates a new token for the user with a validity of 24 hours.
	GenerateInviteToken(context.Context, *v1beta111.GenerateInviteTokenRequest) (*v1beta111.GenerateInviteTokenResponse, error)
	// Lists the valid tokens generated by the user.
	ListInviteTokens(context.Context, *v1beta111.ListInviteTokensRequest) (*v1beta111.ListInviteTokensResponse, error)
	// Forwards a received invite to the sync'n'share system provider.
	ForwardInvite(context.Context, *v1beta111.ForwardInviteRequest) (*v1beta111.ForwardInviteResponse, error)
	// Completes an invitation acceptance.
	AcceptInvite(context.Context, *v1beta111.AcceptInviteRequest) (*v1beta111.AcceptInviteResponse, error)
	// Retrieves details about a remote user who has accepted an invite to share.
	GetAcceptedUser(context.Context, *v1beta111.GetAcceptedUserRequest) (*v1beta111.GetAcceptedUserResponse, error)
	// Finds users who accepted invite tokens by their attributes.
	FindAcceptedUsers(context.Context, *v1beta111.FindAcceptedUsersRequest) (*v1beta111.FindAcceptedUsersResponse, error)
	// Delete a previously accepted remote user, that is unfriend that user.
	DeleteAcceptedUser(context.Context, *v1beta111.DeleteAcceptedUserRequest) (*v1beta111.DeleteAcceptedUserResponse, error)
	// Check if a given system provider is registered in the mesh or not.
	// MUST return CODE_UNAUTHENTICATED if the system is not registered
	IsProviderAllowed(context.Context, *v1beta112.IsProviderAllowedRequest) (*v1beta112.IsProviderAllowedResponse, error)
	// Get the information of the provider identified by a specific domain.
	// MUST return CODE_NOT_FOUND if the sync'n'share system provider does not exist.
	GetInfoByDomain(context.Context, *v1beta112.GetInfoByDomainRequest) (*v1beta112.GetInfoByDomainResponse, error)
	// Get the information of all the providers registered in the mesh.
	ListAllProviders(context.Context, *v1beta112.ListAllProvidersRequest) (*v1beta112.ListAllProvidersResponse, error)
	// Creates a new OCM share.
	CreateOCMCoreShare(context.Context, *v1beta113.CreateOCMCoreShareRequest) (*v1beta113.CreateOCMCoreShareResponse, error)
	// Updates an OCM share.
	UpdateOCMCoreShare(context.Context, *v1beta113.UpdateOCMCoreShareRequest) (*v1beta113.UpdateOCMCoreShareResponse, error)
	// Deletes an OCM share.
	DeleteOCMCoreShare(context.Context, *v1beta113.DeleteOCMCoreShareRequest) (*v1beta113.DeleteOCMCoreShareResponse, error)
	// Requests creation of a transfer.
	CreateTransfer(context.Context, *v1beta114.CreateTransferRequest) (*v1beta114.CreateTransferResponse, error)
	// Requests a transfer status.
	GetTransferStatus(context.Context, *v1beta114.GetTransferStatusRequest) (*v1beta114.GetTransferStatusResponse, error)
	// Requests to cancel a transfer.
	CancelTransfer(context.Context, *v1beta114.CancelTransferRequest) (*v1beta114.CancelTransferResponse, error)
	// Requests a list of transfers received by the authenticated principle.
	ListTransfers(context.Context, *v1beta114.ListTransfersRequest) (*v1beta114.ListTransfersResponse, error)
	// Requests retrying a transfer.
	RetryTransfer(context.Context, *v1beta114.RetryTransferRequest) (*v1beta114.RetryTransferResponse, error)
	// CheckPermission checks if a user or group has a certain permission.
	CheckPermission(context.Context, *v1beta115.CheckPermissionRequest) (*v1beta115.CheckPermissionResponse, error)
}

GatewayAPIServer is the server API for GatewayAPI service. All implementations should embed UnimplementedGatewayAPIServer for forward compatibility

type GatewayAPI_ListContainerStreamClient

type GatewayAPI_ListContainerStreamClient interface {
	Recv() (*v1beta11.ListContainerStreamResponse, error)
	grpc.ClientStream
}

type GatewayAPI_ListContainerStreamServer

type GatewayAPI_ListContainerStreamServer interface {
	Send(*v1beta11.ListContainerStreamResponse) error
	grpc.ServerStream
}

type GatewayAPI_ListRecycleStreamClient

type GatewayAPI_ListRecycleStreamClient interface {
	Recv() (*v1beta11.ListRecycleStreamResponse, error)
	grpc.ClientStream
}

type GatewayAPI_ListRecycleStreamServer

type GatewayAPI_ListRecycleStreamServer interface {
	Send(*v1beta11.ListRecycleStreamResponse) error
	grpc.ServerStream
}

type GetQuotaRequest

type GetQuotaRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The reference to which the action should be performed.
	Ref *v1beta13.Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQuotaRequest) Descriptor deprecated

func (*GetQuotaRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetQuotaRequest.ProtoReflect.Descriptor instead.

func (*GetQuotaRequest) GetOpaque

func (x *GetQuotaRequest) GetOpaque() *v1beta1.Opaque

func (*GetQuotaRequest) GetRef

func (x *GetQuotaRequest) GetRef() *v1beta13.Reference

func (*GetQuotaRequest) ProtoMessage

func (*GetQuotaRequest) ProtoMessage()

func (*GetQuotaRequest) ProtoReflect

func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message

func (*GetQuotaRequest) Reset

func (x *GetQuotaRequest) Reset()

func (*GetQuotaRequest) String

func (x *GetQuotaRequest) String() string

type InitiateFileDownloadResponse

type InitiateFileDownloadResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The protocols through which data can be downloaded.
	Protocols []*FileDownloadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// contains filtered or unexported fields
}

func (*InitiateFileDownloadResponse) Descriptor deprecated

func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitiateFileDownloadResponse.ProtoReflect.Descriptor instead.

func (*InitiateFileDownloadResponse) GetOpaque

func (*InitiateFileDownloadResponse) GetProtocols

func (*InitiateFileDownloadResponse) GetStatus

func (*InitiateFileDownloadResponse) ProtoMessage

func (*InitiateFileDownloadResponse) ProtoMessage()

func (*InitiateFileDownloadResponse) ProtoReflect

func (*InitiateFileDownloadResponse) Reset

func (x *InitiateFileDownloadResponse) Reset()

func (*InitiateFileDownloadResponse) String

type InitiateFileUploadResponse

type InitiateFileUploadResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The protocols through which data can be uploaded.
	Protocols []*FileUploadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// contains filtered or unexported fields
}

func (*InitiateFileUploadResponse) Descriptor deprecated

func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitiateFileUploadResponse.ProtoReflect.Descriptor instead.

func (*InitiateFileUploadResponse) GetOpaque

func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque

func (*InitiateFileUploadResponse) GetProtocols

func (x *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol

func (*InitiateFileUploadResponse) GetStatus

func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status

func (*InitiateFileUploadResponse) ProtoMessage

func (*InitiateFileUploadResponse) ProtoMessage()

func (*InitiateFileUploadResponse) ProtoReflect

func (*InitiateFileUploadResponse) Reset

func (x *InitiateFileUploadResponse) Reset()

func (*InitiateFileUploadResponse) String

func (x *InitiateFileUploadResponse) String() string

type ListAuthProvidersResponse

type ListAuthProvidersResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The list of auth types.
	// TODO(labkode): maybe add description?
	Types []string `protobuf:"bytes,3,rep,name=types,proto3" json:"types,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuthProvidersResponse) Descriptor deprecated

func (*ListAuthProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAuthProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListAuthProvidersResponse) GetOpaque

func (x *ListAuthProvidersResponse) GetOpaque() *v1beta1.Opaque

func (*ListAuthProvidersResponse) GetStatus

func (x *ListAuthProvidersResponse) GetStatus() *v1beta11.Status

func (*ListAuthProvidersResponse) GetTypes

func (x *ListAuthProvidersResponse) GetTypes() []string

func (*ListAuthProvidersResponse) ProtoMessage

func (*ListAuthProvidersResponse) ProtoMessage()

func (*ListAuthProvidersResponse) ProtoReflect

func (*ListAuthProvidersResponse) Reset

func (x *ListAuthProvidersResponse) Reset()

func (*ListAuthProvidersResponse) String

func (x *ListAuthProvidersResponse) String() string

type ListExistingReceivedSharesResponse

type ListExistingReceivedSharesResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The shares encapsulating both the share metadata and the storage metadata.
	Shares []*SharedResourceInfo `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"`
	// OPTIONAL.
	// This field represents the pagination token to retrieve the next page of results.
	// If the value is "", it means no further results for the request.
	// see https://cloud.google.com/apis/design/design_patterns#list_pagination
	NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExistingReceivedSharesResponse) Descriptor deprecated

func (*ListExistingReceivedSharesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListExistingReceivedSharesResponse.ProtoReflect.Descriptor instead.

func (*ListExistingReceivedSharesResponse) GetNextPageToken

func (x *ListExistingReceivedSharesResponse) GetNextPageToken() string

func (*ListExistingReceivedSharesResponse) GetOpaque

func (*ListExistingReceivedSharesResponse) GetShares

func (*ListExistingReceivedSharesResponse) GetStatus

func (*ListExistingReceivedSharesResponse) ProtoMessage

func (*ListExistingReceivedSharesResponse) ProtoMessage()

func (*ListExistingReceivedSharesResponse) ProtoReflect

func (*ListExistingReceivedSharesResponse) Reset

func (*ListExistingReceivedSharesResponse) String

type OpenInAppRequest

type OpenInAppRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The resource reference. If a path is given, it will be resolved via Stat() to a ResourceInfo
	// in case a call to the WOPI server is to be issued (cf. the provider grpc message)
	Ref      *v1beta13.Reference       `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	ViewMode OpenInAppRequest_ViewMode `` /* 137-byte string literal not displayed */
	// OPTIONAL.
	// A reference to the application to be used to open the resource, should the
	// default inferred from the resource's mimetype be overridden by user's choice.
	// If the targeted resource is a directory, this parameter is required and
	// in its absence the implementation MUST return INVALID_ARGUMENT.
	App string `protobuf:"bytes,4,opt,name=app,proto3" json:"app,omitempty"`
	// OPTIONAL.
	// A lock_id: should the reference be locked and the lock type be LOCK_TYPE_EXCL,
	// the stored lock_id MUST be equal to the given value.
	LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenInAppRequest) Descriptor deprecated

func (*OpenInAppRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenInAppRequest.ProtoReflect.Descriptor instead.

func (*OpenInAppRequest) GetApp

func (x *OpenInAppRequest) GetApp() string

func (*OpenInAppRequest) GetLockId

func (x *OpenInAppRequest) GetLockId() string

func (*OpenInAppRequest) GetOpaque

func (x *OpenInAppRequest) GetOpaque() *v1beta1.Opaque

func (*OpenInAppRequest) GetRef

func (x *OpenInAppRequest) GetRef() *v1beta13.Reference

func (*OpenInAppRequest) GetViewMode

func (*OpenInAppRequest) ProtoMessage

func (*OpenInAppRequest) ProtoMessage()

func (*OpenInAppRequest) ProtoReflect

func (x *OpenInAppRequest) ProtoReflect() protoreflect.Message

func (*OpenInAppRequest) Reset

func (x *OpenInAppRequest) Reset()

func (*OpenInAppRequest) String

func (x *OpenInAppRequest) String() string

type OpenInAppRequest_ViewMode

type OpenInAppRequest_ViewMode int32

REQUIRED. View mode.

const (
	OpenInAppRequest_VIEW_MODE_INVALID OpenInAppRequest_ViewMode = 0
	// The resource can be opened but not downloaded.
	OpenInAppRequest_VIEW_MODE_VIEW_ONLY OpenInAppRequest_ViewMode = 1
	// The resource can be downloaded.
	OpenInAppRequest_VIEW_MODE_READ_ONLY OpenInAppRequest_ViewMode = 2
	// The resource can be downloaded and updated. The underlying application
	// MUST be a fully capable editor to support this mode.
	OpenInAppRequest_VIEW_MODE_READ_WRITE OpenInAppRequest_ViewMode = 3
	// The resource can be downloaded and updated, but must be shown in
	// preview mode. If the underlying application does not support a preview mode,
	// or if in a view-only mode users are not allowed to switch to edit mode,
	// then this mode MUST fall back to READ_WRITE.
	OpenInAppRequest_VIEW_MODE_PREVIEW OpenInAppRequest_ViewMode = 4
)

func (OpenInAppRequest_ViewMode) Descriptor

func (OpenInAppRequest_ViewMode) Enum

func (OpenInAppRequest_ViewMode) EnumDescriptor deprecated

func (OpenInAppRequest_ViewMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpenInAppRequest_ViewMode.Descriptor instead.

func (OpenInAppRequest_ViewMode) Number

func (OpenInAppRequest_ViewMode) String

func (x OpenInAppRequest_ViewMode) String() string

func (OpenInAppRequest_ViewMode) Type

type SharedResourceInfo

type SharedResourceInfo struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The underlying share as returned by the collaboration service.
	Share *v1beta12.ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"`
	// REQUIRED.
	// The corresponding resource information as returned by the storage provider.
	ResourceInfo *v1beta11.ResourceInfo `protobuf:"bytes,3,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
	// contains filtered or unexported fields
}

A shared resource includes the sharing information and the storage-related information about a resource.

func (*SharedResourceInfo) Descriptor deprecated

func (*SharedResourceInfo) Descriptor() ([]byte, []int)

Deprecated: Use SharedResourceInfo.ProtoReflect.Descriptor instead.

func (*SharedResourceInfo) GetOpaque

func (x *SharedResourceInfo) GetOpaque() *v1beta1.Opaque

func (*SharedResourceInfo) GetResourceInfo

func (x *SharedResourceInfo) GetResourceInfo() *v1beta11.ResourceInfo

func (*SharedResourceInfo) GetShare

func (x *SharedResourceInfo) GetShare() *v1beta12.ReceivedShare

func (*SharedResourceInfo) ProtoMessage

func (*SharedResourceInfo) ProtoMessage()

func (*SharedResourceInfo) ProtoReflect

func (x *SharedResourceInfo) ProtoReflect() protoreflect.Message

func (*SharedResourceInfo) Reset

func (x *SharedResourceInfo) Reset()

func (*SharedResourceInfo) String

func (x *SharedResourceInfo) String() string

type UnimplementedGatewayAPIServer

type UnimplementedGatewayAPIServer struct {
}

UnimplementedGatewayAPIServer should be embedded to have forward compatible implementations.

func (UnimplementedGatewayAPIServer) Authenticate

func (UnimplementedGatewayAPIServer) Delete

func (UnimplementedGatewayAPIServer) FindUsers

func (UnimplementedGatewayAPIServer) GetGroup

func (UnimplementedGatewayAPIServer) GetHome

func (UnimplementedGatewayAPIServer) GetKey

func (UnimplementedGatewayAPIServer) GetLock

func (UnimplementedGatewayAPIServer) GetPath

func (UnimplementedGatewayAPIServer) GetQuota

func (UnimplementedGatewayAPIServer) GetShare

func (UnimplementedGatewayAPIServer) GetUser

func (UnimplementedGatewayAPIServer) HasMember

func (UnimplementedGatewayAPIServer) Move

func (UnimplementedGatewayAPIServer) OpenInApp

func (UnimplementedGatewayAPIServer) SetKey

func (UnimplementedGatewayAPIServer) SetLock

func (UnimplementedGatewayAPIServer) Stat

func (UnimplementedGatewayAPIServer) TouchFile

func (UnimplementedGatewayAPIServer) Unlock

func (UnimplementedGatewayAPIServer) WhoAmI

type UnsafeGatewayAPIServer

type UnsafeGatewayAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeGatewayAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayAPIServer will result in compilation errors.

type WhoAmIRequest

type WhoAmIRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The access token.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*WhoAmIRequest) Descriptor deprecated

func (*WhoAmIRequest) Descriptor() ([]byte, []int)

Deprecated: Use WhoAmIRequest.ProtoReflect.Descriptor instead.

func (*WhoAmIRequest) GetOpaque

func (x *WhoAmIRequest) GetOpaque() *v1beta1.Opaque

func (*WhoAmIRequest) GetToken

func (x *WhoAmIRequest) GetToken() string

func (*WhoAmIRequest) ProtoMessage

func (*WhoAmIRequest) ProtoMessage()

func (*WhoAmIRequest) ProtoReflect

func (x *WhoAmIRequest) ProtoReflect() protoreflect.Message

func (*WhoAmIRequest) Reset

func (x *WhoAmIRequest) Reset()

func (*WhoAmIRequest) String

func (x *WhoAmIRequest) String() string

type WhoAmIResponse

type WhoAmIResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The user information.
	User *v1beta12.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*WhoAmIResponse) Descriptor deprecated

func (*WhoAmIResponse) Descriptor() ([]byte, []int)

Deprecated: Use WhoAmIResponse.ProtoReflect.Descriptor instead.

func (*WhoAmIResponse) GetOpaque

func (x *WhoAmIResponse) GetOpaque() *v1beta1.Opaque

func (*WhoAmIResponse) GetStatus

func (x *WhoAmIResponse) GetStatus() *v1beta11.Status

func (*WhoAmIResponse) GetUser

func (x *WhoAmIResponse) GetUser() *v1beta12.User

func (*WhoAmIResponse) ProtoMessage

func (*WhoAmIResponse) ProtoMessage()

func (*WhoAmIResponse) ProtoReflect

func (x *WhoAmIResponse) ProtoReflect() protoreflect.Message

func (*WhoAmIResponse) Reset

func (x *WhoAmIResponse) Reset()

func (*WhoAmIResponse) String

func (x *WhoAmIResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL