ocmv1beta1

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: 15 Imported by: 20

Documentation

Index

Constants

View Source
const (
	OcmAPI_CreateOCMShare_FullMethodName         = "/cs3.sharing.ocm.v1beta1.OcmAPI/CreateOCMShare"
	OcmAPI_RemoveOCMShare_FullMethodName         = "/cs3.sharing.ocm.v1beta1.OcmAPI/RemoveOCMShare"
	OcmAPI_GetOCMShare_FullMethodName            = "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShare"
	OcmAPI_GetOCMShareByToken_FullMethodName     = "/cs3.sharing.ocm.v1beta1.OcmAPI/GetOCMShareByToken"
	OcmAPI_ListOCMShares_FullMethodName          = "/cs3.sharing.ocm.v1beta1.OcmAPI/ListOCMShares"
	OcmAPI_UpdateOCMShare_FullMethodName         = "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateOCMShare"
	OcmAPI_ListReceivedOCMShares_FullMethodName  = "/cs3.sharing.ocm.v1beta1.OcmAPI/ListReceivedOCMShares"
	OcmAPI_UpdateReceivedOCMShare_FullMethodName = "/cs3.sharing.ocm.v1beta1.OcmAPI/UpdateReceivedOCMShare"
	OcmAPI_GetReceivedOCMShare_FullMethodName    = "/cs3.sharing.ocm.v1beta1.OcmAPI/GetReceivedOCMShare"
)

Variables

View Source
var (
	ListOCMSharesRequest_Filter_Type_name = map[int32]string{
		0: "TYPE_INVALID",
		1: "TYPE_NO",
		2: "TYPE_RESOURCE_ID",
		3: "TYPE_OWNER",
		4: "TYPE_CREATOR",
		5: "TYPE_OWNER_PROVIDER",
		6: "TYPE_CREATOR_PROVIDER",
	}
	ListOCMSharesRequest_Filter_Type_value = map[string]int32{
		"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.

View Source
var (
	ShareState_name = map[int32]string{
		0: "SHARE_STATE_INVALID",
		1: "SHARE_STATE_PENDING",
		2: "SHARE_STATE_ACCEPTED",
		3: "SHARE_STATE_REJECTED",
	}
	ShareState_value = map[string]int32{
		"SHARE_STATE_INVALID":  0,
		"SHARE_STATE_PENDING":  1,
		"SHARE_STATE_ACCEPTED": 2,
		"SHARE_STATE_REJECTED": 3,
	}
)

Enum value maps for ShareState.

View Source
var (
	ShareType_name = map[int32]string{
		0: "SHARE_TYPE_INVALID",
		1: "SHARE_TYPE_USER",
		2: "SHARE_TYPE_GROUP",
	}
	ShareType_value = map[string]int32{
		"SHARE_TYPE_INVALID": 0,
		"SHARE_TYPE_USER":    1,
		"SHARE_TYPE_GROUP":   2,
	}
)

Enum value maps for ShareType.

View Source
var File_cs3_sharing_ocm_v1beta1_ocm_api_proto protoreflect.FileDescriptor
View Source
var File_cs3_sharing_ocm_v1beta1_resources_proto protoreflect.FileDescriptor
View Source
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_GenericOptions

type AccessMethod_GenericOptions struct {
	// Options for a generic transfer method.
	// Used to implement future access methods.
	GenericOptions *v1beta12.Opaque `protobuf:"bytes,4,opt,name=generic_options,json=genericOptions,proto3,oneof"`
}

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 {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// The grantee for the share.
	Grantee *v1beta11.Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// REQUIRED.
	// The details of the recipient user's mesh provider.
	RecipientMeshProvider *v1beta12.ProviderInfo `` /* 126-byte string literal not displayed */
	// REQUIRED.
	AccessMethods []*AccessMethod `protobuf:"bytes,5,rep,name=access_methods,json=accessMethods,proto3" json:"access_methods,omitempty"`
	// OPTIONAL.
	// 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 {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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 created share.
	Share *Share `protobuf:"bytes,3,opt,name=share,proto3" json:"share,omitempty"`
	// OPTIONAL.
	// 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 {

	// REQUIRED.
	// 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 (*GetOCMShareByTokenRequest) Reset

func (x *GetOCMShareByTokenRequest) Reset()

func (*GetOCMShareByTokenRequest) String

func (x *GetOCMShareByTokenRequest) String() string

type GetOCMShareByTokenResponse

type GetOCMShareByTokenResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta13.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// REQUIRED.
	// 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 (*GetOCMShareByTokenResponse) Reset

func (x *GetOCMShareByTokenResponse) Reset()

func (*GetOCMShareByTokenResponse) String

func (x *GetOCMShareByTokenResponse) String() string

type GetOCMShareRequest

type GetOCMShareRequest 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 *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 {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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 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 {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// 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 (*GetReceivedOCMShareRequest) ProtoMessage

func (*GetReceivedOCMShareRequest) ProtoMessage()

func (*GetReceivedOCMShareRequest) ProtoReflect

func (*GetReceivedOCMShareRequest) Reset

func (x *GetReceivedOCMShareRequest) Reset()

func (*GetReceivedOCMShareRequest) String

func (x *GetReceivedOCMShareRequest) String() string

type GetReceivedOCMShareResponse

type GetReceivedOCMShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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 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 (*GetReceivedOCMShareResponse) GetStatus

func (*GetReceivedOCMShareResponse) ProtoMessage

func (*GetReceivedOCMShareResponse) ProtoMessage()

func (*GetReceivedOCMShareResponse) ProtoReflect

func (*GetReceivedOCMShareResponse) Reset

func (x *GetReceivedOCMShareResponse) Reset()

func (*GetReceivedOCMShareResponse) String

func (x *GetReceivedOCMShareResponse) String() string

type ListOCMSharesRequest

type ListOCMSharesRequest struct {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// OPTIONAL.
	// The list of filters to apply if any.
	Filters []*ListOCMSharesRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// OPTIONAL.
	// 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"`
	// OPTIONAL.
	// 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 (*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 {

	// REQUIRED.
	Type ListOCMSharesRequest_Filter_Type `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.sharing.ocm.v1beta1.ListOCMSharesRequest_Filter_Type" json:"type,omitempty"`
	// Types that are assignable to Term:
	//
	//	*ListOCMSharesRequest_Filter_ResourceId
	//	*ListOCMSharesRequest_Filter_Owner
	//	*ListOCMSharesRequest_Filter_Creator
	Term isListOCMSharesRequest_Filter_Term `protobuf_oneof:"term"`
	// contains filtered or unexported fields
}

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 (*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 (*ListOCMSharesRequest_Filter) ProtoMessage

func (*ListOCMSharesRequest_Filter) ProtoMessage()

func (*ListOCMSharesRequest_Filter) ProtoReflect

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 {
	Creator *v1beta14.UserId `protobuf:"bytes,5,opt,name=creator,proto3,oneof"`
}

type ListOCMSharesRequest_Filter_Owner

type ListOCMSharesRequest_Filter_Owner struct {
	Owner *v1beta14.UserId `protobuf:"bytes,4,opt,name=owner,proto3,oneof"`
}

type ListOCMSharesRequest_Filter_ResourceId

type ListOCMSharesRequest_Filter_ResourceId struct {
	ResourceId *v1beta11.ResourceId `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3,oneof"`
}

type ListOCMSharesRequest_Filter_Type

type ListOCMSharesRequest_Filter_Type int32

REQUIRED. The filter to apply.

const (
	ListOCMSharesRequest_Filter_TYPE_INVALID          ListOCMSharesRequest_Filter_Type = 0
	ListOCMSharesRequest_Filter_TYPE_NO               ListOCMSharesRequest_Filter_Type = 1
	ListOCMSharesRequest_Filter_TYPE_RESOURCE_ID      ListOCMSharesRequest_Filter_Type = 2
	ListOCMSharesRequest_Filter_TYPE_OWNER            ListOCMSharesRequest_Filter_Type = 3
	ListOCMSharesRequest_Filter_TYPE_CREATOR          ListOCMSharesRequest_Filter_Type = 4
	ListOCMSharesRequest_Filter_TYPE_OWNER_PROVIDER   ListOCMSharesRequest_Filter_Type = 5
	ListOCMSharesRequest_Filter_TYPE_CREATOR_PROVIDER ListOCMSharesRequest_Filter_Type = 6
)

func (ListOCMSharesRequest_Filter_Type) Descriptor

func (ListOCMSharesRequest_Filter_Type) Enum

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 (ListOCMSharesRequest_Filter_Type) String

func (ListOCMSharesRequest_Filter_Type) Type

type ListOCMSharesResponse

type ListOCMSharesResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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 shares.
	Shares []*Share `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 (*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 {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// OPTIONAL.
	// 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"`
	// OPTIONAL.
	// 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 (*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 (*ListReceivedOCMSharesRequest) Reset

func (x *ListReceivedOCMSharesRequest) Reset()

func (*ListReceivedOCMSharesRequest) String

type ListReceivedOCMSharesResponse

type ListReceivedOCMSharesResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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 received shares.
	Shares []*ReceivedShare `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 (*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 (*ListReceivedOCMSharesResponse) GetShares

func (x *ListReceivedOCMSharesResponse) GetShares() []*ReceivedShare

func (*ListReceivedOCMSharesResponse) GetStatus

func (*ListReceivedOCMSharesResponse) ProtoMessage

func (*ListReceivedOCMSharesResponse) ProtoMessage()

func (*ListReceivedOCMSharesResponse) ProtoReflect

func (*ListReceivedOCMSharesResponse) Reset

func (x *ListReceivedOCMSharesResponse) Reset()

func (*ListReceivedOCMSharesResponse) String

type OcmAPIClient

type OcmAPIClient interface {
	// 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, 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)
	// Removes a share.
	// 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)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetOCMShare(ctx context.Context, in *GetOCMShareRequest, opts ...grpc.CallOption) (*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 *GetOCMShareByTokenRequest, opts ...grpc.CallOption) (*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 *ListOCMSharesRequest, opts ...grpc.CallOption) (*ListOCMSharesResponse, error)
	// Updates a share.
	// 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)
	// List all shares the authenticated principal has received.
	ListReceivedOCMShares(ctx context.Context, in *ListReceivedOCMSharesRequest, opts ...grpc.CallOption) (*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 *UpdateReceivedOCMShareRequest, opts ...grpc.CallOption) (*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 *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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewOcmAPIClient

func NewOcmAPIClient(cc grpc.ClientConnInterface) OcmAPIClient

type OcmAPIServer

type OcmAPIServer interface {
	// 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, 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)
	// Removes a share.
	// 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)
	// Gets share information for a single share.
	// MUST return CODE_NOT_FOUND if the share reference does not exist.
	GetOCMShare(context.Context, *GetOCMShareRequest) (*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, *GetOCMShareByTokenRequest) (*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, *ListOCMSharesRequest) (*ListOCMSharesResponse, error)
	// Updates a share.
	// 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)
	// List all shares the authenticated principal has received.
	ListReceivedOCMShares(context.Context, *ListReceivedOCMSharesRequest) (*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, *UpdateReceivedOCMShareRequest) (*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, *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) Descriptor() ([]byte, []int)

Deprecated: Use Protocol.ProtoReflect.Descriptor instead.

func (*Protocol) GetGenericOptions

func (x *Protocol) GetGenericOptions() *v1beta12.Opaque

func (*Protocol) GetTerm

func (m *Protocol) GetTerm() isProtocol_Term

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

func (*Protocol) Reset

func (x *Protocol) Reset()

func (*Protocol) String

func (x *Protocol) String() string

type Protocol_GenericOptions

type Protocol_GenericOptions struct {
	// Options for a generic protocol.
	// Used to implement future protocols
	// in the OCM specs.
	GenericOptions *v1beta12.Opaque `protobuf:"bytes,4,opt,name=generic_options,json=genericOptions,proto3,oneof"`
}

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 {

	// REQUIRED.
	// Opaque unique identifier of the share.
	Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// REQUIRED.
	// Name of the shared resource.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// The receiver of the share, like a user, group ...
	Grantee *v1beta1.Grantee `protobuf:"bytes,4,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// Creation time of the share.
	Ctime *v1beta12.Timestamp `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// REQUIRED.
	// Last modification time of the share.
	Mtime *v1beta12.Timestamp `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// OPTIONAL.
	// The expiration time for the ocm share.
	Expiration *v1beta12.Timestamp `protobuf:"bytes,9,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// REQUIRED.
	// Recipient share type.
	ShareType ShareType `` /* 129-byte string literal not displayed */
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// The state of the share.
	State ShareState `protobuf:"varint,12,opt,name=state,proto3,enum=cs3.sharing.ocm.v1beta1.ShareState" json:"state,omitempty"`
	// OPTIONAL.
	Opaque *v1beta12.Opaque `protobuf:"bytes,13,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// Resource type.
	ResourceType v1beta1.ResourceType `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

A received share is the share that a grantee will receive.

func (*ReceivedShare) Descriptor deprecated

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

Deprecated: Use ReceivedShare.ProtoReflect.Descriptor instead.

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 {

	// 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 *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 (*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 {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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"`
	// 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 {

	// REQUIRED.
	// Opaque unique identifier of the share.
	Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// REQUIRED.
	// Unique identifier of the shared resource.
	ResourceId *v1beta1.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// REQUIRED.
	// Name of the shared resource.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED.
	// The unlisted token to give access to the ocm share.
	Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	// REQUIRED.
	// The receiver of the share, like a user, group ...
	Grantee *v1beta1.Grantee `protobuf:"bytes,5,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// 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"`
	// REQUIRED.
	// Creation time of the share.
	Ctime *v1beta12.Timestamp `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// REQUIRED.
	// Last modification time of the share.
	Mtime *v1beta12.Timestamp `protobuf:"bytes,9,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// OPTIONAL.
	// The expiration time for the OCM share.
	Expiration *v1beta12.Timestamp `protobuf:"bytes,10,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// REQUIRED.
	// Recipient share type.
	ShareType ShareType `` /* 129-byte string literal not displayed */
	// REQUIRED.
	AccessMethods []*AccessMethod `protobuf:"bytes,12,rep,name=access_methods,json=accessMethods,proto3" json:"access_methods,omitempty"`
	// OPTIONAL.
	Opaque *v1beta12.Opaque `protobuf:"bytes,13,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// contains filtered or unexported fields
}

Shares are relationships between a resource owner (usually the authenticated user) who grants permissions to a recipient (grantee) on a specified resource (resource_id). UserShares represents both user and groups.

func (*Share) Descriptor deprecated

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

Deprecated: Use Share.ProtoReflect.Descriptor instead.

func (*Share) GetAccessMethods

func (x *Share) GetAccessMethods() []*AccessMethod

func (*Share) GetCreator

func (x *Share) GetCreator() *v1beta11.UserId

func (*Share) GetCtime

func (x *Share) GetCtime() *v1beta12.Timestamp

func (*Share) GetExpiration

func (x *Share) GetExpiration() *v1beta12.Timestamp

func (*Share) GetGrantee

func (x *Share) GetGrantee() *v1beta1.Grantee

func (*Share) GetId

func (x *Share) GetId() *ShareId

func (*Share) GetMtime

func (x *Share) GetMtime() *v1beta12.Timestamp

func (*Share) GetName

func (x *Share) GetName() string

func (*Share) GetOpaque

func (x *Share) GetOpaque() *v1beta12.Opaque

func (*Share) GetOwner

func (x *Share) GetOwner() *v1beta11.UserId

func (*Share) GetResourceId

func (x *Share) GetResourceId() *v1beta1.ResourceId

func (*Share) GetShareType

func (x *Share) GetShareType() ShareType

func (*Share) GetToken

func (x *Share) GetToken() string

func (*Share) ProtoMessage

func (*Share) ProtoMessage()

func (*Share) ProtoReflect

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

func (*Share) Reset

func (x *Share) Reset()

func (*Share) String

func (x *Share) String() string

type ShareGrant

type ShareGrant struct {

	// REQUIRED.
	// The grantee of the grant.
	Grantee *v1beta1.Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// REQUIRED.
	// 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 {

	// REQUIRED.
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use ShareId.ProtoReflect.Descriptor instead.

func (*ShareId) GetOpaqueId

func (x *ShareId) GetOpaqueId() string

func (*ShareId) ProtoMessage

func (*ShareId) ProtoMessage()

func (*ShareId) ProtoReflect

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

func (*ShareId) Reset

func (x *ShareId) Reset()

func (*ShareId) String

func (x *ShareId) String() string

type ShareKey

type ShareKey struct {

	// REQUIRED.
	Owner *v1beta11.UserId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// REQUIRED.
	ResourceId *v1beta1.ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// REQUIRED.
	Grantee *v1beta1.Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// contains filtered or unexported fields
}

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) Descriptor() ([]byte, []int)

Deprecated: Use ShareKey.ProtoReflect.Descriptor instead.

func (*ShareKey) GetGrantee

func (x *ShareKey) GetGrantee() *v1beta1.Grantee

func (*ShareKey) GetOwner

func (x *ShareKey) GetOwner() *v1beta11.UserId

func (*ShareKey) GetResourceId

func (x *ShareKey) GetResourceId() *v1beta1.ResourceId

func (*ShareKey) ProtoMessage

func (*ShareKey) ProtoMessage()

func (*ShareKey) ProtoReflect

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

func (*ShareKey) Reset

func (x *ShareKey) Reset()

func (*ShareKey) String

func (x *ShareKey) String() string

type SharePermissions

type SharePermissions struct {
	Permissions *v1beta1.ResourcePermissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Reshare     bool                         `protobuf:"varint,2,opt,name=reshare,proto3" json:"reshare,omitempty"`
	// 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 {

	// REQUIRED.
	// 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 {
	// The id of the share.
	Id *ShareId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ShareReference_Key

type ShareReference_Key struct {
	// The combination of fields that
	// make the share unique.
	Key *ShareKey `protobuf:"bytes,2,opt,name=key,proto3,oneof"`
}

type ShareReference_Token

type ShareReference_Token struct {
	// The token of the share.
	Token string `protobuf:"bytes,3,opt,name=token,proto3,oneof"`
}

type ShareState

type ShareState int32

The state of the share.

const (
	// The share is no longer valid, for example, the share expired.
	ShareState_SHARE_STATE_INVALID ShareState = 0
	// New shares MUST be created in the SHARE_STATE_PENDING state.
	// This state means the share is pending to be accepted or rejected
	// by the recipient of the share.
	ShareState_SHARE_STATE_PENDING ShareState = 1
	// The recipient of the share has accepted the share.
	ShareState_SHARE_STATE_ACCEPTED ShareState = 2
	// The recipient of the share has rejected the share.
	// Do not means the share is removed, the recipient MAY
	// change the state to accepted or pending.
	ShareState_SHARE_STATE_REJECTED ShareState = 3
)

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

type ShareType

type ShareType int32

Defines the type of share based on its recipient.

const (
	ShareType_SHARE_TYPE_INVALID ShareType = 0
	// Share of type user.
	ShareType_SHARE_TYPE_USER ShareType = 1
	// Share of type group.
	ShareType_SHARE_TYPE_GROUP ShareType = 2
)

func (ShareType) Descriptor

func (ShareType) Descriptor() protoreflect.EnumDescriptor

func (ShareType) Enum

func (x ShareType) Enum() *ShareType

func (ShareType) EnumDescriptor deprecated

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

Deprecated: Use ShareType.Descriptor instead.

func (ShareType) Number

func (x ShareType) Number() protoreflect.EnumNumber

func (ShareType) String

func (x ShareType) String() string

func (ShareType) Type

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 {

	// REQUIRED.
	// 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) GetOCMShare

func (UnimplementedOcmAPIServer) ListOCMShares

func (UnimplementedOcmAPIServer) RemoveOCMShare

func (UnimplementedOcmAPIServer) UpdateOCMShare

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 {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	Ref   *ShareReference                      `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	Field []*UpdateOCMShareRequest_UpdateField `protobuf:"bytes,3,rep,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOCMShareRequest) Descriptor deprecated

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

Deprecated: Use UpdateOCMShareRequest.ProtoReflect.Descriptor instead.

func (*UpdateOCMShareRequest) GetField

func (*UpdateOCMShareRequest) GetOpaque

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

func (*UpdateOCMShareRequest) GetRef

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 {

	// One of the update fields MUST be specified.
	//
	// 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 (*UpdateOCMShareRequest_UpdateField) GetField

func (m *UpdateOCMShareRequest_UpdateField) GetField() isUpdateOCMShareRequest_UpdateField_Field

func (*UpdateOCMShareRequest_UpdateField) ProtoMessage

func (*UpdateOCMShareRequest_UpdateField) ProtoMessage()

func (*UpdateOCMShareRequest_UpdateField) ProtoReflect

func (*UpdateOCMShareRequest_UpdateField) Reset

func (*UpdateOCMShareRequest_UpdateField) String

type UpdateOCMShareRequest_UpdateField_AccessMethods

type UpdateOCMShareRequest_UpdateField_AccessMethods struct {
	// Update access methods.
	AccessMethods *AccessMethod `protobuf:"bytes,2,opt,name=access_methods,json=accessMethods,proto3,oneof"`
}

type UpdateOCMShareRequest_UpdateField_Expiration

type UpdateOCMShareRequest_UpdateField_Expiration struct {
	// Update the expiration.
	Expiration *v1beta1.Timestamp `protobuf:"bytes,1,opt,name=expiration,proto3,oneof"`
}

type UpdateOCMShareResponse

type UpdateOCMShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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"`
	// 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 {

	// OPTIONAL.
	// Opaque information.
	Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"`
	// REQUIRED.
	// The received share to update.
	Share *ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"`
	// The update mask applies to the resource. For the `FieldMask` definition,
	// 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 (*UpdateReceivedOCMShareRequest) GetShare

func (*UpdateReceivedOCMShareRequest) GetUpdateMask

func (*UpdateReceivedOCMShareRequest) ProtoMessage

func (*UpdateReceivedOCMShareRequest) ProtoMessage()

func (*UpdateReceivedOCMShareRequest) ProtoReflect

func (*UpdateReceivedOCMShareRequest) Reset

func (x *UpdateReceivedOCMShareRequest) Reset()

func (*UpdateReceivedOCMShareRequest) String

type UpdateReceivedOCMShareResponse

type UpdateReceivedOCMShareResponse struct {

	// REQUIRED.
	// The response status.
	Status *v1beta13.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"`
	// contains filtered or unexported fields
}

func (*UpdateReceivedOCMShareResponse) Descriptor deprecated

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

Deprecated: Use UpdateReceivedOCMShareResponse.ProtoReflect.Descriptor instead.

func (*UpdateReceivedOCMShareResponse) GetOpaque

func (*UpdateReceivedOCMShareResponse) GetStatus

func (*UpdateReceivedOCMShareResponse) ProtoMessage

func (*UpdateReceivedOCMShareResponse) ProtoMessage()

func (*UpdateReceivedOCMShareResponse) ProtoReflect

func (*UpdateReceivedOCMShareResponse) Reset

func (x *UpdateReceivedOCMShareResponse) Reset()

func (*UpdateReceivedOCMShareResponse) 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"`
	// 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) 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 {

	// REQUIRED.
	// 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.
	// WebDAV URI used to access the resource.
	Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,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) 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.
	// Template URI to open the resource with a remote app.
	UriTemplate string `protobuf:"bytes,1,opt,name=uri_template,json=uriTemplate,proto3" json:"uri_template,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"`
	// 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) GetUriTemplate

func (x *WebappProtocol) GetUriTemplate() 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

Jump to

Keyboard shortcuts

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