Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProviderAPIServer(s grpc.ServiceRegistrar, srv ProviderAPIServer)
- func RegisterSpacesAPIServer(s grpc.ServiceRegistrar, srv SpacesAPIServer)
- type AddGrantRequest
- func (*AddGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGrantRequest) GetGrant() *Grant
- func (x *AddGrantRequest) GetLockId() string
- 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 (x *CreateHomeRequest) GetQuota() *Quota
- 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) GetRef() *Reference
- 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 CreateStorageSpaceRequest
- func (*CreateStorageSpaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStorageSpaceRequest) GetName() string
- func (x *CreateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque
- func (x *CreateStorageSpaceRequest) GetOwner() *v1beta11.User
- func (x *CreateStorageSpaceRequest) GetQuota() *Quota
- func (x *CreateStorageSpaceRequest) GetType() string
- func (*CreateStorageSpaceRequest) ProtoMessage()
- func (x *CreateStorageSpaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStorageSpaceRequest) Reset()
- func (x *CreateStorageSpaceRequest) String() string
- type CreateStorageSpaceResponse
- func (*CreateStorageSpaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque
- func (x *CreateStorageSpaceResponse) GetStatus() *v1beta12.Status
- func (x *CreateStorageSpaceResponse) GetStorageSpace() *StorageSpace
- func (*CreateStorageSpaceResponse) ProtoMessage()
- func (x *CreateStorageSpaceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStorageSpaceResponse) Reset()
- func (x *CreateStorageSpaceResponse) String() string
- type CreateSymlinkRequest
- func (*CreateSymlinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSymlinkRequest) GetOpaque() *v1beta1.Opaque
- func (x *CreateSymlinkRequest) GetRef() *Reference
- func (x *CreateSymlinkRequest) GetTarget() string
- func (*CreateSymlinkRequest) ProtoMessage()
- func (x *CreateSymlinkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSymlinkRequest) Reset()
- func (x *CreateSymlinkRequest) String() string
- type CreateSymlinkResponse
- func (*CreateSymlinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSymlinkResponse) GetOpaque() *v1beta1.Opaque
- func (x *CreateSymlinkResponse) GetStatus() *v1beta11.Status
- func (*CreateSymlinkResponse) ProtoMessage()
- func (x *CreateSymlinkResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSymlinkResponse) Reset()
- func (x *CreateSymlinkResponse) String() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetLockId() string
- 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 DeleteStorageSpaceRequest
- func (*DeleteStorageSpaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStorageSpaceRequest) GetId() *StorageSpaceId
- func (x *DeleteStorageSpaceRequest) GetOpaque() *v1beta1.Opaque
- func (*DeleteStorageSpaceRequest) ProtoMessage()
- func (x *DeleteStorageSpaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStorageSpaceRequest) Reset()
- func (x *DeleteStorageSpaceRequest) String() string
- type DeleteStorageSpaceResponse
- func (*DeleteStorageSpaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStorageSpaceResponse) GetOpaque() *v1beta1.Opaque
- func (x *DeleteStorageSpaceResponse) GetStatus() *v1beta12.Status
- func (*DeleteStorageSpaceResponse) ProtoMessage()
- func (x *DeleteStorageSpaceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteStorageSpaceResponse) Reset()
- func (x *DeleteStorageSpaceResponse) String() string
- type DenyGrantRequest
- func (*DenyGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DenyGrantRequest) GetGrantee() *Grantee
- func (x *DenyGrantRequest) GetLockId() string
- func (x *DenyGrantRequest) GetOpaque() *v1beta1.Opaque
- func (x *DenyGrantRequest) GetRef() *Reference
- func (*DenyGrantRequest) ProtoMessage()
- func (x *DenyGrantRequest) ProtoReflect() protoreflect.Message
- func (x *DenyGrantRequest) Reset()
- func (x *DenyGrantRequest) String() string
- type DenyGrantResponse
- func (*DenyGrantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DenyGrantResponse) GetOpaque() *v1beta1.Opaque
- func (x *DenyGrantResponse) GetStatus() *v1beta11.Status
- func (*DenyGrantResponse) ProtoMessage()
- func (x *DenyGrantResponse) ProtoReflect() protoreflect.Message
- func (x *DenyGrantResponse) Reset()
- func (x *DenyGrantResponse) String() string
- type FileDownloadProtocol
- func (*FileDownloadProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *FileDownloadProtocol) GetDownloadEndpoint() string
- func (x *FileDownloadProtocol) GetExpose() bool
- func (x *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque
- func (x *FileDownloadProtocol) GetProtocol() string
- func (*FileDownloadProtocol) ProtoMessage()
- func (x *FileDownloadProtocol) ProtoReflect() protoreflect.Message
- func (x *FileDownloadProtocol) Reset()
- func (x *FileDownloadProtocol) String() string
- type FileUploadProtocol
- func (*FileUploadProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *FileUploadProtocol) GetAvailableChecksums() []*ResourceChecksumPriority
- func (x *FileUploadProtocol) GetExpiration() *v1beta1.Timestamp
- func (x *FileUploadProtocol) GetExpose() bool
- func (x *FileUploadProtocol) GetOpaque() *v1beta1.Opaque
- func (x *FileUploadProtocol) GetProtocol() string
- func (x *FileUploadProtocol) GetUploadEndpoint() string
- func (*FileUploadProtocol) ProtoMessage()
- func (x *FileUploadProtocol) ProtoReflect() protoreflect.Message
- func (x *FileUploadProtocol) Reset()
- func (x *FileUploadProtocol) String() string
- type FileVersion
- func (*FileVersion) Descriptor() ([]byte, []int)deprecated
- func (x *FileVersion) GetEtag() string
- 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 GetLockRequest
- func (*GetLockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLockRequest) GetOpaque() *v1beta1.Opaque
- func (x *GetLockRequest) GetRef() *Reference
- func (*GetLockRequest) ProtoMessage()
- func (x *GetLockRequest) ProtoReflect() protoreflect.Message
- func (x *GetLockRequest) Reset()
- func (x *GetLockRequest) String() string
- type GetLockResponse
- func (*GetLockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLockResponse) GetLock() *Lock
- func (x *GetLockResponse) GetOpaque() *v1beta1.Opaque
- func (x *GetLockResponse) GetStatus() *v1beta11.Status
- func (*GetLockResponse) ProtoMessage()
- func (x *GetLockResponse) ProtoReflect() protoreflect.Message
- func (x *GetLockResponse) Reset()
- func (x *GetLockResponse) 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
- func (*GetQuotaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuotaRequest) GetOpaque() *v1beta1.Opaque
- func (x *GetQuotaRequest) GetRef() *Reference
- func (*GetQuotaRequest) ProtoMessage()
- func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message
- func (x *GetQuotaRequest) Reset()
- func (x *GetQuotaRequest) String() string
- 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
- func (*Grant) Descriptor() ([]byte, []int)deprecated
- func (x *Grant) GetCreator() *v1beta11.UserId
- func (x *Grant) GetExpiration() *v1beta1.Timestamp
- func (x *Grant) GetGrantee() *Grantee
- func (x *Grant) GetPermissions() *ResourcePermissions
- func (*Grant) ProtoMessage()
- func (x *Grant) ProtoReflect() protoreflect.Message
- func (x *Grant) Reset()
- func (x *Grant) String() string
- type Grantee
- func (*Grantee) Descriptor() ([]byte, []int)deprecated
- func (x *Grantee) GetGroupId() *v1beta12.GroupId
- func (m *Grantee) GetId() isGrantee_Id
- func (x *Grantee) GetOpaque() *v1beta1.Opaque
- func (x *Grantee) GetType() GranteeType
- func (x *Grantee) GetUserId() *v1beta11.UserId
- func (*Grantee) ProtoMessage()
- func (x *Grantee) ProtoReflect() protoreflect.Message
- func (x *Grantee) Reset()
- func (x *Grantee) String() string
- 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 Grantee_GroupId
- type Grantee_UserId
- type InitiateFileDownloadRequest
- func (*InitiateFileDownloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateFileDownloadRequest) GetLockId() string
- 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) GetOpaque() *v1beta1.Opaque
- func (x *InitiateFileDownloadResponse) GetProtocols() []*FileDownloadProtocol
- 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) GetIfMatch() string
- func (x *InitiateFileUploadRequest) GetIfNotExist() bool
- func (x *InitiateFileUploadRequest) GetIfUnmodifiedSince() *v1beta1.Timestamp
- func (x *InitiateFileUploadRequest) GetLockId() string
- func (x *InitiateFileUploadRequest) GetOpaque() *v1beta1.Opaque
- func (m *InitiateFileUploadRequest) GetOptions() isInitiateFileUploadRequest_Options
- func (x *InitiateFileUploadRequest) GetRef() *Reference
- func (*InitiateFileUploadRequest) ProtoMessage()
- func (x *InitiateFileUploadRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateFileUploadRequest) Reset()
- func (x *InitiateFileUploadRequest) String() string
- type InitiateFileUploadRequest_IfMatch
- type InitiateFileUploadRequest_IfNotExist
- type InitiateFileUploadRequest_IfUnmodifiedSince
- type InitiateFileUploadResponse
- func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque
- func (x *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol
- func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status
- 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) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListContainerRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListContainerRequest) GetPageSize() int32
- func (x *ListContainerRequest) GetPageToken() string
- 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) GetNextPageToken() string
- 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) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListContainerStreamRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListContainerStreamRequest) GetPageSize() int32
- func (x *ListContainerStreamRequest) GetPageToken() string
- 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) GetNextPageToken() string
- 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) GetPageSize() int32
- func (x *ListFileVersionsRequest) GetPageToken() string
- 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) GetNextPageToken() string
- 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) GetPageSize() int32
- func (x *ListGrantsRequest) GetPageToken() string
- 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) GetNextPageToken() string
- 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) GetKey() string
- func (x *ListRecycleRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListRecycleRequest) GetPageSize() int32
- func (x *ListRecycleRequest) GetPageToken() string
- func (x *ListRecycleRequest) GetRef() *Reference
- 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) GetNextPageToken() string
- 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) GetKey() string
- func (x *ListRecycleStreamRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListRecycleStreamRequest) GetPageSize() int32
- func (x *ListRecycleStreamRequest) GetPageToken() string
- func (x *ListRecycleStreamRequest) GetRef() *Reference
- 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) GetNextPageToken() string
- 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 ListStorageSpacesRequest
- func (*ListStorageSpacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageSpacesRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListStorageSpacesRequest) GetFilters() []*ListStorageSpacesRequest_Filter
- func (x *ListStorageSpacesRequest) GetOpaque() *v1beta1.Opaque
- func (x *ListStorageSpacesRequest) GetPageSize() int32
- func (x *ListStorageSpacesRequest) GetPageToken() string
- func (*ListStorageSpacesRequest) ProtoMessage()
- func (x *ListStorageSpacesRequest) ProtoReflect() protoreflect.Message
- func (x *ListStorageSpacesRequest) Reset()
- func (x *ListStorageSpacesRequest) String() string
- type ListStorageSpacesRequest_Filter
- func (*ListStorageSpacesRequest_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageSpacesRequest_Filter) GetId() *StorageSpaceId
- func (x *ListStorageSpacesRequest_Filter) GetOwner() *v1beta11.UserId
- func (x *ListStorageSpacesRequest_Filter) GetPath() string
- func (x *ListStorageSpacesRequest_Filter) GetSpaceType() string
- func (m *ListStorageSpacesRequest_Filter) GetTerm() isListStorageSpacesRequest_Filter_Term
- func (x *ListStorageSpacesRequest_Filter) GetType() ListStorageSpacesRequest_Filter_Type
- func (x *ListStorageSpacesRequest_Filter) GetUser() *v1beta11.UserId
- func (*ListStorageSpacesRequest_Filter) ProtoMessage()
- func (x *ListStorageSpacesRequest_Filter) ProtoReflect() protoreflect.Message
- func (x *ListStorageSpacesRequest_Filter) Reset()
- func (x *ListStorageSpacesRequest_Filter) String() string
- type ListStorageSpacesRequest_Filter_Id
- type ListStorageSpacesRequest_Filter_Owner
- type ListStorageSpacesRequest_Filter_Path
- type ListStorageSpacesRequest_Filter_SpaceType
- type ListStorageSpacesRequest_Filter_Type
- func (ListStorageSpacesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ListStorageSpacesRequest_Filter_Type) Enum() *ListStorageSpacesRequest_Filter_Type
- func (ListStorageSpacesRequest_Filter_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListStorageSpacesRequest_Filter_Type) Number() protoreflect.EnumNumber
- func (x ListStorageSpacesRequest_Filter_Type) String() string
- func (ListStorageSpacesRequest_Filter_Type) Type() protoreflect.EnumType
- type ListStorageSpacesRequest_Filter_User
- type ListStorageSpacesResponse
- func (*ListStorageSpacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageSpacesResponse) GetNextPageToken() string
- func (x *ListStorageSpacesResponse) GetOpaque() *v1beta1.Opaque
- func (x *ListStorageSpacesResponse) GetStatus() *v1beta12.Status
- func (x *ListStorageSpacesResponse) GetStorageSpaces() []*StorageSpace
- func (*ListStorageSpacesResponse) ProtoMessage()
- func (x *ListStorageSpacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListStorageSpacesResponse) Reset()
- func (x *ListStorageSpacesResponse) String() string
- type Lock
- func (*Lock) Descriptor() ([]byte, []int)deprecated
- func (x *Lock) GetAppName() string
- func (x *Lock) GetExpiration() *v1beta1.Timestamp
- func (x *Lock) GetLockId() string
- func (x *Lock) GetOpaque() *v1beta1.Opaque
- func (x *Lock) GetType() LockType
- func (x *Lock) GetUser() *v1beta11.UserId
- func (*Lock) ProtoMessage()
- func (x *Lock) ProtoReflect() protoreflect.Message
- func (x *Lock) Reset()
- func (x *Lock) String() string
- type LockType
- type MoveRequest
- func (*MoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveRequest) GetDestination() *Reference
- func (x *MoveRequest) GetLockId() string
- 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 ProviderAPIServer
- type ProviderAPI_ListContainerStreamClient
- type ProviderAPI_ListContainerStreamServer
- type ProviderAPI_ListRecycleStreamClient
- type ProviderAPI_ListRecycleStreamServer
- type PurgeRecycleRequest
- func (*PurgeRecycleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeRecycleRequest) GetKey() string
- 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 Quota
- func (*Quota) Descriptor() ([]byte, []int)deprecated
- func (x *Quota) GetOpaque() *v1beta1.Opaque
- func (x *Quota) GetQuotaMaxBytes() uint64
- func (x *Quota) GetQuotaMaxFiles() uint64
- func (x *Quota) GetRemainingBytes() uint64
- func (x *Quota) GetRemainingFiles() uint64
- func (*Quota) ProtoMessage()
- func (x *Quota) ProtoReflect() protoreflect.Message
- func (x *Quota) Reset()
- func (x *Quota) 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) GetRef() *Reference
- 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
- type RefreshLockRequest
- func (*RefreshLockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshLockRequest) GetExistingLockId() string
- func (x *RefreshLockRequest) GetLock() *Lock
- func (x *RefreshLockRequest) GetOpaque() *v1beta1.Opaque
- func (x *RefreshLockRequest) GetRef() *Reference
- func (*RefreshLockRequest) ProtoMessage()
- func (x *RefreshLockRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshLockRequest) Reset()
- func (x *RefreshLockRequest) String() string
- type RefreshLockResponse
- func (*RefreshLockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshLockResponse) GetOpaque() *v1beta1.Opaque
- func (x *RefreshLockResponse) GetStatus() *v1beta11.Status
- func (*RefreshLockResponse) ProtoMessage()
- func (x *RefreshLockResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshLockResponse) Reset()
- func (x *RefreshLockResponse) String() string
- type RemoveGrantRequest
- func (*RemoveGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGrantRequest) GetGrant() *Grant
- func (x *RemoveGrantRequest) GetLockId() string
- 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
- func (*ResourceId) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceId) GetOpaqueId() string
- func (x *ResourceId) GetSpaceId() string
- func (x *ResourceId) GetStorageId() string
- func (*ResourceId) ProtoMessage()
- func (x *ResourceId) ProtoReflect() protoreflect.Message
- func (x *ResourceId) Reset()
- func (x *ResourceId) String() string
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetAdvisoryLocks() []*Lock
- 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) GetLock() *Lock
- func (x *ResourceInfo) GetMimeType() string
- func (x *ResourceInfo) GetMtime() *v1beta1.Timestamp
- func (x *ResourceInfo) GetName() string
- func (x *ResourceInfo) GetOpaque() *v1beta1.Opaque
- func (x *ResourceInfo) GetOwner() *v1beta11.UserId
- func (x *ResourceInfo) GetParentId() *ResourceId
- func (x *ResourceInfo) GetPath() string
- func (x *ResourceInfo) GetPermissionSet() *ResourcePermissions
- func (x *ResourceInfo) GetSize() uint64
- func (x *ResourceInfo) GetSpace() *StorageSpace
- 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) GetDenyGrant() 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) GetLockId() 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) GetLockId() string
- func (x *RestoreRecycleItemRequest) GetOpaque() *v1beta1.Opaque
- func (x *RestoreRecycleItemRequest) GetRef() *Reference
- func (x *RestoreRecycleItemRequest) GetRestoreRef() *Reference
- 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) GetLockId() string
- 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 SetLockRequest
- func (*SetLockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetLockRequest) GetLock() *Lock
- func (x *SetLockRequest) GetOpaque() *v1beta1.Opaque
- func (x *SetLockRequest) GetRef() *Reference
- func (*SetLockRequest) ProtoMessage()
- func (x *SetLockRequest) ProtoReflect() protoreflect.Message
- func (x *SetLockRequest) Reset()
- func (x *SetLockRequest) String() string
- type SetLockResponse
- func (*SetLockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetLockResponse) GetOpaque() *v1beta1.Opaque
- func (x *SetLockResponse) GetStatus() *v1beta11.Status
- func (*SetLockResponse) ProtoMessage()
- func (x *SetLockResponse) ProtoReflect() protoreflect.Message
- func (x *SetLockResponse) Reset()
- func (x *SetLockResponse) String() string
- type SpacesAPIClient
- type SpacesAPIServer
- type StatRequest
- func (*StatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatRequest) GetArbitraryMetadataKeys() []string
- func (x *StatRequest) GetFieldMask() *fieldmaskpb.FieldMask
- 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 StorageSpace
- func (*StorageSpace) Descriptor() ([]byte, []int)deprecated
- func (x *StorageSpace) GetId() *StorageSpaceId
- func (x *StorageSpace) GetMtime() *v1beta1.Timestamp
- func (x *StorageSpace) GetName() string
- func (x *StorageSpace) GetOpaque() *v1beta1.Opaque
- func (x *StorageSpace) GetOwner() *v1beta11.User
- func (x *StorageSpace) GetQuota() *Quota
- func (x *StorageSpace) GetRoot() *ResourceId
- func (x *StorageSpace) GetRootInfo() *ResourceInfo
- func (x *StorageSpace) GetSpaceType() string
- func (*StorageSpace) ProtoMessage()
- func (x *StorageSpace) ProtoReflect() protoreflect.Message
- func (x *StorageSpace) Reset()
- func (x *StorageSpace) String() string
- type StorageSpaceId
- type TouchFileRequest
- func (*TouchFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TouchFileRequest) GetLockId() string
- func (x *TouchFileRequest) GetOpaque() *v1beta1.Opaque
- func (x *TouchFileRequest) GetRef() *Reference
- func (*TouchFileRequest) ProtoMessage()
- func (x *TouchFileRequest) ProtoReflect() protoreflect.Message
- func (x *TouchFileRequest) Reset()
- func (x *TouchFileRequest) String() string
- type TouchFileResponse
- func (*TouchFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TouchFileResponse) GetOpaque() *v1beta1.Opaque
- func (x *TouchFileResponse) GetStatus() *v1beta11.Status
- func (*TouchFileResponse) ProtoMessage()
- func (x *TouchFileResponse) ProtoReflect() protoreflect.Message
- func (x *TouchFileResponse) Reset()
- func (x *TouchFileResponse) 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) CreateSymlink(context.Context, *CreateSymlinkRequest) (*CreateSymlinkResponse, error)
- func (UnimplementedProviderAPIServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedProviderAPIServer) DenyGrant(context.Context, *DenyGrantRequest) (*DenyGrantResponse, error)
- func (UnimplementedProviderAPIServer) GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error)
- func (UnimplementedProviderAPIServer) GetLock(context.Context, *GetLockRequest) (*GetLockResponse, 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) RefreshLock(context.Context, *RefreshLockRequest) (*RefreshLockResponse, 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) SetLock(context.Context, *SetLockRequest) (*SetLockResponse, error)
- func (UnimplementedProviderAPIServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
- func (UnimplementedProviderAPIServer) TouchFile(context.Context, *TouchFileRequest) (*TouchFileResponse, error)
- func (UnimplementedProviderAPIServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error)
- func (UnimplementedProviderAPIServer) UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error)
- func (UnimplementedProviderAPIServer) UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error)
- type UnimplementedSpacesAPIServer
- func (UnimplementedSpacesAPIServer) CreateStorageSpace(context.Context, *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error)
- func (UnimplementedSpacesAPIServer) DeleteStorageSpace(context.Context, *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error)
- func (UnimplementedSpacesAPIServer) ListStorageSpaces(context.Context, *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error)
- func (UnimplementedSpacesAPIServer) UpdateStorageSpace(context.Context, *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error)
- type UnlockRequest
- func (*UnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockRequest) GetLock() *Lock
- func (x *UnlockRequest) GetOpaque() *v1beta1.Opaque
- func (x *UnlockRequest) GetRef() *Reference
- func (*UnlockRequest) ProtoMessage()
- func (x *UnlockRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockRequest) Reset()
- func (x *UnlockRequest) String() string
- type UnlockResponse
- func (*UnlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockResponse) GetOpaque() *v1beta1.Opaque
- func (x *UnlockResponse) GetStatus() *v1beta11.Status
- func (*UnlockResponse) ProtoMessage()
- func (x *UnlockResponse) ProtoReflect() protoreflect.Message
- func (x *UnlockResponse) Reset()
- func (x *UnlockResponse) String() string
- type UnsafeProviderAPIServer
- type UnsafeSpacesAPIServer
- type UnsetArbitraryMetadataRequest
- func (*UnsetArbitraryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsetArbitraryMetadataRequest) GetArbitraryMetadataKeys() []string
- func (x *UnsetArbitraryMetadataRequest) GetLockId() 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) GetLockId() string
- 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
- type UpdateStorageSpaceRequest
- func (*UpdateStorageSpaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque
- func (x *UpdateStorageSpaceRequest) GetStorageSpace() *StorageSpace
- func (*UpdateStorageSpaceRequest) ProtoMessage()
- func (x *UpdateStorageSpaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStorageSpaceRequest) Reset()
- func (x *UpdateStorageSpaceRequest) String() string
- type UpdateStorageSpaceResponse
- func (*UpdateStorageSpaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque
- func (x *UpdateStorageSpaceResponse) GetStatus() *v1beta12.Status
- func (x *UpdateStorageSpaceResponse) GetStorageSpace() *StorageSpace
- func (*UpdateStorageSpaceResponse) ProtoMessage()
- func (x *UpdateStorageSpaceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateStorageSpaceResponse) Reset()
- func (x *UpdateStorageSpaceResponse) String() string
Constants ¶
const ( ProviderAPI_AddGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/AddGrant" ProviderAPI_CreateContainer_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateContainer" ProviderAPI_TouchFile_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/TouchFile" ProviderAPI_Delete_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Delete" ProviderAPI_DenyGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/DenyGrant" ProviderAPI_GetPath_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetPath" ProviderAPI_GetQuota_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetQuota" ProviderAPI_InitiateFileDownload_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileDownload" ProviderAPI_InitiateFileUpload_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileUpload" ProviderAPI_ListGrants_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListGrants" ProviderAPI_ListContainerStream_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainerStream" ProviderAPI_ListContainer_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListContainer" ProviderAPI_ListFileVersions_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListFileVersions" ProviderAPI_ListRecycleStream_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycleStream" ProviderAPI_ListRecycle_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/ListRecycle" ProviderAPI_Move_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Move" ProviderAPI_RemoveGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RemoveGrant" ProviderAPI_PurgeRecycle_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/PurgeRecycle" ProviderAPI_RestoreFileVersion_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreFileVersion" ProviderAPI_RestoreRecycleItem_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RestoreRecycleItem" ProviderAPI_Stat_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Stat" ProviderAPI_UpdateGrant_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/UpdateGrant" ProviderAPI_CreateSymlink_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateSymlink" ProviderAPI_CreateReference_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateReference" ProviderAPI_SetArbitraryMetadata_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/SetArbitraryMetadata" ProviderAPI_UnsetArbitraryMetadata_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/UnsetArbitraryMetadata" ProviderAPI_SetLock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/SetLock" ProviderAPI_GetLock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetLock" ProviderAPI_RefreshLock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/RefreshLock" ProviderAPI_Unlock_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/Unlock" ProviderAPI_CreateHome_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/CreateHome" ProviderAPI_GetHome_FullMethodName = "/cs3.storage.provider.v1beta1.ProviderAPI/GetHome" )
const ( SpacesAPI_CreateStorageSpace_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/CreateStorageSpace" SpacesAPI_ListStorageSpaces_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces" SpacesAPI_UpdateStorageSpace_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/UpdateStorageSpace" SpacesAPI_DeleteStorageSpace_FullMethodName = "/cs3.storage.provider.v1beta1.SpacesAPI/DeleteStorageSpace" )
Variables ¶
var ( LockType_name = map[int32]string{ 0: "LOCK_TYPE_INVALID", 1: "LOCK_TYPE_SHARED", 2: "LOCK_TYPE_WRITE", 3: "LOCK_TYPE_EXCL", } LockType_value = map[string]int32{ "LOCK_TYPE_INVALID": 0, "LOCK_TYPE_SHARED": 1, "LOCK_TYPE_WRITE": 2, "LOCK_TYPE_EXCL": 3, } )
Enum value maps for LockType.
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 ( ListStorageSpacesRequest_Filter_Type_name = map[int32]string{ 0: "TYPE_INVALID", 1: "TYPE_NO", 2: "TYPE_ID", 3: "TYPE_OWNER", 4: "TYPE_SPACE_TYPE", 5: "TYPE_PATH", 6: "TYPE_USER", } ListStorageSpacesRequest_Filter_Type_value = map[string]int32{ "TYPE_INVALID": 0, "TYPE_NO": 1, "TYPE_ID": 2, "TYPE_OWNER": 3, "TYPE_SPACE_TYPE": 4, "TYPE_PATH": 5, "TYPE_USER": 6, } )
Enum value maps for ListStorageSpacesRequest_Filter_Type.
var File_cs3_storage_provider_v1beta1_provider_api_proto protoreflect.FileDescriptor
var File_cs3_storage_provider_v1beta1_resources_proto protoreflect.FileDescriptor
var File_cs3_storage_provider_v1beta1_spaces_api_proto protoreflect.FileDescriptor
var ProviderAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cs3.storage.provider.v1beta1.ProviderAPI", HandlerType: (*ProviderAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddGrant", Handler: _ProviderAPI_AddGrant_Handler, }, { MethodName: "CreateContainer", Handler: _ProviderAPI_CreateContainer_Handler, }, { MethodName: "TouchFile", Handler: _ProviderAPI_TouchFile_Handler, }, { MethodName: "Delete", Handler: _ProviderAPI_Delete_Handler, }, { MethodName: "DenyGrant", Handler: _ProviderAPI_DenyGrant_Handler, }, { MethodName: "GetPath", Handler: _ProviderAPI_GetPath_Handler, }, { MethodName: "GetQuota", Handler: _ProviderAPI_GetQuota_Handler, }, { MethodName: "InitiateFileDownload", Handler: _ProviderAPI_InitiateFileDownload_Handler, }, { MethodName: "InitiateFileUpload", Handler: _ProviderAPI_InitiateFileUpload_Handler, }, { MethodName: "ListGrants", Handler: _ProviderAPI_ListGrants_Handler, }, { MethodName: "ListContainer", Handler: _ProviderAPI_ListContainer_Handler, }, { MethodName: "ListFileVersions", Handler: _ProviderAPI_ListFileVersions_Handler, }, { MethodName: "ListRecycle", Handler: _ProviderAPI_ListRecycle_Handler, }, { MethodName: "Move", Handler: _ProviderAPI_Move_Handler, }, { MethodName: "RemoveGrant", Handler: _ProviderAPI_RemoveGrant_Handler, }, { MethodName: "PurgeRecycle", Handler: _ProviderAPI_PurgeRecycle_Handler, }, { MethodName: "RestoreFileVersion", Handler: _ProviderAPI_RestoreFileVersion_Handler, }, { MethodName: "RestoreRecycleItem", Handler: _ProviderAPI_RestoreRecycleItem_Handler, }, { MethodName: "Stat", Handler: _ProviderAPI_Stat_Handler, }, { MethodName: "UpdateGrant", Handler: _ProviderAPI_UpdateGrant_Handler, }, { MethodName: "CreateSymlink", Handler: _ProviderAPI_CreateSymlink_Handler, }, { MethodName: "CreateReference", Handler: _ProviderAPI_CreateReference_Handler, }, { MethodName: "SetArbitraryMetadata", Handler: _ProviderAPI_SetArbitraryMetadata_Handler, }, { MethodName: "UnsetArbitraryMetadata", Handler: _ProviderAPI_UnsetArbitraryMetadata_Handler, }, { MethodName: "SetLock", Handler: _ProviderAPI_SetLock_Handler, }, { MethodName: "GetLock", Handler: _ProviderAPI_GetLock_Handler, }, { MethodName: "RefreshLock", Handler: _ProviderAPI_RefreshLock_Handler, }, { MethodName: "Unlock", Handler: _ProviderAPI_Unlock_Handler, }, { MethodName: "CreateHome", Handler: _ProviderAPI_CreateHome_Handler, }, { MethodName: "GetHome", Handler: _ProviderAPI_GetHome_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListContainerStream", Handler: _ProviderAPI_ListContainerStream_Handler, ServerStreams: true, }, { StreamName: "ListRecycleStream", Handler: _ProviderAPI_ListRecycleStream_Handler, ServerStreams: true, }, }, Metadata: "cs3/storage/provider/v1beta1/provider_api.proto", }
ProviderAPI_ServiceDesc is the grpc.ServiceDesc for ProviderAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SpacesAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cs3.storage.provider.v1beta1.SpacesAPI", HandlerType: (*SpacesAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateStorageSpace", Handler: _SpacesAPI_CreateStorageSpace_Handler, }, { MethodName: "ListStorageSpaces", Handler: _SpacesAPI_ListStorageSpaces_Handler, }, { MethodName: "UpdateStorageSpace", Handler: _SpacesAPI_UpdateStorageSpace_Handler, }, { MethodName: "DeleteStorageSpace", Handler: _SpacesAPI_DeleteStorageSpace_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cs3/storage/provider/v1beta1/spaces_api.proto", }
SpacesAPI_ServiceDesc is the grpc.ServiceDesc for SpacesAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProviderAPIServer ¶
func RegisterProviderAPIServer(s grpc.ServiceRegistrar, srv ProviderAPIServer)
func RegisterSpacesAPIServer ¶
func RegisterSpacesAPIServer(s grpc.ServiceRegistrar, srv SpacesAPIServer)
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"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id SHOULD be equal to the given value. However, // storage implementations MAY allow for setting grants // even if the lock does not match. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,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) GetLockId ¶
func (x *AddGrantRequest) GetLockId() string
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"` // OPTIONAL. Quota *Quota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,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) GetQuota ¶
func (x *CreateHomeRequest) GetQuota() *Quota
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. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,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) GetRef ¶
func (x *CreateReferenceRequest) GetRef() *Reference
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 CreateStorageSpaceRequest ¶
type CreateStorageSpaceRequest struct { // OPTIONAL. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. Owner *v1beta11.User `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // OPTIONAL. // Could be 'home', 'share', 'project', 'space'... Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // OPTIONAL. // User readable name of the storage space. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // OPTIONAL. Quota *Quota `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"` // contains filtered or unexported fields }
func (*CreateStorageSpaceRequest) Descriptor
deprecated
func (*CreateStorageSpaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStorageSpaceRequest.ProtoReflect.Descriptor instead.
func (*CreateStorageSpaceRequest) GetName ¶
func (x *CreateStorageSpaceRequest) GetName() string
func (*CreateStorageSpaceRequest) GetOpaque ¶
func (x *CreateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque
func (*CreateStorageSpaceRequest) GetOwner ¶
func (x *CreateStorageSpaceRequest) GetOwner() *v1beta11.User
func (*CreateStorageSpaceRequest) GetQuota ¶
func (x *CreateStorageSpaceRequest) GetQuota() *Quota
func (*CreateStorageSpaceRequest) GetType ¶
func (x *CreateStorageSpaceRequest) GetType() string
func (*CreateStorageSpaceRequest) ProtoMessage ¶
func (*CreateStorageSpaceRequest) ProtoMessage()
func (*CreateStorageSpaceRequest) ProtoReflect ¶
func (x *CreateStorageSpaceRequest) ProtoReflect() protoreflect.Message
func (*CreateStorageSpaceRequest) Reset ¶
func (x *CreateStorageSpaceRequest) Reset()
func (*CreateStorageSpaceRequest) String ¶
func (x *CreateStorageSpaceRequest) String() string
type CreateStorageSpaceResponse ¶
type CreateStorageSpaceResponse struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // REQUIRED. // The created storage space. StorageSpace *StorageSpace `protobuf:"bytes,3,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` // contains filtered or unexported fields }
func (*CreateStorageSpaceResponse) Descriptor
deprecated
func (*CreateStorageSpaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateStorageSpaceResponse.ProtoReflect.Descriptor instead.
func (*CreateStorageSpaceResponse) GetOpaque ¶
func (x *CreateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque
func (*CreateStorageSpaceResponse) GetStatus ¶
func (x *CreateStorageSpaceResponse) GetStatus() *v1beta12.Status
func (*CreateStorageSpaceResponse) GetStorageSpace ¶
func (x *CreateStorageSpaceResponse) GetStorageSpace() *StorageSpace
func (*CreateStorageSpaceResponse) ProtoMessage ¶
func (*CreateStorageSpaceResponse) ProtoMessage()
func (*CreateStorageSpaceResponse) ProtoReflect ¶
func (x *CreateStorageSpaceResponse) ProtoReflect() protoreflect.Message
func (*CreateStorageSpaceResponse) Reset ¶
func (x *CreateStorageSpaceResponse) Reset()
func (*CreateStorageSpaceResponse) String ¶
func (x *CreateStorageSpaceResponse) String() string
type CreateSymlinkRequest ¶
type CreateSymlinkRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The location where to store the symlink. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The link target can hold arbitrary text; if later resolved, // a relative link is interpreted in relation to its parent directory Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*CreateSymlinkRequest) Descriptor
deprecated
func (*CreateSymlinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSymlinkRequest.ProtoReflect.Descriptor instead.
func (*CreateSymlinkRequest) GetOpaque ¶
func (x *CreateSymlinkRequest) GetOpaque() *v1beta1.Opaque
func (*CreateSymlinkRequest) GetRef ¶
func (x *CreateSymlinkRequest) GetRef() *Reference
func (*CreateSymlinkRequest) GetTarget ¶
func (x *CreateSymlinkRequest) GetTarget() string
func (*CreateSymlinkRequest) ProtoMessage ¶
func (*CreateSymlinkRequest) ProtoMessage()
func (*CreateSymlinkRequest) ProtoReflect ¶
func (x *CreateSymlinkRequest) ProtoReflect() protoreflect.Message
func (*CreateSymlinkRequest) Reset ¶
func (x *CreateSymlinkRequest) Reset()
func (*CreateSymlinkRequest) String ¶
func (x *CreateSymlinkRequest) String() string
type CreateSymlinkResponse ¶
type CreateSymlinkResponse 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 (*CreateSymlinkResponse) Descriptor
deprecated
func (*CreateSymlinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSymlinkResponse.ProtoReflect.Descriptor instead.
func (*CreateSymlinkResponse) GetOpaque ¶
func (x *CreateSymlinkResponse) GetOpaque() *v1beta1.Opaque
func (*CreateSymlinkResponse) GetStatus ¶
func (x *CreateSymlinkResponse) GetStatus() *v1beta11.Status
func (*CreateSymlinkResponse) ProtoMessage ¶
func (*CreateSymlinkResponse) ProtoMessage()
func (*CreateSymlinkResponse) ProtoReflect ¶
func (x *CreateSymlinkResponse) ProtoReflect() protoreflect.Message
func (*CreateSymlinkResponse) Reset ¶
func (x *CreateSymlinkResponse) Reset()
func (*CreateSymlinkResponse) String ¶
func (x *CreateSymlinkResponse) 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"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id MUST be equal to the given value. LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetLockId ¶
func (x *DeleteRequest) GetLockId() string
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 DeleteStorageSpaceRequest ¶
type DeleteStorageSpaceRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteStorageSpaceRequest) Descriptor
deprecated
func (*DeleteStorageSpaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStorageSpaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteStorageSpaceRequest) GetId ¶
func (x *DeleteStorageSpaceRequest) GetId() *StorageSpaceId
func (*DeleteStorageSpaceRequest) GetOpaque ¶
func (x *DeleteStorageSpaceRequest) GetOpaque() *v1beta1.Opaque
func (*DeleteStorageSpaceRequest) ProtoMessage ¶
func (*DeleteStorageSpaceRequest) ProtoMessage()
func (*DeleteStorageSpaceRequest) ProtoReflect ¶
func (x *DeleteStorageSpaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteStorageSpaceRequest) Reset ¶
func (x *DeleteStorageSpaceRequest) Reset()
func (*DeleteStorageSpaceRequest) String ¶
func (x *DeleteStorageSpaceRequest) String() string
type DeleteStorageSpaceResponse ¶
type DeleteStorageSpaceResponse struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*DeleteStorageSpaceResponse) Descriptor
deprecated
func (*DeleteStorageSpaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStorageSpaceResponse.ProtoReflect.Descriptor instead.
func (*DeleteStorageSpaceResponse) GetOpaque ¶
func (x *DeleteStorageSpaceResponse) GetOpaque() *v1beta1.Opaque
func (*DeleteStorageSpaceResponse) GetStatus ¶
func (x *DeleteStorageSpaceResponse) GetStatus() *v1beta12.Status
func (*DeleteStorageSpaceResponse) ProtoMessage ¶
func (*DeleteStorageSpaceResponse) ProtoMessage()
func (*DeleteStorageSpaceResponse) ProtoReflect ¶
func (x *DeleteStorageSpaceResponse) ProtoReflect() protoreflect.Message
func (*DeleteStorageSpaceResponse) Reset ¶
func (x *DeleteStorageSpaceResponse) Reset()
func (*DeleteStorageSpaceResponse) String ¶
func (x *DeleteStorageSpaceResponse) String() string
type DenyGrantRequest ¶
type DenyGrantRequest 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 grantee to remove permission. Grantee *Grantee `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id SHOULD be equal to the given value. However, // storage implementations MAY allow for setting grants // even if the lock does not match. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // contains filtered or unexported fields }
func (*DenyGrantRequest) Descriptor
deprecated
func (*DenyGrantRequest) Descriptor() ([]byte, []int)
Deprecated: Use DenyGrantRequest.ProtoReflect.Descriptor instead.
func (*DenyGrantRequest) GetGrantee ¶
func (x *DenyGrantRequest) GetGrantee() *Grantee
func (*DenyGrantRequest) GetLockId ¶
func (x *DenyGrantRequest) GetLockId() string
func (*DenyGrantRequest) GetOpaque ¶
func (x *DenyGrantRequest) GetOpaque() *v1beta1.Opaque
func (*DenyGrantRequest) GetRef ¶
func (x *DenyGrantRequest) GetRef() *Reference
func (*DenyGrantRequest) ProtoMessage ¶
func (*DenyGrantRequest) ProtoMessage()
func (*DenyGrantRequest) ProtoReflect ¶
func (x *DenyGrantRequest) ProtoReflect() protoreflect.Message
func (*DenyGrantRequest) Reset ¶
func (x *DenyGrantRequest) Reset()
func (*DenyGrantRequest) String ¶
func (x *DenyGrantRequest) String() string
type DenyGrantResponse ¶
type DenyGrantResponse 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 (*DenyGrantResponse) Descriptor
deprecated
func (*DenyGrantResponse) Descriptor() ([]byte, []int)
Deprecated: Use DenyGrantResponse.ProtoReflect.Descriptor instead.
func (*DenyGrantResponse) GetOpaque ¶
func (x *DenyGrantResponse) GetOpaque() *v1beta1.Opaque
func (*DenyGrantResponse) GetStatus ¶
func (x *DenyGrantResponse) GetStatus() *v1beta11.Status
func (*DenyGrantResponse) ProtoMessage ¶
func (*DenyGrantResponse) ProtoMessage()
func (*DenyGrantResponse) ProtoReflect ¶
func (x *DenyGrantResponse) ProtoReflect() protoreflect.Message
func (*DenyGrantResponse) Reset ¶
func (x *DenyGrantResponse) Reset()
func (*DenyGrantResponse) String ¶
func (x *DenyGrantResponse) String() string
type FileDownloadProtocol ¶
type FileDownloadProtocol struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocol to be followed. Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // REQUIRED. // The endpoint where to download the data. // The value MUST be a Uniform Resource Identifier (URI) // as specified in RFC 3986. DownloadEndpoint string `protobuf:"bytes,3,opt,name=download_endpoint,json=downloadEndpoint,proto3" json:"download_endpoint,omitempty"` // REQUIRED. // Tells to the gateway if the client should be exposed directly to the download_endpoint. Expose bool `protobuf:"varint,4,opt,name=expose,proto3" json:"expose,omitempty"` // contains filtered or unexported fields }
A file download protocol object stores information about downloading resources using a specific protocol.
func (*FileDownloadProtocol) Descriptor
deprecated
func (*FileDownloadProtocol) Descriptor() ([]byte, []int)
Deprecated: Use FileDownloadProtocol.ProtoReflect.Descriptor instead.
func (*FileDownloadProtocol) GetDownloadEndpoint ¶
func (x *FileDownloadProtocol) GetDownloadEndpoint() string
func (*FileDownloadProtocol) GetExpose ¶
func (x *FileDownloadProtocol) GetExpose() bool
func (*FileDownloadProtocol) GetOpaque ¶
func (x *FileDownloadProtocol) GetOpaque() *v1beta1.Opaque
func (*FileDownloadProtocol) GetProtocol ¶
func (x *FileDownloadProtocol) GetProtocol() string
func (*FileDownloadProtocol) ProtoMessage ¶
func (*FileDownloadProtocol) ProtoMessage()
func (*FileDownloadProtocol) ProtoReflect ¶
func (x *FileDownloadProtocol) ProtoReflect() protoreflect.Message
func (*FileDownloadProtocol) Reset ¶
func (x *FileDownloadProtocol) Reset()
func (*FileDownloadProtocol) String ¶
func (x *FileDownloadProtocol) String() string
type FileUploadProtocol ¶
type FileUploadProtocol struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocol to be followed. Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // REQUIRED. // The endpoint where to upload the data. // The value MUST be a Uniform Resource Identifier (URI) // as specified in RFC 3986. UploadEndpoint string `protobuf:"bytes,3,opt,name=upload_endpoint,json=uploadEndpoint,proto3" json:"upload_endpoint,omitempty"` // REQUIRED. // List of available checksums // the client can use when sending // the file. AvailableChecksums []*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"` // OPTIONAL. // The time at which the upload will expire. Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
A file upload protocol object stores information about uploading resources using a specific protocol.
func (*FileUploadProtocol) Descriptor
deprecated
func (*FileUploadProtocol) Descriptor() ([]byte, []int)
Deprecated: Use FileUploadProtocol.ProtoReflect.Descriptor instead.
func (*FileUploadProtocol) GetAvailableChecksums ¶
func (x *FileUploadProtocol) GetAvailableChecksums() []*ResourceChecksumPriority
func (*FileUploadProtocol) GetExpiration ¶
func (x *FileUploadProtocol) GetExpiration() *v1beta1.Timestamp
func (*FileUploadProtocol) GetExpose ¶
func (x *FileUploadProtocol) GetExpose() bool
func (*FileUploadProtocol) GetOpaque ¶
func (x *FileUploadProtocol) GetOpaque() *v1beta1.Opaque
func (*FileUploadProtocol) GetProtocol ¶
func (x *FileUploadProtocol) GetProtocol() string
func (*FileUploadProtocol) GetUploadEndpoint ¶
func (x *FileUploadProtocol) GetUploadEndpoint() string
func (*FileUploadProtocol) ProtoMessage ¶
func (*FileUploadProtocol) ProtoMessage()
func (*FileUploadProtocol) ProtoReflect ¶
func (x *FileUploadProtocol) ProtoReflect() protoreflect.Message
func (*FileUploadProtocol) Reset ¶
func (x *FileUploadProtocol) Reset()
func (*FileUploadProtocol) String ¶
func (x *FileUploadProtocol) String() string
type 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"` // REQUIRED. // As decribed in https://tools.ietf.org/html/rfc7232#section-2.3 // For a file version, the etag does not change because a version is immutable. Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,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) GetEtag ¶
func (x *FileVersion) GetEtag() string
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 GetLockRequest ¶
type GetLockRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference the lock is associated to. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*GetLockRequest) Descriptor
deprecated
func (*GetLockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLockRequest.ProtoReflect.Descriptor instead.
func (*GetLockRequest) GetOpaque ¶
func (x *GetLockRequest) GetOpaque() *v1beta1.Opaque
func (*GetLockRequest) GetRef ¶
func (x *GetLockRequest) GetRef() *Reference
func (*GetLockRequest) ProtoMessage ¶
func (*GetLockRequest) ProtoMessage()
func (*GetLockRequest) ProtoReflect ¶
func (x *GetLockRequest) ProtoReflect() protoreflect.Message
func (*GetLockRequest) Reset ¶
func (x *GetLockRequest) Reset()
func (*GetLockRequest) String ¶
func (x *GetLockRequest) String() string
type GetLockResponse ¶
type GetLockResponse 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 lock metadata Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` // contains filtered or unexported fields }
func (*GetLockResponse) Descriptor
deprecated
func (*GetLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLockResponse.ProtoReflect.Descriptor instead.
func (*GetLockResponse) GetLock ¶
func (x *GetLockResponse) GetLock() *Lock
func (*GetLockResponse) GetOpaque ¶
func (x *GetLockResponse) GetOpaque() *v1beta1.Opaque
func (*GetLockResponse) GetStatus ¶
func (x *GetLockResponse) GetStatus() *v1beta11.Status
func (*GetLockResponse) ProtoMessage ¶
func (*GetLockResponse) ProtoMessage()
func (*GetLockResponse) ProtoReflect ¶
func (x *GetLockResponse) ProtoReflect() protoreflect.Message
func (*GetLockResponse) Reset ¶
func (x *GetLockResponse) Reset()
func (*GetLockResponse) String ¶
func (x *GetLockResponse) 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"` // OPTIONAL. // Limit the quota Response to the given reference Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*GetQuotaRequest) Descriptor
deprecated
func (*GetQuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaRequest.ProtoReflect.Descriptor instead.
func (*GetQuotaRequest) GetOpaque ¶
func (x *GetQuotaRequest) GetOpaque() *v1beta1.Opaque
func (*GetQuotaRequest) GetRef ¶
func (x *GetQuotaRequest) GetRef() *Reference
func (*GetQuotaRequest) ProtoMessage ¶
func (*GetQuotaRequest) ProtoMessage()
func (*GetQuotaRequest) ProtoReflect ¶
func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message
func (*GetQuotaRequest) Reset ¶
func (x *GetQuotaRequest) Reset()
func (*GetQuotaRequest) String ¶
func (x *GetQuotaRequest) String() string
type 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"` // OPTIONAL // The Creator of the grant Creator *v1beta11.UserId `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` // OPTIONAL // Expiration of the grant. Expiration *v1beta1.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
A grant grants permissions to a resource to a grantee.
func (*Grant) Descriptor
deprecated
func (*Grant) GetCreator ¶
func (*Grant) GetExpiration ¶
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"` // REQUIRED. // The unique id for the grantee. // One of the ids MUST be specified. // // Types that are assignable to Id: // // *Grantee_UserId // *Grantee_GroupId Id isGrantee_Id `protobuf_oneof:"id"` // OPTIONAL. // Opaque information such as UID or GID. Opaque *v1beta1.Opaque `protobuf:"bytes,5,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
A grantee is the receiver of a grant.
func (*Grantee) Descriptor
deprecated
func (*Grantee) GetGroupId ¶
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 Grantee_GroupId ¶
type Grantee_UserId ¶
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"` // OPTIONAL. // A lock_id: should the reference be locked and the lock type be LOCK_TYPE_EXCL, // the stored lock_id MUST be equal to the given value. LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileDownloadRequest) Descriptor
deprecated
func (*InitiateFileDownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileDownloadRequest.ProtoReflect.Descriptor instead.
func (*InitiateFileDownloadRequest) GetLockId ¶
func (x *InitiateFileDownloadRequest) GetLockId() string
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 protocols through which data can be downloaded. Protocols []*FileDownloadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileDownloadResponse) Descriptor
deprecated
func (*InitiateFileDownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileDownloadResponse.ProtoReflect.Descriptor instead.
func (*InitiateFileDownloadResponse) GetOpaque ¶
func (x *InitiateFileDownloadResponse) GetOpaque() *v1beta1.Opaque
func (*InitiateFileDownloadResponse) GetProtocols ¶
func (x *InitiateFileDownloadResponse) GetProtocols() []*FileDownloadProtocol
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"` // Types that are assignable to Options: // // *InitiateFileUploadRequest_IfNotExist // *InitiateFileUploadRequest_IfMatch // *InitiateFileUploadRequest_IfUnmodifiedSince Options isInitiateFileUploadRequest_Options `protobuf_oneof:"options"` // OPTIONAL. // A lock_id: should the reference exist and be locked, the stored // lock_id SHOULD be equal to the given value. Additionally, the // check MUST be enforced by the out-of-band transfer protocol. LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileUploadRequest) Descriptor
deprecated
func (*InitiateFileUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileUploadRequest.ProtoReflect.Descriptor instead.
func (*InitiateFileUploadRequest) GetIfMatch ¶
func (x *InitiateFileUploadRequest) GetIfMatch() string
func (*InitiateFileUploadRequest) GetIfNotExist ¶
func (x *InitiateFileUploadRequest) GetIfNotExist() bool
func (*InitiateFileUploadRequest) GetIfUnmodifiedSince ¶
func (x *InitiateFileUploadRequest) GetIfUnmodifiedSince() *v1beta1.Timestamp
func (*InitiateFileUploadRequest) GetLockId ¶
func (x *InitiateFileUploadRequest) GetLockId() string
func (*InitiateFileUploadRequest) GetOpaque ¶
func (x *InitiateFileUploadRequest) GetOpaque() *v1beta1.Opaque
func (*InitiateFileUploadRequest) GetOptions ¶
func (m *InitiateFileUploadRequest) GetOptions() isInitiateFileUploadRequest_Options
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 InitiateFileUploadRequest_IfMatch ¶
type InitiateFileUploadRequest_IfMatch struct { // OPTIONAL. // Whether the file is to be uploaded if the given etag matches. Default to always upload. // If the storage provider has a more recent etag for the target file, the request MUST // return CODE_FAILED_PRECONDITION. IfMatch string `protobuf:"bytes,4,opt,name=if_match,json=ifMatch,proto3,oneof"` }
type InitiateFileUploadRequest_IfNotExist ¶
type InitiateFileUploadRequest_IfNotExist struct { // OPTIONAL. // Whether the file is to be uploaded in exclusive mode. Defaults to false. // If true, the request SHALL be processed such that only one of multiple concurrent uploads // to the same target reference MAY succeed, whereas all others MUST fail with CODE_FAILED_PRECONDITION. // The semantic is similar to the O_CREAT|O_EXCL POSIX flags. // The request MUST return CODE_NOT_IMPLEMENTED if the provider does not support this mode. IfNotExist bool `protobuf:"varint,3,opt,name=if_not_exist,json=ifNotExist,proto3,oneof"` }
type InitiateFileUploadRequest_IfUnmodifiedSince ¶
type InitiateFileUploadRequest_IfUnmodifiedSince struct { // OPTIONAL. // Whether the file is to be uploaded when it has been modified on the server. Defauls to always upload. // If the resource has been modified on the storage provider after the given timestamp the request MUST // return CODE_FAILED_PRECONDITION. IfUnmodifiedSince *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=if_unmodified_since,json=ifUnmodifiedSince,proto3,oneof"` }
type InitiateFileUploadResponse ¶
type InitiateFileUploadResponse struct { // REQUIRED. // The response status. Status *v1beta11.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The protocols through which data can be uploaded. Protocols []*FileUploadProtocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` // contains filtered or unexported fields }
func (*InitiateFileUploadResponse) Descriptor
deprecated
func (*InitiateFileUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitiateFileUploadResponse.ProtoReflect.Descriptor instead.
func (*InitiateFileUploadResponse) GetOpaque ¶
func (x *InitiateFileUploadResponse) GetOpaque() *v1beta1.Opaque
func (*InitiateFileUploadResponse) GetProtocols ¶
func (x *InitiateFileUploadResponse) GetProtocols() []*FileUploadProtocol
func (*InitiateFileUploadResponse) GetStatus ¶
func (x *InitiateFileUploadResponse) GetStatus() *v1beta11.Status
func (*InitiateFileUploadResponse) ProtoMessage ¶
func (*InitiateFileUploadResponse) ProtoMessage()
func (*InitiateFileUploadResponse) ProtoReflect ¶
func (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 to 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 */ // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // 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) GetFieldMask ¶
func (x *ListContainerRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListContainerRequest) GetOpaque ¶
func (x *ListContainerRequest) GetOpaque() *v1beta1.Opaque
func (*ListContainerRequest) GetPageSize ¶
func (x *ListContainerRequest) GetPageSize() int32
func (*ListContainerRequest) GetPageToken ¶
func (x *ListContainerRequest) GetPageToken() string
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"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListContainerResponse) Descriptor
deprecated
func (*ListContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerResponse.ProtoReflect.Descriptor instead.
func (*ListContainerResponse) GetInfos ¶
func (x *ListContainerResponse) GetInfos() []*ResourceInfo
func (*ListContainerResponse) GetNextPageToken ¶
func (x *ListContainerResponse) GetNextPageToken() string
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 to 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 */ // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // 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) GetFieldMask ¶
func (x *ListContainerStreamRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListContainerStreamRequest) GetOpaque ¶
func (x *ListContainerStreamRequest) GetOpaque() *v1beta1.Opaque
func (*ListContainerStreamRequest) GetPageSize ¶
func (x *ListContainerStreamRequest) GetPageSize() int32
func (*ListContainerStreamRequest) GetPageToken ¶
func (x *ListContainerStreamRequest) GetPageToken() string
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"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListContainerStreamResponse) Descriptor
deprecated
func (*ListContainerStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerStreamResponse.ProtoReflect.Descriptor instead.
func (*ListContainerStreamResponse) GetInfo ¶
func (x *ListContainerStreamResponse) GetInfo() *ResourceInfo
func (*ListContainerStreamResponse) GetNextPageToken ¶
func (x *ListContainerStreamResponse) GetNextPageToken() string
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"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*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) GetPageSize ¶
func (x *ListFileVersionsRequest) GetPageSize() int32
func (*ListFileVersionsRequest) GetPageToken ¶
func (x *ListFileVersionsRequest) GetPageToken() string
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"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFileVersionsResponse) Descriptor
deprecated
func (*ListFileVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFileVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListFileVersionsResponse) GetNextPageToken ¶
func (x *ListFileVersionsResponse) GetNextPageToken() string
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"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*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) GetPageSize ¶
func (x *ListGrantsRequest) GetPageSize() int32
func (*ListGrantsRequest) GetPageToken ¶
func (x *ListGrantsRequest) GetPageToken() string
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"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListGrantsResponse) Descriptor
deprecated
func (*ListGrantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGrantsResponse.ProtoReflect.Descriptor instead.
func (*ListGrantsResponse) GetGrants ¶
func (x *ListGrantsResponse) GetGrants() []*Grant
func (*ListGrantsResponse) GetNextPageToken ¶
func (x *ListGrantsResponse) GetNextPageToken() string
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"` // OPTIONAL. // The reference to which the action should be performed. Ref *Reference `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"` // OPTIONAL. // The key for a recycle item to be listed. // If provided, the item corresponding to the key will be listed. Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,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) GetKey ¶
func (x *ListRecycleRequest) GetKey() string
func (*ListRecycleRequest) GetOpaque ¶
func (x *ListRecycleRequest) GetOpaque() *v1beta1.Opaque
func (*ListRecycleRequest) GetPageSize ¶
func (x *ListRecycleRequest) GetPageSize() int32
func (*ListRecycleRequest) GetPageToken ¶
func (x *ListRecycleRequest) GetPageToken() string
func (*ListRecycleRequest) GetRef ¶
func (x *ListRecycleRequest) GetRef() *Reference
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"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRecycleResponse) Descriptor
deprecated
func (*ListRecycleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecycleResponse.ProtoReflect.Descriptor instead.
func (*ListRecycleResponse) GetNextPageToken ¶
func (x *ListRecycleResponse) GetNextPageToken() string
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"` // OPTIONAL. // The reference to which the action should be performed. Ref *Reference `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"` // OPTIONAL. // The key for a recycle item to be listed. // If provided, the item corresponding to the key will be listed. Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,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) GetKey ¶
func (x *ListRecycleStreamRequest) GetKey() string
func (*ListRecycleStreamRequest) GetOpaque ¶
func (x *ListRecycleStreamRequest) GetOpaque() *v1beta1.Opaque
func (*ListRecycleStreamRequest) GetPageSize ¶
func (x *ListRecycleStreamRequest) GetPageSize() int32
func (*ListRecycleStreamRequest) GetPageToken ¶
func (x *ListRecycleStreamRequest) GetPageToken() string
func (*ListRecycleStreamRequest) GetRef ¶
func (x *ListRecycleStreamRequest) GetRef() *Reference
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"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRecycleStreamResponse) Descriptor
deprecated
func (*ListRecycleStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecycleStreamResponse.ProtoReflect.Descriptor instead.
func (*ListRecycleStreamResponse) GetNextPageToken ¶
func (x *ListRecycleStreamResponse) GetNextPageToken() string
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 ListStorageSpacesRequest ¶
type ListStorageSpacesRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // The list of filters to apply if any. Filters []*ListStorageSpacesRequest_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // OPTIONAL. // Clients use this field to specify the maximum number of results to be returned by the server. // The server may further constrain the maximum number of results returned in a single page. // If the page_size is 0, the server will decide the number of results to be returned. // see https://cloud.google.com/apis/design/design_patterns#list_pagination PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // OPTIONAL. // The client uses this field to request a specific page of the list results. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListStorageSpacesRequest) Descriptor
deprecated
func (*ListStorageSpacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageSpacesRequest.ProtoReflect.Descriptor instead.
func (*ListStorageSpacesRequest) GetFieldMask ¶
func (x *ListStorageSpacesRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListStorageSpacesRequest) GetFilters ¶
func (x *ListStorageSpacesRequest) GetFilters() []*ListStorageSpacesRequest_Filter
func (*ListStorageSpacesRequest) GetOpaque ¶
func (x *ListStorageSpacesRequest) GetOpaque() *v1beta1.Opaque
func (*ListStorageSpacesRequest) GetPageSize ¶
func (x *ListStorageSpacesRequest) GetPageSize() int32
func (*ListStorageSpacesRequest) GetPageToken ¶
func (x *ListStorageSpacesRequest) GetPageToken() string
func (*ListStorageSpacesRequest) ProtoMessage ¶
func (*ListStorageSpacesRequest) ProtoMessage()
func (*ListStorageSpacesRequest) ProtoReflect ¶
func (x *ListStorageSpacesRequest) ProtoReflect() protoreflect.Message
func (*ListStorageSpacesRequest) Reset ¶
func (x *ListStorageSpacesRequest) Reset()
func (*ListStorageSpacesRequest) String ¶
func (x *ListStorageSpacesRequest) String() string
type ListStorageSpacesRequest_Filter ¶
type ListStorageSpacesRequest_Filter struct { // REQUIRED. Type ListStorageSpacesRequest_Filter_Type `` /* 133-byte string literal not displayed */ // Types that are assignable to Term: // // *ListStorageSpacesRequest_Filter_Id // *ListStorageSpacesRequest_Filter_Owner // *ListStorageSpacesRequest_Filter_SpaceType // *ListStorageSpacesRequest_Filter_Path // *ListStorageSpacesRequest_Filter_User Term isListStorageSpacesRequest_Filter_Term `protobuf_oneof:"term"` // contains filtered or unexported fields }
Represents a filter to apply to the request.
func (*ListStorageSpacesRequest_Filter) Descriptor
deprecated
func (*ListStorageSpacesRequest_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageSpacesRequest_Filter.ProtoReflect.Descriptor instead.
func (*ListStorageSpacesRequest_Filter) GetId ¶
func (x *ListStorageSpacesRequest_Filter) GetId() *StorageSpaceId
func (*ListStorageSpacesRequest_Filter) GetOwner ¶
func (x *ListStorageSpacesRequest_Filter) GetOwner() *v1beta11.UserId
func (*ListStorageSpacesRequest_Filter) GetPath ¶
func (x *ListStorageSpacesRequest_Filter) GetPath() string
func (*ListStorageSpacesRequest_Filter) GetSpaceType ¶
func (x *ListStorageSpacesRequest_Filter) GetSpaceType() string
func (*ListStorageSpacesRequest_Filter) GetTerm ¶
func (m *ListStorageSpacesRequest_Filter) GetTerm() isListStorageSpacesRequest_Filter_Term
func (*ListStorageSpacesRequest_Filter) GetType ¶
func (x *ListStorageSpacesRequest_Filter) GetType() ListStorageSpacesRequest_Filter_Type
func (*ListStorageSpacesRequest_Filter) GetUser ¶
func (x *ListStorageSpacesRequest_Filter) GetUser() *v1beta11.UserId
func (*ListStorageSpacesRequest_Filter) ProtoMessage ¶
func (*ListStorageSpacesRequest_Filter) ProtoMessage()
func (*ListStorageSpacesRequest_Filter) ProtoReflect ¶
func (x *ListStorageSpacesRequest_Filter) ProtoReflect() protoreflect.Message
func (*ListStorageSpacesRequest_Filter) Reset ¶
func (x *ListStorageSpacesRequest_Filter) Reset()
func (*ListStorageSpacesRequest_Filter) String ¶
func (x *ListStorageSpacesRequest_Filter) String() string
type ListStorageSpacesRequest_Filter_Id ¶
type ListStorageSpacesRequest_Filter_Id struct {
Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
}
type ListStorageSpacesRequest_Filter_Path ¶
type ListStorageSpacesRequest_Filter_Path struct {
Path string `protobuf:"bytes,5,opt,name=path,proto3,oneof"`
}
type ListStorageSpacesRequest_Filter_SpaceType ¶
type ListStorageSpacesRequest_Filter_SpaceType struct {
SpaceType string `protobuf:"bytes,4,opt,name=space_type,json=spaceType,proto3,oneof"`
}
type ListStorageSpacesRequest_Filter_Type ¶
type ListStorageSpacesRequest_Filter_Type int32
The filter to apply.
const ( ListStorageSpacesRequest_Filter_TYPE_INVALID ListStorageSpacesRequest_Filter_Type = 0 ListStorageSpacesRequest_Filter_TYPE_NO ListStorageSpacesRequest_Filter_Type = 1 ListStorageSpacesRequest_Filter_TYPE_ID ListStorageSpacesRequest_Filter_Type = 2 ListStorageSpacesRequest_Filter_TYPE_OWNER ListStorageSpacesRequest_Filter_Type = 3 ListStorageSpacesRequest_Filter_TYPE_SPACE_TYPE ListStorageSpacesRequest_Filter_Type = 4 ListStorageSpacesRequest_Filter_TYPE_PATH ListStorageSpacesRequest_Filter_Type = 5 ListStorageSpacesRequest_Filter_TYPE_USER ListStorageSpacesRequest_Filter_Type = 6 )
func (ListStorageSpacesRequest_Filter_Type) Descriptor ¶
func (ListStorageSpacesRequest_Filter_Type) Descriptor() protoreflect.EnumDescriptor
func (ListStorageSpacesRequest_Filter_Type) Enum ¶
func (x ListStorageSpacesRequest_Filter_Type) Enum() *ListStorageSpacesRequest_Filter_Type
func (ListStorageSpacesRequest_Filter_Type) EnumDescriptor
deprecated
func (ListStorageSpacesRequest_Filter_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListStorageSpacesRequest_Filter_Type.Descriptor instead.
func (ListStorageSpacesRequest_Filter_Type) Number ¶
func (x ListStorageSpacesRequest_Filter_Type) Number() protoreflect.EnumNumber
func (ListStorageSpacesRequest_Filter_Type) String ¶
func (x ListStorageSpacesRequest_Filter_Type) String() string
func (ListStorageSpacesRequest_Filter_Type) Type ¶
func (ListStorageSpacesRequest_Filter_Type) Type() protoreflect.EnumType
type ListStorageSpacesResponse ¶
type ListStorageSpacesResponse struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // REQUIRED. StorageSpaces []*StorageSpace `protobuf:"bytes,3,rep,name=storage_spaces,json=storageSpaces,proto3" json:"storage_spaces,omitempty"` // OPTIONAL. // This field represents the pagination token to retrieve the next page of results. // If the value is "", it means no further results for the request. // see https://cloud.google.com/apis/design/design_patterns#list_pagination NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListStorageSpacesResponse) Descriptor
deprecated
func (*ListStorageSpacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageSpacesResponse.ProtoReflect.Descriptor instead.
func (*ListStorageSpacesResponse) GetNextPageToken ¶
func (x *ListStorageSpacesResponse) GetNextPageToken() string
func (*ListStorageSpacesResponse) GetOpaque ¶
func (x *ListStorageSpacesResponse) GetOpaque() *v1beta1.Opaque
func (*ListStorageSpacesResponse) GetStatus ¶
func (x *ListStorageSpacesResponse) GetStatus() *v1beta12.Status
func (*ListStorageSpacesResponse) GetStorageSpaces ¶
func (x *ListStorageSpacesResponse) GetStorageSpaces() []*StorageSpace
func (*ListStorageSpacesResponse) ProtoMessage ¶
func (*ListStorageSpacesResponse) ProtoMessage()
func (*ListStorageSpacesResponse) ProtoReflect ¶
func (x *ListStorageSpacesResponse) ProtoReflect() protoreflect.Message
func (*ListStorageSpacesResponse) Reset ¶
func (x *ListStorageSpacesResponse) Reset()
func (*ListStorageSpacesResponse) String ¶
func (x *ListStorageSpacesResponse) String() string
type Lock ¶
type Lock struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The id of the lock, eg. the X-WOPI-Lock id or the WebDAV opaquelocktoken. LockId string `protobuf:"bytes,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // REQUIRED. // The type of lock. Type LockType `protobuf:"varint,3,opt,name=type,proto3,enum=cs3.storage.provider.v1beta1.LockType" json:"type,omitempty"` // OPTIONAL. // The userid of a user, which represents either the lock holder, or the user that last created/modified the lock. // When non empty, `RefreshLock` and `Unlock` operations MUST check their request's content against it. User *v1beta11.UserId `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // OPTIONAL. // An application name if the lock is held by an app. // When non empty, `RefreshLock` and `Unlock` operations MUST check their request's content against it. AppName string `protobuf:"bytes,5,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // OPTIONAL. // The time when the lock will expire. Expiration *v1beta1.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
The metadata associated with a lock on a resource. Provided that storage drivers are free to implement the storage of this metadata according to their constraints, a reference implementation is given here. The lock SHOULD be stored as an extended attribute on the referenced filesystem entry. Such extended attribute MUST NOT be exposed via the `Stat` and `SetArbitraryMetadata` APIs. Instead, the `ResourceInfo.Lock` attribute MUST be populated if a lock exists for the given reference.
func (*Lock) Descriptor
deprecated
func (*Lock) GetAppName ¶
func (*Lock) GetExpiration ¶
func (*Lock) ProtoMessage ¶
func (*Lock) ProtoMessage()
func (*Lock) ProtoReflect ¶
func (x *Lock) ProtoReflect() protoreflect.Message
type LockType ¶
type LockType int32
The available type of locks for a resource.
const ( LockType_LOCK_TYPE_INVALID LockType = 0 // Shared (advisory) lock: the resource can be read, // written/overwritten or unlocked by everyone who has access. LockType_LOCK_TYPE_SHARED LockType = 1 // Write lock: the resource can be read by everyone who has // access, but write, refreshlock and unlock operations // are restricted to the lock holder. LockType_LOCK_TYPE_WRITE LockType = 2 // Exclusive lock: only the lock holder can operate on the // resource, anyone else is denied to access it. LockType_LOCK_TYPE_EXCL LockType = 3 )
func (LockType) Descriptor ¶
func (LockType) Descriptor() protoreflect.EnumDescriptor
func (LockType) EnumDescriptor
deprecated
func (LockType) Number ¶
func (x LockType) Number() protoreflect.EnumNumber
func (LockType) Type ¶
func (LockType) Type() protoreflect.EnumType
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"` // OPTIONAL. // A lock_id: should the source reference be locked, the stored // lock_id MUST be equal to the given value. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,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) GetLockId ¶
func (x *MoveRequest) GetLockId() string
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_FAILED_PRECONDITION if the container // cannot be created at the specified reference. CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) // Creates a new resource of type file. // MUST return CODE_FAILED_PRECONDITION if the file // cannot be created at the specified reference. TouchFile(ctx context.Context, in *TouchFileRequest, opts ...grpc.CallOption) (*TouchFileResponse, error) // Deletes a resource. // If a resource specifies the non-empty container (directory, ...), // then the entire directory is deleted recursively. // If a resource specifies a reference or symlink type, only the reference is removed (not the target). // MUST return CODE_NOT_FOUND if the reference does not exist. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Denies access to the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist DenyGrant(ctx context.Context, in *DenyGrantRequest, opts ...grpc.CallOption) (*DenyGrantResponse, 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. SHOULD return CODE_FAILED_PRECONDITION // if the reference is already locked with a mismatched lock. // Additionally, the lock check MUST be enforced by the data // transfer protocol returned in response. 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_FAILED_PRECONDITION 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_FAILED_PRECONDITION if the restore_path is non-empty // and the recycle item cannot be restored to the restore_path. RestoreRecycleItem(ctx context.Context, in *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_FAILED_PRECONDITION if the acl does not exist. UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error) // Creates a symlink to another resource. CreateSymlink(ctx context.Context, in *CreateSymlinkRequest, opts ...grpc.CallOption) (*CreateSymlinkResponse, 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) // Locks a storage resource. Note that if the resource is a container, // MAY return CODE_NOT_IMPLEMENTED as the behavior is yet to be defined at this stage. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. // In addition, the implementation MUST ensure atomicity when multiple users // concurrently attempt to set a lock. // The caller MUST have write permissions on the resource. SetLock(ctx context.Context, in *SetLockRequest, opts ...grpc.CallOption) (*SetLockResponse, error) // Gets the lock metadata of a storage resource. // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. // The caller MUST have read permissions on the resource. GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*GetLockResponse, error) // Refreshes the lock metadata of a storage resource. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_PRECONDITION_FALIED if the reference is not locked // or if the caller does not hold the lock. // The caller MUST have write permissions on the resource. RefreshLock(ctx context.Context, in *RefreshLockRequest, opts ...grpc.CallOption) (*RefreshLockResponse, error) // Unlocks a storage resource. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_FAILED_PRECONDITION if the reference is not locked // or if the caller does not hold the lock. // The caller MUST have write permissions on the resource. Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProviderAPIClient ¶
func NewProviderAPIClient(cc grpc.ClientConnInterface) ProviderAPIClient
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_FAILED_PRECONDITION if the container // cannot be created at the specified reference. CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) // Creates a new resource of type file. // MUST return CODE_FAILED_PRECONDITION if the file // cannot be created at the specified reference. TouchFile(context.Context, *TouchFileRequest) (*TouchFileResponse, error) // Deletes a resource. // If a resource specifies the non-empty container (directory, ...), // then the entire directory is deleted recursively. // If a resource specifies a reference or symlink type, only the reference is removed (not the target). // MUST return CODE_NOT_FOUND if the reference does not exist. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Denies access to the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exist DenyGrant(context.Context, *DenyGrantRequest) (*DenyGrantResponse, 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. SHOULD return CODE_FAILED_PRECONDITION // if the reference is already locked with a mismatched lock. // Additionally, the lock check MUST be enforced by the data // transfer protocol returned in response. 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_FAILED_PRECONDITION 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_FAILED_PRECONDITION 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_FAILED_PRECONDITION if the acl does not exist. UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error) // Creates a symlink to another resource. CreateSymlink(context.Context, *CreateSymlinkRequest) (*CreateSymlinkResponse, 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) // Locks a storage resource. Note that if the resource is a container, // MAY return CODE_NOT_IMPLEMENTED as the behavior is yet to be defined at this stage. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_FAILED_PRECONDITION if the reference is already locked. // In addition, the implementation MUST ensure atomicity when multiple users // concurrently attempt to set a lock. // The caller MUST have write permissions on the resource. SetLock(context.Context, *SetLockRequest) (*SetLockResponse, error) // Gets the lock metadata of a storage resource. // MUST return CODE_NOT_FOUND if the reference does not exist or is not locked. // The caller MUST have read permissions on the resource. GetLock(context.Context, *GetLockRequest) (*GetLockResponse, error) // Refreshes the lock metadata of a storage resource. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_PRECONDITION_FALIED if the reference is not locked // or if the caller does not hold the lock. // The caller MUST have write permissions on the resource. RefreshLock(context.Context, *RefreshLockRequest) (*RefreshLockResponse, error) // Unlocks a storage resource. // MUST return CODE_NOT_FOUND if the reference does not exist. // MUST return CODE_FAILED_PRECONDITION if the reference is not locked // or if the caller does not hold the lock. // The caller MUST have write permissions on the resource. Unlock(context.Context, *UnlockRequest) (*UnlockResponse, 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. All implementations should embed UnimplementedProviderAPIServer for forward compatibility
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"` // REQUIRED. // The key corresponding to the item to be purged.. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*PurgeRecycleRequest) Descriptor
deprecated
func (*PurgeRecycleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeRecycleRequest.ProtoReflect.Descriptor instead.
func (*PurgeRecycleRequest) GetKey ¶
func (x *PurgeRecycleRequest) GetKey() string
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 Quota ¶
type Quota struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // OPTIONAL. // The bytes quota for the space. QuotaMaxBytes uint64 `protobuf:"varint,2,opt,name=quota_max_bytes,json=quotaMaxBytes,proto3" json:"quota_max_bytes,omitempty"` // OPTIONAL. // The files quota for the space. QuotaMaxFiles uint64 `protobuf:"varint,3,opt,name=quota_max_files,json=quotaMaxFiles,proto3" json:"quota_max_files,omitempty"` // OPTIONAL. // The remaining bytes for the space. RemainingBytes uint64 `protobuf:"varint,4,opt,name=remaining_bytes,json=remainingBytes,proto3" json:"remaining_bytes,omitempty"` // OPTIONAL. // The remaining files for the space. RemainingFiles uint64 `protobuf:"varint,5,opt,name=remaining_files,json=remainingFiles,proto3" json:"remaining_files,omitempty"` // contains filtered or unexported fields }
Represents a quota for a storage space.
func (*Quota) Descriptor
deprecated
func (*Quota) GetQuotaMaxBytes ¶
func (*Quota) GetQuotaMaxFiles ¶
func (*Quota) GetRemainingBytes ¶
func (*Quota) GetRemainingFiles ¶
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) ProtoReflect ¶
func (x *Quota) ProtoReflect() protoreflect.Message
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 reference of the deleted resource. Ref *Reference `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,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) GetRef ¶
func (x *RecycleItem) GetRef() *Reference
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 { // OPTIONAL ResourceId *ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // OPTIONAL. // When starting with `/` represents an absolute path. In this case the resource_id MUST be empty. // When starting with `.` represents a path relative to the resource_id. The resource_id MUST be given. // When path is empty the resource_id must be set. Used to look up the path for a resource_id. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
The mechanism to identify a resource in the CS3 namespace. It can represent path based, id based and combined references: The storage registry uses the storage_id to determine the responsible storage provider. When the storage_id is not available it will use the path. In a URL the different components can be represented in a string using the following layout: <storage_id>!<node_id>:<path>
func (*Reference) Descriptor
deprecated
func (*Reference) GetResourceId ¶
func (x *Reference) GetResourceId() *ResourceId
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type RefreshLockRequest ¶
type RefreshLockRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference on which the lock should be refreshed. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The lock metadata. Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` // OPTIONAL. // The existing lock id. // This can be used to refresh the existing lock with a new lock while // checking if the lock holder sends the correct existing lock_id ExistingLockId string `protobuf:"bytes,4,opt,name=existing_lock_id,json=existingLockId,proto3" json:"existing_lock_id,omitempty"` // contains filtered or unexported fields }
func (*RefreshLockRequest) Descriptor
deprecated
func (*RefreshLockRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshLockRequest.ProtoReflect.Descriptor instead.
func (*RefreshLockRequest) GetExistingLockId ¶
func (x *RefreshLockRequest) GetExistingLockId() string
func (*RefreshLockRequest) GetLock ¶
func (x *RefreshLockRequest) GetLock() *Lock
func (*RefreshLockRequest) GetOpaque ¶
func (x *RefreshLockRequest) GetOpaque() *v1beta1.Opaque
func (*RefreshLockRequest) GetRef ¶
func (x *RefreshLockRequest) GetRef() *Reference
func (*RefreshLockRequest) ProtoMessage ¶
func (*RefreshLockRequest) ProtoMessage()
func (*RefreshLockRequest) ProtoReflect ¶
func (x *RefreshLockRequest) ProtoReflect() protoreflect.Message
func (*RefreshLockRequest) Reset ¶
func (x *RefreshLockRequest) Reset()
func (*RefreshLockRequest) String ¶
func (x *RefreshLockRequest) String() string
type RefreshLockResponse ¶
type RefreshLockResponse 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 (*RefreshLockResponse) Descriptor
deprecated
func (*RefreshLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshLockResponse.ProtoReflect.Descriptor instead.
func (*RefreshLockResponse) GetOpaque ¶
func (x *RefreshLockResponse) GetOpaque() *v1beta1.Opaque
func (*RefreshLockResponse) GetStatus ¶
func (x *RefreshLockResponse) GetStatus() *v1beta11.Status
func (*RefreshLockResponse) ProtoMessage ¶
func (*RefreshLockResponse) ProtoMessage()
func (*RefreshLockResponse) ProtoReflect ¶
func (x *RefreshLockResponse) ProtoReflect() protoreflect.Message
func (*RefreshLockResponse) Reset ¶
func (x *RefreshLockResponse) Reset()
func (*RefreshLockResponse) String ¶
func (x *RefreshLockResponse) String() string
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"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id SHOULD be equal to the given value. However, // storage implementations MAY allow for unsetting grants // even if the lock does not match. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,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) GetLockId ¶
func (x *RemoveGrantRequest) GetLockId() string
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 logical id of a storage. Used by the storage // registry to determine the responsible 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"` // OPTIONAL. // The internal id used by service implementor to // uniquely identify the storage space. // Used by the storageprovider to locate the correct storage space. SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // contains filtered or unexported fields }
A resource id uniquely identifies 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) GetSpaceId ¶
func (x *ResourceId) GetSpaceId() 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: // MUST start with `/` when the reference had no resource_id, indicating an absolute path. // MUST start with `.` when the reference had a resource_id, indicating a relative path. 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"` // OPTIONAL. // if ResourceType is either RESOURCE_TYPE_SYMLINK or RESOURCE_TYPE_REFERENCE // it MUST be specified. Target string `protobuf:"bytes,12,opt,name=target,proto3" json:"target,omitempty"` // OPTIONAL. // Additional metadata attached to the resource. // If ResourceType 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"` // OPTIONAL. // Exclusive or write lock on this resource that will limit modification of the resource to holders of the lock. // Can be used by WOPI or other apps requiring write or exclusive locks. Lock *Lock `protobuf:"bytes,15,opt,name=lock,proto3" json:"lock,omitempty"` // OPTIONAL. // Advisory locks on this resource. Can be used for shared locks or other forms of collaborative locks. AdvisoryLocks []*Lock `protobuf:"bytes,16,rep,name=advisory_locks,json=advisoryLocks,proto3" json:"advisory_locks,omitempty"` // OPTIONAL. // Reference to the container of this resource. If path is relative it MUST be specified, regardless the // access restrictions to the resource: a subsequent Stat() on it MAY return access denied if appropriate. ParentId *ResourceId `protobuf:"bytes,17,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // OPTIONAL // The name of the resource. Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // OPTIONAL. // StorageSpace where this resource is located. Space *StorageSpace `protobuf:"bytes,19,opt,name=space,proto3" json:"space,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) GetAdvisoryLocks ¶
func (x *ResourceInfo) GetAdvisoryLocks() []*Lock
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) GetLock ¶
func (x *ResourceInfo) GetLock() *Lock
func (*ResourceInfo) GetMimeType ¶
func (x *ResourceInfo) GetMimeType() string
func (*ResourceInfo) GetMtime ¶
func (x *ResourceInfo) GetMtime() *v1beta1.Timestamp
func (*ResourceInfo) GetName ¶
func (x *ResourceInfo) GetName() string
func (*ResourceInfo) GetOpaque ¶
func (x *ResourceInfo) GetOpaque() *v1beta1.Opaque
func (*ResourceInfo) GetOwner ¶
func (x *ResourceInfo) GetOwner() *v1beta11.UserId
func (*ResourceInfo) GetParentId ¶
func (x *ResourceInfo) GetParentId() *ResourceId
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) GetSpace ¶
func (x *ResourceInfo) GetSpace() *StorageSpace
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"` DenyGrant bool `protobuf:"varint,20,opt,name=deny_grant,json=denyGrant,proto3" json:"deny_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) GetDenyGrant ¶
func (x *ResourcePermissions) GetDenyGrant() 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"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id MUST be equal to the given value. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,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) GetLockId ¶
func (x *RestoreFileVersionRequest) GetLockId() 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 the user's home directory. 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. RestoreRef *Reference `protobuf:"bytes,4,opt,name=restore_ref,json=restoreRef,proto3" json:"restore_ref,omitempty"` // OPTIONAL. // A lock_id: should a lock exist for the reference where the file is // to be restored, the stored lock_id MUST be equal to the given value. LockId string `protobuf:"bytes,5,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // contains filtered or unexported fields }
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) GetLockId ¶
func (x *RestoreRecycleItemRequest) GetLockId() string
func (*RestoreRecycleItemRequest) GetOpaque ¶
func (x *RestoreRecycleItemRequest) GetOpaque() *v1beta1.Opaque
func (*RestoreRecycleItemRequest) GetRef ¶
func (x *RestoreRecycleItemRequest) GetRef() *Reference
func (*RestoreRecycleItemRequest) GetRestoreRef ¶
func (x *RestoreRecycleItemRequest) GetRestoreRef() *Reference
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"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id SHOULD be equal to the given value. However, // storage implementations MAY allow for setting attributes // even if the lock does not match. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,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) GetLockId ¶
func (x *SetArbitraryMetadataRequest) GetLockId() string
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 SetLockRequest ¶
type SetLockRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference on which the lock should be set, // if no lock is present. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The lock metadata. Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` // contains filtered or unexported fields }
func (*SetLockRequest) Descriptor
deprecated
func (*SetLockRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLockRequest.ProtoReflect.Descriptor instead.
func (*SetLockRequest) GetLock ¶
func (x *SetLockRequest) GetLock() *Lock
func (*SetLockRequest) GetOpaque ¶
func (x *SetLockRequest) GetOpaque() *v1beta1.Opaque
func (*SetLockRequest) GetRef ¶
func (x *SetLockRequest) GetRef() *Reference
func (*SetLockRequest) ProtoMessage ¶
func (*SetLockRequest) ProtoMessage()
func (*SetLockRequest) ProtoReflect ¶
func (x *SetLockRequest) ProtoReflect() protoreflect.Message
func (*SetLockRequest) Reset ¶
func (x *SetLockRequest) Reset()
func (*SetLockRequest) String ¶
func (x *SetLockRequest) String() string
type SetLockResponse ¶
type SetLockResponse 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 (*SetLockResponse) Descriptor
deprecated
func (*SetLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetLockResponse.ProtoReflect.Descriptor instead.
func (*SetLockResponse) GetOpaque ¶
func (x *SetLockResponse) GetOpaque() *v1beta1.Opaque
func (*SetLockResponse) GetStatus ¶
func (x *SetLockResponse) GetStatus() *v1beta11.Status
func (*SetLockResponse) ProtoMessage ¶
func (*SetLockResponse) ProtoMessage()
func (*SetLockResponse) ProtoReflect ¶
func (x *SetLockResponse) ProtoReflect() protoreflect.Message
func (*SetLockResponse) Reset ¶
func (x *SetLockResponse) Reset()
func (*SetLockResponse) String ¶
func (x *SetLockResponse) String() string
type SpacesAPIClient ¶
type SpacesAPIClient interface { // Creates a storage space. CreateStorageSpace(ctx context.Context, in *CreateStorageSpaceRequest, opts ...grpc.CallOption) (*CreateStorageSpaceResponse, error) // Lists storage spaces. ListStorageSpaces(ctx context.Context, in *ListStorageSpacesRequest, opts ...grpc.CallOption) (*ListStorageSpacesResponse, error) // Updates a storage space. UpdateStorageSpace(ctx context.Context, in *UpdateStorageSpaceRequest, opts ...grpc.CallOption) (*UpdateStorageSpaceResponse, error) // Deletes a storage space. DeleteStorageSpace(ctx context.Context, in *DeleteStorageSpaceRequest, opts ...grpc.CallOption) (*DeleteStorageSpaceResponse, error) }
SpacesAPIClient is the client API for SpacesAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSpacesAPIClient ¶
func NewSpacesAPIClient(cc grpc.ClientConnInterface) SpacesAPIClient
type SpacesAPIServer ¶
type SpacesAPIServer interface { // Creates a storage space. CreateStorageSpace(context.Context, *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error) // Lists storage spaces. ListStorageSpaces(context.Context, *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error) // Updates a storage space. UpdateStorageSpace(context.Context, *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error) // Deletes a storage space. DeleteStorageSpace(context.Context, *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error) }
SpacesAPIServer is the server API for SpacesAPI service. All implementations should embed UnimplementedSpacesAPIServer for forward compatibility
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 */ // OPTIONAL. // The field mask applies to the resource. For the `FieldMask` definition, // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // 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) GetFieldMask ¶
func (x *StatRequest) GetFieldMask() *fieldmaskpb.FieldMask
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 StorageSpace ¶
type StorageSpace struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. Id *StorageSpaceId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // OPTIONAL. Owner *v1beta11.User `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // OPTIONAL. // The root resource id of the storage space. Root *ResourceId `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` // OPTIONAL. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // OPTIONAL. Quota *Quota `protobuf:"bytes,6,opt,name=quota,proto3" json:"quota,omitempty"` // OPTIONAL. // Could be 'home', 'share', 'project', 'space'... SpaceType string `protobuf:"bytes,7,opt,name=space_type,json=spaceType,proto3" json:"space_type,omitempty"` // OPTIONAL. // Last modification time (mtime) of the root resource of this storage space. Mtime *v1beta1.Timestamp `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` // OPTIONAL. // Resource info for the storage space root. RootInfo *ResourceInfo `protobuf:"bytes,9,opt,name=root_info,json=rootInfo,proto3" json:"root_info,omitempty"` // contains filtered or unexported fields }
Represents a storage space which could be a 'home', 'share' etc...
func (*StorageSpace) Descriptor
deprecated
func (*StorageSpace) Descriptor() ([]byte, []int)
Deprecated: Use StorageSpace.ProtoReflect.Descriptor instead.
func (*StorageSpace) GetId ¶
func (x *StorageSpace) GetId() *StorageSpaceId
func (*StorageSpace) GetMtime ¶
func (x *StorageSpace) GetMtime() *v1beta1.Timestamp
func (*StorageSpace) GetName ¶
func (x *StorageSpace) GetName() string
func (*StorageSpace) GetOpaque ¶
func (x *StorageSpace) GetOpaque() *v1beta1.Opaque
func (*StorageSpace) GetOwner ¶
func (x *StorageSpace) GetOwner() *v1beta11.User
func (*StorageSpace) GetQuota ¶
func (x *StorageSpace) GetQuota() *Quota
func (*StorageSpace) GetRoot ¶
func (x *StorageSpace) GetRoot() *ResourceId
func (*StorageSpace) GetRootInfo ¶
func (x *StorageSpace) GetRootInfo() *ResourceInfo
func (*StorageSpace) GetSpaceType ¶
func (x *StorageSpace) GetSpaceType() string
func (*StorageSpace) ProtoMessage ¶
func (*StorageSpace) ProtoMessage()
func (*StorageSpace) ProtoReflect ¶
func (x *StorageSpace) ProtoReflect() protoreflect.Message
func (*StorageSpace) Reset ¶
func (x *StorageSpace) Reset()
func (*StorageSpace) String ¶
func (x *StorageSpace) String() string
type StorageSpaceId ¶
type StorageSpaceId struct { // REQUIRED. // The internal storage space id. OpaqueId string `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"` // contains filtered or unexported fields }
The id of a storage space.
func (*StorageSpaceId) Descriptor
deprecated
func (*StorageSpaceId) Descriptor() ([]byte, []int)
Deprecated: Use StorageSpaceId.ProtoReflect.Descriptor instead.
func (*StorageSpaceId) GetOpaqueId ¶
func (x *StorageSpaceId) GetOpaqueId() string
func (*StorageSpaceId) ProtoMessage ¶
func (*StorageSpaceId) ProtoMessage()
func (*StorageSpaceId) ProtoReflect ¶
func (x *StorageSpaceId) ProtoReflect() protoreflect.Message
func (*StorageSpaceId) Reset ¶
func (x *StorageSpaceId) Reset()
func (*StorageSpaceId) String ¶
func (x *StorageSpaceId) String() string
type TouchFileRequest ¶
type TouchFileRequest 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. // A lock_id: should the reference be locked, the stored // lock_id MUST be equal to the given value. However, implementations // MAY allow touching an existing file even with a mismatching lock. LockId string `protobuf:"bytes,3,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // contains filtered or unexported fields }
func (*TouchFileRequest) Descriptor
deprecated
func (*TouchFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use TouchFileRequest.ProtoReflect.Descriptor instead.
func (*TouchFileRequest) GetLockId ¶
func (x *TouchFileRequest) GetLockId() string
func (*TouchFileRequest) GetOpaque ¶
func (x *TouchFileRequest) GetOpaque() *v1beta1.Opaque
func (*TouchFileRequest) GetRef ¶
func (x *TouchFileRequest) GetRef() *Reference
func (*TouchFileRequest) ProtoMessage ¶
func (*TouchFileRequest) ProtoMessage()
func (*TouchFileRequest) ProtoReflect ¶
func (x *TouchFileRequest) ProtoReflect() protoreflect.Message
func (*TouchFileRequest) Reset ¶
func (x *TouchFileRequest) Reset()
func (*TouchFileRequest) String ¶
func (x *TouchFileRequest) String() string
type TouchFileResponse ¶
type TouchFileResponse 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 (*TouchFileResponse) Descriptor
deprecated
func (*TouchFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use TouchFileResponse.ProtoReflect.Descriptor instead.
func (*TouchFileResponse) GetOpaque ¶
func (x *TouchFileResponse) GetOpaque() *v1beta1.Opaque
func (*TouchFileResponse) GetStatus ¶
func (x *TouchFileResponse) GetStatus() *v1beta11.Status
func (*TouchFileResponse) ProtoMessage ¶
func (*TouchFileResponse) ProtoMessage()
func (*TouchFileResponse) ProtoReflect ¶
func (x *TouchFileResponse) ProtoReflect() protoreflect.Message
func (*TouchFileResponse) Reset ¶
func (x *TouchFileResponse) Reset()
func (*TouchFileResponse) String ¶
func (x *TouchFileResponse) String() string
type UnimplementedProviderAPIServer ¶
type UnimplementedProviderAPIServer struct { }
UnimplementedProviderAPIServer should 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) CreateSymlink ¶
func (UnimplementedProviderAPIServer) CreateSymlink(context.Context, *CreateSymlinkRequest) (*CreateSymlinkResponse, error)
func (UnimplementedProviderAPIServer) Delete ¶
func (UnimplementedProviderAPIServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedProviderAPIServer) DenyGrant ¶
func (UnimplementedProviderAPIServer) DenyGrant(context.Context, *DenyGrantRequest) (*DenyGrantResponse, error)
func (UnimplementedProviderAPIServer) GetHome ¶
func (UnimplementedProviderAPIServer) GetHome(context.Context, *GetHomeRequest) (*GetHomeResponse, error)
func (UnimplementedProviderAPIServer) GetLock ¶
func (UnimplementedProviderAPIServer) GetLock(context.Context, *GetLockRequest) (*GetLockResponse, 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) RefreshLock ¶
func (UnimplementedProviderAPIServer) RefreshLock(context.Context, *RefreshLockRequest) (*RefreshLockResponse, 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) SetLock ¶
func (UnimplementedProviderAPIServer) SetLock(context.Context, *SetLockRequest) (*SetLockResponse, error)
func (UnimplementedProviderAPIServer) Stat ¶
func (UnimplementedProviderAPIServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
func (UnimplementedProviderAPIServer) TouchFile ¶
func (UnimplementedProviderAPIServer) TouchFile(context.Context, *TouchFileRequest) (*TouchFileResponse, error)
func (UnimplementedProviderAPIServer) Unlock ¶
func (UnimplementedProviderAPIServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error)
func (UnimplementedProviderAPIServer) UnsetArbitraryMetadata ¶
func (UnimplementedProviderAPIServer) UnsetArbitraryMetadata(context.Context, *UnsetArbitraryMetadataRequest) (*UnsetArbitraryMetadataResponse, error)
func (UnimplementedProviderAPIServer) UpdateGrant ¶
func (UnimplementedProviderAPIServer) UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error)
type UnimplementedSpacesAPIServer ¶
type UnimplementedSpacesAPIServer struct { }
UnimplementedSpacesAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedSpacesAPIServer) CreateStorageSpace ¶
func (UnimplementedSpacesAPIServer) CreateStorageSpace(context.Context, *CreateStorageSpaceRequest) (*CreateStorageSpaceResponse, error)
func (UnimplementedSpacesAPIServer) DeleteStorageSpace ¶
func (UnimplementedSpacesAPIServer) DeleteStorageSpace(context.Context, *DeleteStorageSpaceRequest) (*DeleteStorageSpaceResponse, error)
func (UnimplementedSpacesAPIServer) ListStorageSpaces ¶
func (UnimplementedSpacesAPIServer) ListStorageSpaces(context.Context, *ListStorageSpacesRequest) (*ListStorageSpacesResponse, error)
func (UnimplementedSpacesAPIServer) UpdateStorageSpace ¶
func (UnimplementedSpacesAPIServer) UpdateStorageSpace(context.Context, *UpdateStorageSpaceRequest) (*UpdateStorageSpaceResponse, error)
type UnlockRequest ¶
type UnlockRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The reference the lock is associated to. Ref *Reference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // REQUIRED. // The lock metadata. Lock *Lock `protobuf:"bytes,3,opt,name=lock,proto3" json:"lock,omitempty"` // contains filtered or unexported fields }
func (*UnlockRequest) Descriptor
deprecated
func (*UnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead.
func (*UnlockRequest) GetLock ¶
func (x *UnlockRequest) GetLock() *Lock
func (*UnlockRequest) GetOpaque ¶
func (x *UnlockRequest) GetOpaque() *v1beta1.Opaque
func (*UnlockRequest) GetRef ¶
func (x *UnlockRequest) GetRef() *Reference
func (*UnlockRequest) ProtoMessage ¶
func (*UnlockRequest) ProtoMessage()
func (*UnlockRequest) ProtoReflect ¶
func (x *UnlockRequest) ProtoReflect() protoreflect.Message
func (*UnlockRequest) Reset ¶
func (x *UnlockRequest) Reset()
func (*UnlockRequest) String ¶
func (x *UnlockRequest) String() string
type UnlockResponse ¶
type UnlockResponse 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 (*UnlockResponse) Descriptor
deprecated
func (*UnlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead.
func (*UnlockResponse) GetOpaque ¶
func (x *UnlockResponse) GetOpaque() *v1beta1.Opaque
func (*UnlockResponse) GetStatus ¶
func (x *UnlockResponse) GetStatus() *v1beta11.Status
func (*UnlockResponse) ProtoMessage ¶
func (*UnlockResponse) ProtoMessage()
func (*UnlockResponse) ProtoReflect ¶
func (x *UnlockResponse) ProtoReflect() protoreflect.Message
func (*UnlockResponse) Reset ¶
func (x *UnlockResponse) Reset()
func (*UnlockResponse) String ¶
func (x *UnlockResponse) String() string
type UnsafeProviderAPIServer ¶
type UnsafeProviderAPIServer interface {
// contains filtered or unexported methods
}
UnsafeProviderAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderAPIServer will result in compilation errors.
type UnsafeSpacesAPIServer ¶
type UnsafeSpacesAPIServer interface {
// contains filtered or unexported methods
}
UnsafeSpacesAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SpacesAPIServer will result in compilation errors.
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 */ // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id SHOULD be equal to the given value. However, // storage implementations MAY allow for unsetting attributes // even if the lock does not match. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"` // 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) GetLockId ¶
func (x *UnsetArbitraryMetadataRequest) GetLockId() 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"` // OPTIONAL. // A lock_id: should the reference be locked, the stored // lock_id SHOULD be equal to the given value. However, // storage implementations MAY allow for updating grants // even if the lock does not match. LockId string `protobuf:"bytes,4,opt,name=lock_id,json=lockId,proto3" json:"lock_id,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) GetLockId ¶
func (x *UpdateGrantRequest) GetLockId() string
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
type UpdateStorageSpaceRequest ¶
type UpdateStorageSpaceRequest struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. StorageSpace *StorageSpace `protobuf:"bytes,2,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` // contains filtered or unexported fields }
func (*UpdateStorageSpaceRequest) Descriptor
deprecated
func (*UpdateStorageSpaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStorageSpaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateStorageSpaceRequest) GetOpaque ¶
func (x *UpdateStorageSpaceRequest) GetOpaque() *v1beta1.Opaque
func (*UpdateStorageSpaceRequest) GetStorageSpace ¶
func (x *UpdateStorageSpaceRequest) GetStorageSpace() *StorageSpace
func (*UpdateStorageSpaceRequest) ProtoMessage ¶
func (*UpdateStorageSpaceRequest) ProtoMessage()
func (*UpdateStorageSpaceRequest) ProtoReflect ¶
func (x *UpdateStorageSpaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateStorageSpaceRequest) Reset ¶
func (x *UpdateStorageSpaceRequest) Reset()
func (*UpdateStorageSpaceRequest) String ¶
func (x *UpdateStorageSpaceRequest) String() string
type UpdateStorageSpaceResponse ¶
type UpdateStorageSpaceResponse struct { // OPTIONAL. // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. // The response status. Status *v1beta12.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // REQUIRED. // The updated storage space. StorageSpace *StorageSpace `protobuf:"bytes,3,opt,name=storage_space,json=storageSpace,proto3" json:"storage_space,omitempty"` // contains filtered or unexported fields }
func (*UpdateStorageSpaceResponse) Descriptor
deprecated
func (*UpdateStorageSpaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStorageSpaceResponse.ProtoReflect.Descriptor instead.
func (*UpdateStorageSpaceResponse) GetOpaque ¶
func (x *UpdateStorageSpaceResponse) GetOpaque() *v1beta1.Opaque
func (*UpdateStorageSpaceResponse) GetStatus ¶
func (x *UpdateStorageSpaceResponse) GetStatus() *v1beta12.Status
func (*UpdateStorageSpaceResponse) GetStorageSpace ¶
func (x *UpdateStorageSpaceResponse) GetStorageSpace() *StorageSpace
func (*UpdateStorageSpaceResponse) ProtoMessage ¶
func (*UpdateStorageSpaceResponse) ProtoMessage()
func (*UpdateStorageSpaceResponse) ProtoReflect ¶
func (x *UpdateStorageSpaceResponse) ProtoReflect() protoreflect.Message
func (*UpdateStorageSpaceResponse) Reset ¶
func (x *UpdateStorageSpaceResponse) Reset()
func (*UpdateStorageSpaceResponse) String ¶
func (x *UpdateStorageSpaceResponse) String() string