Documentation
¶
Index ¶
- Variables
- func RegisterProviderAPIHandler(s server.Server, hdlr ProviderAPIHandler, opts ...server.HandlerOption) error
- func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer)
- type AddGrantRequest
- func (*AddGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGrantRequest) GetGrant() *Grant
- func (x *AddGrantRequest) GetOpaque() *v1beta1.Opaque
- func (x *AddGrantRequest) GetRef() *Reference
- func (*AddGrantRequest) ProtoMessage()
- func (x *AddGrantRequest) ProtoReflect() protoreflect.Message
- func (x *AddGrantRequest) Reset()
- func (x *AddGrantRequest) String() string
- type AddGrantResponse
- func (*AddGrantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddGrantResponse) GetOpaque() *v1beta1.Opaque
- func (x *AddGrantResponse) GetStatus() *v1beta11.Status
- func (*AddGrantResponse) ProtoMessage()
- func (x *AddGrantResponse) ProtoReflect() protoreflect.Message
- func (x *AddGrantResponse) Reset()
- func (x *AddGrantResponse) String() string
- type ArbitraryMetadata
- func (*ArbitraryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ArbitraryMetadata) GetMetadata() map[string]string
- func (*ArbitraryMetadata) ProtoMessage()
- func (x *ArbitraryMetadata) ProtoReflect() protoreflect.Message
- func (x *ArbitraryMetadata) Reset()
- func (x *ArbitraryMetadata) String() string
- type CanonicalMetadata
- func (*CanonicalMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CanonicalMetadata) GetTarget() *Reference
- func (*CanonicalMetadata) ProtoMessage()
- func (x *CanonicalMetadata) ProtoReflect() protoreflect.Message
- func (x *CanonicalMetadata) Reset()
- func (x *CanonicalMetadata) String() string
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerRequest) GetOpaque() *v1beta1.Opaque
- func (x *CreateContainerRequest) GetRef() *Reference
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (x *CreateContainerRequest) String() string
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerResponse) GetOpaque() *v1beta1.Opaque
- func (x *CreateContainerResponse) GetStatus() *v1beta11.Status
- func (*CreateContainerResponse) ProtoMessage()
- func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResponse) Reset()
- func (x *CreateContainerResponse) String() string
- type CreateHomeRequest
- func (*CreateHomeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHomeRequest) GetOpaque() *v1beta1.Opaque
- func (*CreateHomeRequest) ProtoMessage()
- func (x *CreateHomeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateHomeRequest) Reset()
- func (x *CreateHomeRequest) String() string
- type CreateHomeResponse
- func (*CreateHomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHomeResponse) GetOpaque() *v1beta1.Opaque
- func (x *CreateHomeResponse) GetStatus() *v1beta11.Status
- func (*CreateHomeResponse) ProtoMessage()
- func (x *CreateHomeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateHomeResponse) Reset()
- func (x *CreateHomeResponse) String() string
- type CreateReferenceRequest
- func (*CreateReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReferenceRequest) GetOpaque() *v1beta1.Opaque
- func (x *CreateReferenceRequest) GetPath() string
- func (x *CreateReferenceRequest) GetTargetUri() string
- func (*CreateReferenceRequest) ProtoMessage()
- func (x *CreateReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateReferenceRequest) Reset()
- func (x *CreateReferenceRequest) String() string
- type CreateReferenceResponse
- func (*CreateReferenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReferenceResponse) GetOpaque() *v1beta1.Opaque
- func (x *CreateReferenceResponse) GetStatus() *v1beta11.Status
- func (*CreateReferenceResponse) ProtoMessage()
- func (x *CreateReferenceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateReferenceResponse) Reset()
- func (x *CreateReferenceResponse) String() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetOpaque() *v1beta1.Opaque
- func (x *DeleteRequest) GetRef() *Reference
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponse) GetOpaque() *v1beta1.Opaque
- func (x *DeleteResponse) GetStatus() *v1beta11.Status
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- type FileVersion
- func (*FileVersion) Descriptor() ([]byte, []int)deprecated
- func (x *FileVersion) GetKey() string
- func (x *FileVersion) GetMtime() uint64
- func (x *FileVersion) GetOpaque() *v1beta1.Opaque
- func (x *FileVersion) GetSize() uint64
- func (*FileVersion) ProtoMessage()
- func (x *FileVersion) ProtoReflect() protoreflect.Message
- func (x *FileVersion) Reset()
- func (x *FileVersion) String() string
- type GetHomeRequest
- type GetHomeResponse
- func (*GetHomeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHomeResponse) GetOpaque() *v1beta1.Opaque
- func (x *GetHomeResponse) GetPath() string
- func (x *GetHomeResponse) GetStatus() *v1beta11.Status
- func (*GetHomeResponse) ProtoMessage()
- func (x *GetHomeResponse) ProtoReflect() protoreflect.Message
- func (x *GetHomeResponse) Reset()
- func (x *GetHomeResponse) String() string
- type GetPathRequest
- func (*GetPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPathRequest) GetOpaque() *v1beta1.Opaque
- func (x *GetPathRequest) GetResourceId() *ResourceId
- func (*GetPathRequest) ProtoMessage()
- func (x *GetPathRequest) ProtoReflect() protoreflect.Message
- func (x *GetPathRequest) Reset()
- func (x *GetPathRequest) String() string
- type GetPathResponse
- func (*GetPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPathResponse) GetOpaque() *v1beta1.Opaque
- func (x *GetPathResponse) GetPath() string
- func (x *GetPathResponse) GetStatus() *v1beta11.Status
- func (*GetPathResponse) ProtoMessage()
- func (x *GetPathResponse) ProtoReflect() protoreflect.Message
- func (x *GetPathResponse) Reset()
- func (x *GetPathResponse) String() string
- type GetQuotaRequest
- type GetQuotaResponse
- func (*GetQuotaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuotaResponse) GetOpaque() *v1beta1.Opaque
- func (x *GetQuotaResponse) GetStatus() *v1beta11.Status
- func (x *GetQuotaResponse) GetTotalBytes() uint64
- func (x *GetQuotaResponse) GetUsedBytes() uint64
- func (*GetQuotaResponse) ProtoMessage()
- func (x *GetQuotaResponse) ProtoReflect() protoreflect.Message
- func (x *GetQuotaResponse) Reset()
- func (x *GetQuotaResponse) String() string
- type Grant
- type Grantee
- type GranteeType
- func (GranteeType) Descriptor() protoreflect.EnumDescriptor
- func (x GranteeType) Enum() *GranteeType
- func (GranteeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x GranteeType) Number() protoreflect.EnumNumber
- func (x GranteeType) String() string
- func (GranteeType) Type() protoreflect.EnumType
- type InitiateFileDownloadRequest
- func (*InitiateFileDownloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateFileDownloadRequest) GetOpaque() *v1beta1.Opaque
- func (x *InitiateFileDownloadRequest) GetRef() *Reference
- func (*InitiateFileDownloadRequest) ProtoMessage()
- func (x *InitiateFileDownloadRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateFileDownloadRequest) Reset()
- func (x *InitiateFileDownloadRequest) String() string
- type InitiateFileDownloadResponse
- func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateFileDownloadResponse) GetDownloadEndpoint() string
- func (x *InitiateFileDownloadResponse) GetExpose() bool
- func (x *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque
- func (x *InitiateFileDownloadResponse) GetStatus() *v1beta11.Status
- func (*InitiateFileDownloadResponse) ProtoMessage()
- func (x *InitiateFileDownloadResponse) ProtoReflect() protoreflect.Message
- func (x *InitiateFileDownloadResponse) Reset()
- func (x *InitiateFileDownloadResponse) String() string
- type InitiateFileUploadRequest
- func (*InitiateFileUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateFileUploadRequest) GetOpaque() *v1beta1.Opaque
- func (x *InitiateFileUploadRequest) GetRef() *Reference
- func (*InitiateFileUploadRequest) ProtoMessage()
- func (x *InitiateFileUploadRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateFileUploadRequest) Reset()
- func (x *InitiateFileUploadRequest) String() string
- type InitiateFileUploadResponse
- func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateFileUploadResponse) GetAvailableChecksums() []*ResourceChecksumPriority
- func (x *InitiateFileUploadResponse) GetExpose() bool
- func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque
- func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status
- func (x *InitiateFileUploadResponse) GetUploadEndpoint() string
- func (*InitiateFileUploadResponse) ProtoMessage()
- func (x *InitiateFileUploadResponse) ProtoReflect() protoreflect.Message
- func (x *InitiateFileUploadResponse) Reset()
- func (x *InitiateFileUploadResponse) String() string
- type ListContainerRequest
- func (*ListContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerRequest) GetArbitraryMetadataKeys() []string
- func (x *ListContainerRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListContainerRequest) GetRef() *Reference
- func (*ListContainerRequest) ProtoMessage()
- func (x *ListContainerRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainerRequest) Reset()
- func (x *ListContainerRequest) String() string
- type ListContainerResponse
- func (*ListContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerResponse) GetInfos() []*ResourceInfo
- func (x *ListContainerResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListContainerResponse) GetStatus() *v1beta11.Status
- func (*ListContainerResponse) ProtoMessage()
- func (x *ListContainerResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainerResponse) Reset()
- func (x *ListContainerResponse) String() string
- type ListContainerStreamRequest
- func (*ListContainerStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerStreamRequest) GetArbitraryMetadataKeys() []string
- func (x *ListContainerStreamRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListContainerStreamRequest) GetRef() *Reference
- func (*ListContainerStreamRequest) ProtoMessage()
- func (x *ListContainerStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainerStreamRequest) Reset()
- func (x *ListContainerStreamRequest) String() string
- type ListContainerStreamResponse
- func (*ListContainerStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerStreamResponse) GetInfo() *ResourceInfo
- func (x *ListContainerStreamResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListContainerStreamResponse) GetStatus() *v1beta11.Status
- func (*ListContainerStreamResponse) ProtoMessage()
- func (x *ListContainerStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainerStreamResponse) Reset()
- func (x *ListContainerStreamResponse) String() string
- type ListFileVersionsRequest
- func (*ListFileVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFileVersionsRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListFileVersionsRequest) GetRef() *Reference
- func (*ListFileVersionsRequest) ProtoMessage()
- func (x *ListFileVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFileVersionsRequest) Reset()
- func (x *ListFileVersionsRequest) String() string
- type ListFileVersionsResponse
- func (*ListFileVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFileVersionsResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListFileVersionsResponse) GetStatus() *v1beta11.Status
- func (x *ListFileVersionsResponse) GetVersions() []*FileVersion
- func (*ListFileVersionsResponse) ProtoMessage()
- func (x *ListFileVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFileVersionsResponse) Reset()
- func (x *ListFileVersionsResponse) String() string
- type ListGrantsRequest
- func (*ListGrantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGrantsRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListGrantsRequest) GetRef() *Reference
- func (*ListGrantsRequest) ProtoMessage()
- func (x *ListGrantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGrantsRequest) Reset()
- func (x *ListGrantsRequest) String() string
- type ListGrantsResponse
- func (*ListGrantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGrantsResponse) GetGrants() []*Grant
- func (x *ListGrantsResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListGrantsResponse) GetStatus() *v1beta11.Status
- func (*ListGrantsResponse) ProtoMessage()
- func (x *ListGrantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGrantsResponse) Reset()
- func (x *ListGrantsResponse) String() string
- type ListRecycleRequest
- func (*ListRecycleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecycleRequest) GetFromTs() *v1beta1.Timestamp
- func (x *ListRecycleRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListRecycleRequest) GetToTs() *v1beta1.Timestamp
- func (*ListRecycleRequest) ProtoMessage()
- func (x *ListRecycleRequest) ProtoReflect() protoreflect.Message
- func (x *ListRecycleRequest) Reset()
- func (x *ListRecycleRequest) String() string
- type ListRecycleResponse
- func (*ListRecycleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecycleResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListRecycleResponse) GetRecycleItems() []*RecycleItem
- func (x *ListRecycleResponse) GetStatus() *v1beta11.Status
- func (*ListRecycleResponse) ProtoMessage()
- func (x *ListRecycleResponse) ProtoReflect() protoreflect.Message
- func (x *ListRecycleResponse) Reset()
- func (x *ListRecycleResponse) String() string
- type ListRecycleStreamRequest
- func (*ListRecycleStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecycleStreamRequest) GetFromTs() *v1beta1.Timestamp
- func (x *ListRecycleStreamRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListRecycleStreamRequest) GetToTs() *v1beta1.Timestamp
- func (*ListRecycleStreamRequest) ProtoMessage()
- func (x *ListRecycleStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ListRecycleStreamRequest) Reset()
- func (x *ListRecycleStreamRequest) String() string
- type ListRecycleStreamResponse
- func (*ListRecycleStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecycleStreamResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListRecycleStreamResponse) GetRecycleItem() *RecycleItem
- func (x *ListRecycleStreamResponse) GetStatus() *v1beta11.Status
- func (*ListRecycleStreamResponse) ProtoMessage()
- func (x *ListRecycleStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ListRecycleStreamResponse) Reset()
- func (x *ListRecycleStreamResponse) String() string
- type MoveRequest
- func (*MoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveRequest) GetDestination() *Reference
- func (x *MoveRequest) GetOpaque() *v1beta1.Opaque
- func (x *MoveRequest) GetSource() *Reference
- func (*MoveRequest) ProtoMessage()
- func (x *MoveRequest) ProtoReflect() protoreflect.Message
- func (x *MoveRequest) Reset()
- func (x *MoveRequest) String() string
- type MoveResponse
- func (*MoveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveResponse) GetOpaque() *v1beta1.Opaque
- func (x *MoveResponse) GetStatus() *v1beta11.Status
- func (*MoveResponse) ProtoMessage()
- func (x *MoveResponse) ProtoReflect() protoreflect.Message
- func (x *MoveResponse) Reset()
- func (x *MoveResponse) String() string
- type ProviderAPIClient
- type ProviderAPIHandler
- type ProviderAPIServer
- type ProviderAPIService
- type ProviderAPI_ListContainerStreamClient
- type ProviderAPI_ListContainerStreamServer
- type ProviderAPI_ListContainerStreamService
- type ProviderAPI_ListContainerStreamStream
- type ProviderAPI_ListRecycleStreamClient
- type ProviderAPI_ListRecycleStreamServer
- type ProviderAPI_ListRecycleStreamService
- type ProviderAPI_ListRecycleStreamStream
- type PurgeRecycleRequest
- func (*PurgeRecycleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeRecycleRequest) GetOpaque() *v1beta1.Opaque
- func (x *PurgeRecycleRequest) GetRef() *Reference
- func (*PurgeRecycleRequest) ProtoMessage()
- func (x *PurgeRecycleRequest) ProtoReflect() protoreflect.Message
- func (x *PurgeRecycleRequest) Reset()
- func (x *PurgeRecycleRequest) String() string
- type PurgeRecycleResponse
- func (*PurgeRecycleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeRecycleResponse) GetOpaque() *v1beta1.Opaque
- func (x *PurgeRecycleResponse) GetStatus() *v1beta11.Status
- func (*PurgeRecycleResponse) ProtoMessage()
- func (x *PurgeRecycleResponse) ProtoReflect() protoreflect.Message
- func (x *PurgeRecycleResponse) Reset()
- func (x *PurgeRecycleResponse) String() string
- type RecycleItem
- func (*RecycleItem) Descriptor() ([]byte, []int)deprecated
- func (x *RecycleItem) GetDeletionTime() *v1beta1.Timestamp
- func (x *RecycleItem) GetKey() string
- func (x *RecycleItem) GetOpaque() *v1beta1.Opaque
- func (x *RecycleItem) GetPath() string
- func (x *RecycleItem) GetSize() uint64
- func (x *RecycleItem) GetType() ResourceType
- func (*RecycleItem) ProtoMessage()
- func (x *RecycleItem) ProtoReflect() protoreflect.Message
- func (x *RecycleItem) Reset()
- func (x *RecycleItem) String() string
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetId() *ResourceId
- func (x *Reference) GetPath() string
- func (m *Reference) GetSpec() isReference_Spec
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type Reference_Id
- type Reference_Path
- type RemoveGrantRequest
- func (*RemoveGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGrantRequest) GetGrant() *Grant
- func (x *RemoveGrantRequest) GetOpaque() *v1beta1.Opaque
- func (x *RemoveGrantRequest) GetRef() *Reference
- func (*RemoveGrantRequest) ProtoMessage()
- func (x *RemoveGrantRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveGrantRequest) Reset()
- func (x *RemoveGrantRequest) String() string
- type RemoveGrantResponse
- func (*RemoveGrantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGrantResponse) GetOpaque() *v1beta1.Opaque
- func (x *RemoveGrantResponse) GetStatus() *v1beta11.Status
- func (*RemoveGrantResponse) ProtoMessage()
- func (x *RemoveGrantResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveGrantResponse) Reset()
- func (x *RemoveGrantResponse) String() string
- type ResourceChecksum
- func (*ResourceChecksum) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceChecksum) GetSum() string
- func (x *ResourceChecksum) GetType() ResourceChecksumType
- func (*ResourceChecksum) ProtoMessage()
- func (x *ResourceChecksum) ProtoReflect() protoreflect.Message
- func (x *ResourceChecksum) Reset()
- func (x *ResourceChecksum) String() string
- type ResourceChecksumPriority
- func (*ResourceChecksumPriority) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceChecksumPriority) GetPriority() uint32
- func (x *ResourceChecksumPriority) GetType() ResourceChecksumType
- func (*ResourceChecksumPriority) ProtoMessage()
- func (x *ResourceChecksumPriority) ProtoReflect() protoreflect.Message
- func (x *ResourceChecksumPriority) Reset()
- func (x *ResourceChecksumPriority) String() string
- type ResourceChecksumType
- func (ResourceChecksumType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceChecksumType) Enum() *ResourceChecksumType
- func (ResourceChecksumType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceChecksumType) Number() protoreflect.EnumNumber
- func (x ResourceChecksumType) String() string
- func (ResourceChecksumType) Type() protoreflect.EnumType
- type ResourceId
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetArbitraryMetadata() *ArbitraryMetadata
- func (x *ResourceInfo) GetCanonicalMetadata() *CanonicalMetadata
- func (x *ResourceInfo) GetChecksum() *ResourceChecksum
- func (x *ResourceInfo) GetEtag() string
- func (x *ResourceInfo) GetId() *ResourceId
- func (x *ResourceInfo) GetMimeType() string
- func (x *ResourceInfo) GetMtime() *v1beta1.Timestamp
- func (x *ResourceInfo) GetOpaque() *v1beta1.Opaque
- func (x *ResourceInfo) GetOwner() *v1beta11.UserId
- func (x *ResourceInfo) GetPath() string
- func (x *ResourceInfo) GetPermissionSet() *ResourcePermissions
- func (x *ResourceInfo) GetSize() uint64
- func (x *ResourceInfo) GetTarget() string
- func (x *ResourceInfo) GetType() ResourceType
- func (*ResourceInfo) ProtoMessage()
- func (x *ResourceInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceInfo) Reset()
- func (x *ResourceInfo) String() string
- type ResourcePermissions
- func (*ResourcePermissions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePermissions) GetAddGrant() bool
- func (x *ResourcePermissions) GetCreateContainer() bool
- func (x *ResourcePermissions) GetDelete() bool
- func (x *ResourcePermissions) GetGetPath() bool
- func (x *ResourcePermissions) GetGetQuota() bool
- func (x *ResourcePermissions) GetInitiateFileDownload() bool
- func (x *ResourcePermissions) GetInitiateFileUpload() bool
- func (x *ResourcePermissions) GetListContainer() bool
- func (x *ResourcePermissions) GetListFileVersions() bool
- func (x *ResourcePermissions) GetListGrants() bool
- func (x *ResourcePermissions) GetListRecycle() bool
- func (x *ResourcePermissions) GetMove() bool
- func (x *ResourcePermissions) GetPurgeRecycle() bool
- func (x *ResourcePermissions) GetRemoveGrant() bool
- func (x *ResourcePermissions) GetRestoreFileVersion() bool
- func (x *ResourcePermissions) GetRestoreRecycleItem() bool
- func (x *ResourcePermissions) GetStat() bool
- func (x *ResourcePermissions) GetUpdateGrant() bool
- func (*ResourcePermissions) ProtoMessage()
- func (x *ResourcePermissions) ProtoReflect() protoreflect.Message
- func (x *ResourcePermissions) Reset()
- func (x *ResourcePermissions) String() string
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) Type() protoreflect.EnumType
- type RestoreFileVersionRequest
- func (*RestoreFileVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreFileVersionRequest) GetKey() string
- func (x *RestoreFileVersionRequest) GetOpaque() *v1beta1.Opaque
- func (x *RestoreFileVersionRequest) GetRef() *Reference
- func (*RestoreFileVersionRequest) ProtoMessage()
- func (x *RestoreFileVersionRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreFileVersionRequest) Reset()
- func (x *RestoreFileVersionRequest) String() string
- type RestoreFileVersionResponse
- func (*RestoreFileVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreFileVersionResponse) GetOpaque() *v1beta1.Opaque
- func (x *RestoreFileVersionResponse) GetStatus() *v1beta11.Status
- func (*RestoreFileVersionResponse) ProtoMessage()
- func (x *RestoreFileVersionResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreFileVersionResponse) Reset()
- func (x *RestoreFileVersionResponse) String() string
- type RestoreRecycleItemRequest
- func (*RestoreRecycleItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreRecycleItemRequest) GetKey() string
- func (x *RestoreRecycleItemRequest) GetOpaque() *v1beta1.Opaque
- func (x *RestoreRecycleItemRequest) GetRef() *Reference
- func (x *RestoreRecycleItemRequest) GetRestorePath() string
- func (*RestoreRecycleItemRequest) ProtoMessage()
- func (x *RestoreRecycleItemRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreRecycleItemRequest) Reset()
- func (x *RestoreRecycleItemRequest) String() string
- type RestoreRecycleItemResponse
- func (*RestoreRecycleItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreRecycleItemResponse) GetOpaque() *v1beta1.Opaque
- func (x *RestoreRecycleItemResponse) GetStatus() *v1beta11.Status
- func (*RestoreRecycleItemResponse) ProtoMessage()
- func (x *RestoreRecycleItemResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreRecycleItemResponse) Reset()
- func (x *RestoreRecycleItemResponse) String() string
- type SetArbitraryMetadataRequest
- func (*SetArbitraryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetArbitraryMetadataRequest) GetArbitraryMetadata() *ArbitraryMetadata
- func (x *SetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque
- func (x *SetArbitraryMetadataRequest) GetRef() *Reference
- func (*SetArbitraryMetadataRequest) ProtoMessage()
- func (x *SetArbitraryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *SetArbitraryMetadataRequest) Reset()
- func (x *SetArbitraryMetadataRequest) String() string
- type SetArbitraryMetadataResponse
- func (*SetArbitraryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque
- func (x *SetArbitraryMetadataResponse) GetStatus() *v1beta11.Status
- func (*SetArbitraryMetadataResponse) ProtoMessage()
- func (x *SetArbitraryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *SetArbitraryMetadataResponse) Reset()
- func (x *SetArbitraryMetadataResponse) String() string
- type StatRequest
- func (*StatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatRequest) GetArbitraryMetadataKeys() []string
- func (x *StatRequest) GetOpaque() *v1beta1.Opaque
- func (x *StatRequest) GetRef() *Reference
- func (*StatRequest) ProtoMessage()
- func (x *StatRequest) ProtoReflect() protoreflect.Message
- func (x *StatRequest) Reset()
- func (x *StatRequest) String() string
- type StatResponse
- func (*StatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatResponse) GetInfo() *ResourceInfo
- func (x *StatResponse) GetOpaque() *v1beta1.Opaque
- func (x *StatResponse) GetStatus() *v1beta11.Status
- func (*StatResponse) ProtoMessage()
- func (x *StatResponse) ProtoReflect() protoreflect.Message
- func (x *StatResponse) Reset()
- func (x *StatResponse) String() string
- type UnimplementedProviderAPIServer
- func (*UnimplementedProviderAPIServer) AddGrant(context.Context, *AddGrantRequest) (*AddGrantResponse, error)
- func (*UnimplementedProviderAPIServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
- func (*UnimplementedProviderAPIServer) CreateHome(context.Context, *CreateHomeRequest) (*CreateHomeResponse, error)
- func (*UnimplementedProviderAPIServer) CreateReference(context.Context, *CreateReferenceRequest) (*CreateReferenceResponse, error)
- func (*UnimplementedProviderAPIServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (*UnimplementedProviderAPIServer) GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error)
- func (*UnimplementedProviderAPIServer) GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error)
- func (*UnimplementedProviderAPIServer) GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error)
- func (*UnimplementedProviderAPIServer) InitiateFileDownload(context.Context, *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error)
- func (*UnimplementedProviderAPIServer) InitiateFileUpload(context.Context, *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error)
- func (*UnimplementedProviderAPIServer) ListContainer(context.Context, *ListContainerRequest) (*ListContainerResponse, error)
- func (*UnimplementedProviderAPIServer) ListContainerStream(*ListContainerStreamRequest, ProviderAPI_ListContainerStreamServer) error
- func (*UnimplementedProviderAPIServer) ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error)
- func (*UnimplementedProviderAPIServer) ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error)
- func (*UnimplementedProviderAPIServer) ListRecycle(context.Context, *ListRecycleRequest) (*ListRecycleResponse, error)
- func (*UnimplementedProviderAPIServer) ListRecycleStream(*ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamServer) error
- func (*UnimplementedProviderAPIServer) Move(context.Context, *MoveRequest) (*MoveResponse, error)
- func (*UnimplementedProviderAPIServer) PurgeRecycle(context.Context, *PurgeRecycleRequest) (*PurgeRecycleResponse, error)
- func (*UnimplementedProviderAPIServer) RemoveGrant(context.Context, *RemoveGrantRequest) (*RemoveGrantResponse, error)
- func (*UnimplementedProviderAPIServer) RestoreFileVersion(context.Context, *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error)
- func (*UnimplementedProviderAPIServer) RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error)
- func (*UnimplementedProviderAPIServer) SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error)
- func (*UnimplementedProviderAPIServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
- func (*UnimplementedProviderAPIServer) UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error)
- func (*UnimplementedProviderAPIServer) UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error)
- type UnsetArbitraryMetadataRequest
- func (*UnsetArbitraryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsetArbitraryMetadataRequest) GetArbitraryMetadataKeys() []string
- func (x *UnsetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque
- func (x *UnsetArbitraryMetadataRequest) GetRef() *Reference
- func (*UnsetArbitraryMetadataRequest) ProtoMessage()
- func (x *UnsetArbitraryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *UnsetArbitraryMetadataRequest) Reset()
- func (x *UnsetArbitraryMetadataRequest) String() string
- type UnsetArbitraryMetadataResponse
- func (*UnsetArbitraryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnsetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque
- func (x *UnsetArbitraryMetadataResponse) GetStatus() *v1beta11.Status
- func (*UnsetArbitraryMetadataResponse) ProtoMessage()
- func (x *UnsetArbitraryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *UnsetArbitraryMetadataResponse) Reset()
- func (x *UnsetArbitraryMetadataResponse) String() string
- type UpdateGrantRequest
- func (*UpdateGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGrantRequest) GetGrant() *Grant
- func (x *UpdateGrantRequest) GetOpaque() *v1beta1.Opaque
- func (x *UpdateGrantRequest) GetRef() *Reference
- func (*UpdateGrantRequest) ProtoMessage()
- func (x *UpdateGrantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGrantRequest) Reset()
- func (x *UpdateGrantRequest) String() string
- type UpdateGrantResponse
- func (*UpdateGrantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGrantResponse) GetOpaque() *v1beta1.Opaque
- func (x *UpdateGrantResponse) GetStatus() *v1beta11.Status
- func (*UpdateGrantResponse) ProtoMessage()
- func (x *UpdateGrantResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateGrantResponse) Reset()
- func (x *UpdateGrantResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ResourceType_name = map[int32]string{ 0: "RESOURCE_TYPE_INVALID", 1: "RESOURCE_TYPE_FILE", 2: "RESOURCE_TYPE_CONTAINER", 3: "RESOURCE_TYPE_REFERENCE", 4: "RESOURCE_TYPE_SYMLINK", 5: "RESOURCE_TYPE_INTERNAL", } ResourceType_value = map[string]int32{ "RESOURCE_TYPE_INVALID": 0, "RESOURCE_TYPE_FILE": 1, "RESOURCE_TYPE_CONTAINER": 2, "RESOURCE_TYPE_REFERENCE": 3, "RESOURCE_TYPE_SYMLINK": 4, "RESOURCE_TYPE_INTERNAL": 5, } )
Enum value maps for ResourceType.
var ( ResourceChecksumType_name = map[int32]string{ 0: "RESOURCE_CHECKSUM_TYPE_INVALID", 1: "RESOURCE_CHECKSUM_TYPE_UNSET", 2: "RESOURCE_CHECKSUM_TYPE_ADLER32", 3: "RESOURCE_CHECKSUM_TYPE_MD5", 4: "RESOURCE_CHECKSUM_TYPE_SHA1", } ResourceChecksumType_value = map[string]int32{ "RESOURCE_CHECKSUM_TYPE_INVALID": 0, "RESOURCE_CHECKSUM_TYPE_UNSET": 1, "RESOURCE_CHECKSUM_TYPE_ADLER32": 2, "RESOURCE_CHECKSUM_TYPE_MD5": 3, "RESOURCE_CHECKSUM_TYPE_SHA1": 4, } )
Enum value maps for ResourceChecksumType.
var ( GranteeType_name = map[int32]string{ 0: "GRANTEE_TYPE_INVALID", 1: "GRANTEE_TYPE_USER", 2: "GRANTEE_TYPE_GROUP", } GranteeType_value = map[string]int32{ "GRANTEE_TYPE_INVALID": 0, "GRANTEE_TYPE_USER": 1, "GRANTEE_TYPE_GROUP": 2, } )
Enum value maps for GranteeType.
var File_cs3_storage_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor
var File_cs3_storage_provider_v1beta1_resources_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProviderAPIHandler ¶
func RegisterProviderAPIHandler(s server.Server, hdlr ProviderAPIHandler, opts ...server.HandlerOption) error
func RegisterProviderAPIServer ¶
func RegisterProviderAPIServer(s *grpc.Server, srv ProviderAPIServer)
Types ¶
type AddGrantRequest ¶
type AddGrantRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The grant to be added. Grant *Grant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` // contains filtered or unexported fields }
func (*AddGrantRequest) Descriptor
deprecated
func (*AddGrantRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddGrantRequest.ProtoReflect.Descriptor instead.
func (*AddGrantRequest) GetGrant ¶
func (x *AddGrantRequest) GetGrant() *Grant
func (*AddGrantRequest) GetOpaque ¶
func (x *AddGrantRequest) GetOpaque() *v1beta1.Opaque
func (*AddGrantRequest) GetRef ¶
func (x *AddGrantRequest) GetRef() *Reference
func (*AddGrantRequest) ProtoMessage ¶
func (*AddGrantRequest) ProtoMessage()
func (*AddGrantRequest) ProtoReflect ¶
func (x *AddGrantRequest) ProtoReflect() protoreflect.Message
func (*AddGrantRequest) Reset ¶
func (x *AddGrantRequest) Reset()
func (*AddGrantRequest) String ¶
func (x *AddGrantRequest) String() string
type AddGrantResponse ¶
type AddGrantResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*AddGrantResponse) Descriptor
deprecated
func (*AddGrantResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddGrantResponse.ProtoReflect.Descriptor instead.
func (*AddGrantResponse) GetOpaque ¶
func (x *AddGrantResponse) GetOpaque() *v1beta1.Opaque
func (*AddGrantResponse) GetStatus ¶
func (x *AddGrantResponse) GetStatus() *v1beta11.Status
func (*AddGrantResponse) ProtoMessage ¶
func (*AddGrantResponse) ProtoMessage()
func (*AddGrantResponse) ProtoReflect ¶
func (x *AddGrantResponse) ProtoReflect() protoreflect.Message
func (*AddGrantResponse) Reset ¶
func (x *AddGrantResponse) Reset()
func (*AddGrantResponse) String ¶
func (x *AddGrantResponse) String() string
type ArbitraryMetadata ¶
type ArbitraryMetadata struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
Arbitrary metadata than can be set to the resource.
func (*ArbitraryMetadata) Descriptor
deprecated
func (*ArbitraryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ArbitraryMetadata.ProtoReflect.Descriptor instead.
func (*ArbitraryMetadata) GetMetadata ¶
func (x *ArbitraryMetadata) GetMetadata() map[string]string
func (*ArbitraryMetadata) ProtoMessage ¶
func (*ArbitraryMetadata) ProtoMessage()
func (*ArbitraryMetadata) ProtoReflect ¶
func (x *ArbitraryMetadata) ProtoReflect() protoreflect.Message
func (*ArbitraryMetadata) Reset ¶
func (x *ArbitraryMetadata) Reset()
func (*ArbitraryMetadata) String ¶
func (x *ArbitraryMetadata) String() string
type CanonicalMetadata ¶
type CanonicalMetadata struct { // REQUIRED if resource type is RESOURCE_TYPE_REFERENCE. // The target reference the resource points to. Target *Reference `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
CanonicalMetadata contains extra metadata attached to a resource. This message and the Opaque message differ in that Opaque allows service implementors to include any extra metadata in any format and most clients will ignore it. However, the CanonicalMetadata message contains well defined fileds that clients MUST understand if they are specified.
func (*CanonicalMetadata) Descriptor
deprecated
func (*CanonicalMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CanonicalMetadata.ProtoReflect.Descriptor instead.
func (*CanonicalMetadata) GetTarget ¶
func (x *CanonicalMetadata) GetTarget() *Reference
func (*CanonicalMetadata) ProtoMessage ¶
func (*CanonicalMetadata) ProtoMessage()
func (*CanonicalMetadata) ProtoReflect ¶
func (x *CanonicalMetadata) ProtoReflect() protoreflect.Message
func (*CanonicalMetadata) Reset ¶
func (x *CanonicalMetadata) Reset()
func (*CanonicalMetadata) String ¶
func (x *CanonicalMetadata) String() string
type CreateContainerRequest ¶
type CreateContainerRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerRequest) Descriptor
deprecated
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
func (*CreateContainerRequest) GetOpaque ¶
func (x *CreateContainerRequest) GetOpaque() *v1beta1.Opaque
func (*CreateContainerRequest) GetRef ¶
func (x *CreateContainerRequest) GetRef() *Reference
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) ProtoReflect ¶
func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
func (*CreateContainerRequest) Reset ¶
func (x *CreateContainerRequest) Reset()
func (*CreateContainerRequest) String ¶
func (x *CreateContainerRequest) String() string
type CreateContainerResponse ¶
type CreateContainerResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerResponse) Descriptor
deprecated
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
func (*CreateContainerResponse) GetOpaque ¶
func (x *CreateContainerResponse) GetOpaque() *v1beta1.Opaque
func (*CreateContainerResponse) GetStatus ¶
func (x *CreateContainerResponse) GetStatus() *v1beta11.Status
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) ProtoReflect ¶
func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
func (*CreateContainerResponse) Reset ¶
func (x *CreateContainerResponse) Reset()
func (*CreateContainerResponse) String ¶
func (x *CreateContainerResponse) String() string
type CreateHomeRequest ¶
type CreateHomeRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*CreateHomeRequest) Descriptor
deprecated
func (*CreateHomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateHomeRequest.ProtoReflect.Descriptor instead.
func (*CreateHomeRequest) GetOpaque ¶
func (x *CreateHomeRequest) GetOpaque() *v1beta1.Opaque
func (*CreateHomeRequest) ProtoMessage ¶
func (*CreateHomeRequest) ProtoMessage()
func (*CreateHomeRequest) ProtoReflect ¶
func (x *CreateHomeRequest) ProtoReflect() protoreflect.Message
func (*CreateHomeRequest) Reset ¶
func (x *CreateHomeRequest) Reset()
func (*CreateHomeRequest) String ¶
func (x *CreateHomeRequest) String() string
type CreateHomeResponse ¶
type CreateHomeResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*CreateHomeResponse) Descriptor
deprecated
func (*CreateHomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateHomeResponse.ProtoReflect.Descriptor instead.
func (*CreateHomeResponse) GetOpaque ¶
func (x *CreateHomeResponse) GetOpaque() *v1beta1.Opaque
func (*CreateHomeResponse) GetStatus ¶
func (x *CreateHomeResponse) GetStatus() *v1beta11.Status
func (*CreateHomeResponse) ProtoMessage ¶
func (*CreateHomeResponse) ProtoMessage()
func (*CreateHomeResponse) ProtoReflect ¶
func (x *CreateHomeResponse) ProtoReflect() protoreflect.Message
func (*CreateHomeResponse) Reset ¶
func (x *CreateHomeResponse) Reset()
func (*CreateHomeResponse) String ¶
func (x *CreateHomeResponse) String() string
type CreateReferenceRequest ¶
type CreateReferenceRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The location where to store the reference. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // REQUIRED. // The reference resource by RFC3986. TargetUri string `protobuf:"bytes,3,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` // contains filtered or unexported fields }
func (*CreateReferenceRequest) Descriptor
deprecated
func (*CreateReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReferenceRequest.ProtoReflect.Descriptor instead.
func (*CreateReferenceRequest) GetOpaque ¶
func (x *CreateReferenceRequest) GetOpaque() *v1beta1.Opaque
func (*CreateReferenceRequest) GetPath ¶
func (x *CreateReferenceRequest) GetPath() string
func (*CreateReferenceRequest) GetTargetUri ¶
func (x *CreateReferenceRequest) GetTargetUri() string
func (*CreateReferenceRequest) ProtoMessage ¶
func (*CreateReferenceRequest) ProtoMessage()
func (*CreateReferenceRequest) ProtoReflect ¶
func (x *CreateReferenceRequest) ProtoReflect() protoreflect.Message
func (*CreateReferenceRequest) Reset ¶
func (x *CreateReferenceRequest) Reset()
func (*CreateReferenceRequest) String ¶
func (x *CreateReferenceRequest) String() string
type CreateReferenceResponse ¶
type CreateReferenceResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*CreateReferenceResponse) Descriptor
deprecated
func (*CreateReferenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateReferenceResponse.ProtoReflect.Descriptor instead.
func (*CreateReferenceResponse) GetOpaque ¶
func (x *CreateReferenceResponse) GetOpaque() *v1beta1.Opaque
func (*CreateReferenceResponse) GetStatus ¶
func (x *CreateReferenceResponse) GetStatus() *v1beta11.Status
func (*CreateReferenceResponse) ProtoMessage ¶
func (*CreateReferenceResponse) ProtoMessage()
func (*CreateReferenceResponse) ProtoReflect ¶
func (x *CreateReferenceResponse) ProtoReflect() protoreflect.Message
func (*CreateReferenceResponse) Reset ¶
func (x *CreateReferenceResponse) Reset()
func (*CreateReferenceResponse) String ¶
func (x *CreateReferenceResponse) String() string
type DeleteRequest ¶
type DeleteRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetOpaque ¶
func (x *DeleteRequest) GetOpaque() *v1beta1.Opaque
func (*DeleteRequest) GetRef ¶
func (x *DeleteRequest) GetRef() *Reference
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetOpaque ¶
func (x *DeleteResponse) GetOpaque() *v1beta1.Opaque
func (*DeleteResponse) GetStatus ¶
func (x *DeleteResponse) GetStatus() *v1beta11.Status
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type FileVersion ¶
type FileVersion struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // MUST the specified. // The key to identify the version. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // REQUIRED. // The size in bytes of the file version. Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // REQUIRED. // The Unix Epoch timestamp in seconds. Mtime uint64 `protobuf:"varint,5,opt,name=mtime,proto3" json:"mtime,omitempty"` // contains filtered or unexported fields }
The information for a file version. TODO(labkode): make size and mtime OPTIONAL?
func (*FileVersion) Descriptor
deprecated
func (*FileVersion) Descriptor() ([]byte, []int)
Deprecated: Use FileVersion.ProtoReflect.Descriptor instead.
func (*FileVersion) GetKey ¶
func (x *FileVersion) GetKey() string
func (*FileVersion) GetMtime ¶
func (x *FileVersion) GetMtime() uint64
func (*FileVersion) GetOpaque ¶
func (x *FileVersion) GetOpaque() *v1beta1.Opaque
func (*FileVersion) GetSize ¶
func (x *FileVersion) GetSize() uint64
func (*FileVersion) ProtoMessage ¶
func (*FileVersion) ProtoMessage()
func (*FileVersion) ProtoReflect ¶
func (x *FileVersion) ProtoReflect() protoreflect.Message
func (*FileVersion) Reset ¶
func (x *FileVersion) Reset()
func (*FileVersion) String ¶
func (x *FileVersion) String() string
type GetHomeRequest ¶
type GetHomeRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*GetHomeRequest) Descriptor
deprecated
func (*GetHomeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHomeRequest.ProtoReflect.Descriptor instead.
func (*GetHomeRequest) GetOpaque ¶
func (x *GetHomeRequest) GetOpaque() *v1beta1.Opaque
func (*GetHomeRequest) ProtoMessage ¶
func (*GetHomeRequest) ProtoMessage()
func (*GetHomeRequest) ProtoReflect ¶
func (x *GetHomeRequest) ProtoReflect() protoreflect.Message
func (*GetHomeRequest) Reset ¶
func (x *GetHomeRequest) Reset()
func (*GetHomeRequest) String ¶
func (x *GetHomeRequest) String() string
type GetHomeResponse ¶
type GetHomeResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The path to the home in a storage provider. // For example /eos/user/h/hugo in the storage provider with root path /eos/user/. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*GetHomeResponse) Descriptor
deprecated
func (*GetHomeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHomeResponse.ProtoReflect.Descriptor instead.
func (*GetHomeResponse) GetOpaque ¶
func (x *GetHomeResponse) GetOpaque() *v1beta1.Opaque
func (*GetHomeResponse) GetPath ¶
func (x *GetHomeResponse) GetPath() string
func (*GetHomeResponse) GetStatus ¶
func (x *GetHomeResponse) GetStatus() *v1beta11.Status
func (*GetHomeResponse) ProtoMessage ¶
func (*GetHomeResponse) ProtoMessage()
func (*GetHomeResponse) ProtoReflect ¶
func (x *GetHomeResponse) ProtoReflect() protoreflect.Message
func (*GetHomeResponse) Reset ¶
func (x *GetHomeResponse) Reset()
func (*GetHomeResponse) String ¶
func (x *GetHomeResponse) String() string
type GetPathRequest ¶
type GetPathRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The resource id of the resource. ResourceId *ResourceId `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*GetPathRequest) Descriptor
deprecated
func (*GetPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPathRequest.ProtoReflect.Descriptor instead.
func (*GetPathRequest) GetOpaque ¶
func (x *GetPathRequest) GetOpaque() *v1beta1.Opaque
func (*GetPathRequest) GetResourceId ¶
func (x *GetPathRequest) GetResourceId() *ResourceId
func (*GetPathRequest) ProtoMessage ¶
func (*GetPathRequest) ProtoMessage()
func (*GetPathRequest) ProtoReflect ¶
func (x *GetPathRequest) ProtoReflect() protoreflect.Message
func (*GetPathRequest) Reset ¶
func (x *GetPathRequest) Reset()
func (*GetPathRequest) String ¶
func (x *GetPathRequest) String() string
type GetPathResponse ¶
type GetPathResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The path of the resource. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*GetPathResponse) Descriptor
deprecated
func (*GetPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPathResponse.ProtoReflect.Descriptor instead.
func (*GetPathResponse) GetOpaque ¶
func (x *GetPathResponse) GetOpaque() *v1beta1.Opaque
func (*GetPathResponse) GetPath ¶
func (x *GetPathResponse) GetPath() string
func (*GetPathResponse) GetStatus ¶
func (x *GetPathResponse) GetStatus() *v1beta11.Status
func (*GetPathResponse) ProtoMessage ¶
func (*GetPathResponse) ProtoMessage()
func (*GetPathResponse) ProtoReflect ¶
func (x *GetPathResponse) ProtoReflect() protoreflect.Message
func (*GetPathResponse) Reset ¶
func (x *GetPathResponse) Reset()
func (*GetPathResponse) String ¶
func (x *GetPathResponse) String() string
type GetQuotaRequest ¶
type GetQuotaRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*GetQuotaRequest) Descriptor
deprecated
func (*GetQuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaRequest.ProtoReflect.Descriptor instead.
func (*GetQuotaRequest) GetOpaque ¶
func (x *GetQuotaRequest) GetOpaque() *v1beta1.Opaque
func (*GetQuotaRequest) ProtoMessage ¶
func (*GetQuotaRequest) ProtoMessage()
func (*GetQuotaRequest) ProtoReflect ¶
func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message
func (*GetQuotaRequest) Reset ¶
func (x *GetQuotaRequest) Reset()
func (*GetQuotaRequest) String ¶
func (x *GetQuotaRequest) String() string
type GetQuotaResponse ¶
type GetQuotaResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The total available bytes. TotalBytes uint64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` // REQUIRED. // The number of used bytes. UsedBytes uint64 `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"` // contains filtered or unexported fields }
func (*GetQuotaResponse) Descriptor
deprecated
func (*GetQuotaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaResponse.ProtoReflect.Descriptor instead.
func (*GetQuotaResponse) GetOpaque ¶
func (x *GetQuotaResponse) GetOpaque() *v1beta1.Opaque
func (*GetQuotaResponse) GetStatus ¶
func (x *GetQuotaResponse) GetStatus() *v1beta11.Status
func (*GetQuotaResponse) GetTotalBytes ¶
func (x *GetQuotaResponse) GetTotalBytes() uint64
func (*GetQuotaResponse) GetUsedBytes ¶
func (x *GetQuotaResponse) GetUsedBytes() uint64
func (*GetQuotaResponse) ProtoMessage ¶
func (*GetQuotaResponse) ProtoMessage()
func (*GetQuotaResponse) ProtoReflect ¶
func (x *GetQuotaResponse) ProtoReflect() protoreflect.Message
func (*GetQuotaResponse) Reset ¶
func (x *GetQuotaResponse) Reset()
func (*GetQuotaResponse) String ¶
func (x *GetQuotaResponse) String() string
type Grant ¶
type Grant struct { // REQUIRED. // The grantee of the grant. Grantee *Grantee `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"` // REQUIRED. // The permissions for the grant. Permissions *ResourcePermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
A grant grants permissions to a resource to a grantee.
func (*Grant) Descriptor
deprecated
func (*Grant) GetGrantee ¶
func (*Grant) GetPermissions ¶
func (x *Grant) GetPermissions() *ResourcePermissions
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (*Grant) ProtoReflect ¶
func (x *Grant) ProtoReflect() protoreflect.Message
type Grantee ¶
type Grantee struct { // REQUIRED. // The type of the grantee. Type GranteeType `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.GranteeType" json:"type,omitempty"` // The unique id for the grantee. // For example, a group name, user name or uuid. Id *v1beta11.UserId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
A grantee is the receiver of a grant.
func (*Grantee) Descriptor
deprecated
func (*Grantee) GetType ¶
func (x *Grantee) GetType() GranteeType
func (*Grantee) ProtoMessage ¶
func (*Grantee) ProtoMessage()
func (*Grantee) ProtoReflect ¶
func (x *Grantee) ProtoReflect() protoreflect.Message
type GranteeType ¶
type GranteeType int32
The type of the grantee.
const ( GranteeType_GRANTEE_TYPE_INVALID GranteeType = 0 // This type represents an individual. GranteeType_GRANTEE_TYPE_USER GranteeType = 1 // This type represents a group of individuals. GranteeType_GRANTEE_TYPE_GROUP GranteeType = 2 )
func (GranteeType) Descriptor ¶
func (GranteeType) Descriptor() protoreflect.EnumDescriptor
func (GranteeType) Enum ¶
func (x GranteeType) Enum() *GranteeType
func (GranteeType) EnumDescriptor
deprecated
func (GranteeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GranteeType.Descriptor instead.
func (GranteeType) Number ¶
func (x GranteeType) Number() protoreflect.EnumNumber
func (GranteeType) String ¶
func (x GranteeType) String() string
func (GranteeType) Type ¶
func (GranteeType) Type() protoreflect.EnumType
type InitiateFileDownloadRequest ¶
type InitiateFileDownloadRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileDownloadRequest) Descriptor
deprecated
func (*InitiateFileDownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileDownloadRequest.ProtoReflect.Descriptor instead.
func (*InitiateFileDownloadRequest) GetOpaque ¶
func (x *InitiateFileDownloadRequest) GetOpaque() *v1beta1.Opaque
func (*InitiateFileDownloadRequest) GetRef ¶
func (x *InitiateFileDownloadRequest) GetRef() *Reference
func (*InitiateFileDownloadRequest) ProtoMessage ¶
func (*InitiateFileDownloadRequest) ProtoMessage()
func (*InitiateFileDownloadRequest) ProtoReflect ¶
func (x *InitiateFileDownloadRequest) ProtoReflect() protoreflect.Message
func (*InitiateFileDownloadRequest) Reset ¶
func (x *InitiateFileDownloadRequest) Reset()
func (*InitiateFileDownloadRequest) String ¶
func (x *InitiateFileDownloadRequest) String() string
type InitiateFileDownloadResponse ¶
type InitiateFileDownloadResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The endpoint where to downooad the data. // The value MUST be a Uniform Resource Identifier (URI) // as specified in RFC 3986. DownloadEndpoint string `protobuf:"bytes,3,opt,name=download_endpoint,json=downloadEndpoint,proto3" json:"download_endpoint,omitempty"` // REQUIRED. // Tells to the gateway if the client should be exposed directly to the download_endpoint. Expose bool `protobuf:"varint,5,opt,name=expose,proto3" json:"expose,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileDownloadResponse) Descriptor
deprecated
func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileDownloadResponse.ProtoReflect.Descriptor instead.
func (*InitiateFileDownloadResponse) GetDownloadEndpoint ¶
func (x *InitiateFileDownloadResponse) GetDownloadEndpoint() string
func (*InitiateFileDownloadResponse) GetExpose ¶
func (x *InitiateFileDownloadResponse) GetExpose() bool
func (*InitiateFileDownloadResponse) GetOpaque ¶
func (x *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque
func (*InitiateFileDownloadResponse) GetStatus ¶
func (x *InitiateFileDownloadResponse) GetStatus() *v1beta11.Status
func (*InitiateFileDownloadResponse) ProtoMessage ¶
func (*InitiateFileDownloadResponse) ProtoMessage()
func (*InitiateFileDownloadResponse) ProtoReflect ¶
func (x *InitiateFileDownloadResponse) ProtoReflect() protoreflect.Message
func (*InitiateFileDownloadResponse) Reset ¶
func (x *InitiateFileDownloadResponse) Reset()
func (*InitiateFileDownloadResponse) String ¶
func (x *InitiateFileDownloadResponse) String() string
type InitiateFileUploadRequest ¶
type InitiateFileUploadRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileUploadRequest) Descriptor
deprecated
func (*InitiateFileUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileUploadRequest.ProtoReflect.Descriptor instead.
func (*InitiateFileUploadRequest) GetOpaque ¶
func (x *InitiateFileUploadRequest) GetOpaque() *v1beta1.Opaque
func (*InitiateFileUploadRequest) GetRef ¶
func (x *InitiateFileUploadRequest) GetRef() *Reference
func (*InitiateFileUploadRequest) ProtoMessage ¶
func (*InitiateFileUploadRequest) ProtoMessage()
func (*InitiateFileUploadRequest) ProtoReflect ¶
func (x *InitiateFileUploadRequest) ProtoReflect() protoreflect.Message
func (*InitiateFileUploadRequest) Reset ¶
func (x *InitiateFileUploadRequest) Reset()
func (*InitiateFileUploadRequest) String ¶
func (x *InitiateFileUploadRequest) String() string
type InitiateFileUploadResponse ¶
type InitiateFileUploadResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The endpoint where to upload the data. // The value MUST be a Uniform Resource Identifier (URI) // as specified in RFC 3986. UploadEndpoint string `protobuf:"bytes,3,opt,name=upload_endpoint,json=uploadEndpoint,proto3" json:"upload_endpoint,omitempty"` // REQUIRED. // List of available checksums // the client can use when sending // the file. AvailableChecksums []*ResourceChecksumPriority `protobuf:"bytes,4,rep,name=available_checksums,json=availableChecksums,proto3" json:"available_checksums,omitempty"` // REQUIRED. // Tells to the gateway if the client should be exposed directly to the upload_endpoint. Expose bool `protobuf:"varint,5,opt,name=expose,proto3" json:"expose,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileUploadResponse) Descriptor
deprecated
func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileUploadResponse.ProtoReflect.Descriptor instead.
func (*InitiateFileUploadResponse) GetAvailableChecksums ¶
func (x *InitiateFileUploadResponse) GetAvailableChecksums() []*ResourceChecksumPriority
func (*InitiateFileUploadResponse) GetExpose ¶
func (x *InitiateFileUploadResponse) GetExpose() bool
func (*InitiateFileUploadResponse) GetOpaque ¶
func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque
func (*InitiateFileUploadResponse) GetStatus ¶
func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status
func (*InitiateFileUploadResponse) GetUploadEndpoint ¶
func (x *InitiateFileUploadResponse) GetUploadEndpoint() string
func (*InitiateFileUploadResponse) ProtoMessage ¶
func (*InitiateFileUploadResponse) ProtoMessage()
func (*InitiateFileUploadResponse) ProtoReflect ¶
func (x *InitiateFileUploadResponse) ProtoReflect() protoreflect.Message
func (*InitiateFileUploadResponse) Reset ¶
func (x *InitiateFileUploadResponse) Reset()
func (*InitiateFileUploadResponse) String ¶
func (x *InitiateFileUploadResponse) String() string
type ListContainerRequest ¶
type ListContainerRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // OPTIONAL. // Arbitrary metadata be included with the resource. // A key with the name '*' means to return all available arbitrary metadata. ArbitraryMetadataKeys []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListContainerRequest) Descriptor
deprecated
func (*ListContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerRequest.ProtoReflect.Descriptor instead.
func (*ListContainerRequest) GetArbitraryMetadataKeys ¶
func (x *ListContainerRequest) GetArbitraryMetadataKeys() []string
func (*ListContainerRequest) GetOpaque ¶
func (x *ListContainerRequest) GetOpaque() *v1beta1.Opaque
func (*ListContainerRequest) GetRef ¶
func (x *ListContainerRequest) GetRef() *Reference
func (*ListContainerRequest) ProtoMessage ¶
func (*ListContainerRequest) ProtoMessage()
func (*ListContainerRequest) ProtoReflect ¶
func (x *ListContainerRequest) ProtoReflect() protoreflect.Message
func (*ListContainerRequest) Reset ¶
func (x *ListContainerRequest) Reset()
func (*ListContainerRequest) String ¶
func (x *ListContainerRequest) String() string
type ListContainerResponse ¶
type ListContainerResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of resource informations. Infos []*ResourceInfo `protobuf:"bytes,3,rep,name=infos,proto3" json:"infos,omitempty"` // contains filtered or unexported fields }
func (*ListContainerResponse) Descriptor
deprecated
func (*ListContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerResponse.ProtoReflect.Descriptor instead.
func (*ListContainerResponse) GetInfos ¶
func (x *ListContainerResponse) GetInfos() []*ResourceInfo
func (*ListContainerResponse) GetOpaque ¶
func (x *ListContainerResponse) GetOpaque() *v1beta1.Opaque
func (*ListContainerResponse) GetStatus ¶
func (x *ListContainerResponse) GetStatus() *v1beta11.Status
func (*ListContainerResponse) ProtoMessage ¶
func (*ListContainerResponse) ProtoMessage()
func (*ListContainerResponse) ProtoReflect ¶
func (x *ListContainerResponse) ProtoReflect() protoreflect.Message
func (*ListContainerResponse) Reset ¶
func (x *ListContainerResponse) Reset()
func (*ListContainerResponse) String ¶
func (x *ListContainerResponse) String() string
type ListContainerStreamRequest ¶
type ListContainerStreamRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // OPTIONAL. // Arbitrary metadata be included with the resource. // A key with the name '*' means to return all available arbitrary metadata. ArbitraryMetadataKeys []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListContainerStreamRequest) Descriptor
deprecated
func (*ListContainerStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerStreamRequest.ProtoReflect.Descriptor instead.
func (*ListContainerStreamRequest) GetArbitraryMetadataKeys ¶
func (x *ListContainerStreamRequest) GetArbitraryMetadataKeys() []string
func (*ListContainerStreamRequest) GetOpaque ¶
func (x *ListContainerStreamRequest) GetOpaque() *v1beta1.Opaque
func (*ListContainerStreamRequest) GetRef ¶
func (x *ListContainerStreamRequest) GetRef() *Reference
func (*ListContainerStreamRequest) ProtoMessage ¶
func (*ListContainerStreamRequest) ProtoMessage()
func (*ListContainerStreamRequest) ProtoReflect ¶
func (x *ListContainerStreamRequest) ProtoReflect() protoreflect.Message
func (*ListContainerStreamRequest) Reset ¶
func (x *ListContainerStreamRequest) Reset()
func (*ListContainerStreamRequest) String ¶
func (x *ListContainerStreamRequest) String() string
type ListContainerStreamResponse ¶
type ListContainerStreamResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The resource information. Info *ResourceInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ListContainerStreamResponse) Descriptor
deprecated
func (*ListContainerStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerStreamResponse.ProtoReflect.Descriptor instead.
func (*ListContainerStreamResponse) GetInfo ¶
func (x *ListContainerStreamResponse) GetInfo() *ResourceInfo
func (*ListContainerStreamResponse) GetOpaque ¶
func (x *ListContainerStreamResponse) GetOpaque() *v1beta1.Opaque
func (*ListContainerStreamResponse) GetStatus ¶
func (x *ListContainerStreamResponse) GetStatus() *v1beta11.Status
func (*ListContainerStreamResponse) ProtoMessage ¶
func (*ListContainerStreamResponse) ProtoMessage()
func (*ListContainerStreamResponse) ProtoReflect ¶
func (x *ListContainerStreamResponse) ProtoReflect() protoreflect.Message
func (*ListContainerStreamResponse) Reset ¶
func (x *ListContainerStreamResponse) Reset()
func (*ListContainerStreamResponse) String ¶
func (x *ListContainerStreamResponse) String() string
type ListFileVersionsRequest ¶
type ListFileVersionsRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*ListFileVersionsRequest) Descriptor
deprecated
func (*ListFileVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFileVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListFileVersionsRequest) GetOpaque ¶
func (x *ListFileVersionsRequest) GetOpaque() *v1beta1.Opaque
func (*ListFileVersionsRequest) GetRef ¶
func (x *ListFileVersionsRequest) GetRef() *Reference
func (*ListFileVersionsRequest) ProtoMessage ¶
func (*ListFileVersionsRequest) ProtoMessage()
func (*ListFileVersionsRequest) ProtoReflect ¶
func (x *ListFileVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListFileVersionsRequest) Reset ¶
func (x *ListFileVersionsRequest) Reset()
func (*ListFileVersionsRequest) String ¶
func (x *ListFileVersionsRequest) String() string
type ListFileVersionsResponse ¶
type ListFileVersionsResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of file versions. Versions []*FileVersion `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*ListFileVersionsResponse) Descriptor
deprecated
func (*ListFileVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFileVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListFileVersionsResponse) GetOpaque ¶
func (x *ListFileVersionsResponse) GetOpaque() *v1beta1.Opaque
func (*ListFileVersionsResponse) GetStatus ¶
func (x *ListFileVersionsResponse) GetStatus() *v1beta11.Status
func (*ListFileVersionsResponse) GetVersions ¶
func (x *ListFileVersionsResponse) GetVersions() []*FileVersion
func (*ListFileVersionsResponse) ProtoMessage ¶
func (*ListFileVersionsResponse) ProtoMessage()
func (*ListFileVersionsResponse) ProtoReflect ¶
func (x *ListFileVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListFileVersionsResponse) Reset ¶
func (x *ListFileVersionsResponse) Reset()
func (*ListFileVersionsResponse) String ¶
func (x *ListFileVersionsResponse) String() string
type ListGrantsRequest ¶
type ListGrantsRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*ListGrantsRequest) Descriptor
deprecated
func (*ListGrantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGrantsRequest.ProtoReflect.Descriptor instead.
func (*ListGrantsRequest) GetOpaque ¶
func (x *ListGrantsRequest) GetOpaque() *v1beta1.Opaque
func (*ListGrantsRequest) GetRef ¶
func (x *ListGrantsRequest) GetRef() *Reference
func (*ListGrantsRequest) ProtoMessage ¶
func (*ListGrantsRequest) ProtoMessage()
func (*ListGrantsRequest) ProtoReflect ¶
func (x *ListGrantsRequest) ProtoReflect() protoreflect.Message
func (*ListGrantsRequest) Reset ¶
func (x *ListGrantsRequest) Reset()
func (*ListGrantsRequest) String ¶
func (x *ListGrantsRequest) String() string
type ListGrantsResponse ¶
type ListGrantsResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The grants. Grants []*Grant `protobuf:"bytes,3,rep,name=grants,proto3" json:"grants,omitempty"` // contains filtered or unexported fields }
func (*ListGrantsResponse) Descriptor
deprecated
func (*ListGrantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGrantsResponse.ProtoReflect.Descriptor instead.
func (*ListGrantsResponse) GetGrants ¶
func (x *ListGrantsResponse) GetGrants() []*Grant
func (*ListGrantsResponse) GetOpaque ¶
func (x *ListGrantsResponse) GetOpaque() *v1beta1.Opaque
func (*ListGrantsResponse) GetStatus ¶
func (x *ListGrantsResponse) GetStatus() *v1beta11.Status
func (*ListGrantsResponse) ProtoMessage ¶
func (*ListGrantsResponse) ProtoMessage()
func (*ListGrantsResponse) ProtoReflect ¶
func (x *ListGrantsResponse) ProtoReflect() protoreflect.Message
func (*ListGrantsResponse) Reset ¶
func (x *ListGrantsResponse) Reset()
func (*ListGrantsResponse) String ¶
func (x *ListGrantsResponse) String() string
type ListRecycleRequest ¶
type ListRecycleRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // SHOULD be specified. // The start time range to query for recycle items. // The value is the Unix Epoch timestamp in seconds. FromTs *v1beta1.Timestamp `protobuf:"bytes,2,opt,name=from_ts,json=fromTs,proto3" json:"from_ts,omitempty"` // OPTIONAL. // SHOULD be specified. // The end time range to query for recycle items. // The value is Unix Epoch timestamp in seconds. ToTs *v1beta1.Timestamp `protobuf:"bytes,3,opt,name=to_ts,json=toTs,proto3" json:"to_ts,omitempty"` // contains filtered or unexported fields }
func (*ListRecycleRequest) Descriptor
deprecated
func (*ListRecycleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRecycleRequest.ProtoReflect.Descriptor instead.
func (*ListRecycleRequest) GetFromTs ¶
func (x *ListRecycleRequest) GetFromTs() *v1beta1.Timestamp
func (*ListRecycleRequest) GetOpaque ¶
func (x *ListRecycleRequest) GetOpaque() *v1beta1.Opaque
func (*ListRecycleRequest) GetToTs ¶
func (x *ListRecycleRequest) GetToTs() *v1beta1.Timestamp
func (*ListRecycleRequest) ProtoMessage ¶
func (*ListRecycleRequest) ProtoMessage()
func (*ListRecycleRequest) ProtoReflect ¶
func (x *ListRecycleRequest) ProtoReflect() protoreflect.Message
func (*ListRecycleRequest) Reset ¶
func (x *ListRecycleRequest) Reset()
func (*ListRecycleRequest) String ¶
func (x *ListRecycleRequest) String() string
type ListRecycleResponse ¶
type ListRecycleResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The list of recycle items. RecycleItems []*RecycleItem `protobuf:"bytes,3,rep,name=recycle_items,json=recycleItems,proto3" json:"recycle_items,omitempty"` // contains filtered or unexported fields }
func (*ListRecycleResponse) Descriptor
deprecated
func (*ListRecycleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecycleResponse.ProtoReflect.Descriptor instead.
func (*ListRecycleResponse) GetOpaque ¶
func (x *ListRecycleResponse) GetOpaque() *v1beta1.Opaque
func (*ListRecycleResponse) GetRecycleItems ¶
func (x *ListRecycleResponse) GetRecycleItems() []*RecycleItem
func (*ListRecycleResponse) GetStatus ¶
func (x *ListRecycleResponse) GetStatus() *v1beta11.Status
func (*ListRecycleResponse) ProtoMessage ¶
func (*ListRecycleResponse) ProtoMessage()
func (*ListRecycleResponse) ProtoReflect ¶
func (x *ListRecycleResponse) ProtoReflect() protoreflect.Message
func (*ListRecycleResponse) Reset ¶
func (x *ListRecycleResponse) Reset()
func (*ListRecycleResponse) String ¶
func (x *ListRecycleResponse) String() string
type ListRecycleStreamRequest ¶
type ListRecycleStreamRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // SHOULD be specified. // The start time range to query for recycle items. // The value is the Unix Epoch timestamp in seconds. FromTs *v1beta1.Timestamp `protobuf:"bytes,2,opt,name=from_ts,json=fromTs,proto3" json:"from_ts,omitempty"` // OPTIONAL. // SHOULD be specified. // The end time range to query for recycle items. // The value is Unix Epoch timestamp in seconds. ToTs *v1beta1.Timestamp `protobuf:"bytes,3,opt,name=to_ts,json=toTs,proto3" json:"to_ts,omitempty"` // contains filtered or unexported fields }
func (*ListRecycleStreamRequest) Descriptor
deprecated
func (*ListRecycleStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRecycleStreamRequest.ProtoReflect.Descriptor instead.
func (*ListRecycleStreamRequest) GetFromTs ¶
func (x *ListRecycleStreamRequest) GetFromTs() *v1beta1.Timestamp
func (*ListRecycleStreamRequest) GetOpaque ¶
func (x *ListRecycleStreamRequest) GetOpaque() *v1beta1.Opaque
func (*ListRecycleStreamRequest) GetToTs ¶
func (x *ListRecycleStreamRequest) GetToTs() *v1beta1.Timestamp
func (*ListRecycleStreamRequest) ProtoMessage ¶
func (*ListRecycleStreamRequest) ProtoMessage()
func (*ListRecycleStreamRequest) ProtoReflect ¶
func (x *ListRecycleStreamRequest) ProtoReflect() protoreflect.Message
func (*ListRecycleStreamRequest) Reset ¶
func (x *ListRecycleStreamRequest) Reset()
func (*ListRecycleStreamRequest) String ¶
func (x *ListRecycleStreamRequest) String() string
type ListRecycleStreamResponse ¶
type ListRecycleStreamResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The recycle items. RecycleItem *RecycleItem `protobuf:"bytes,3,opt,name=recycle_item,json=recycleItem,proto3" json:"recycle_item,omitempty"` // contains filtered or unexported fields }
func (*ListRecycleStreamResponse) Descriptor
deprecated
func (*ListRecycleStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecycleStreamResponse.ProtoReflect.Descriptor instead.
func (*ListRecycleStreamResponse) GetOpaque ¶
func (x *ListRecycleStreamResponse) GetOpaque() *v1beta1.Opaque
func (*ListRecycleStreamResponse) GetRecycleItem ¶
func (x *ListRecycleStreamResponse) GetRecycleItem() *RecycleItem
func (*ListRecycleStreamResponse) GetStatus ¶
func (x *ListRecycleStreamResponse) GetStatus() *v1beta11.Status
func (*ListRecycleStreamResponse) ProtoMessage ¶
func (*ListRecycleStreamResponse) ProtoMessage()
func (*ListRecycleStreamResponse) ProtoReflect ¶
func (x *ListRecycleStreamResponse) ProtoReflect() protoreflect.Message
func (*ListRecycleStreamResponse) Reset ¶
func (x *ListRecycleStreamResponse) Reset()
func (*ListRecycleStreamResponse) String ¶
func (x *ListRecycleStreamResponse) String() string
type MoveRequest ¶
type MoveRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The source reference the resource is moved from. Source *Reference `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // REQUIRED. // The destination reference the resource is moved to. Destination *Reference `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // contains filtered or unexported fields }
func (*MoveRequest) Descriptor
deprecated
func (*MoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveRequest.ProtoReflect.Descriptor instead.
func (*MoveRequest) GetDestination ¶
func (x *MoveRequest) GetDestination() *Reference
func (*MoveRequest) GetOpaque ¶
func (x *MoveRequest) GetOpaque() *v1beta1.Opaque
func (*MoveRequest) GetSource ¶
func (x *MoveRequest) GetSource() *Reference
func (*MoveRequest) ProtoMessage ¶
func (*MoveRequest) ProtoMessage()
func (*MoveRequest) ProtoReflect ¶
func (x *MoveRequest) ProtoReflect() protoreflect.Message
func (*MoveRequest) Reset ¶
func (x *MoveRequest) Reset()
func (*MoveRequest) String ¶
func (x *MoveRequest) String() string
type MoveResponse ¶
type MoveResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*MoveResponse) Descriptor
deprecated
func (*MoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveResponse.ProtoReflect.Descriptor instead.
func (*MoveResponse) GetOpaque ¶
func (x *MoveResponse) GetOpaque() *v1beta1.Opaque
func (*MoveResponse) GetStatus ¶
func (x *MoveResponse) GetStatus() *v1beta11.Status
func (*MoveResponse) ProtoMessage ¶
func (*MoveResponse) ProtoMessage()
func (*MoveResponse) ProtoReflect ¶
func (x *MoveResponse) ProtoReflect() protoreflect.Message
func (*MoveResponse) Reset ¶
func (x *MoveResponse) Reset()
func (*MoveResponse) String ¶
func (x *MoveResponse) String() string
type ProviderAPIClient ¶
type ProviderAPIClient interface { // Adds a new grant for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist AddGrant(ctx context.Context, in *AddGrantRequest, opts ...grpc.CallOption) (*AddGrantResponse, error) // Creates a new resource of type container. // MUST return CODE_PRECONDITION_FAILED if the container // cannot be created at the specified reference. CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) // Deletes a resource. // If a resource specifies the non-empty container (directory, ...), // then the entire directory is deleted recursively. // If a resource specifies a reference or symlink type, only the reference is removed (not the target). // MUST return CODE_NOT_FOUND if the reference does not exist. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Returns the path reference for // the provided resource id reference. // MUST return CODE_NOT_FOUND if the reference does not exist GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (*GetPathResponse, error) // Returns the quota available under the provided // reference. // MUST return CODE_NOT_FOUND if the reference does not exist // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) // Initiates the download of a file using an // out-of-band data transfer mechanism. InitiateFileDownload(ctx context.Context, in *InitiateFileDownloadRequest, opts ...grpc.CallOption) (*InitiateFileDownloadResponse, error) // Initiates the upload of a file using an // out-of-band data transfer mechanism. InitiateFileUpload(ctx context.Context, in *InitiateFileUploadRequest, opts ...grpc.CallOption) (*InitiateFileUploadResponse, error) // Returns the list of grants for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error) // Returns a stream of resource informations // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainerStream(ctx context.Context, in *ListContainerStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListContainerStreamClient, error) // Returns a list of resource information // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainer(ctx context.Context, in *ListContainerRequest, opts ...grpc.CallOption) (*ListContainerResponse, error) // Returns a list of the versions for a resource of // type file at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_OK and MUST return an empty list if no versions are available. // TODO: What code if resource not of type file? ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error) // Returns a stream of recycle items for this storage provider. ListRecycleStream(ctx context.Context, in *ListRecycleStreamRequest, opts ...grpc.CallOption) (ProviderAPI_ListRecycleStreamClient, error) // Returns a list of recycle items for this storage provider. // MUST return CODE_OK and MUST return an empty list if no recycle items are available. ListRecycle(ctx context.Context, in *ListRecycleRequest, opts ...grpc.CallOption) (*ListRecycleResponse, error) // Moves a resource from one reference to another. // MUST return CODE_NOT_FOUND if any of the references do not exist. // MUST return CODE_PRECONDITION_FAILED if the source reference // cannot be moved to the destination reference. Move(ctx context.Context, in *MoveRequest, opts ...grpc.CallOption) (*MoveResponse, error) // Removes a grant for the provided reference. // This is recursive and atomic for directories. Does not follow references. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if grant does not exist. RemoveGrant(ctx context.Context, in *RemoveGrantRequest, opts ...grpc.CallOption) (*RemoveGrantResponse, error) // Permanently removes a recycle item from the recycle. // This operation is irrevocable. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. PurgeRecycle(ctx context.Context, in *PurgeRecycleRequest, opts ...grpc.CallOption) (*PurgeRecycleResponse, error) // Restores a file version for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if the version does not exist. RestoreFileVersion(ctx context.Context, in *RestoreFileVersionRequest, opts ...grpc.CallOption) (*RestoreFileVersionResponse, error) // Restores a recycle item from the recycle. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. // MUST return CODE_PRECONDITION_FAILED if the restore_path is non-empty // and the recycle item cannot be restored to the restore_path. RestoreRecycleItem(ctx context.Context, in *RestoreRecycleItemRequest, opts ...grpc.CallOption) (*RestoreRecycleItemResponse, error) // Returns the resource information at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) // Updates an ACL for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_PRECONDITION_FAILED if the acl does not exist. UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error) // Creates a reference to another resource in the same cluster or another domain (OCM shares). // The references resource can be accessed by the protocol specificied in the request message. CreateReference(ctx context.Context, in *CreateReferenceRequest, opts ...grpc.CallOption) (*CreateReferenceResponse, error) // Sets arbitrary metadata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. SetArbitraryMetadata(ctx context.Context, in *SetArbitraryMetadataRequest, opts ...grpc.CallOption) (*SetArbitraryMetadataResponse, error) // Unsets arbitrary metdata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. UnsetArbitraryMetadata(ctx context.Context, in *UnsetArbitraryMetadataRequest, opts ...grpc.CallOption) (*UnsetArbitraryMetadataResponse, error) // Creates the home directory for a user. CreateHome(ctx context.Context, in *CreateHomeRequest, opts ...grpc.CallOption) (*CreateHomeResponse, error) // Gets the home path for the user. GetHome(ctx context.Context, in *GetHomeRequest, opts ...grpc.CallOption) (*GetHomeResponse, error) }
ProviderAPIClient is the client API for ProviderAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProviderAPIClient ¶
func NewProviderAPIClient(cc grpc.ClientConnInterface) ProviderAPIClient
type ProviderAPIHandler ¶
type ProviderAPIHandler interface { // Adds a new grant for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist AddGrant(context.Context, *AddGrantRequest, *AddGrantResponse) error // Creates a new resource of type container. // MUST return CODE_PRECONDITION_FAILED if the container // cannot be created at the specified reference. CreateContainer(context.Context, *CreateContainerRequest, *CreateContainerResponse) error // Deletes a resource. // If a resource specifies the non-empty container (directory, ...), // then the entire directory is deleted recursively. // If a resource specifies a reference or symlink type, only the reference is removed (not the target). // MUST return CODE_NOT_FOUND if the reference does not exist. Delete(context.Context, *DeleteRequest, *DeleteResponse) error // Returns the path reference for // the provided resource id reference. // MUST return CODE_NOT_FOUND if the reference does not exist GetPath(context.Context, *GetPathRequest, *GetPathResponse) error // Returns the quota available under the provided // reference. // MUST return CODE_NOT_FOUND if the reference does not exist // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. GetQuota(context.Context, *GetQuotaRequest, *GetQuotaResponse) error // Initiates the download of a file using an // out-of-band data transfer mechanism. InitiateFileDownload(context.Context, *InitiateFileDownloadRequest, *InitiateFileDownloadResponse) error // Initiates the upload of a file using an // out-of-band data transfer mechanism. InitiateFileUpload(context.Context, *InitiateFileUploadRequest, *InitiateFileUploadResponse) error // Returns the list of grants for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListGrants(context.Context, *ListGrantsRequest, *ListGrantsResponse) error // Returns a stream of resource informations // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainerStream(context.Context, *ListContainerStreamRequest, ProviderAPI_ListContainerStreamStream) error // Returns a list of resource information // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainer(context.Context, *ListContainerRequest, *ListContainerResponse) error // Returns a list of the versions for a resource of // type file at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_OK and MUST return an empty list if no versions are available. // TODO: What code if resource not of type file? ListFileVersions(context.Context, *ListFileVersionsRequest, *ListFileVersionsResponse) error // Returns a stream of recycle items for this storage provider. ListRecycleStream(context.Context, *ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamStream) error // Returns a list of recycle items for this storage provider. // MUST return CODE_OK and MUST return an empty list if no recycle items are available. ListRecycle(context.Context, *ListRecycleRequest, *ListRecycleResponse) error // Moves a resource from one reference to another. // MUST return CODE_NOT_FOUND if any of the references do not exist. // MUST return CODE_PRECONDITION_FAILED if the source reference // cannot be moved to the destination reference. Move(context.Context, *MoveRequest, *MoveResponse) error // Removes a grant for the provided reference. // This is recursive and atomic for directories. Does not follow references. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if grant does not exist. RemoveGrant(context.Context, *RemoveGrantRequest, *RemoveGrantResponse) error // Permanently removes a recycle item from the recycle. // This operation is irrevocable. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. PurgeRecycle(context.Context, *PurgeRecycleRequest, *PurgeRecycleResponse) error // Restores a file version for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if the version does not exist. RestoreFileVersion(context.Context, *RestoreFileVersionRequest, *RestoreFileVersionResponse) error // Restores a recycle item from the recycle. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. // MUST return CODE_PRECONDITION_FAILED if the restore_path is non-empty // and the recycle item cannot be restored to the restore_path. RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest, *RestoreRecycleItemResponse) error // Returns the resource information at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. Stat(context.Context, *StatRequest, *StatResponse) error // Updates an ACL for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_PRECONDITION_FAILED if the acl does not exist. UpdateGrant(context.Context, *UpdateGrantRequest, *UpdateGrantResponse) error // Creates a reference to another resource in the same cluster or another domain (OCM shares). // The references resource can be accessed by the protocol specificied in the request message. CreateReference(context.Context, *CreateReferenceRequest, *CreateReferenceResponse) error // Sets arbitrary metadata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest, *SetArbitraryMetadataResponse) error // Unsets arbitrary metdata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest, *UnsetArbitraryMetadataResponse) error // Creates the home directory for a user. CreateHome(context.Context, *CreateHomeRequest, *CreateHomeResponse) error // Gets the home path for the user. GetHome(context.Context, *GetHomeRequest, *GetHomeResponse) error }
type ProviderAPIServer ¶
type ProviderAPIServer interface { // Adds a new grant for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist AddGrant(context.Context, *AddGrantRequest) (*AddGrantResponse, error) // Creates a new resource of type container. // MUST return CODE_PRECONDITION_FAILED if the container // cannot be created at the specified reference. CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) // Deletes a resource. // If a resource specifies the non-empty container (directory, ...), // then the entire directory is deleted recursively. // If a resource specifies a reference or symlink type, only the reference is removed (not the target). // MUST return CODE_NOT_FOUND if the reference does not exist. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Returns the path reference for // the provided resource id reference. // MUST return CODE_NOT_FOUND if the reference does not exist GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error) // Returns the quota available under the provided // reference. // MUST return CODE_NOT_FOUND if the reference does not exist // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error) // Initiates the download of a file using an // out-of-band data transfer mechanism. InitiateFileDownload(context.Context, *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error) // Initiates the upload of a file using an // out-of-band data transfer mechanism. InitiateFileUpload(context.Context, *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error) // Returns the list of grants for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error) // Returns a stream of resource informations // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainerStream(*ListContainerStreamRequest, ProviderAPI_ListContainerStreamServer) error // Returns a list of resource information // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainer(context.Context, *ListContainerRequest) (*ListContainerResponse, error) // Returns a list of the versions for a resource of // type file at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_OK and MUST return an empty list if no versions are available. // TODO: What code if resource not of type file? ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error) // Returns a stream of recycle items for this storage provider. ListRecycleStream(*ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamServer) error // Returns a list of recycle items for this storage provider. // MUST return CODE_OK and MUST return an empty list if no recycle items are available. ListRecycle(context.Context, *ListRecycleRequest) (*ListRecycleResponse, error) // Moves a resource from one reference to another. // MUST return CODE_NOT_FOUND if any of the references do not exist. // MUST return CODE_PRECONDITION_FAILED if the source reference // cannot be moved to the destination reference. Move(context.Context, *MoveRequest) (*MoveResponse, error) // Removes a grant for the provided reference. // This is recursive and atomic for directories. Does not follow references. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if grant does not exist. RemoveGrant(context.Context, *RemoveGrantRequest) (*RemoveGrantResponse, error) // Permanently removes a recycle item from the recycle. // This operation is irrevocable. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. PurgeRecycle(context.Context, *PurgeRecycleRequest) (*PurgeRecycleResponse, error) // Restores a file version for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if the version does not exist. RestoreFileVersion(context.Context, *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error) // Restores a recycle item from the recycle. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. // MUST return CODE_PRECONDITION_FAILED if the restore_path is non-empty // and the recycle item cannot be restored to the restore_path. RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error) // Returns the resource information at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. Stat(context.Context, *StatRequest) (*StatResponse, error) // Updates an ACL for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_PRECONDITION_FAILED if the acl does not exist. UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error) // Creates a reference to another resource in the same cluster or another domain (OCM shares). // The references resource can be accessed by the protocol specificied in the request message. CreateReference(context.Context, *CreateReferenceRequest) (*CreateReferenceResponse, error) // Sets arbitrary metadata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error) // Unsets arbitrary metdata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error) // Creates the home directory for a user. CreateHome(context.Context, *CreateHomeRequest) (*CreateHomeResponse, error) // Gets the home path for the user. GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error) }
ProviderAPIServer is the server API for ProviderAPI service.
type ProviderAPIService ¶
type ProviderAPIService interface { // Adds a new grant for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist AddGrant(ctx context.Context, in *AddGrantRequest, opts ...client.CallOption) (*AddGrantResponse, error) // Creates a new resource of type container. // MUST return CODE_PRECONDITION_FAILED if the container // cannot be created at the specified reference. CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...client.CallOption) (*CreateContainerResponse, error) // Deletes a resource. // If a resource specifies the non-empty container (directory, ...), // then the entire directory is deleted recursively. // If a resource specifies a reference or symlink type, only the reference is removed (not the target). // MUST return CODE_NOT_FOUND if the reference does not exist. Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error) // Returns the path reference for // the provided resource id reference. // MUST return CODE_NOT_FOUND if the reference does not exist GetPath(ctx context.Context, in *GetPathRequest, opts ...client.CallOption) (*GetPathResponse, error) // Returns the quota available under the provided // reference. // MUST return CODE_NOT_FOUND if the reference does not exist // MUST return CODE_RESOURCE_EXHAUSTED on exceeded quota limits. GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...client.CallOption) (*GetQuotaResponse, error) // Initiates the download of a file using an // out-of-band data transfer mechanism. InitiateFileDownload(ctx context.Context, in *InitiateFileDownloadRequest, opts ...client.CallOption) (*InitiateFileDownloadResponse, error) // Initiates the upload of a file using an // out-of-band data transfer mechanism. InitiateFileUpload(ctx context.Context, in *InitiateFileUploadRequest, opts ...client.CallOption) (*InitiateFileUploadResponse, error) // Returns the list of grants for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...client.CallOption) (*ListGrantsResponse, error) // Returns a stream of resource informations // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainerStream(ctx context.Context, in *ListContainerStreamRequest, opts ...client.CallOption) (ProviderAPI_ListContainerStreamService, error) // Returns a list of resource information // for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. ListContainer(ctx context.Context, in *ListContainerRequest, opts ...client.CallOption) (*ListContainerResponse, error) // Returns a list of the versions for a resource of // type file at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_OK and MUST return an empty list if no versions are available. // TODO: What code if resource not of type file? ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...client.CallOption) (*ListFileVersionsResponse, error) // Returns a stream of recycle items for this storage provider. ListRecycleStream(ctx context.Context, in *ListRecycleStreamRequest, opts ...client.CallOption) (ProviderAPI_ListRecycleStreamService, error) // Returns a list of recycle items for this storage provider. // MUST return CODE_OK and MUST return an empty list if no recycle items are available. ListRecycle(ctx context.Context, in *ListRecycleRequest, opts ...client.CallOption) (*ListRecycleResponse, error) // Moves a resource from one reference to another. // MUST return CODE_NOT_FOUND if any of the references do not exist. // MUST return CODE_PRECONDITION_FAILED if the source reference // cannot be moved to the destination reference. Move(ctx context.Context, in *MoveRequest, opts ...client.CallOption) (*MoveResponse, error) // Removes a grant for the provided reference. // This is recursive and atomic for directories. Does not follow references. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if grant does not exist. RemoveGrant(ctx context.Context, in *RemoveGrantRequest, opts ...client.CallOption) (*RemoveGrantResponse, error) // Permanently removes a recycle item from the recycle. // This operation is irrevocable. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. PurgeRecycle(ctx context.Context, in *PurgeRecycleRequest, opts ...client.CallOption) (*PurgeRecycleResponse, error) // Restores a file version for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_NOT_FOUND if the version does not exist. RestoreFileVersion(ctx context.Context, in *RestoreFileVersionRequest, opts ...client.CallOption) (*RestoreFileVersionResponse, error) // Restores a recycle item from the recycle. // MUST return CODE_NOT_FOUND if the recycle item id does not exist. // MUST return CODE_PRECONDITION_FAILED if the restore_path is non-empty // and the recycle item cannot be restored to the restore_path. RestoreRecycleItem(ctx context.Context, in *RestoreRecycleItemRequest, opts ...client.CallOption) (*RestoreRecycleItemResponse, error) // Returns the resource information at the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. Stat(ctx context.Context, in *StatRequest, opts ...client.CallOption) (*StatResponse, error) // Updates an ACL for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_PRECONDITION_FAILED if the acl does not exist. UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...client.CallOption) (*UpdateGrantResponse, error) // Creates a reference to another resource in the same cluster or another domain (OCM shares). // The references resource can be accessed by the protocol specificied in the request message. CreateReference(ctx context.Context, in *CreateReferenceRequest, opts ...client.CallOption) (*CreateReferenceResponse, error) // Sets arbitrary metadata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. SetArbitraryMetadata(ctx context.Context, in *SetArbitraryMetadataRequest, opts ...client.CallOption) (*SetArbitraryMetadataResponse, error) // Unsets arbitrary metdata into a storage resource. // Arbitrary metadata is returned in a cs3.storageprovider.v1beta1.ResourceInfo. UnsetArbitraryMetadata(ctx context.Context, in *UnsetArbitraryMetadataRequest, opts ...client.CallOption) (*UnsetArbitraryMetadataResponse, error) // Creates the home directory for a user. CreateHome(ctx context.Context, in *CreateHomeRequest, opts ...client.CallOption) (*CreateHomeResponse, error) // Gets the home path for the user. GetHome(ctx context.Context, in *GetHomeRequest, opts ...client.CallOption) (*GetHomeResponse, error) }
func NewProviderAPIService ¶
func NewProviderAPIService(name string, c client.Client) ProviderAPIService
type ProviderAPI_ListContainerStreamClient ¶
type ProviderAPI_ListContainerStreamClient interface { Recv() (*ListContainerStreamResponse, error) grpc.ClientStream }
type ProviderAPI_ListContainerStreamServer ¶
type ProviderAPI_ListContainerStreamServer interface { Send(*ListContainerStreamResponse) error grpc.ServerStream }
type ProviderAPI_ListRecycleStreamClient ¶
type ProviderAPI_ListRecycleStreamClient interface { Recv() (*ListRecycleStreamResponse, error) grpc.ClientStream }
type ProviderAPI_ListRecycleStreamServer ¶
type ProviderAPI_ListRecycleStreamServer interface { Send(*ListRecycleStreamResponse) error grpc.ServerStream }
type PurgeRecycleRequest ¶
type PurgeRecycleRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*PurgeRecycleRequest) Descriptor
deprecated
func (*PurgeRecycleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeRecycleRequest.ProtoReflect.Descriptor instead.
func (*PurgeRecycleRequest) GetOpaque ¶
func (x *PurgeRecycleRequest) GetOpaque() *v1beta1.Opaque
func (*PurgeRecycleRequest) GetRef ¶
func (x *PurgeRecycleRequest) GetRef() *Reference
func (*PurgeRecycleRequest) ProtoMessage ¶
func (*PurgeRecycleRequest) ProtoMessage()
func (*PurgeRecycleRequest) ProtoReflect ¶
func (x *PurgeRecycleRequest) ProtoReflect() protoreflect.Message
func (*PurgeRecycleRequest) Reset ¶
func (x *PurgeRecycleRequest) Reset()
func (*PurgeRecycleRequest) String ¶
func (x *PurgeRecycleRequest) String() string
type PurgeRecycleResponse ¶
type PurgeRecycleResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*PurgeRecycleResponse) Descriptor
deprecated
func (*PurgeRecycleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PurgeRecycleResponse.ProtoReflect.Descriptor instead.
func (*PurgeRecycleResponse) GetOpaque ¶
func (x *PurgeRecycleResponse) GetOpaque() *v1beta1.Opaque
func (*PurgeRecycleResponse) GetStatus ¶
func (x *PurgeRecycleResponse) GetStatus() *v1beta11.Status
func (*PurgeRecycleResponse) ProtoMessage ¶
func (*PurgeRecycleResponse) ProtoMessage()
func (*PurgeRecycleResponse) ProtoReflect ¶
func (x *PurgeRecycleResponse) ProtoReflect() protoreflect.Message
func (*PurgeRecycleResponse) Reset ¶
func (x *PurgeRecycleResponse) Reset()
func (*PurgeRecycleResponse) String ¶
func (x *PurgeRecycleResponse) String() string
type RecycleItem ¶
type RecycleItem struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The type of the resource. Type ResourceType `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ResourceType" json:"type,omitempty"` // REQUIRED. // The key to identify the deleted resource. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // REQUIRED. // The original path of the deleted resource. Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // OPTIONAL. // The size of the deleted resource. Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` // REQUIRED. // The deletion time of the resource // in Unix Epoch timestamp in seconds. DeletionTime *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=deletion_time,json=deletionTime,proto3" json:"deletion_time,omitempty"` // contains filtered or unexported fields }
A recycle item represents the information of a deleted resource.
func (*RecycleItem) Descriptor
deprecated
func (*RecycleItem) Descriptor() ([]byte, []int)
Deprecated: Use RecycleItem.ProtoReflect.Descriptor instead.
func (*RecycleItem) GetDeletionTime ¶
func (x *RecycleItem) GetDeletionTime() *v1beta1.Timestamp
func (*RecycleItem) GetKey ¶
func (x *RecycleItem) GetKey() string
func (*RecycleItem) GetOpaque ¶
func (x *RecycleItem) GetOpaque() *v1beta1.Opaque
func (*RecycleItem) GetPath ¶
func (x *RecycleItem) GetPath() string
func (*RecycleItem) GetSize ¶
func (x *RecycleItem) GetSize() uint64
func (*RecycleItem) GetType ¶
func (x *RecycleItem) GetType() ResourceType
func (*RecycleItem) ProtoMessage ¶
func (*RecycleItem) ProtoMessage()
func (*RecycleItem) ProtoReflect ¶
func (x *RecycleItem) ProtoReflect() protoreflect.Message
func (*RecycleItem) Reset ¶
func (x *RecycleItem) Reset()
func (*RecycleItem) String ¶
func (x *RecycleItem) String() string
type Reference ¶
type Reference struct { // REQUIRED. // One of the specifications MUST be specified. // // Types that are assignable to Spec: // *Reference_Path // *Reference_Id Spec isReference_Spec `protobuf_oneof:"spec"` // contains filtered or unexported fields }
The mechanism to identify a resource in the storage provider namespace. Note that the path OR the resourceId must be specifed, not both.
func (*Reference) Descriptor
deprecated
func (*Reference) GetId ¶
func (x *Reference) GetId() *ResourceId
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type Reference_Id ¶
type Reference_Id struct { // The id for the resource. // MUST NOT start with the slash character (/). Id *ResourceId `protobuf:"bytes,2,opt,name=id,proto3,oneof"` }
type Reference_Path ¶
type Reference_Path struct { // The path to the resource. // MUST start with the slash character (/). Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"` }
type RemoveGrantRequest ¶
type RemoveGrantRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The grant to remove. Grant *Grant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` // contains filtered or unexported fields }
func (*RemoveGrantRequest) Descriptor
deprecated
func (*RemoveGrantRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGrantRequest.ProtoReflect.Descriptor instead.
func (*RemoveGrantRequest) GetGrant ¶
func (x *RemoveGrantRequest) GetGrant() *Grant
func (*RemoveGrantRequest) GetOpaque ¶
func (x *RemoveGrantRequest) GetOpaque() *v1beta1.Opaque
func (*RemoveGrantRequest) GetRef ¶
func (x *RemoveGrantRequest) GetRef() *Reference
func (*RemoveGrantRequest) ProtoMessage ¶
func (*RemoveGrantRequest) ProtoMessage()
func (*RemoveGrantRequest) ProtoReflect ¶
func (x *RemoveGrantRequest) ProtoReflect() protoreflect.Message
func (*RemoveGrantRequest) Reset ¶
func (x *RemoveGrantRequest) Reset()
func (*RemoveGrantRequest) String ¶
func (x *RemoveGrantRequest) String() string
type RemoveGrantResponse ¶
type RemoveGrantResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*RemoveGrantResponse) Descriptor
deprecated
func (*RemoveGrantResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGrantResponse.ProtoReflect.Descriptor instead.
func (*RemoveGrantResponse) GetOpaque ¶
func (x *RemoveGrantResponse) GetOpaque() *v1beta1.Opaque
func (*RemoveGrantResponse) GetStatus ¶
func (x *RemoveGrantResponse) GetStatus() *v1beta11.Status
func (*RemoveGrantResponse) ProtoMessage ¶
func (*RemoveGrantResponse) ProtoMessage()
func (*RemoveGrantResponse) ProtoReflect ¶
func (x *RemoveGrantResponse) ProtoReflect() protoreflect.Message
func (*RemoveGrantResponse) Reset ¶
func (x *RemoveGrantResponse) Reset()
func (*RemoveGrantResponse) String ¶
func (x *RemoveGrantResponse) String() string
type ResourceChecksum ¶
type ResourceChecksum struct { // REQUIRED. // The type of checksum to use. // If no checksum is provided, // type MUST be RESOURCE_CHECKSUM_TYPE_UNSET. Type ResourceChecksumType `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ResourceChecksumType" json:"type,omitempty"` // MUST be specified if type is not // RESOURCE_CHECKSUM_TYPE_UNSET or type is not // RESOURCE_CHECKSUM_TYPE_INVALID. // MUST be the hexadecimal representation of the cheksum. // The value is case-insensitive, so // "1E603A8", "1e603a8" or "1e603A8" are the same. Sum string `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"` // contains filtered or unexported fields }
The checksum to verify the integrity of a resource.
func (*ResourceChecksum) Descriptor
deprecated
func (*ResourceChecksum) Descriptor() ([]byte, []int)
Deprecated: Use ResourceChecksum.ProtoReflect.Descriptor instead.
func (*ResourceChecksum) GetSum ¶
func (x *ResourceChecksum) GetSum() string
func (*ResourceChecksum) GetType ¶
func (x *ResourceChecksum) GetType() ResourceChecksumType
func (*ResourceChecksum) ProtoMessage ¶
func (*ResourceChecksum) ProtoMessage()
func (*ResourceChecksum) ProtoReflect ¶
func (x *ResourceChecksum) ProtoReflect() protoreflect.Message
func (*ResourceChecksum) Reset ¶
func (x *ResourceChecksum) Reset()
func (*ResourceChecksum) String ¶
func (x *ResourceChecksum) String() string
type ResourceChecksumPriority ¶
type ResourceChecksumPriority struct { Type ResourceChecksumType `protobuf:"varint,1,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ResourceChecksumType" json:"type,omitempty"` Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
When negotiating the user of checksum types between client and server, this structure defines the priority of the checksum. Priority 0 means highest priority.
func (*ResourceChecksumPriority) Descriptor
deprecated
func (*ResourceChecksumPriority) Descriptor() ([]byte, []int)
Deprecated: Use ResourceChecksumPriority.ProtoReflect.Descriptor instead.
func (*ResourceChecksumPriority) GetPriority ¶
func (x *ResourceChecksumPriority) GetPriority() uint32
func (*ResourceChecksumPriority) GetType ¶
func (x *ResourceChecksumPriority) GetType() ResourceChecksumType
func (*ResourceChecksumPriority) ProtoMessage ¶
func (*ResourceChecksumPriority) ProtoMessage()
func (*ResourceChecksumPriority) ProtoReflect ¶
func (x *ResourceChecksumPriority) ProtoReflect() protoreflect.Message
func (*ResourceChecksumPriority) Reset ¶
func (x *ResourceChecksumPriority) Reset()
func (*ResourceChecksumPriority) String ¶
func (x *ResourceChecksumPriority) String() string
type ResourceChecksumType ¶
type ResourceChecksumType int32
The type of checksum to use.
const ( ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_INVALID ResourceChecksumType = 0 // unset means no checksum is set. ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_UNSET ResourceChecksumType = 1 // Use Adler32 checksum. ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_ADLER32 ResourceChecksumType = 2 // Use MD5 checksum. ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_MD5 ResourceChecksumType = 3 // Use SHA-1 checksum. ResourceChecksumType_RESOURCE_CHECKSUM_TYPE_SHA1 ResourceChecksumType = 4 )
func (ResourceChecksumType) Descriptor ¶
func (ResourceChecksumType) Descriptor() protoreflect.EnumDescriptor
func (ResourceChecksumType) Enum ¶
func (x ResourceChecksumType) Enum() *ResourceChecksumType
func (ResourceChecksumType) EnumDescriptor
deprecated
func (ResourceChecksumType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceChecksumType.Descriptor instead.
func (ResourceChecksumType) Number ¶
func (x ResourceChecksumType) Number() protoreflect.EnumNumber
func (ResourceChecksumType) String ¶
func (x ResourceChecksumType) String() string
func (ResourceChecksumType) Type ¶
func (ResourceChecksumType) Type() protoreflect.EnumType
type ResourceId ¶
type ResourceId struct { // REQUIRED. // The storage id of the storage provider. StorageId string `protobuf:"bytes,1,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"` // REQUIRED. // The internal id used by service implementor to // uniquely identity the resource in the internal // implementation of the service. OpaqueId string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` // contains filtered or unexported fields }
A resource id identifies uniquely a resource in the storage provider namespace. A ResourceId MUST be unique in the storage provider.
func (*ResourceId) Descriptor
deprecated
func (*ResourceId) Descriptor() ([]byte, []int)
Deprecated: Use ResourceId.ProtoReflect.Descriptor instead.
func (*ResourceId) GetOpaqueId ¶
func (x *ResourceId) GetOpaqueId() string
func (*ResourceId) GetStorageId ¶
func (x *ResourceId) GetStorageId() string
func (*ResourceId) ProtoMessage ¶
func (*ResourceId) ProtoMessage()
func (*ResourceId) ProtoReflect ¶
func (x *ResourceId) ProtoReflect() protoreflect.Message
func (*ResourceId) Reset ¶
func (x *ResourceId) Reset()
func (*ResourceId) String ¶
func (x *ResourceId) String() string
type ResourceInfo ¶
type ResourceInfo struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The type of the resource (container, file, ...) // See the enum ResourceType for all possible types. Type ResourceType `protobuf:"varint,2,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.ResourceType" json:"type,omitempty"` // REQUIRED. // Opaque unique identifier of the resource. Id *ResourceId `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // REQUIRED. // The data checksum for the file resource. // For all other resources, the checksum is unset. Checksum *ResourceChecksum `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"` // REQUIRED. // As decribed in https://tools.ietf.org/html/rfc7232#section-2.3 // For file resources, the etag must change if data or metadata changes. // For container types, the etag must change if etag of any of the (indirectly) contained resources change. // For reference types, the etag must change if etag of the target changes and the target is on the same storage provider. // In all other cases the etag does not change. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` // REQUIRED. // As described in [RFC 2015](https://tools.ietf.org/html/rfc2045#page-7) MimeType string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // REQUIRED. // Last modification time (mtime) of file or directory contents. // For reference types this is NOT the mtime of the target. Mtime *v1beta1.Timestamp `protobuf:"bytes,7,opt,name=mtime,proto3" json:"mtime,omitempty"` // REQUIRED. // The path for the resource. // It MUST start with the slash character (/). Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` // REQUIRED. // The set of permissions for the resource effective for the authenticated user. PermissionSet *ResourcePermissions `protobuf:"bytes,9,opt,name=permission_set,json=permissionSet,proto3" json:"permission_set,omitempty"` // REQUIRED. // The size of the resource in bytes (file size) // TODO(moscicki): This is undefined for container type. // Is the accounting recursive?, could it be set to 0 for directories if recursive not supported? use another field? // TODO(moscicki): This needs to be defined also for other types (such as a symlink to a directory or file) Size uint64 `protobuf:"varint,10,opt,name=size,proto3" json:"size,omitempty"` // REQUIRED: // Identifier of the owner of the resource. Owner *v1beta11.UserId `protobuf:"bytes,11,opt,name=owner,proto3" json:"owner,omitempty"` // REQUIRED if ResourceType is either RESOURCE_TYPE_SYMLINK or RESOURCE_TYPE_REFERENCE Target string `protobuf:"bytes,12,opt,name=target,proto3" json:"target,omitempty"` // OPTIONAL. // Additional metadata attached to the resource. // If resource type is RESOURCE_TYPE_REFERENCE it MUST // be specified. CanonicalMetadata *CanonicalMetadata `protobuf:"bytes,13,opt,name=canonical_metadata,json=canonicalMetadata,proto3" json:"canonical_metadata,omitempty"` // OPTIONAL. // Arbitrary metadata attached to a resource. ArbitraryMetadata *ArbitraryMetadata `protobuf:"bytes,14,opt,name=arbitrary_metadata,json=arbitraryMetadata,proto3" json:"arbitrary_metadata,omitempty"` // contains filtered or unexported fields }
Represents the information (metadata) about a storage resource organized in a hierarchical namespace (file, directory/container, reference, symlink, ...).
func (*ResourceInfo) Descriptor
deprecated
func (*ResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.
func (*ResourceInfo) GetArbitraryMetadata ¶
func (x *ResourceInfo) GetArbitraryMetadata() *ArbitraryMetadata
func (*ResourceInfo) GetCanonicalMetadata ¶
func (x *ResourceInfo) GetCanonicalMetadata() *CanonicalMetadata
func (*ResourceInfo) GetChecksum ¶
func (x *ResourceInfo) GetChecksum() *ResourceChecksum
func (*ResourceInfo) GetEtag ¶
func (x *ResourceInfo) GetEtag() string
func (*ResourceInfo) GetId ¶
func (x *ResourceInfo) GetId() *ResourceId
func (*ResourceInfo) GetMimeType ¶
func (x *ResourceInfo) GetMimeType() string
func (*ResourceInfo) GetMtime ¶
func (x *ResourceInfo) GetMtime() *v1beta1.Timestamp
func (*ResourceInfo) GetOpaque ¶
func (x *ResourceInfo) GetOpaque() *v1beta1.Opaque
func (*ResourceInfo) GetOwner ¶
func (x *ResourceInfo) GetOwner() *v1beta11.UserId
func (*ResourceInfo) GetPath ¶
func (x *ResourceInfo) GetPath() string
func (*ResourceInfo) GetPermissionSet ¶
func (x *ResourceInfo) GetPermissionSet() *ResourcePermissions
func (*ResourceInfo) GetSize ¶
func (x *ResourceInfo) GetSize() uint64
func (*ResourceInfo) GetTarget ¶
func (x *ResourceInfo) GetTarget() string
func (*ResourceInfo) GetType ¶
func (x *ResourceInfo) GetType() ResourceType
func (*ResourceInfo) ProtoMessage ¶
func (*ResourceInfo) ProtoMessage()
func (*ResourceInfo) ProtoReflect ¶
func (x *ResourceInfo) ProtoReflect() protoreflect.Message
func (*ResourceInfo) Reset ¶
func (x *ResourceInfo) Reset()
func (*ResourceInfo) String ¶
func (x *ResourceInfo) String() string
type ResourcePermissions ¶
type ResourcePermissions struct { AddGrant bool `protobuf:"varint,1,opt,name=add_grant,json=addGrant,proto3" json:"add_grant,omitempty"` CreateContainer bool `protobuf:"varint,2,opt,name=create_container,json=createContainer,proto3" json:"create_container,omitempty"` Delete bool `protobuf:"varint,3,opt,name=delete,proto3" json:"delete,omitempty"` GetPath bool `protobuf:"varint,5,opt,name=get_path,json=getPath,proto3" json:"get_path,omitempty"` GetQuota bool `protobuf:"varint,6,opt,name=get_quota,json=getQuota,proto3" json:"get_quota,omitempty"` InitiateFileDownload bool `protobuf:"varint,7,opt,name=initiate_file_download,json=initiateFileDownload,proto3" json:"initiate_file_download,omitempty"` InitiateFileUpload bool `protobuf:"varint,8,opt,name=initiate_file_upload,json=initiateFileUpload,proto3" json:"initiate_file_upload,omitempty"` ListGrants bool `protobuf:"varint,9,opt,name=list_grants,json=listGrants,proto3" json:"list_grants,omitempty"` ListContainer bool `protobuf:"varint,10,opt,name=list_container,json=listContainer,proto3" json:"list_container,omitempty"` ListFileVersions bool `protobuf:"varint,11,opt,name=list_file_versions,json=listFileVersions,proto3" json:"list_file_versions,omitempty"` ListRecycle bool `protobuf:"varint,12,opt,name=list_recycle,json=listRecycle,proto3" json:"list_recycle,omitempty"` Move bool `protobuf:"varint,13,opt,name=move,proto3" json:"move,omitempty"` RemoveGrant bool `protobuf:"varint,14,opt,name=remove_grant,json=removeGrant,proto3" json:"remove_grant,omitempty"` PurgeRecycle bool `protobuf:"varint,15,opt,name=purge_recycle,json=purgeRecycle,proto3" json:"purge_recycle,omitempty"` RestoreFileVersion bool `protobuf:"varint,16,opt,name=restore_file_version,json=restoreFileVersion,proto3" json:"restore_file_version,omitempty"` RestoreRecycleItem bool `protobuf:"varint,17,opt,name=restore_recycle_item,json=restoreRecycleItem,proto3" json:"restore_recycle_item,omitempty"` Stat bool `protobuf:"varint,18,opt,name=stat,proto3" json:"stat,omitempty"` UpdateGrant bool `protobuf:"varint,19,opt,name=update_grant,json=updateGrant,proto3" json:"update_grant,omitempty"` // contains filtered or unexported fields }
The representation of permissions attached to a resource.
func (*ResourcePermissions) Descriptor
deprecated
func (*ResourcePermissions) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePermissions.ProtoReflect.Descriptor instead.
func (*ResourcePermissions) GetAddGrant ¶
func (x *ResourcePermissions) GetAddGrant() bool
func (*ResourcePermissions) GetCreateContainer ¶
func (x *ResourcePermissions) GetCreateContainer() bool
func (*ResourcePermissions) GetDelete ¶
func (x *ResourcePermissions) GetDelete() bool
func (*ResourcePermissions) GetGetPath ¶
func (x *ResourcePermissions) GetGetPath() bool
func (*ResourcePermissions) GetGetQuota ¶
func (x *ResourcePermissions) GetGetQuota() bool
func (*ResourcePermissions) GetInitiateFileDownload ¶
func (x *ResourcePermissions) GetInitiateFileDownload() bool
func (*ResourcePermissions) GetInitiateFileUpload ¶
func (x *ResourcePermissions) GetInitiateFileUpload() bool
func (*ResourcePermissions) GetListContainer ¶
func (x *ResourcePermissions) GetListContainer() bool
func (*ResourcePermissions) GetListFileVersions ¶
func (x *ResourcePermissions) GetListFileVersions() bool
func (*ResourcePermissions) GetListGrants ¶
func (x *ResourcePermissions) GetListGrants() bool
func (*ResourcePermissions) GetListRecycle ¶
func (x *ResourcePermissions) GetListRecycle() bool
func (*ResourcePermissions) GetMove ¶
func (x *ResourcePermissions) GetMove() bool
func (*ResourcePermissions) GetPurgeRecycle ¶
func (x *ResourcePermissions) GetPurgeRecycle() bool
func (*ResourcePermissions) GetRemoveGrant ¶
func (x *ResourcePermissions) GetRemoveGrant() bool
func (*ResourcePermissions) GetRestoreFileVersion ¶
func (x *ResourcePermissions) GetRestoreFileVersion() bool
func (*ResourcePermissions) GetRestoreRecycleItem ¶
func (x *ResourcePermissions) GetRestoreRecycleItem() bool
func (*ResourcePermissions) GetStat ¶
func (x *ResourcePermissions) GetStat() bool
func (*ResourcePermissions) GetUpdateGrant ¶
func (x *ResourcePermissions) GetUpdateGrant() bool
func (*ResourcePermissions) ProtoMessage ¶
func (*ResourcePermissions) ProtoMessage()
func (*ResourcePermissions) ProtoReflect ¶
func (x *ResourcePermissions) ProtoReflect() protoreflect.Message
func (*ResourcePermissions) Reset ¶
func (x *ResourcePermissions) Reset()
func (*ResourcePermissions) String ¶
func (x *ResourcePermissions) String() string
type ResourceType ¶
type ResourceType int32
The available types of resources.
const ( ResourceType_RESOURCE_TYPE_INVALID ResourceType = 0 // The file type represents a type // that holds arbitrary data. // Service implementors usually map this type // to files (local filesystem) or objects // (Amazon S3). ResourceType_RESOURCE_TYPE_FILE ResourceType = 1 // The container type represents a type // that can contain another types. // Service implementors usually map this type // to folders (local filesystem) or buckets // (Amazon S3). ResourceType_RESOURCE_TYPE_CONTAINER ResourceType = 2 // This represents a reference type which points // to another resource where client MAY be redirected. // Client SHOULD use the ResourceInfo.target // reference for a subsequent call. ResourceType_RESOURCE_TYPE_REFERENCE ResourceType = 3 // This represents a symbolic link type if the underlying // storage system supports it. // Symlink target SHOULD NOT be interpreted by the clients. ResourceType_RESOURCE_TYPE_SYMLINK ResourceType = 4 // Internal resource type for some specific resources inside // a storage implementation. // For example, this type could be used to represent // a device file on a Linux filesystem. // Another example could be to represent an ongoing upload, // where an hypothetically user interface could show a loading icon // on this type of resources until the upload operation is completed. // Internal resources SHOULD NOT be moved to a different storage // provider. ResourceType_RESOURCE_TYPE_INTERNAL ResourceType = 5 )
func (ResourceType) Descriptor ¶
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶
func (x ResourceType) String() string
func (ResourceType) Type ¶
func (ResourceType) Type() protoreflect.EnumType
type RestoreFileVersionRequest ¶
type RestoreFileVersionRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The key to restore a specific file version. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RestoreFileVersionRequest) Descriptor
deprecated
func (*RestoreFileVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreFileVersionRequest.ProtoReflect.Descriptor instead.
func (*RestoreFileVersionRequest) GetKey ¶
func (x *RestoreFileVersionRequest) GetKey() string
func (*RestoreFileVersionRequest) GetOpaque ¶
func (x *RestoreFileVersionRequest) GetOpaque() *v1beta1.Opaque
func (*RestoreFileVersionRequest) GetRef ¶
func (x *RestoreFileVersionRequest) GetRef() *Reference
func (*RestoreFileVersionRequest) ProtoMessage ¶
func (*RestoreFileVersionRequest) ProtoMessage()
func (*RestoreFileVersionRequest) ProtoReflect ¶
func (x *RestoreFileVersionRequest) ProtoReflect() protoreflect.Message
func (*RestoreFileVersionRequest) Reset ¶
func (x *RestoreFileVersionRequest) Reset()
func (*RestoreFileVersionRequest) String ¶
func (x *RestoreFileVersionRequest) String() string
type RestoreFileVersionResponse ¶
type RestoreFileVersionResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*RestoreFileVersionResponse) Descriptor
deprecated
func (*RestoreFileVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreFileVersionResponse.ProtoReflect.Descriptor instead.
func (*RestoreFileVersionResponse) GetOpaque ¶
func (x *RestoreFileVersionResponse) GetOpaque() *v1beta1.Opaque
func (*RestoreFileVersionResponse) GetStatus ¶
func (x *RestoreFileVersionResponse) GetStatus() *v1beta11.Status
func (*RestoreFileVersionResponse) ProtoMessage ¶
func (*RestoreFileVersionResponse) ProtoMessage()
func (*RestoreFileVersionResponse) ProtoReflect ¶
func (x *RestoreFileVersionResponse) ProtoReflect() protoreflect.Message
func (*RestoreFileVersionResponse) Reset ¶
func (x *RestoreFileVersionResponse) Reset()
func (*RestoreFileVersionResponse) String ¶
func (x *RestoreFileVersionResponse) String() string
type RestoreRecycleItemRequest ¶
type RestoreRecycleItemRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The key for the recycle item to be restored. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // OPTIONAL. // An optional restore path for the deleted resource. // It can be useful to restore to another location rather than // the original. // If empty, service implementors MUST restore // to original location if possible. RestorePath string `protobuf:"bytes,4,opt,name=restore_path,json=restorePath,proto3" json:"restore_path,omitempty"` // contains filtered or unexported fields }
TODO: restore to original location if not specified as OPTIONAL?
func (*RestoreRecycleItemRequest) Descriptor
deprecated
func (*RestoreRecycleItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreRecycleItemRequest.ProtoReflect.Descriptor instead.
func (*RestoreRecycleItemRequest) GetKey ¶
func (x *RestoreRecycleItemRequest) GetKey() string
func (*RestoreRecycleItemRequest) GetOpaque ¶
func (x *RestoreRecycleItemRequest) GetOpaque() *v1beta1.Opaque
func (*RestoreRecycleItemRequest) GetRef ¶
func (x *RestoreRecycleItemRequest) GetRef() *Reference
func (*RestoreRecycleItemRequest) GetRestorePath ¶
func (x *RestoreRecycleItemRequest) GetRestorePath() string
func (*RestoreRecycleItemRequest) ProtoMessage ¶
func (*RestoreRecycleItemRequest) ProtoMessage()
func (*RestoreRecycleItemRequest) ProtoReflect ¶
func (x *RestoreRecycleItemRequest) ProtoReflect() protoreflect.Message
func (*RestoreRecycleItemRequest) Reset ¶
func (x *RestoreRecycleItemRequest) Reset()
func (*RestoreRecycleItemRequest) String ¶
func (x *RestoreRecycleItemRequest) String() string
type RestoreRecycleItemResponse ¶
type RestoreRecycleItemResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*RestoreRecycleItemResponse) Descriptor
deprecated
func (*RestoreRecycleItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreRecycleItemResponse.ProtoReflect.Descriptor instead.
func (*RestoreRecycleItemResponse) GetOpaque ¶
func (x *RestoreRecycleItemResponse) GetOpaque() *v1beta1.Opaque
func (*RestoreRecycleItemResponse) GetStatus ¶
func (x *RestoreRecycleItemResponse) GetStatus() *v1beta11.Status
func (*RestoreRecycleItemResponse) ProtoMessage ¶
func (*RestoreRecycleItemResponse) ProtoMessage()
func (*RestoreRecycleItemResponse) ProtoReflect ¶
func (x *RestoreRecycleItemResponse) ProtoReflect() protoreflect.Message
func (*RestoreRecycleItemResponse) Reset ¶
func (x *RestoreRecycleItemResponse) Reset()
func (*RestoreRecycleItemResponse) String ¶
func (x *RestoreRecycleItemResponse) String() string
type SetArbitraryMetadataRequest ¶
type SetArbitraryMetadataRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The arbitrary metadata to add to the resource. ArbitraryMetadata *ArbitraryMetadata `protobuf:"bytes,3,opt,name=arbitrary_metadata,json=arbitraryMetadata,proto3" json:"arbitrary_metadata,omitempty"` // contains filtered or unexported fields }
func (*SetArbitraryMetadataRequest) Descriptor
deprecated
func (*SetArbitraryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetArbitraryMetadataRequest.ProtoReflect.Descriptor instead.
func (*SetArbitraryMetadataRequest) GetArbitraryMetadata ¶
func (x *SetArbitraryMetadataRequest) GetArbitraryMetadata() *ArbitraryMetadata
func (*SetArbitraryMetadataRequest) GetOpaque ¶
func (x *SetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque
func (*SetArbitraryMetadataRequest) GetRef ¶
func (x *SetArbitraryMetadataRequest) GetRef() *Reference
func (*SetArbitraryMetadataRequest) ProtoMessage ¶
func (*SetArbitraryMetadataRequest) ProtoMessage()
func (*SetArbitraryMetadataRequest) ProtoReflect ¶
func (x *SetArbitraryMetadataRequest) ProtoReflect() protoreflect.Message
func (*SetArbitraryMetadataRequest) Reset ¶
func (x *SetArbitraryMetadataRequest) Reset()
func (*SetArbitraryMetadataRequest) String ¶
func (x *SetArbitraryMetadataRequest) String() string
type SetArbitraryMetadataResponse ¶
type SetArbitraryMetadataResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*SetArbitraryMetadataResponse) Descriptor
deprecated
func (*SetArbitraryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetArbitraryMetadataResponse.ProtoReflect.Descriptor instead.
func (*SetArbitraryMetadataResponse) GetOpaque ¶
func (x *SetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque
func (*SetArbitraryMetadataResponse) GetStatus ¶
func (x *SetArbitraryMetadataResponse) GetStatus() *v1beta11.Status
func (*SetArbitraryMetadataResponse) ProtoMessage ¶
func (*SetArbitraryMetadataResponse) ProtoMessage()
func (*SetArbitraryMetadataResponse) ProtoReflect ¶
func (x *SetArbitraryMetadataResponse) ProtoReflect() protoreflect.Message
func (*SetArbitraryMetadataResponse) Reset ¶
func (x *SetArbitraryMetadataResponse) Reset()
func (*SetArbitraryMetadataResponse) String ¶
func (x *SetArbitraryMetadataResponse) String() string
type StatRequest ¶
type StatRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // OPTIONAL. // Arbitrary metadata be included with the resource. // A key with the name '*' means to return all available arbitrary metadata. ArbitraryMetadataKeys []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StatRequest) Descriptor
deprecated
func (*StatRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.
func (*StatRequest) GetArbitraryMetadataKeys ¶
func (x *StatRequest) GetArbitraryMetadataKeys() []string
func (*StatRequest) GetOpaque ¶
func (x *StatRequest) GetOpaque() *v1beta1.Opaque
func (*StatRequest) GetRef ¶
func (x *StatRequest) GetRef() *Reference
func (*StatRequest) ProtoMessage ¶
func (*StatRequest) ProtoMessage()
func (*StatRequest) ProtoReflect ¶
func (x *StatRequest) ProtoReflect() protoreflect.Message
func (*StatRequest) Reset ¶
func (x *StatRequest) Reset()
func (*StatRequest) String ¶
func (x *StatRequest) String() string
type StatResponse ¶
type StatResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The resource information. Info *ResourceInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*StatResponse) Descriptor
deprecated
func (*StatResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.
func (*StatResponse) GetInfo ¶
func (x *StatResponse) GetInfo() *ResourceInfo
func (*StatResponse) GetOpaque ¶
func (x *StatResponse) GetOpaque() *v1beta1.Opaque
func (*StatResponse) GetStatus ¶
func (x *StatResponse) GetStatus() *v1beta11.Status
func (*StatResponse) ProtoMessage ¶
func (*StatResponse) ProtoMessage()
func (*StatResponse) ProtoReflect ¶
func (x *StatResponse) ProtoReflect() protoreflect.Message
func (*StatResponse) Reset ¶
func (x *StatResponse) Reset()
func (*StatResponse) String ¶
func (x *StatResponse) String() string
type UnimplementedProviderAPIServer ¶
type UnimplementedProviderAPIServer struct { }
UnimplementedProviderAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedProviderAPIServer) AddGrant ¶
func (*UnimplementedProviderAPIServer) AddGrant(context.Context, *AddGrantRequest) (*AddGrantResponse, error)
func (*UnimplementedProviderAPIServer) CreateContainer ¶
func (*UnimplementedProviderAPIServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
func (*UnimplementedProviderAPIServer) CreateHome ¶
func (*UnimplementedProviderAPIServer) CreateHome(context.Context, *CreateHomeRequest) (*CreateHomeResponse, error)
func (*UnimplementedProviderAPIServer) CreateReference ¶
func (*UnimplementedProviderAPIServer) CreateReference(context.Context, *CreateReferenceRequest) (*CreateReferenceResponse, error)
func (*UnimplementedProviderAPIServer) Delete ¶
func (*UnimplementedProviderAPIServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedProviderAPIServer) GetHome ¶
func (*UnimplementedProviderAPIServer) GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error)
func (*UnimplementedProviderAPIServer) GetPath ¶
func (*UnimplementedProviderAPIServer) GetPath(context.Context, *GetPathRequest) (*GetPathResponse, error)
func (*UnimplementedProviderAPIServer) GetQuota ¶
func (*UnimplementedProviderAPIServer) GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error)
func (*UnimplementedProviderAPIServer) InitiateFileDownload ¶
func (*UnimplementedProviderAPIServer) InitiateFileDownload(context.Context, *InitiateFileDownloadRequest) (*InitiateFileDownloadResponse, error)
func (*UnimplementedProviderAPIServer) InitiateFileUpload ¶
func (*UnimplementedProviderAPIServer) InitiateFileUpload(context.Context, *InitiateFileUploadRequest) (*InitiateFileUploadResponse, error)
func (*UnimplementedProviderAPIServer) ListContainer ¶
func (*UnimplementedProviderAPIServer) ListContainer(context.Context, *ListContainerRequest) (*ListContainerResponse, error)
func (*UnimplementedProviderAPIServer) ListContainerStream ¶
func (*UnimplementedProviderAPIServer) ListContainerStream(*ListContainerStreamRequest, ProviderAPI_ListContainerStreamServer) error
func (*UnimplementedProviderAPIServer) ListFileVersions ¶
func (*UnimplementedProviderAPIServer) ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error)
func (*UnimplementedProviderAPIServer) ListGrants ¶
func (*UnimplementedProviderAPIServer) ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error)
func (*UnimplementedProviderAPIServer) ListRecycle ¶
func (*UnimplementedProviderAPIServer) ListRecycle(context.Context, *ListRecycleRequest) (*ListRecycleResponse, error)
func (*UnimplementedProviderAPIServer) ListRecycleStream ¶
func (*UnimplementedProviderAPIServer) ListRecycleStream(*ListRecycleStreamRequest, ProviderAPI_ListRecycleStreamServer) error
func (*UnimplementedProviderAPIServer) Move ¶
func (*UnimplementedProviderAPIServer) Move(context.Context, *MoveRequest) (*MoveResponse, error)
func (*UnimplementedProviderAPIServer) PurgeRecycle ¶
func (*UnimplementedProviderAPIServer) PurgeRecycle(context.Context, *PurgeRecycleRequest) (*PurgeRecycleResponse, error)
func (*UnimplementedProviderAPIServer) RemoveGrant ¶
func (*UnimplementedProviderAPIServer) RemoveGrant(context.Context, *RemoveGrantRequest) (*RemoveGrantResponse, error)
func (*UnimplementedProviderAPIServer) RestoreFileVersion ¶
func (*UnimplementedProviderAPIServer) RestoreFileVersion(context.Context, *RestoreFileVersionRequest) (*RestoreFileVersionResponse, error)
func (*UnimplementedProviderAPIServer) RestoreRecycleItem ¶
func (*UnimplementedProviderAPIServer) RestoreRecycleItem(context.Context, *RestoreRecycleItemRequest) (*RestoreRecycleItemResponse, error)
func (*UnimplementedProviderAPIServer) SetArbitraryMetadata ¶
func (*UnimplementedProviderAPIServer) SetArbitraryMetadata(context.Context, *SetArbitraryMetadataRequest) (*SetArbitraryMetadataResponse, error)
func (*UnimplementedProviderAPIServer) Stat ¶
func (*UnimplementedProviderAPIServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
func (*UnimplementedProviderAPIServer) UnsetArbitraryMetadata ¶
func (*UnimplementedProviderAPIServer) UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error)
func (*UnimplementedProviderAPIServer) UpdateGrant ¶
func (*UnimplementedProviderAPIServer) UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error)
type UnsetArbitraryMetadataRequest ¶
type UnsetArbitraryMetadataRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The arbitrary metadata to delete. ArbitraryMetadataKeys []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UnsetArbitraryMetadataRequest) Descriptor
deprecated
func (*UnsetArbitraryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsetArbitraryMetadataRequest.ProtoReflect.Descriptor instead.
func (*UnsetArbitraryMetadataRequest) GetArbitraryMetadataKeys ¶
func (x *UnsetArbitraryMetadataRequest) GetArbitraryMetadataKeys() []string
func (*UnsetArbitraryMetadataRequest) GetOpaque ¶
func (x *UnsetArbitraryMetadataRequest) GetOpaque() *v1beta1.Opaque
func (*UnsetArbitraryMetadataRequest) GetRef ¶
func (x *UnsetArbitraryMetadataRequest) GetRef() *Reference
func (*UnsetArbitraryMetadataRequest) ProtoMessage ¶
func (*UnsetArbitraryMetadataRequest) ProtoMessage()
func (*UnsetArbitraryMetadataRequest) ProtoReflect ¶
func (x *UnsetArbitraryMetadataRequest) ProtoReflect() protoreflect.Message
func (*UnsetArbitraryMetadataRequest) Reset ¶
func (x *UnsetArbitraryMetadataRequest) Reset()
func (*UnsetArbitraryMetadataRequest) String ¶
func (x *UnsetArbitraryMetadataRequest) String() string
type UnsetArbitraryMetadataResponse ¶
type UnsetArbitraryMetadataResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*UnsetArbitraryMetadataResponse) Descriptor
deprecated
func (*UnsetArbitraryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnsetArbitraryMetadataResponse.ProtoReflect.Descriptor instead.
func (*UnsetArbitraryMetadataResponse) GetOpaque ¶
func (x *UnsetArbitraryMetadataResponse) GetOpaque() *v1beta1.Opaque
func (*UnsetArbitraryMetadataResponse) GetStatus ¶
func (x *UnsetArbitraryMetadataResponse) GetStatus() *v1beta11.Status
func (*UnsetArbitraryMetadataResponse) ProtoMessage ¶
func (*UnsetArbitraryMetadataResponse) ProtoMessage()
func (*UnsetArbitraryMetadataResponse) ProtoReflect ¶
func (x *UnsetArbitraryMetadataResponse) ProtoReflect() protoreflect.Message
func (*UnsetArbitraryMetadataResponse) Reset ¶
func (x *UnsetArbitraryMetadataResponse) Reset()
func (*UnsetArbitraryMetadataResponse) String ¶
func (x *UnsetArbitraryMetadataResponse) String() string
type UpdateGrantRequest ¶
type UpdateGrantRequest 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 *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The grant to be updated. Grant *Grant `protobuf:"bytes,3,opt,name=grant,proto3" json:"grant,omitempty"` // contains filtered or unexported fields }
func (*UpdateGrantRequest) Descriptor
deprecated
func (*UpdateGrantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGrantRequest.ProtoReflect.Descriptor instead.
func (*UpdateGrantRequest) GetGrant ¶
func (x *UpdateGrantRequest) GetGrant() *Grant
func (*UpdateGrantRequest) GetOpaque ¶
func (x *UpdateGrantRequest) GetOpaque() *v1beta1.Opaque
func (*UpdateGrantRequest) GetRef ¶
func (x *UpdateGrantRequest) GetRef() *Reference
func (*UpdateGrantRequest) ProtoMessage ¶
func (*UpdateGrantRequest) ProtoMessage()
func (*UpdateGrantRequest) ProtoReflect ¶
func (x *UpdateGrantRequest) ProtoReflect() protoreflect.Message
func (*UpdateGrantRequest) Reset ¶
func (x *UpdateGrantRequest) Reset()
func (*UpdateGrantRequest) String ¶
func (x *UpdateGrantRequest) String() string
type UpdateGrantResponse ¶
type UpdateGrantResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*UpdateGrantResponse) Descriptor
deprecated
func (*UpdateGrantResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGrantResponse.ProtoReflect.Descriptor instead.
func (*UpdateGrantResponse) GetOpaque ¶
func (x *UpdateGrantResponse) GetOpaque() *v1beta1.Opaque
func (*UpdateGrantResponse) GetStatus ¶
func (x *UpdateGrantResponse) GetStatus() *v1beta11.Status
func (*UpdateGrantResponse) ProtoMessage ¶
func (*UpdateGrantResponse) ProtoMessage()
func (*UpdateGrantResponse) ProtoReflect ¶
func (x *UpdateGrantResponse) ProtoReflect() protoreflect.Message
func (*UpdateGrantResponse) Reset ¶
func (x *UpdateGrantResponse) Reset()
func (*UpdateGrantResponse) String ¶
func (x *UpdateGrantResponse) String() string