Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterOcmAPIServer(s grpc.ServiceRegistrar, srv OcmAPIServer)
- type AccessMethod
- func (*AccessMethod) Descriptor() ([]byte, []int)deprecated
- func (x *AccessMethod) GetGenericOptions() *v1beta12.Opaque
- func (m *AccessMethod) GetTerm() isAccessMethod_Term
- func (x *AccessMethod) GetTransferOptions() *TransferAccessMethod
- func (x *AccessMethod) GetWebappOptions() *WebappAccessMethod
- func (x *AccessMethod) GetWebdavOptions() *WebDAVAccessMethod
- func (*AccessMethod) ProtoMessage()
- func (x *AccessMethod) ProtoReflect() protoreflect.Message
- func (x *AccessMethod) Reset()
- func (x *AccessMethod) String() string
- type AccessMethod_GenericOptions
- type AccessMethod_TransferOptions
- type AccessMethod_WebappOptions
- type AccessMethod_WebdavOptions
- type CreateOCMShareRequest
- func (*CreateOCMShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOCMShareRequest) GetAccessMethods() []*AccessMethod
- func (x *CreateOCMShareRequest) GetExpiration() *v1beta1.Timestamp
- func (x *CreateOCMShareRequest) GetGrantee() *v1beta11.Grantee
- func (x *CreateOCMShareRequest) GetOpaque() *v1beta1.Opaque
- func (x *CreateOCMShareRequest) GetRecipientMeshProvider() *v1beta12.ProviderInfo
- func (x *CreateOCMShareRequest) GetResourceId() *v1beta11.ResourceId
- func (*CreateOCMShareRequest) ProtoMessage()
- func (x *CreateOCMShareRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOCMShareRequest) Reset()
- func (x *CreateOCMShareRequest) String() string
- type CreateOCMShareResponse
- func (*CreateOCMShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOCMShareResponse) GetOpaque() *v1beta1.Opaque
- func (x *CreateOCMShareResponse) GetRecipientDisplayName() string
- func (x *CreateOCMShareResponse) GetShare() *Share
- func (x *CreateOCMShareResponse) GetStatus() *v1beta13.Status
- func (*CreateOCMShareResponse) ProtoMessage()
- func (x *CreateOCMShareResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOCMShareResponse) Reset()
- func (x *CreateOCMShareResponse) String() string
- type GetOCMShareByTokenRequest
- func (*GetOCMShareByTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOCMShareByTokenRequest) GetToken() string
- func (*GetOCMShareByTokenRequest) ProtoMessage()
- func (x *GetOCMShareByTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetOCMShareByTokenRequest) Reset()
- func (x *GetOCMShareByTokenRequest) String() string
- type GetOCMShareByTokenResponse
- func (*GetOCMShareByTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOCMShareByTokenResponse) GetShare() *Share
- func (x *GetOCMShareByTokenResponse) GetStatus() *v1beta13.Status
- func (*GetOCMShareByTokenResponse) ProtoMessage()
- func (x *GetOCMShareByTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetOCMShareByTokenResponse) Reset()
- func (x *GetOCMShareByTokenResponse) String() string
- type GetOCMShareRequest
- func (*GetOCMShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOCMShareRequest) GetOpaque() *v1beta1.Opaque
- func (x *GetOCMShareRequest) GetRef() *ShareReference
- func (*GetOCMShareRequest) ProtoMessage()
- func (x *GetOCMShareRequest) ProtoReflect() protoreflect.Message
- func (x *GetOCMShareRequest) Reset()
- func (x *GetOCMShareRequest) String() string
- type GetOCMShareResponse
- func (*GetOCMShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOCMShareResponse) GetOpaque() *v1beta1.Opaque
- func (x *GetOCMShareResponse) GetShare() *Share
- func (x *GetOCMShareResponse) GetStatus() *v1beta13.Status
- func (*GetOCMShareResponse) ProtoMessage()
- func (x *GetOCMShareResponse) ProtoReflect() protoreflect.Message
- func (x *GetOCMShareResponse) Reset()
- func (x *GetOCMShareResponse) String() string
- type GetReceivedOCMShareRequest
- func (*GetReceivedOCMShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque
- func (x *GetReceivedOCMShareRequest) GetRef() *ShareReference
- func (*GetReceivedOCMShareRequest) ProtoMessage()
- func (x *GetReceivedOCMShareRequest) ProtoReflect() protoreflect.Message
- func (x *GetReceivedOCMShareRequest) Reset()
- func (x *GetReceivedOCMShareRequest) String() string
- type GetReceivedOCMShareResponse
- func (*GetReceivedOCMShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque
- func (x *GetReceivedOCMShareResponse) GetShare() *ReceivedShare
- func (x *GetReceivedOCMShareResponse) GetStatus() *v1beta13.Status
- func (*GetReceivedOCMShareResponse) ProtoMessage()
- func (x *GetReceivedOCMShareResponse) ProtoReflect() protoreflect.Message
- func (x *GetReceivedOCMShareResponse) Reset()
- func (x *GetReceivedOCMShareResponse) String() string
- type ListOCMSharesRequest
- func (*ListOCMSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOCMSharesRequest) GetFilters() []*ListOCMSharesRequest_Filter
- func (x *ListOCMSharesRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListOCMSharesRequest) GetPageSize() int32
- func (x *ListOCMSharesRequest) GetPageToken() string
- func (*ListOCMSharesRequest) ProtoMessage()
- func (x *ListOCMSharesRequest) ProtoReflect() protoreflect.Message
- func (x *ListOCMSharesRequest) Reset()
- func (x *ListOCMSharesRequest) String() string
- type ListOCMSharesRequest_Filter
- func (*ListOCMSharesRequest_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListOCMSharesRequest_Filter) GetCreator() *v1beta14.UserId
- func (x *ListOCMSharesRequest_Filter) GetOwner() *v1beta14.UserId
- func (x *ListOCMSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId
- func (m *ListOCMSharesRequest_Filter) GetTerm() isListOCMSharesRequest_Filter_Term
- func (x *ListOCMSharesRequest_Filter) GetType() ListOCMSharesRequest_Filter_Type
- func (*ListOCMSharesRequest_Filter) ProtoMessage()
- func (x *ListOCMSharesRequest_Filter) ProtoReflect() protoreflect.Message
- func (x *ListOCMSharesRequest_Filter) Reset()
- func (x *ListOCMSharesRequest_Filter) String() string
- type ListOCMSharesRequest_Filter_Creator
- type ListOCMSharesRequest_Filter_Owner
- type ListOCMSharesRequest_Filter_ResourceId
- type ListOCMSharesRequest_Filter_Type
- func (ListOCMSharesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ListOCMSharesRequest_Filter_Type) Enum() *ListOCMSharesRequest_Filter_Type
- func (ListOCMSharesRequest_Filter_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListOCMSharesRequest_Filter_Type) Number() protoreflect.EnumNumber
- func (x ListOCMSharesRequest_Filter_Type) String() string
- func (ListOCMSharesRequest_Filter_Type) Type() protoreflect.EnumType
- type ListOCMSharesResponse
- func (*ListOCMSharesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOCMSharesResponse) GetNextPageToken() string
- func (x *ListOCMSharesResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListOCMSharesResponse) GetShares() []*Share
- func (x *ListOCMSharesResponse) GetStatus() *v1beta13.Status
- func (*ListOCMSharesResponse) ProtoMessage()
- func (x *ListOCMSharesResponse) ProtoReflect() protoreflect.Message
- func (x *ListOCMSharesResponse) Reset()
- func (x *ListOCMSharesResponse) String() string
- type ListReceivedOCMSharesRequest
- func (*ListReceivedOCMSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceivedOCMSharesRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListReceivedOCMSharesRequest) GetPageSize() int32
- func (x *ListReceivedOCMSharesRequest) GetPageToken() string
- func (*ListReceivedOCMSharesRequest) ProtoMessage()
- func (x *ListReceivedOCMSharesRequest) ProtoReflect() protoreflect.Message
- func (x *ListReceivedOCMSharesRequest) Reset()
- func (x *ListReceivedOCMSharesRequest) String() string
- type ListReceivedOCMSharesResponse
- func (*ListReceivedOCMSharesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceivedOCMSharesResponse) GetNextPageToken() string
- func (x *ListReceivedOCMSharesResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListReceivedOCMSharesResponse) GetShares() []*ReceivedShare
- func (x *ListReceivedOCMSharesResponse) GetStatus() *v1beta13.Status
- func (*ListReceivedOCMSharesResponse) ProtoMessage()
- func (x *ListReceivedOCMSharesResponse) ProtoReflect() protoreflect.Message
- func (x *ListReceivedOCMSharesResponse) Reset()
- func (x *ListReceivedOCMSharesResponse) String() string
- type OcmAPIClient
- type OcmAPIServer
- type Protocol
- func (*Protocol) Descriptor() ([]byte, []int)deprecated
- func (x *Protocol) GetGenericOptions() *v1beta12.Opaque
- func (m *Protocol) GetTerm() isProtocol_Term
- func (x *Protocol) GetTransferOptions() *TransferProtocol
- func (x *Protocol) GetWebappOptions() *WebappProtocol
- func (x *Protocol) GetWebdavOptions() *WebDAVProtocol
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (x *Protocol) String() string
- type Protocol_GenericOptions
- type Protocol_TransferOptions
- type Protocol_WebappOptions
- type Protocol_WebdavOptions
- type ReceivedShare
- func (*ReceivedShare) Descriptor() ([]byte, []int)deprecated
- func (x *ReceivedShare) GetCode() string
- func (x *ReceivedShare) GetCreator() *v1beta11.UserId
- func (x *ReceivedShare) GetCtime() *v1beta12.Timestamp
- func (x *ReceivedShare) GetExpiration() *v1beta12.Timestamp
- func (x *ReceivedShare) GetGrantee() *v1beta1.Grantee
- func (x *ReceivedShare) GetId() *ShareId
- func (x *ReceivedShare) GetMtime() *v1beta12.Timestamp
- func (x *ReceivedShare) GetName() string
- func (x *ReceivedShare) GetOpaque() *v1beta12.Opaque
- func (x *ReceivedShare) GetOwner() *v1beta11.UserId
- func (x *ReceivedShare) GetProtocols() []*Protocol
- func (x *ReceivedShare) GetRemoteShareId() string
- func (x *ReceivedShare) GetResourceType() v1beta1.ResourceType
- func (x *ReceivedShare) GetShareType() ShareType
- func (x *ReceivedShare) GetState() ShareState
- func (*ReceivedShare) ProtoMessage()
- func (x *ReceivedShare) ProtoReflect() protoreflect.Message
- func (x *ReceivedShare) Reset()
- func (x *ReceivedShare) String() string
- type RemoveOCMShareRequest
- func (*RemoveOCMShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveOCMShareRequest) GetOpaque() *v1beta1.Opaque
- func (x *RemoveOCMShareRequest) GetRef() *ShareReference
- func (*RemoveOCMShareRequest) ProtoMessage()
- func (x *RemoveOCMShareRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveOCMShareRequest) Reset()
- func (x *RemoveOCMShareRequest) String() string
- type RemoveOCMShareResponse
- func (*RemoveOCMShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveOCMShareResponse) GetOpaque() *v1beta1.Opaque
- func (x *RemoveOCMShareResponse) GetStatus() *v1beta13.Status
- func (*RemoveOCMShareResponse) ProtoMessage()
- func (x *RemoveOCMShareResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveOCMShareResponse) Reset()
- func (x *RemoveOCMShareResponse) String() string
- type Share
- func (*Share) Descriptor() ([]byte, []int)deprecated
- func (x *Share) GetAccessMethods() []*AccessMethod
- func (x *Share) GetCode() string
- func (x *Share) GetCreator() *v1beta11.UserId
- func (x *Share) GetCtime() *v1beta12.Timestamp
- func (x *Share) GetExpiration() *v1beta12.Timestamp
- func (x *Share) GetGrantee() *v1beta1.Grantee
- func (x *Share) GetId() *ShareId
- func (x *Share) GetMtime() *v1beta12.Timestamp
- func (x *Share) GetName() string
- func (x *Share) GetOpaque() *v1beta12.Opaque
- func (x *Share) GetOwner() *v1beta11.UserId
- func (x *Share) GetResourceId() *v1beta1.ResourceId
- func (x *Share) GetShareType() ShareType
- func (x *Share) GetToken() string
- func (*Share) ProtoMessage()
- func (x *Share) ProtoReflect() protoreflect.Message
- func (x *Share) Reset()
- func (x *Share) String() string
- type ShareGrant
- func (*ShareGrant) Descriptor() ([]byte, []int)deprecated
- func (x *ShareGrant) GetGrantee() *v1beta1.Grantee
- func (x *ShareGrant) GetPermissions() *SharePermissions
- func (*ShareGrant) ProtoMessage()
- func (x *ShareGrant) ProtoReflect() protoreflect.Message
- func (x *ShareGrant) Reset()
- func (x *ShareGrant) String() string
- type ShareId
- type ShareKey
- func (*ShareKey) Descriptor() ([]byte, []int)deprecated
- func (x *ShareKey) GetGrantee() *v1beta1.Grantee
- func (x *ShareKey) GetOwner() *v1beta11.UserId
- func (x *ShareKey) GetResourceId() *v1beta1.ResourceId
- func (*ShareKey) ProtoMessage()
- func (x *ShareKey) ProtoReflect() protoreflect.Message
- func (x *ShareKey) Reset()
- func (x *ShareKey) String() string
- type SharePermissions
- func (*SharePermissions) Descriptor() ([]byte, []int)deprecated
- func (x *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions
- func (x *SharePermissions) GetReshare() bool
- func (*SharePermissions) ProtoMessage()
- func (x *SharePermissions) ProtoReflect() protoreflect.Message
- func (x *SharePermissions) Reset()
- func (x *SharePermissions) String() string
- type ShareReference
- func (*ShareReference) Descriptor() ([]byte, []int)deprecated
- func (x *ShareReference) GetId() *ShareId
- func (x *ShareReference) GetKey() *ShareKey
- func (m *ShareReference) GetSpec() isShareReference_Spec
- func (x *ShareReference) GetToken() string
- func (*ShareReference) ProtoMessage()
- func (x *ShareReference) ProtoReflect() protoreflect.Message
- func (x *ShareReference) Reset()
- func (x *ShareReference) String() string
- type ShareReference_Id
- type ShareReference_Key
- type ShareReference_Token
- type ShareState
- type ShareType
- type TransferAccessMethod
- func (*TransferAccessMethod) Descriptor() ([]byte, []int)deprecated
- func (x *TransferAccessMethod) GetDestination() *v1beta1.Reference
- func (*TransferAccessMethod) ProtoMessage()
- func (x *TransferAccessMethod) ProtoReflect() protoreflect.Message
- func (x *TransferAccessMethod) Reset()
- func (x *TransferAccessMethod) String() string
- type TransferProtocol
- func (*TransferProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *TransferProtocol) GetSharedSecret() string
- func (x *TransferProtocol) GetSize() uint64
- func (x *TransferProtocol) GetSourceUri() string
- func (*TransferProtocol) ProtoMessage()
- func (x *TransferProtocol) ProtoReflect() protoreflect.Message
- func (x *TransferProtocol) Reset()
- func (x *TransferProtocol) String() string
- type UnimplementedOcmAPIServer
- func (UnimplementedOcmAPIServer) CreateOCMShare(context.Context, *CreateOCMShareRequest) (*CreateOCMShareResponse, error)
- func (UnimplementedOcmAPIServer) GetOCMShare(context.Context, *GetOCMShareRequest) (*GetOCMShareResponse, error)
- func (UnimplementedOcmAPIServer) GetOCMShareByToken(context.Context, *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error)
- func (UnimplementedOcmAPIServer) GetReceivedOCMShare(context.Context, *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error)
- func (UnimplementedOcmAPIServer) ListOCMShares(context.Context, *ListOCMSharesRequest) (*ListOCMSharesResponse, error)
- func (UnimplementedOcmAPIServer) ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error)
- func (UnimplementedOcmAPIServer) RemoveOCMShare(context.Context, *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error)
- func (UnimplementedOcmAPIServer) UpdateOCMShare(context.Context, *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error)
- func (UnimplementedOcmAPIServer) UpdateReceivedOCMShare(context.Context, *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error)
- type UnsafeOcmAPIServer
- type UpdateOCMShareRequest
- func (*UpdateOCMShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOCMShareRequest) GetField() []*UpdateOCMShareRequest_UpdateField
- func (x *UpdateOCMShareRequest) GetOpaque() *v1beta1.Opaque
- func (x *UpdateOCMShareRequest) GetRef() *ShareReference
- func (*UpdateOCMShareRequest) ProtoMessage()
- func (x *UpdateOCMShareRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOCMShareRequest) Reset()
- func (x *UpdateOCMShareRequest) String() string
- type UpdateOCMShareRequest_UpdateField
- func (*UpdateOCMShareRequest_UpdateField) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOCMShareRequest_UpdateField) GetAccessMethods() *AccessMethod
- func (x *UpdateOCMShareRequest_UpdateField) GetExpiration() *v1beta1.Timestamp
- func (m *UpdateOCMShareRequest_UpdateField) GetField() isUpdateOCMShareRequest_UpdateField_Field
- func (*UpdateOCMShareRequest_UpdateField) ProtoMessage()
- func (x *UpdateOCMShareRequest_UpdateField) ProtoReflect() protoreflect.Message
- func (x *UpdateOCMShareRequest_UpdateField) Reset()
- func (x *UpdateOCMShareRequest_UpdateField) String() string
- type UpdateOCMShareRequest_UpdateField_AccessMethods
- type UpdateOCMShareRequest_UpdateField_Expiration
- type UpdateOCMShareResponse
- func (*UpdateOCMShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOCMShareResponse) GetOpaque() *v1beta1.Opaque
- func (x *UpdateOCMShareResponse) GetStatus() *v1beta13.Status
- func (*UpdateOCMShareResponse) ProtoMessage()
- func (x *UpdateOCMShareResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOCMShareResponse) Reset()
- func (x *UpdateOCMShareResponse) String() string
- type UpdateReceivedOCMShareRequest
- func (*UpdateReceivedOCMShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque
- func (x *UpdateReceivedOCMShareRequest) GetShare() *ReceivedShare
- func (x *UpdateReceivedOCMShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateReceivedOCMShareRequest) ProtoMessage()
- func (x *UpdateReceivedOCMShareRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateReceivedOCMShareRequest) Reset()
- func (x *UpdateReceivedOCMShareRequest) String() string
- type UpdateReceivedOCMShareResponse
- func (*UpdateReceivedOCMShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque
- func (x *UpdateReceivedOCMShareResponse) GetStatus() *v1beta13.Status
- func (*UpdateReceivedOCMShareResponse) ProtoMessage()
- func (x *UpdateReceivedOCMShareResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateReceivedOCMShareResponse) Reset()
- func (x *UpdateReceivedOCMShareResponse) String() string
- type WebDAVAccessMethod
- func (*WebDAVAccessMethod) Descriptor() ([]byte, []int)deprecated
- func (x *WebDAVAccessMethod) GetPermissions() *v1beta1.ResourcePermissions
- func (x *WebDAVAccessMethod) GetRequirements() []string
- func (*WebDAVAccessMethod) ProtoMessage()
- func (x *WebDAVAccessMethod) ProtoReflect() protoreflect.Message
- func (x *WebDAVAccessMethod) Reset()
- func (x *WebDAVAccessMethod) String() string
- type WebDAVProtocol
- func (*WebDAVProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *WebDAVProtocol) GetPermissions() *SharePermissions
- func (x *WebDAVProtocol) GetRequirements() []string
- func (x *WebDAVProtocol) GetSharedSecret() string
- func (x *WebDAVProtocol) GetUri() string
- func (*WebDAVProtocol) ProtoMessage()
- func (x *WebDAVProtocol) ProtoReflect() protoreflect.Message
- func (x *WebDAVProtocol) Reset()
- func (x *WebDAVProtocol) String() string
- type WebappAccessMethod
- func (*WebappAccessMethod) Descriptor() ([]byte, []int)deprecated
- func (x *WebappAccessMethod) GetViewMode() v1beta13.ViewMode
- func (*WebappAccessMethod) ProtoMessage()
- func (x *WebappAccessMethod) ProtoReflect() protoreflect.Message
- func (x *WebappAccessMethod) Reset()
- func (x *WebappAccessMethod) String() string
- type WebappProtocol
- func (*WebappProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *WebappProtocol) GetSharedSecret() string
- func (x *WebappProtocol) GetUri() string
- func (x *WebappProtocol) GetViewMode() v1beta13.ViewMode
- func (*WebappProtocol) ProtoMessage()
- func (x *WebappProtocol) ProtoReflect() protoreflect.Message
- func (x *WebappProtocol) Reset()
- func (x *WebappProtocol) String() string
Constants ¶
const ()
Variables ¶
var (0: "TYPE_INVALID", 1: "TYPE_NO", 2: "TYPE_RESOURCE_ID", 3: "TYPE_OWNER", 4: "TYPE_CREATOR", 5: "TYPE_OWNER_PROVIDER", 6: "TYPE_CREATOR_PROVIDER", } "TYPE_INVALID": 0, "TYPE_NO": 1, "TYPE_RESOURCE_ID": 2, "TYPE_OWNER": 3, "TYPE_CREATOR": 4, "TYPE_OWNER_PROVIDER": 5, "TYPE_CREATOR_PROVIDER": 6, } )
Enum value maps for ListOCMSharesRequest_Filter_Type.
var (0: "SHARE_STATE_INVALID", 1: "SHARE_STATE_PENDING", 2: "SHARE_STATE_ACCEPTED", 3: "SHARE_STATE_REJECTED", } "SHARE_STATE_INVALID": 0, "SHARE_STATE_PENDING": 1, "SHARE_STATE_ACCEPTED": 2, "SHARE_STATE_REJECTED": 3, } )
Enum value maps for ShareState.
var (0: "SHARE_TYPE_INVALID", 1: "SHARE_TYPE_USER", 2: "SHARE_TYPE_GROUP", } "SHARE_TYPE_INVALID": 0, "SHARE_TYPE_USER": 1, "SHARE_TYPE_GROUP": 2, } )
Enum value maps for ShareType.
var File_cs3_sharing_ocm_v1beta1_ocm_api_proto protoreflect.FileDescriptor
var File_cs3_sharing_ocm_v1beta1_resources_proto protoreflect.FileDescriptor
var OcmAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cs3.sharing.ocm.v1beta1.OcmAPI", HandlerType: (*OcmAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOCMShare", Handler: _OcmAPI_CreateOCMShare_Handler, }, { MethodName: "RemoveOCMShare", Handler: _OcmAPI_RemoveOCMShare_Handler, }, { MethodName: "GetOCMShare", Handler: _OcmAPI_GetOCMShare_Handler, }, { MethodName: "GetOCMShareByToken", Handler: _OcmAPI_GetOCMShareByToken_Handler, }, { MethodName: "ListOCMShares", Handler: _OcmAPI_ListOCMShares_Handler, }, { MethodName: "UpdateOCMShare", Handler: _OcmAPI_UpdateOCMShare_Handler, }, { MethodName: "ListReceivedOCMShares", Handler: _OcmAPI_ListReceivedOCMShares_Handler, }, { MethodName: "UpdateReceivedOCMShare", Handler: _OcmAPI_UpdateReceivedOCMShare_Handler, }, { MethodName: "GetReceivedOCMShare", Handler: _OcmAPI_GetReceivedOCMShare_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cs3/sharing/ocm/v1beta1/ocm_api.proto", }
OcmAPI_ServiceDesc is the grpc.ServiceDesc for OcmAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOcmAPIServer ¶
func RegisterOcmAPIServer(s grpc.ServiceRegistrar, srv OcmAPIServer)
Types ¶
type AccessMethod ¶
type AccessMethod struct { // REQUIRED. // One of the access method MUST be specified. // // Types that are assignable to Term: // // *AccessMethod_WebdavOptions // *AccessMethod_WebappOptions // *AccessMethod_TransferOptions // *AccessMethod_GenericOptions Term isAccessMethod_Term `protobuf_oneof:"term"` // contains filtered or unexported fields }
Defines how the recipient accesses an incoming remote OCM share.
func (*AccessMethod) Descriptor
deprecated
func (*AccessMethod) Descriptor() ([]byte, []int)
Deprecated: Use AccessMethod.ProtoReflect.Descriptor instead.
func (*AccessMethod) GetGenericOptions ¶
func (x *AccessMethod) GetGenericOptions() *v1beta12.Opaque
func (*AccessMethod) GetTerm ¶
func (m *AccessMethod) GetTerm() isAccessMethod_Term
func (*AccessMethod) GetTransferOptions ¶
func (x *AccessMethod) GetTransferOptions() *TransferAccessMethod
func (*AccessMethod) GetWebappOptions ¶
func (x *AccessMethod) GetWebappOptions() *WebappAccessMethod
func (*AccessMethod) GetWebdavOptions ¶
func (x *AccessMethod) GetWebdavOptions() *WebDAVAccessMethod
func (*AccessMethod) ProtoMessage ¶
func (*AccessMethod) ProtoMessage()
func (*AccessMethod) ProtoReflect ¶
func (x *AccessMethod) ProtoReflect() protoreflect.Message
func (*AccessMethod) Reset ¶
func (x *AccessMethod) Reset()
func (*AccessMethod) String ¶
func (x *AccessMethod) String() string
type AccessMethod_TransferOptions ¶
type AccessMethod_TransferOptions struct { // Options for the Transfer access method. TransferOptions *TransferAccessMethod `protobuf:"bytes,3,opt,name=transfer_options,json=transferOptions,proto3,oneof"` }
type AccessMethod_WebappOptions ¶
type AccessMethod_WebappOptions struct { // Options for the Webapp access method. WebappOptions *WebappAccessMethod `protobuf:"bytes,2,opt,name=webapp_options,json=webappOptions,proto3,oneof"` }
type AccessMethod_WebdavOptions ¶
type AccessMethod_WebdavOptions struct { // Options for the WebDAV access method. WebdavOptions *WebDAVAccessMethod `protobuf:"bytes,1,opt,name=webdav_options,json=webdavOptions,proto3,oneof"` }
type CreateOCMShareRequest ¶
type CreateOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // The unique identifier for the shared storage resource. ResourceId *v1beta11.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // The grantee for the share. Grantee *v1beta11.Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` // The details of the recipient user's mesh provider. RecipientMeshProvider *v1beta12.ProviderInfo `` /* 126-byte string literal not displayed */ AccessMethods []*AccessMethod `protobuf:"bytes,5,rep,name=access_methods,json=accessMethods,proto3" json:"access_methods,omitempty"` // The expiration time for the ocm share. Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*CreateOCMShareRequest) Descriptor
deprecated
func (*CreateOCMShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOCMShareRequest.ProtoReflect.Descriptor instead.
func (*CreateOCMShareRequest) GetAccessMethods ¶
func (x *CreateOCMShareRequest) GetAccessMethods() []*AccessMethod
func (*CreateOCMShareRequest) GetExpiration ¶
func (x *CreateOCMShareRequest) GetExpiration() *v1beta1.Timestamp
func (*CreateOCMShareRequest) GetGrantee ¶
func (x *CreateOCMShareRequest) GetGrantee() *v1beta11.Grantee
func (*CreateOCMShareRequest) GetOpaque ¶
func (x *CreateOCMShareRequest) GetOpaque() *v1beta1.Opaque
func (*CreateOCMShareRequest) GetRecipientMeshProvider ¶
func (x *CreateOCMShareRequest) GetRecipientMeshProvider() *v1beta12.ProviderInfo
func (*CreateOCMShareRequest) GetResourceId ¶
func (x *CreateOCMShareRequest) GetResourceId() *v1beta11.ResourceId
func (*CreateOCMShareRequest) ProtoMessage ¶
func (*CreateOCMShareRequest) ProtoMessage()
func (*CreateOCMShareRequest) ProtoReflect ¶
func (x *CreateOCMShareRequest) ProtoReflect() protoreflect.Message
func (*CreateOCMShareRequest) Reset ¶
func (x *CreateOCMShareRequest) Reset()
func (*CreateOCMShareRequest) String ¶
func (x *CreateOCMShareRequest) String() string
type CreateOCMShareResponse ¶
type CreateOCMShareResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // The created share. Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` // Display name of the recipient of the share. RecipientDisplayName string `protobuf:"bytes,4,opt,name=recipient_display_name,json=recipientDisplayName,proto3" json:"recipient_display_name,omitempty"` // contains filtered or unexported fields }
func (*CreateOCMShareResponse) Descriptor
deprecated
func (*CreateOCMShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOCMShareResponse.ProtoReflect.Descriptor instead.
func (*CreateOCMShareResponse) GetOpaque ¶
func (x *CreateOCMShareResponse) GetOpaque() *v1beta1.Opaque
func (*CreateOCMShareResponse) GetRecipientDisplayName ¶
func (x *CreateOCMShareResponse) GetRecipientDisplayName() string
func (*CreateOCMShareResponse) GetShare ¶
func (x *CreateOCMShareResponse) GetShare() *Share
func (*CreateOCMShareResponse) GetStatus ¶
func (x *CreateOCMShareResponse) GetStatus() *v1beta13.Status
func (*CreateOCMShareResponse) ProtoMessage ¶
func (*CreateOCMShareResponse) ProtoMessage()
func (*CreateOCMShareResponse) ProtoReflect ¶
func (x *CreateOCMShareResponse) ProtoReflect() protoreflect.Message
func (*CreateOCMShareResponse) Reset ¶
func (x *CreateOCMShareResponse) Reset()
func (*CreateOCMShareResponse) String ¶
func (x *CreateOCMShareResponse) String() string
type GetOCMShareByTokenRequest ¶
type GetOCMShareByTokenRequest struct { // The unlisted token to identify the public share. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetOCMShareByTokenRequest) Descriptor
deprecated
func (*GetOCMShareByTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOCMShareByTokenRequest.ProtoReflect.Descriptor instead.
func (*GetOCMShareByTokenRequest) GetToken ¶
func (x *GetOCMShareByTokenRequest) GetToken() string
func (*GetOCMShareByTokenRequest) ProtoMessage ¶
func (*GetOCMShareByTokenRequest) ProtoMessage()
func (*GetOCMShareByTokenRequest) ProtoReflect ¶
func (x *GetOCMShareByTokenRequest) ProtoReflect() protoreflect.Message
func (*GetOCMShareByTokenRequest) Reset ¶
func (x *GetOCMShareByTokenRequest) Reset()
func (*GetOCMShareByTokenRequest) String ¶
func (x *GetOCMShareByTokenRequest) String() string
type GetOCMShareByTokenResponse ¶
type GetOCMShareByTokenResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // The share. Share *Share `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` // contains filtered or unexported fields }
func (*GetOCMShareByTokenResponse) Descriptor
deprecated
func (*GetOCMShareByTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOCMShareByTokenResponse.ProtoReflect.Descriptor instead.
func (*GetOCMShareByTokenResponse) GetShare ¶
func (x *GetOCMShareByTokenResponse) GetShare() *Share
func (*GetOCMShareByTokenResponse) GetStatus ¶
func (x *GetOCMShareByTokenResponse) GetStatus() *v1beta13.Status
func (*GetOCMShareByTokenResponse) ProtoMessage ¶
func (*GetOCMShareByTokenResponse) ProtoMessage()
func (*GetOCMShareByTokenResponse) ProtoReflect ¶
func (x *GetOCMShareByTokenResponse) ProtoReflect() protoreflect.Message
func (*GetOCMShareByTokenResponse) Reset ¶
func (x *GetOCMShareByTokenResponse) Reset()
func (*GetOCMShareByTokenResponse) String ¶
func (x *GetOCMShareByTokenResponse) String() string
type GetOCMShareRequest ¶
type GetOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // The reference to which the action should be performed. Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*GetOCMShareRequest) Descriptor
deprecated
func (*GetOCMShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOCMShareRequest.ProtoReflect.Descriptor instead.
func (*GetOCMShareRequest) GetOpaque ¶
func (x *GetOCMShareRequest) GetOpaque() *v1beta1.Opaque
func (*GetOCMShareRequest) GetRef ¶
func (x *GetOCMShareRequest) GetRef() *ShareReference
func (*GetOCMShareRequest) ProtoMessage ¶
func (*GetOCMShareRequest) ProtoMessage()
func (*GetOCMShareRequest) ProtoReflect ¶
func (x *GetOCMShareRequest) ProtoReflect() protoreflect.Message
func (*GetOCMShareRequest) Reset ¶
func (x *GetOCMShareRequest) Reset()
func (*GetOCMShareRequest) String ¶
func (x *GetOCMShareRequest) String() string
type GetOCMShareResponse ¶
type GetOCMShareResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // The share. Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` // contains filtered or unexported fields }
func (*GetOCMShareResponse) Descriptor
deprecated
func (*GetOCMShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOCMShareResponse.ProtoReflect.Descriptor instead.
func (*GetOCMShareResponse) GetOpaque ¶
func (x *GetOCMShareResponse) GetOpaque() *v1beta1.Opaque
func (*GetOCMShareResponse) GetShare ¶
func (x *GetOCMShareResponse) GetShare() *Share
func (*GetOCMShareResponse) GetStatus ¶
func (x *GetOCMShareResponse) GetStatus() *v1beta13.Status
func (*GetOCMShareResponse) ProtoMessage ¶
func (*GetOCMShareResponse) ProtoMessage()
func (*GetOCMShareResponse) ProtoReflect ¶
func (x *GetOCMShareResponse) ProtoReflect() protoreflect.Message
func (*GetOCMShareResponse) Reset ¶
func (x *GetOCMShareResponse) Reset()
func (*GetOCMShareResponse) String ¶
func (x *GetOCMShareResponse) String() string
type GetReceivedOCMShareRequest ¶
type GetReceivedOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // The reference of the received share. Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*GetReceivedOCMShareRequest) Descriptor
deprecated
func (*GetReceivedOCMShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReceivedOCMShareRequest.ProtoReflect.Descriptor instead.
func (*GetReceivedOCMShareRequest) GetOpaque ¶
func (x *GetReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque
func (*GetReceivedOCMShareRequest) GetRef ¶
func (x *GetReceivedOCMShareRequest) GetRef() *ShareReference
func (*GetReceivedOCMShareRequest) ProtoMessage ¶
func (*GetReceivedOCMShareRequest) ProtoMessage()
func (*GetReceivedOCMShareRequest) ProtoReflect ¶
func (x *GetReceivedOCMShareRequest) ProtoReflect() protoreflect.Message
func (*GetReceivedOCMShareRequest) Reset ¶
func (x *GetReceivedOCMShareRequest) Reset()
func (*GetReceivedOCMShareRequest) String ¶
func (x *GetReceivedOCMShareRequest) String() string
type GetReceivedOCMShareResponse ¶
type GetReceivedOCMShareResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // The share. Share *ReceivedShare `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"` // contains filtered or unexported fields }
func (*GetReceivedOCMShareResponse) Descriptor
deprecated
func (*GetReceivedOCMShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReceivedOCMShareResponse.ProtoReflect.Descriptor instead.
func (*GetReceivedOCMShareResponse) GetOpaque ¶
func (x *GetReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque
func (*GetReceivedOCMShareResponse) GetShare ¶
func (x *GetReceivedOCMShareResponse) GetShare() *ReceivedShare
func (*GetReceivedOCMShareResponse) GetStatus ¶
func (x *GetReceivedOCMShareResponse) GetStatus() *v1beta13.Status
func (*GetReceivedOCMShareResponse) ProtoMessage ¶
func (*GetReceivedOCMShareResponse) ProtoMessage()
func (*GetReceivedOCMShareResponse) ProtoReflect ¶
func (x *GetReceivedOCMShareResponse) ProtoReflect() protoreflect.Message
func (*GetReceivedOCMShareResponse) Reset ¶
func (x *GetReceivedOCMShareResponse) Reset()
func (*GetReceivedOCMShareResponse) String ¶
func (x *GetReceivedOCMShareResponse) String() string
type ListOCMSharesRequest ¶
type ListOCMSharesRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // The list of filters to apply if any. Filters []*ListOCMSharesRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListOCMSharesRequest) Descriptor
deprecated
func (*ListOCMSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOCMSharesRequest.ProtoReflect.Descriptor instead.
func (*ListOCMSharesRequest) GetFilters ¶
func (x *ListOCMSharesRequest) GetFilters() []*ListOCMSharesRequest_Filter
func (*ListOCMSharesRequest) GetOpaque ¶
func (x *ListOCMSharesRequest) GetOpaque() *v1beta1.Opaque
func (*ListOCMSharesRequest) GetPageSize ¶
func (x *ListOCMSharesRequest) GetPageSize() int32
func (*ListOCMSharesRequest) GetPageToken ¶
func (x *ListOCMSharesRequest) GetPageToken() string
func (*ListOCMSharesRequest) ProtoMessage ¶
func (*ListOCMSharesRequest) ProtoMessage()
func (*ListOCMSharesRequest) ProtoReflect ¶
func (x *ListOCMSharesRequest) ProtoReflect() protoreflect.Message
func (*ListOCMSharesRequest) Reset ¶
func (x *ListOCMSharesRequest) Reset()
func (*ListOCMSharesRequest) String ¶
func (x *ListOCMSharesRequest) String() string
type ListOCMSharesRequest_Filter ¶
type ListOCMSharesRequest_Filter struct { ListOCMSharesRequest_Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.ocm.v1beta1.ListOCMSharesRequest_Filter_Type" json:"type,omitempty"` // // *ListOCMSharesRequest_Filter_ResourceId // *ListOCMSharesRequest_Filter_Owner // *ListOCMSharesRequest_Filter_Creator Term isListOCMSharesRequest_Filter_Term `protobuf_oneof:"term"` // contains filtered or unexported fields }Type
REQUIRED. represents a filter to apply to the request.
func (*ListOCMSharesRequest_Filter) Descriptor
deprecated
func (*ListOCMSharesRequest_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListOCMSharesRequest_Filter.ProtoReflect.Descriptor instead.
func (*ListOCMSharesRequest_Filter) GetCreator ¶
func (x *ListOCMSharesRequest_Filter) GetCreator() *v1beta14.UserId
func (*ListOCMSharesRequest_Filter) GetOwner ¶
func (x *ListOCMSharesRequest_Filter) GetOwner() *v1beta14.UserId
func (*ListOCMSharesRequest_Filter) GetResourceId ¶
func (x *ListOCMSharesRequest_Filter) GetResourceId() *v1beta11.ResourceId
func (*ListOCMSharesRequest_Filter) GetTerm ¶
func (m *ListOCMSharesRequest_Filter) GetTerm() isListOCMSharesRequest_Filter_Term
func (*ListOCMSharesRequest_Filter) GetType ¶
func (x *ListOCMSharesRequest_Filter) GetType() ListOCMSharesRequest_Filter_Type
func (*ListOCMSharesRequest_Filter) ProtoMessage ¶
func (*ListOCMSharesRequest_Filter) ProtoMessage()
func (*ListOCMSharesRequest_Filter) ProtoReflect ¶
func (x *ListOCMSharesRequest_Filter) ProtoReflect() protoreflect.Message
func (*ListOCMSharesRequest_Filter) Reset ¶
func (x *ListOCMSharesRequest_Filter) Reset()
func (*ListOCMSharesRequest_Filter) String ¶
func (x *ListOCMSharesRequest_Filter) String() string
type ListOCMSharesRequest_Filter_Creator ¶
type ListOCMSharesRequest_Filter_Creator struct {
}type ListOCMSharesRequest_Filter_Owner ¶
type ListOCMSharesRequest_Filter_Owner struct {
}type ListOCMSharesRequest_Filter_ResourceId ¶
type ListOCMSharesRequest_Filter_ResourceId struct {
}type ListOCMSharesRequest_Filter_Type ¶
type ListOCMSharesRequest_Filter_Type int32
REQUIRED. The filter to apply.
const ()
func (ListOCMSharesRequest_Filter_Type) Descriptor ¶
func (ListOCMSharesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor
func (ListOCMSharesRequest_Filter_Type) Enum ¶
func (x ListOCMSharesRequest_Filter_Type) Enum() *ListOCMSharesRequest_Filter_Type
func (ListOCMSharesRequest_Filter_Type) EnumDescriptor
deprecated
func (ListOCMSharesRequest_Filter_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListOCMSharesRequest_Filter_Type.Descriptor instead.
func (ListOCMSharesRequest_Filter_Type) Number ¶
func (x ListOCMSharesRequest_Filter_Type) Number() protoreflect.EnumNumber
func (ListOCMSharesRequest_Filter_Type) String ¶
func (x ListOCMSharesRequest_Filter_Type) String() string
func (ListOCMSharesRequest_Filter_Type) Type ¶
func (ListOCMSharesRequest_Filter_Type) Type() protoreflect.EnumType
type ListOCMSharesResponse ¶
type ListOCMSharesResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // The list of shares. Shares []*Share `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` // 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 (*ListOCMSharesResponse) Descriptor
deprecated
func (*ListOCMSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOCMSharesResponse.ProtoReflect.Descriptor instead.
func (*ListOCMSharesResponse) GetNextPageToken ¶
func (x *ListOCMSharesResponse) GetNextPageToken() string
func (*ListOCMSharesResponse) GetOpaque ¶
func (x *ListOCMSharesResponse) GetOpaque() *v1beta1.Opaque
func (*ListOCMSharesResponse) GetShares ¶
func (x *ListOCMSharesResponse) GetShares() []*Share
func (*ListOCMSharesResponse) GetStatus ¶
func (x *ListOCMSharesResponse) GetStatus() *v1beta13.Status
func (*ListOCMSharesResponse) ProtoMessage ¶
func (*ListOCMSharesResponse) ProtoMessage()
func (*ListOCMSharesResponse) ProtoReflect ¶
func (x *ListOCMSharesResponse) ProtoReflect() protoreflect.Message
func (*ListOCMSharesResponse) Reset ¶
func (x *ListOCMSharesResponse) Reset()
func (*ListOCMSharesResponse) String ¶
func (x *ListOCMSharesResponse) String() string
type ListReceivedOCMSharesRequest ¶
type ListReceivedOCMSharesRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListReceivedOCMSharesRequest) Descriptor
deprecated
func (*ListReceivedOCMSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReceivedOCMSharesRequest.ProtoReflect.Descriptor instead.
func (*ListReceivedOCMSharesRequest) GetOpaque ¶
func (x *ListReceivedOCMSharesRequest) GetOpaque() *v1beta1.Opaque
func (*ListReceivedOCMSharesRequest) GetPageSize ¶
func (x *ListReceivedOCMSharesRequest) GetPageSize() int32
func (*ListReceivedOCMSharesRequest) GetPageToken ¶
func (x *ListReceivedOCMSharesRequest) GetPageToken() string
func (*ListReceivedOCMSharesRequest) ProtoMessage ¶
func (*ListReceivedOCMSharesRequest) ProtoMessage()
func (*ListReceivedOCMSharesRequest) ProtoReflect ¶
func (x *ListReceivedOCMSharesRequest) ProtoReflect() protoreflect.Message
func (*ListReceivedOCMSharesRequest) Reset ¶
func (x *ListReceivedOCMSharesRequest) Reset()
func (*ListReceivedOCMSharesRequest) String ¶
func (x *ListReceivedOCMSharesRequest) String() string
type ListReceivedOCMSharesResponse ¶
type ListReceivedOCMSharesResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // The list of received shares. Shares []*ReceivedShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` // 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 (*ListReceivedOCMSharesResponse) Descriptor
deprecated
func (*ListReceivedOCMSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReceivedOCMSharesResponse.ProtoReflect.Descriptor instead.
func (*ListReceivedOCMSharesResponse) GetNextPageToken ¶
func (x *ListReceivedOCMSharesResponse) GetNextPageToken() string
func (*ListReceivedOCMSharesResponse) GetOpaque ¶
func (x *ListReceivedOCMSharesResponse) GetOpaque() *v1beta1.Opaque
func (*ListReceivedOCMSharesResponse) GetShares ¶
func (x *ListReceivedOCMSharesResponse) GetShares() []*ReceivedShare
func (*ListReceivedOCMSharesResponse) GetStatus ¶
func (x *ListReceivedOCMSharesResponse) GetStatus() *v1beta13.Status
func (*ListReceivedOCMSharesResponse) ProtoMessage ¶
func (*ListReceivedOCMSharesResponse) ProtoMessage()
func (*ListReceivedOCMSharesResponse) ProtoReflect ¶
func (x *ListReceivedOCMSharesResponse) ProtoReflect() protoreflect.Message
func (*ListReceivedOCMSharesResponse) Reset ¶
func (x *ListReceivedOCMSharesResponse) Reset()
func (*ListReceivedOCMSharesResponse) String ¶
func (x *ListReceivedOCMSharesResponse) String() string
type OcmAPIClient ¶
type OcmAPIClient interface { // 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, and MUST be sent // to the remote system using the OCM API at: // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post CreateOCMShare(ctx context.Context, in *CreateOCMShareRequest, opts ...grpc.CallOption) (*CreateOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. // This action SHALL be notified to the remote system // using the OCM API at: // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post RemoveOCMShare(ctx context.Context, in *RemoveOCMShareRequest, opts ...grpc.CallOption) (*RemoveOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. GetOCMShare(ctx context.Context, in *GetOCMShareRequest, opts ...grpc.CallOption) (*GetOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the share does not exist. GetOCMShareByToken(ctx context.Context, in *GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*GetOCMShareByTokenResponse, error) // both as owner and creator. If a filter is specified, only // shares satisfying the filter MUST be returned. ListOCMShares(ctx context.Context, in *ListOCMSharesRequest, opts ...grpc.CallOption) (*ListOCMSharesResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. // This action SHALL be notified to the remote system // using the OCM API at: // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post UpdateOCMShare(ctx context.Context, in *UpdateOCMShareRequest, opts ...grpc.CallOption) (*UpdateOCMShareResponse, error) ListReceivedOCMShares(ctx context.Context, in *ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*ListReceivedOCMSharesResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. UpdateReceivedOCMShare(ctx context.Context, in *UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*UpdateReceivedOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the received share reference does not exist. GetReceivedOCMShare(ctx context.Context, in *GetReceivedOCMShareRequest, opts ...grpc.CallOption) (*GetReceivedOCMShareResponse, error) }
OcmAPIClient is the client API for OcmAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOcmAPIClient ¶
func NewOcmAPIClient(cc grpc.ClientConnInterface) OcmAPIClient
type OcmAPIServer ¶
type OcmAPIServer interface { // 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, and MUST be sent // to the remote system using the OCM API at: // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1shares/post CreateOCMShare(context.Context, *CreateOCMShareRequest) (*CreateOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. // This action SHALL be notified to the remote system // using the OCM API at: // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post RemoveOCMShare(context.Context, *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. GetOCMShare(context.Context, *GetOCMShareRequest) (*GetOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the share does not exist. GetOCMShareByToken(context.Context, *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error) // both as owner and creator. If a filter is specified, only // shares satisfying the filter MUST be returned. ListOCMShares(context.Context, *ListOCMSharesRequest) (*ListOCMSharesResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. // This action SHALL be notified to the remote system // using the OCM API at: // https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1notifications/post UpdateOCMShare(context.Context, *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error) ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error) // MUST return CODE_NOT_FOUND if the share reference does not exist. UpdateReceivedOCMShare(context.Context, *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error) // MUST return CODE_NOT_FOUND if the received share reference does not exist. GetReceivedOCMShare(context.Context, *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error) }
OcmAPIServer is the server API for OcmAPI service. All implementations should embed UnimplementedOcmAPIServer for forward compatibility
type Protocol ¶
type Protocol struct { // REQUIRED. // One of the protocols MUST be specified. // // Types that are assignable to Term: // // *Protocol_WebdavOptions // *Protocol_WebappOptions // *Protocol_TransferOptions // *Protocol_GenericOptions Term isProtocol_Term `protobuf_oneof:"term"` // contains filtered or unexported fields }
The protocol which is used to give access to a remote OCM user.
func (*Protocol) Descriptor
deprecated
func (*Protocol) GetGenericOptions ¶
func (*Protocol) GetTransferOptions ¶
func (x *Protocol) GetTransferOptions() *TransferProtocol
func (*Protocol) GetWebappOptions ¶
func (x *Protocol) GetWebappOptions() *WebappProtocol
func (*Protocol) GetWebdavOptions ¶
func (x *Protocol) GetWebdavOptions() *WebDAVProtocol
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
type Protocol_GenericOptions ¶
type Protocol_TransferOptions ¶
type Protocol_TransferOptions struct { // Options for transfer protocol. TransferOptions *TransferProtocol `protobuf:"bytes,3,opt,name=transfer_options,json=transferOptions,proto3,oneof"` }
type Protocol_WebappOptions ¶
type Protocol_WebappOptions struct { // Options for Webapp protocol. WebappOptions *WebappProtocol `protobuf:"bytes,2,opt,name=webapp_options,json=webappOptions,proto3,oneof"` }
type Protocol_WebdavOptions ¶
type Protocol_WebdavOptions struct { // Options for WebDAV protocol. WebdavOptions *WebDAVProtocol `protobuf:"bytes,1,opt,name=webdav_options,json=webdavOptions,proto3,oneof"` }
type ReceivedShare ¶
type ReceivedShare struct { // Opaque unique identifier of the share. Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the shared resource. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Identifier to identify the shared resource at the provider side. // This is unique per provider such that if the same resource is shared twice, this will not be repeated. // This correspond to the `providerId` in the OCM API specs. RemoteShareId string `protobuf:"bytes,3,opt,name=remote_share_id,json=remoteShareId,proto3" json:"remote_share_id,omitempty"` // The receiver of the share, like a user, group ... Grantee *v1beta1.Grantee `protobuf:"bytes,4,opt,name=grantee,proto3" json:"grantee,omitempty"` // Uniquely identifies the owner of the share // (the resource owner at the time of creating the share). // In case the ownership of the underlying resource changes // the share owner field MAY change to reflect the change of ownsership. Owner *v1beta11.UserId `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // Uniquely identifies a principal who initiates the share creation. // A creator can create shares on behalf of the owner (because of re-sharing, // because belonging to special groups, ...). // Creator and owner often result in being the same principal. Creator *v1beta11.UserId `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` // Creation time of the share. Ctime *v1beta12.Timestamp `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"` // Last modification time of the share. Mtime *v1beta12.Timestamp `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` // The expiration time for the ocm share. Expiration *v1beta12.Timestamp `protobuf:"bytes,9,opt,name=expiration,proto3" json:"expiration,omitempty"` // Recipient share type. ShareType ShareType `` /* 129-byte string literal not displayed */ // List of protocols offered for this share. // In the OCM specifications, this corresponds to the `protocol` // property, to maintain backwards compatibility with OCM v1 where // only a single protocol was implemented. Furthermore, // `protocol.name` MAY be set to `multi` and `protocol.options` // MAY be left empty in the OCM share payload, in order to use // the `protocol.webdav` and similar properties. Protocols []*Protocol `protobuf:"bytes,11,rep,name=protocols,proto3" json:"protocols,omitempty"` // The state of the share. State ShareState `protobuf:"varint,12,opt,name=state,proto3,enum=cs3.sharing.ocm.v1beta1.ShareState" json:"state,omitempty"` Opaque *v1beta12.Opaque `protobuf:"bytes,13,opt,name=opaque,proto3" json:"opaque,omitempty"` // Resource type. ResourceType v1beta1.ResourceType `` /* 146-byte string literal not displayed */ // A nonce to be exchanged for a (potentially short-lived) bearer token. Code string `protobuf:"bytes,15,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
A received share represents a share offered by a remote user to a local grantee.
func (*ReceivedShare) Descriptor
deprecated
func (*ReceivedShare) Descriptor() ([]byte, []int)
Deprecated: Use ReceivedShare.ProtoReflect.Descriptor instead.
func (*ReceivedShare) GetCode ¶
func (x *ReceivedShare) GetCode() string
func (*ReceivedShare) GetCreator ¶
func (x *ReceivedShare) GetCreator() *v1beta11.UserId
func (*ReceivedShare) GetCtime ¶
func (x *ReceivedShare) GetCtime() *v1beta12.Timestamp
func (*ReceivedShare) GetExpiration ¶
func (x *ReceivedShare) GetExpiration() *v1beta12.Timestamp
func (*ReceivedShare) GetGrantee ¶
func (x *ReceivedShare) GetGrantee() *v1beta1.Grantee
func (*ReceivedShare) GetId ¶
func (x *ReceivedShare) GetId() *ShareId
func (*ReceivedShare) GetMtime ¶
func (x *ReceivedShare) GetMtime() *v1beta12.Timestamp
func (*ReceivedShare) GetName ¶
func (x *ReceivedShare) GetName() string
func (*ReceivedShare) GetOpaque ¶
func (x *ReceivedShare) GetOpaque() *v1beta12.Opaque
func (*ReceivedShare) GetOwner ¶
func (x *ReceivedShare) GetOwner() *v1beta11.UserId
func (*ReceivedShare) GetProtocols ¶
func (x *ReceivedShare) GetProtocols() []*Protocol
func (*ReceivedShare) GetRemoteShareId ¶
func (x *ReceivedShare) GetRemoteShareId() string
func (*ReceivedShare) GetResourceType ¶
func (x *ReceivedShare) GetResourceType() v1beta1.ResourceType
func (*ReceivedShare) GetShareType ¶
func (x *ReceivedShare) GetShareType() ShareType
func (*ReceivedShare) GetState ¶
func (x *ReceivedShare) GetState() ShareState
func (*ReceivedShare) ProtoMessage ¶
func (*ReceivedShare) ProtoMessage()
func (*ReceivedShare) ProtoReflect ¶
func (x *ReceivedShare) ProtoReflect() protoreflect.Message
func (*ReceivedShare) Reset ¶
func (x *ReceivedShare) Reset()
func (*ReceivedShare) String ¶
func (x *ReceivedShare) String() string
type RemoveOCMShareRequest ¶
type RemoveOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // The reference to which the action should be performed. Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*RemoveOCMShareRequest) Descriptor
deprecated
func (*RemoveOCMShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOCMShareRequest.ProtoReflect.Descriptor instead.
func (*RemoveOCMShareRequest) GetOpaque ¶
func (x *RemoveOCMShareRequest) GetOpaque() *v1beta1.Opaque
func (*RemoveOCMShareRequest) GetRef ¶
func (x *RemoveOCMShareRequest) GetRef() *ShareReference
func (*RemoveOCMShareRequest) ProtoMessage ¶
func (*RemoveOCMShareRequest) ProtoMessage()
func (*RemoveOCMShareRequest) ProtoReflect ¶
func (x *RemoveOCMShareRequest) ProtoReflect() protoreflect.Message
func (*RemoveOCMShareRequest) Reset ¶
func (x *RemoveOCMShareRequest) Reset()
func (*RemoveOCMShareRequest) String ¶
func (x *RemoveOCMShareRequest) String() string
type RemoveOCMShareResponse ¶
type RemoveOCMShareResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*RemoveOCMShareResponse) Descriptor
deprecated
func (*RemoveOCMShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOCMShareResponse.ProtoReflect.Descriptor instead.
func (*RemoveOCMShareResponse) GetOpaque ¶
func (x *RemoveOCMShareResponse) GetOpaque() *v1beta1.Opaque
func (*RemoveOCMShareResponse) GetStatus ¶
func (x *RemoveOCMShareResponse) GetStatus() *v1beta13.Status
func (*RemoveOCMShareResponse) ProtoMessage ¶
func (*RemoveOCMShareResponse) ProtoMessage()
func (*RemoveOCMShareResponse) ProtoReflect ¶
func (x *RemoveOCMShareResponse) ProtoReflect() protoreflect.Message
func (*RemoveOCMShareResponse) Reset ¶
func (x *RemoveOCMShareResponse) Reset()
func (*RemoveOCMShareResponse) String ¶
func (x *RemoveOCMShareResponse) String() string
type Share ¶
type Share struct { // Opaque unique identifier of the share. Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier of the shared resource. ResourceId *v1beta1.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // Name of the shared resource. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The unlisted token to give access to the ocm share. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // The receiver of the share, like a user, group ... Grantee *v1beta1.Grantee `protobuf:"bytes,5,opt,name=grantee,proto3" json:"grantee,omitempty"` // Uniquely identifies the owner of the share // (the resource owner at the time of creating the share). // In case the ownership of the underlying resource changes // the share owner field MAY change to reflect the change of ownsership. Owner *v1beta11.UserId `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"` // Uniquely identifies a principal who initiates the share creation. // A creator can create shares on behalf of the owner (because of re-sharing, // because belonging to special groups, ...). // Creator and owner often result in being the same principal. Creator *v1beta11.UserId `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` // Creation time of the share. Ctime *v1beta12.Timestamp `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime,omitempty"` // Last modification time of the share. Mtime *v1beta12.Timestamp `protobuf:"bytes,9,opt,name=mtime,proto3" json:"mtime,omitempty"` // The expiration time for the OCM share. Expiration *v1beta12.Timestamp `protobuf:"bytes,10,opt,name=expiration,proto3" json:"expiration,omitempty"` // Recipient share type. ShareType ShareType `` /* 129-byte string literal not displayed */ // Access methods represent how remote users would access the local resource. AccessMethods []*AccessMethod `protobuf:"bytes,12,rep,name=access_methods,json=accessMethods,proto3" json:"access_methods,omitempty"` // A nonce to be exchanged for a (potentially short-lived) bearer token. Code string `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` Opaque *v1beta12.Opaque `protobuf:"bytes,14,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
OCM Shares are shares created by a local owner (usually the authenticated user), who grants permissions to a remote recipient (grantee) on a specified (local) resource (resource_id). UserShares represents both user and groups.
func (*Share) Descriptor
deprecated
func (*Share) GetAccessMethods ¶
func (x *Share) GetAccessMethods() []*AccessMethod
func (*Share) GetCreator ¶
func (*Share) GetExpiration ¶
func (*Share) GetGrantee ¶
func (*Share) GetResourceId ¶
func (x *Share) GetResourceId() *v1beta1.ResourceId
func (*Share) GetShareType ¶
func (*Share) ProtoMessage ¶
func (*Share) ProtoMessage()
func (*Share) ProtoReflect ¶
func (x *Share) ProtoReflect() protoreflect.Message
type ShareGrant ¶
type ShareGrant struct { // The grantee of the grant. Grantee *v1beta1.Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"` // The share permissions for the grant. Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
A share grant specifies the share permissions for a grantee.
func (*ShareGrant) Descriptor
deprecated
func (*ShareGrant) Descriptor() ([]byte, []int)
Deprecated: Use ShareGrant.ProtoReflect.Descriptor instead.
func (*ShareGrant) GetGrantee ¶
func (x *ShareGrant) GetGrantee() *v1beta1.Grantee
func (*ShareGrant) GetPermissions ¶
func (x *ShareGrant) GetPermissions() *SharePermissions
func (*ShareGrant) ProtoMessage ¶
func (*ShareGrant) ProtoMessage()
func (*ShareGrant) ProtoReflect ¶
func (x *ShareGrant) ProtoReflect() protoreflect.Message
func (*ShareGrant) Reset ¶
func (x *ShareGrant) Reset()
func (*ShareGrant) String ¶
func (x *ShareGrant) String() string
type ShareId ¶
type ShareId struct { // The internal id used by service implementor to // uniquely identify the share in the internal // implementation of the service. // In the OCM specifications, this corresponds to the `providerId`. OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` // contains filtered or unexported fields }
A share id identifies uniquely a share in the share provider namespace. A ShareId MUST be unique inside the share provider.
func (*ShareId) Descriptor
deprecated
func (*ShareId) GetOpaqueId ¶
func (*ShareId) ProtoMessage ¶
func (*ShareId) ProtoMessage()
func (*ShareId) ProtoReflect ¶
func (x *ShareId) ProtoReflect() protoreflect.Message
type ShareKey ¶
type ShareKey struct { v1beta11.UserId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` ResourceId *v1beta1.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Grantee *v1beta1.Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` // contains filtered or unexported fields }Owner *
Uniquely identifies a share in the share provider. A share MUST be uniquely identify by four (4) elements: 1) The share provider id 2) The owner of the share 3) The resource id 4) The grantee for the share This 4-tuple MUST be unique. For example, owner Alice shares the resource /home/docs with id home:1234 to an user named Bob. The 4-tuple will consist of 1) The share provider id = "user" 2) The owner of the share = "Alice" 3) The resource id = "home:1234" 4) The grantee for the share = Grantee("type" = "user", "" => "Bob")
func (*ShareKey) Descriptor
deprecated
func (*ShareKey) GetGrantee ¶
func (*ShareKey) GetResourceId ¶
func (x *ShareKey) GetResourceId() *v1beta1.ResourceId
func (*ShareKey) ProtoMessage ¶
func (*ShareKey) ProtoMessage()
func (*ShareKey) ProtoReflect ¶
func (x *ShareKey) ProtoReflect() protoreflect.Message
type SharePermissions ¶
type SharePermissions struct { // contains filtered or unexported fields }
The permissions for a share.
func (*SharePermissions) Descriptor
deprecated
func (*SharePermissions) Descriptor() ([]byte, []int)
Deprecated: Use SharePermissions.ProtoReflect.Descriptor instead.
func (*SharePermissions) GetPermissions ¶
func (x *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions
func (*SharePermissions) GetReshare ¶
func (x *SharePermissions) GetReshare() bool
func (*SharePermissions) ProtoMessage ¶
func (*SharePermissions) ProtoMessage()
func (*SharePermissions) ProtoReflect ¶
func (x *SharePermissions) ProtoReflect() protoreflect.Message
func (*SharePermissions) Reset ¶
func (x *SharePermissions) Reset()
func (*SharePermissions) String ¶
func (x *SharePermissions) String() string
type ShareReference ¶
type ShareReference struct { // One of the specifications MUST be specified. // // Types that are assignable to Spec: // // *ShareReference_Id // *ShareReference_Key // *ShareReference_Token Spec isShareReference_Spec `protobuf_oneof:"spec"` // contains filtered or unexported fields }
The mechanism to identify a share in the share provider namespace.
func (*ShareReference) Descriptor
deprecated
func (*ShareReference) Descriptor() ([]byte, []int)
Deprecated: Use ShareReference.ProtoReflect.Descriptor instead.
func (*ShareReference) GetId ¶
func (x *ShareReference) GetId() *ShareId
func (*ShareReference) GetKey ¶
func (x *ShareReference) GetKey() *ShareKey
func (*ShareReference) GetSpec ¶
func (m *ShareReference) GetSpec() isShareReference_Spec
func (*ShareReference) GetToken ¶
func (x *ShareReference) GetToken() string
func (*ShareReference) ProtoMessage ¶
func (*ShareReference) ProtoMessage()
func (*ShareReference) ProtoReflect ¶
func (x *ShareReference) ProtoReflect() protoreflect.Message
func (*ShareReference) Reset ¶
func (x *ShareReference) Reset()
func (*ShareReference) String ¶
func (x *ShareReference) String() string
type ShareReference_Id ¶
type ShareReference_Id struct { ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }Id *
type ShareReference_Key ¶
type ShareReference_Key struct { // make the share unique. Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"` }
type ShareReference_Token ¶
type ShareReference_Token struct { string `protobuf:"bytes,3,opt,name=token,proto3,oneof"` }Token
type ShareState ¶
type ShareState int32
The state of the share.
const ( ShareState = 0 // This state means the share is pending to be accepted or rejected // by the recipient of the share. ShareState_SHARE_STATE_PENDING ShareState = 1 ShareState_SHARE_STATE_ACCEPTED ShareState = 2 // Do not means the share is removed, the recipient MAY // change the state to accepted or pending. ShareState_SHARE_STATE_REJECTED ShareState = 3 )ShareState_SHARE_STATE_INVALID
func (ShareState) Descriptor ¶
func (ShareState) Descriptor() protoreflect.EnumDescriptor
func (ShareState) Enum ¶
func (x ShareState) Enum() *ShareState
func (ShareState) EnumDescriptor
deprecated
func (ShareState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ShareState.Descriptor instead.
func (ShareState) Number ¶
func (x ShareState) Number() protoreflect.EnumNumber
func (ShareState) String ¶
func (x ShareState) String() string
func (ShareState) Type ¶
func (ShareState) Type() protoreflect.EnumType
type ShareType ¶
type ShareType int32
Defines the type of share based on its recipient.
func (ShareType) Descriptor ¶
func (ShareType) Descriptor() protoreflect.EnumDescriptor
func (ShareType) EnumDescriptor
deprecated
func (ShareType) Number ¶
func (x ShareType) Number() protoreflect.EnumNumber
func (ShareType) Type ¶
func (ShareType) Type() protoreflect.EnumType
type TransferAccessMethod ¶
type TransferAccessMethod struct { // REQUIRED. // The destination path of the data transfer. Destination *v1beta1.Reference `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // contains filtered or unexported fields }
Defines the options for the Transfer access method.
func (*TransferAccessMethod) Descriptor
deprecated
func (*TransferAccessMethod) Descriptor() ([]byte, []int)
Deprecated: Use TransferAccessMethod.ProtoReflect.Descriptor instead.
func (*TransferAccessMethod) GetDestination ¶
func (x *TransferAccessMethod) GetDestination() *v1beta1.Reference
func (*TransferAccessMethod) ProtoMessage ¶
func (*TransferAccessMethod) ProtoMessage()
func (*TransferAccessMethod) ProtoReflect ¶
func (x *TransferAccessMethod) ProtoReflect() protoreflect.Message
func (*TransferAccessMethod) Reset ¶
func (x *TransferAccessMethod) Reset()
func (*TransferAccessMethod) String ¶
func (x *TransferAccessMethod) String() string
type TransferProtocol ¶
type TransferProtocol struct { // Secret used to access the source of the data transfer. SharedSecret string `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret,proto3" json:"shared_secret,omitempty"` // REQUIRED. // Source URI for the data transfer. SourceUri string `protobuf:"bytes,2,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` // REQUIRED. // Size in bytes of the source. Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
Defines the options for the Transfer protocol.
func (*TransferProtocol) Descriptor
deprecated
func (*TransferProtocol) Descriptor() ([]byte, []int)
Deprecated: Use TransferProtocol.ProtoReflect.Descriptor instead.
func (*TransferProtocol) GetSharedSecret ¶
func (x *TransferProtocol) GetSharedSecret() string
func (*TransferProtocol) GetSize ¶
func (x *TransferProtocol) GetSize() uint64
func (*TransferProtocol) GetSourceUri ¶
func (x *TransferProtocol) GetSourceUri() string
func (*TransferProtocol) ProtoMessage ¶
func (*TransferProtocol) ProtoMessage()
func (*TransferProtocol) ProtoReflect ¶
func (x *TransferProtocol) ProtoReflect() protoreflect.Message
func (*TransferProtocol) Reset ¶
func (x *TransferProtocol) Reset()
func (*TransferProtocol) String ¶
func (x *TransferProtocol) String() string
type UnimplementedOcmAPIServer ¶
type UnimplementedOcmAPIServer struct { }
UnimplementedOcmAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedOcmAPIServer) CreateOCMShare ¶
func (UnimplementedOcmAPIServer) CreateOCMShare(context.Context, *CreateOCMShareRequest) (*CreateOCMShareResponse, error)
func (UnimplementedOcmAPIServer) GetOCMShare ¶
func (UnimplementedOcmAPIServer) GetOCMShare(context.Context, *GetOCMShareRequest) (*GetOCMShareResponse, error)
func (UnimplementedOcmAPIServer) GetOCMShareByToken ¶
func (UnimplementedOcmAPIServer) GetOCMShareByToken(context.Context, *GetOCMShareByTokenRequest) (*GetOCMShareByTokenResponse, error)
func (UnimplementedOcmAPIServer) GetReceivedOCMShare ¶
func (UnimplementedOcmAPIServer) GetReceivedOCMShare(context.Context, *GetReceivedOCMShareRequest) (*GetReceivedOCMShareResponse, error)
func (UnimplementedOcmAPIServer) ListOCMShares ¶
func (UnimplementedOcmAPIServer) ListOCMShares(context.Context, *ListOCMSharesRequest) (*ListOCMSharesResponse, error)
func (UnimplementedOcmAPIServer) ListReceivedOCMShares ¶
func (UnimplementedOcmAPIServer) ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*ListReceivedOCMSharesResponse, error)
func (UnimplementedOcmAPIServer) RemoveOCMShare ¶
func (UnimplementedOcmAPIServer) RemoveOCMShare(context.Context, *RemoveOCMShareRequest) (*RemoveOCMShareResponse, error)
func (UnimplementedOcmAPIServer) UpdateOCMShare ¶
func (UnimplementedOcmAPIServer) UpdateOCMShare(context.Context, *UpdateOCMShareRequest) (*UpdateOCMShareResponse, error)
func (UnimplementedOcmAPIServer) UpdateReceivedOCMShare ¶
func (UnimplementedOcmAPIServer) UpdateReceivedOCMShare(context.Context, *UpdateReceivedOCMShareRequest) (*UpdateReceivedOCMShareResponse, error)
type UnsafeOcmAPIServer ¶
type UnsafeOcmAPIServer interface {
// contains filtered or unexported methods
}
UnsafeOcmAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OcmAPIServer will result in compilation errors.
type UpdateOCMShareRequest ¶
type UpdateOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // contains filtered or unexported fields }
func (*UpdateOCMShareRequest) Descriptor
deprecated
func (*UpdateOCMShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOCMShareRequest.ProtoReflect.Descriptor instead.
func (*UpdateOCMShareRequest) GetField ¶
func (x *UpdateOCMShareRequest) GetField() []*UpdateOCMShareRequest_UpdateField
func (*UpdateOCMShareRequest) GetOpaque ¶
func (x *UpdateOCMShareRequest) GetOpaque() *v1beta1.Opaque
func (*UpdateOCMShareRequest) GetRef ¶
func (x *UpdateOCMShareRequest) GetRef() *ShareReference
func (*UpdateOCMShareRequest) ProtoMessage ¶
func (*UpdateOCMShareRequest) ProtoMessage()
func (*UpdateOCMShareRequest) ProtoReflect ¶
func (x *UpdateOCMShareRequest) ProtoReflect() protoreflect.Message
func (*UpdateOCMShareRequest) Reset ¶
func (x *UpdateOCMShareRequest) Reset()
func (*UpdateOCMShareRequest) String ¶
func (x *UpdateOCMShareRequest) String() string
type UpdateOCMShareRequest_UpdateField ¶
type UpdateOCMShareRequest_UpdateField struct { // // Types that are assignable to Field: // // *UpdateOCMShareRequest_UpdateField_Expiration // *UpdateOCMShareRequest_UpdateField_AccessMethods Field isUpdateOCMShareRequest_UpdateField_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
REQUIRED.
func (*UpdateOCMShareRequest_UpdateField) Descriptor
deprecated
func (*UpdateOCMShareRequest_UpdateField) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOCMShareRequest_UpdateField.ProtoReflect.Descriptor instead.
func (*UpdateOCMShareRequest_UpdateField) GetAccessMethods ¶
func (x *UpdateOCMShareRequest_UpdateField) GetAccessMethods() *AccessMethod
func (*UpdateOCMShareRequest_UpdateField) GetExpiration ¶
func (x *UpdateOCMShareRequest_UpdateField) GetExpiration() *v1beta1.Timestamp
func (*UpdateOCMShareRequest_UpdateField) GetField ¶
func (m *UpdateOCMShareRequest_UpdateField) GetField() isUpdateOCMShareRequest_UpdateField_Field
func (*UpdateOCMShareRequest_UpdateField) ProtoMessage ¶
func (*UpdateOCMShareRequest_UpdateField) ProtoMessage()
func (*UpdateOCMShareRequest_UpdateField) ProtoReflect ¶
func (x *UpdateOCMShareRequest_UpdateField) ProtoReflect() protoreflect.Message
func (*UpdateOCMShareRequest_UpdateField) Reset ¶
func (x *UpdateOCMShareRequest_UpdateField) Reset()
func (*UpdateOCMShareRequest_UpdateField) String ¶
func (x *UpdateOCMShareRequest_UpdateField) String() string
type UpdateOCMShareRequest_UpdateField_AccessMethods ¶
type UpdateOCMShareRequest_UpdateField_AccessMethods struct { AccessMethod `protobuf:"bytes,2,opt,name=access_methods,json=accessMethods,proto3,oneof"` }AccessMethods *
type UpdateOCMShareResponse ¶
type UpdateOCMShareResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*UpdateOCMShareResponse) Descriptor
deprecated
func (*UpdateOCMShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOCMShareResponse.ProtoReflect.Descriptor instead.
func (*UpdateOCMShareResponse) GetOpaque ¶
func (x *UpdateOCMShareResponse) GetOpaque() *v1beta1.Opaque
func (*UpdateOCMShareResponse) GetStatus ¶
func (x *UpdateOCMShareResponse) GetStatus() *v1beta13.Status
func (*UpdateOCMShareResponse) ProtoMessage ¶
func (*UpdateOCMShareResponse) ProtoMessage()
func (*UpdateOCMShareResponse) ProtoReflect ¶
func (x *UpdateOCMShareResponse) ProtoReflect() protoreflect.Message
func (*UpdateOCMShareResponse) Reset ¶
func (x *UpdateOCMShareResponse) Reset()
func (*UpdateOCMShareResponse) String ¶
func (x *UpdateOCMShareResponse) String() string
type UpdateReceivedOCMShareRequest ¶
type UpdateReceivedOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // The received share to update. Share *ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
TODO(labkode): clean up display_name ? we'll use storage links for that.
func (*UpdateReceivedOCMShareRequest) Descriptor
deprecated
func (*UpdateReceivedOCMShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReceivedOCMShareRequest.ProtoReflect.Descriptor instead.
func (*UpdateReceivedOCMShareRequest) GetOpaque ¶
func (x *UpdateReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque
func (*UpdateReceivedOCMShareRequest) GetShare ¶
func (x *UpdateReceivedOCMShareRequest) GetShare() *ReceivedShare
func (*UpdateReceivedOCMShareRequest) GetUpdateMask ¶
func (x *UpdateReceivedOCMShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateReceivedOCMShareRequest) ProtoMessage ¶
func (*UpdateReceivedOCMShareRequest) ProtoMessage()
func (*UpdateReceivedOCMShareRequest) ProtoReflect ¶
func (x *UpdateReceivedOCMShareRequest) ProtoReflect() protoreflect.Message
func (*UpdateReceivedOCMShareRequest) Reset ¶
func (x *UpdateReceivedOCMShareRequest) Reset()
func (*UpdateReceivedOCMShareRequest) String ¶
func (x *UpdateReceivedOCMShareRequest) String() string
type UpdateReceivedOCMShareResponse ¶
type UpdateReceivedOCMShareResponse struct { // The response status. Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*UpdateReceivedOCMShareResponse) Descriptor
deprecated
func (*UpdateReceivedOCMShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReceivedOCMShareResponse.ProtoReflect.Descriptor instead.
func (*UpdateReceivedOCMShareResponse) GetOpaque ¶
func (x *UpdateReceivedOCMShareResponse) GetOpaque() *v1beta1.Opaque
func (*UpdateReceivedOCMShareResponse) GetStatus ¶
func (x *UpdateReceivedOCMShareResponse) GetStatus() *v1beta13.Status
func (*UpdateReceivedOCMShareResponse) ProtoMessage ¶
func (*UpdateReceivedOCMShareResponse) ProtoMessage()
func (*UpdateReceivedOCMShareResponse) ProtoReflect ¶
func (x *UpdateReceivedOCMShareResponse) ProtoReflect() protoreflect.Message
func (*UpdateReceivedOCMShareResponse) Reset ¶
func (x *UpdateReceivedOCMShareResponse) Reset()
func (*UpdateReceivedOCMShareResponse) String ¶
func (x *UpdateReceivedOCMShareResponse) String() string
type WebDAVAccessMethod ¶
type WebDAVAccessMethod struct { // REQUIRED. // The permissions for the share. Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` // OPTIONAL. // The requirements for the share. Requirements []string `protobuf:"bytes,2,rep,name=requirements,proto3" json:"requirements,omitempty"` // contains filtered or unexported fields }
Defines the options for the WebDAV access method.
func (*WebDAVAccessMethod) Descriptor
deprecated
func (*WebDAVAccessMethod) Descriptor() ([]byte, []int)
Deprecated: Use WebDAVAccessMethod.ProtoReflect.Descriptor instead.
func (*WebDAVAccessMethod) GetPermissions ¶
func (x *WebDAVAccessMethod) GetPermissions() *v1beta1.ResourcePermissions
func (*WebDAVAccessMethod) GetRequirements ¶
func (x *WebDAVAccessMethod) GetRequirements() []string
func (*WebDAVAccessMethod) ProtoMessage ¶
func (*WebDAVAccessMethod) ProtoMessage()
func (*WebDAVAccessMethod) ProtoReflect ¶
func (x *WebDAVAccessMethod) ProtoReflect() protoreflect.Message
func (*WebDAVAccessMethod) Reset ¶
func (x *WebDAVAccessMethod) Reset()
func (*WebDAVAccessMethod) String ¶
func (x *WebDAVAccessMethod) String() string
type WebDAVProtocol ¶
type WebDAVProtocol struct { // Secret used to access the resource. SharedSecret string `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret,proto3" json:"shared_secret,omitempty"` // REQUIRED. // Permissions of the shared resource. Permissions *SharePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` // REQUIRED. // Path-only URI used to access the resource. Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // OPTIONAL. // The requirements for the share. Requirements []string `protobuf:"bytes,4,rep,name=requirements,proto3" json:"requirements,omitempty"` // contains filtered or unexported fields }
Defines the options for the WebDAV protocol.
func (*WebDAVProtocol) Descriptor
deprecated
func (*WebDAVProtocol) Descriptor() ([]byte, []int)
Deprecated: Use WebDAVProtocol.ProtoReflect.Descriptor instead.
func (*WebDAVProtocol) GetPermissions ¶
func (x *WebDAVProtocol) GetPermissions() *SharePermissions
func (*WebDAVProtocol) GetRequirements ¶
func (x *WebDAVProtocol) GetRequirements() []string
func (*WebDAVProtocol) GetSharedSecret ¶
func (x *WebDAVProtocol) GetSharedSecret() string
func (*WebDAVProtocol) GetUri ¶
func (x *WebDAVProtocol) GetUri() string
func (*WebDAVProtocol) ProtoMessage ¶
func (*WebDAVProtocol) ProtoMessage()
func (*WebDAVProtocol) ProtoReflect ¶
func (x *WebDAVProtocol) ProtoReflect() protoreflect.Message
func (*WebDAVProtocol) Reset ¶
func (x *WebDAVProtocol) Reset()
func (*WebDAVProtocol) String ¶
func (x *WebDAVProtocol) String() string
type WebappAccessMethod ¶
type WebappAccessMethod struct { // REQUIRED. // The view mode for the share. ViewMode v1beta13.ViewMode `protobuf:"varint,1,opt,name=view_mode,json=viewMode,proto3,enum=cs3.app.provider.v1beta1.ViewMode" json:"view_mode,omitempty"` // contains filtered or unexported fields }
Defines the options for the Webapp access method.
func (*WebappAccessMethod) Descriptor
deprecated
func (*WebappAccessMethod) Descriptor() ([]byte, []int)
Deprecated: Use WebappAccessMethod.ProtoReflect.Descriptor instead.
func (*WebappAccessMethod) GetViewMode ¶
func (x *WebappAccessMethod) GetViewMode() v1beta13.ViewMode
func (*WebappAccessMethod) ProtoMessage ¶
func (*WebappAccessMethod) ProtoMessage()
func (*WebappAccessMethod) ProtoReflect ¶
func (x *WebappAccessMethod) ProtoReflect() protoreflect.Message
func (*WebappAccessMethod) Reset ¶
func (x *WebappAccessMethod) Reset()
func (*WebappAccessMethod) String ¶
func (x *WebappAccessMethod) String() string
type WebappProtocol ¶
type WebappProtocol struct { // REQUIRED. // Path-only URI to open the resource with a remote app. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // REQUIRED. // View mode for the remote app. ViewMode v1beta13.ViewMode `protobuf:"varint,2,opt,name=view_mode,json=viewMode,proto3,enum=cs3.app.provider.v1beta1.ViewMode" json:"view_mode,omitempty"` // Secret used to access the resource. SharedSecret string `protobuf:"bytes,3,opt,name=shared_secret,json=sharedSecret,proto3" json:"shared_secret,omitempty"` // contains filtered or unexported fields }
Defines the options for the Webapp protocol.
func (*WebappProtocol) Descriptor
deprecated
func (*WebappProtocol) Descriptor() ([]byte, []int)
Deprecated: Use WebappProtocol.ProtoReflect.Descriptor instead.
func (*WebappProtocol) GetSharedSecret ¶
func (x *WebappProtocol) GetSharedSecret() string
func (*WebappProtocol) GetUri ¶
func (x *WebappProtocol) GetUri() string
func (*WebappProtocol) GetViewMode ¶
func (x *WebappProtocol) GetViewMode() v1beta13.ViewMode
func (*WebappProtocol) ProtoMessage ¶
func (*WebappProtocol) ProtoMessage()
func (*WebappProtocol) ProtoReflect ¶
func (x *WebappProtocol) ProtoReflect() protoreflect.Message
func (*WebappProtocol) Reset ¶
func (x *WebappProtocol) Reset()
func (*WebappProtocol) String ¶
func (x *WebappProtocol) String() string