Versions in this module Expand all Collapse all v0 v0.1.0 Mar 30, 2021 Changes in this version + var File_file_proto protoreflect.FileDescriptor + func RegisterFilesServer(s grpc.ServiceRegistrar, srv FilesServer) + type Cursor struct + After string + AsOf *timestamppb.Timestamp + func (*Cursor) Descriptor() ([]byte, []int) + func (*Cursor) ProtoMessage() + func (x *Cursor) GetAfter() string + func (x *Cursor) GetAsOf() *timestamppb.Timestamp + func (x *Cursor) ProtoReflect() protoreflect.Message + func (x *Cursor) Reset() + func (x *Cursor) String() string + type DeleteRequest struct + Path string + Tenant *tenant.ID + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (x *DeleteRequest) GetPath() string + func (x *DeleteRequest) GetTenant() *tenant.ID + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type FilesClient interface + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + Retrieve func(ctx context.Context, in *RetrievalRequest, opts ...grpc.CallOption) (*RetrievalResponse, error) + func NewFilesClient(cc grpc.ClientConnInterface) FilesClient + type FilesServer interface + Delete func(context.Context, *DeleteRequest) (*emptypb.Empty, error) + List func(context.Context, *ListRequest) (*ListResponse, error) + Retrieve func(context.Context, *RetrievalRequest) (*RetrievalResponse, error) + type ListRequest struct + Cursor *Cursor + Path string + Tenant *tenant.ID + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (x *ListRequest) GetCursor() *Cursor + func (x *ListRequest) GetPath() string + func (x *ListRequest) GetTenant() *tenant.ID + func (x *ListRequest) ProtoReflect() protoreflect.Message + func (x *ListRequest) Reset() + func (x *ListRequest) String() string + type ListResponse struct + Cursor *Cursor + Files []*Meta + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (x *ListResponse) GetCursor() *Cursor + func (x *ListResponse) GetFiles() []*Meta + func (x *ListResponse) ProtoReflect() protoreflect.Message + func (x *ListResponse) Reset() + func (x *ListResponse) String() string + type Meta struct + CreatedAt *timestamppb.Timestamp + Meta map[string]string + ModifiedAt *timestamppb.Timestamp + Path string + Size int64 + Tenant *tenant.ID + Version int64 + func (*Meta) Descriptor() ([]byte, []int) + func (*Meta) ProtoMessage() + func (x *Meta) GetCreatedAt() *timestamppb.Timestamp + func (x *Meta) GetMeta() map[string]string + func (x *Meta) GetModifiedAt() *timestamppb.Timestamp + func (x *Meta) GetPath() string + func (x *Meta) GetSize() int64 + func (x *Meta) GetTenant() *tenant.ID + func (x *Meta) GetVersion() int64 + func (x *Meta) ProtoReflect() protoreflect.Message + func (x *Meta) Reset() + func (x *Meta) String() string + type RetrievalRequest struct + Path string + Tenant *tenant.ID + ValidFor *durationpb.Duration + Version int64 + func (*RetrievalRequest) Descriptor() ([]byte, []int) + func (*RetrievalRequest) ProtoMessage() + func (x *RetrievalRequest) GetPath() string + func (x *RetrievalRequest) GetTenant() *tenant.ID + func (x *RetrievalRequest) GetValidFor() *durationpb.Duration + func (x *RetrievalRequest) GetVersion() int64 + func (x *RetrievalRequest) ProtoReflect() protoreflect.Message + func (x *RetrievalRequest) Reset() + func (x *RetrievalRequest) String() string + type RetrievalResponse struct + ExpiresAt *timestamppb.Timestamp + GetUri string + Meta *Meta + func (*RetrievalResponse) Descriptor() ([]byte, []int) + func (*RetrievalResponse) ProtoMessage() + func (x *RetrievalResponse) GetExpiresAt() *timestamppb.Timestamp + func (x *RetrievalResponse) GetGetUri() string + func (x *RetrievalResponse) GetMeta() *Meta + func (x *RetrievalResponse) ProtoReflect() protoreflect.Message + func (x *RetrievalResponse) Reset() + func (x *RetrievalResponse) String() string + type UnimplementedFilesServer struct + func (UnimplementedFilesServer) Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error) + func (UnimplementedFilesServer) List(context.Context, *ListRequest) (*ListResponse, error) + func (UnimplementedFilesServer) Retrieve(context.Context, *RetrievalRequest) (*RetrievalResponse, error) + type UnsafeFilesServer interface