proto

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SeekRequest_Whence_name = map[int32]string{
		0: "SEEK_START",
		1: "SEEK_CURRENT",
		2: "SEEK_END",
	}
	SeekRequest_Whence_value = map[string]int32{
		"SEEK_START":   0,
		"SEEK_CURRENT": 1,
		"SEEK_END":     2,
	}
)

Enum value maps for SeekRequest_Whence.

View Source
var BillyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.github.Jille.billy_grpc.BillyService",
	HandlerType: (*BillyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Stat",
			Handler:    _BillyService_Stat_Handler,
		},
		{
			MethodName: "Rename",
			Handler:    _BillyService_Rename_Handler,
		},
		{
			MethodName: "Remove",
			Handler:    _BillyService_Remove_Handler,
		},
		{
			MethodName: "ReadDir",
			Handler:    _BillyService_ReadDir_Handler,
		},
		{
			MethodName: "MkdirAll",
			Handler:    _BillyService_MkdirAll_Handler,
		},
		{
			MethodName: "Chmod",
			Handler:    _BillyService_Chmod_Handler,
		},
		{
			MethodName: "Lchown",
			Handler:    _BillyService_Lchown_Handler,
		},
		{
			MethodName: "Chown",
			Handler:    _BillyService_Chown_Handler,
		},
		{
			MethodName: "Chtimes",
			Handler:    _BillyService_Chtimes_Handler,
		},
		{
			MethodName: "Lstat",
			Handler:    _BillyService_Lstat_Handler,
		},
		{
			MethodName: "Symlink",
			Handler:    _BillyService_Symlink_Handler,
		},
		{
			MethodName: "Readlink",
			Handler:    _BillyService_Readlink_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "FileDescriptor",
			Handler:       _BillyService_FileDescriptor_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "billy.proto",
}

BillyService_ServiceDesc is the grpc.ServiceDesc for BillyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_billy_proto protoreflect.FileDescriptor

Functions

func RegisterBillyServiceServer

func RegisterBillyServiceServer(s grpc.ServiceRegistrar, srv BillyServiceServer)

Types

type BillyServiceClient

type BillyServiceClient interface {
	FileDescriptor(ctx context.Context, opts ...grpc.CallOption) (BillyService_FileDescriptorClient, error)
	Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error)
	Rename(ctx context.Context, in *RenameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReadDir(ctx context.Context, in *ReadDirRequest, opts ...grpc.CallOption) (*ReadDirResponse, error)
	MkdirAll(ctx context.Context, in *MkdirAllRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Chmod(ctx context.Context, in *ChmodRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Lchown(ctx context.Context, in *ChownRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Chown(ctx context.Context, in *ChownRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Chtimes(ctx context.Context, in *ChtimesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Lstat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error)
	Symlink(ctx context.Context, in *SymlinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Readlink(ctx context.Context, in *ReadlinkRequest, opts ...grpc.CallOption) (*ReadlinkResponse, error)
}

BillyServiceClient is the client API for BillyService 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.

type BillyServiceServer

BillyServiceServer is the server API for BillyService service. All implementations must embed UnimplementedBillyServiceServer for forward compatibility

type BillyService_FileDescriptorClient

type BillyService_FileDescriptorClient interface {
	Send(*FileDescriptorRequest) error
	Recv() (*FileDescriptorResponse, error)
	grpc.ClientStream
}

type BillyService_FileDescriptorServer

type BillyService_FileDescriptorServer interface {
	Send(*FileDescriptorResponse) error
	Recv() (*FileDescriptorRequest, error)
	grpc.ServerStream
}

type ChmodRequest

type ChmodRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Mode int32  `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*ChmodRequest) Descriptor deprecated

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

Deprecated: Use ChmodRequest.ProtoReflect.Descriptor instead.

func (*ChmodRequest) GetMode

func (x *ChmodRequest) GetMode() int32

func (*ChmodRequest) GetPath

func (x *ChmodRequest) GetPath() string

func (*ChmodRequest) ProtoMessage

func (*ChmodRequest) ProtoMessage()

func (*ChmodRequest) ProtoReflect

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

func (*ChmodRequest) Reset

func (x *ChmodRequest) Reset()

func (*ChmodRequest) String

func (x *ChmodRequest) String() string

type ChownRequest

type ChownRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Uid  int32  `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid  int32  `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
	// contains filtered or unexported fields
}

func (*ChownRequest) Descriptor deprecated

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

Deprecated: Use ChownRequest.ProtoReflect.Descriptor instead.

func (*ChownRequest) GetGid

func (x *ChownRequest) GetGid() int32

func (*ChownRequest) GetPath

func (x *ChownRequest) GetPath() string

func (*ChownRequest) GetUid

func (x *ChownRequest) GetUid() int32

func (*ChownRequest) ProtoMessage

func (*ChownRequest) ProtoMessage()

func (*ChownRequest) ProtoReflect

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

func (*ChownRequest) Reset

func (x *ChownRequest) Reset()

func (*ChownRequest) String

func (x *ChownRequest) String() string

type ChtimesRequest

type ChtimesRequest struct {
	Path  string                 `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Atime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=atime,proto3" json:"atime,omitempty"`
	Mtime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// contains filtered or unexported fields
}

func (*ChtimesRequest) Descriptor deprecated

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

Deprecated: Use ChtimesRequest.ProtoReflect.Descriptor instead.

func (*ChtimesRequest) GetAtime

func (x *ChtimesRequest) GetAtime() *timestamppb.Timestamp

func (*ChtimesRequest) GetMtime

func (x *ChtimesRequest) GetMtime() *timestamppb.Timestamp

func (*ChtimesRequest) GetPath

func (x *ChtimesRequest) GetPath() string

func (*ChtimesRequest) ProtoMessage

func (*ChtimesRequest) ProtoMessage()

func (*ChtimesRequest) ProtoReflect

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

func (*ChtimesRequest) Reset

func (x *ChtimesRequest) Reset()

func (*ChtimesRequest) String

func (x *ChtimesRequest) String() string

type CloseRequest

type CloseRequest struct {
	// contains filtered or unexported fields
}

func (*CloseRequest) Descriptor deprecated

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

Deprecated: Use CloseRequest.ProtoReflect.Descriptor instead.

func (*CloseRequest) ProtoMessage

func (*CloseRequest) ProtoMessage()

func (*CloseRequest) ProtoReflect

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

func (*CloseRequest) Reset

func (x *CloseRequest) Reset()

func (*CloseRequest) String

func (x *CloseRequest) String() string

type FileDescriptorRequest

type FileDescriptorRequest struct {

	// Optional. Opaque id that will be returned with the response.
	// Can be used to pipeline multiple requests that might be answered in a different order.
	RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Types that are assignable to Request:
	//	*FileDescriptorRequest_Open
	//	*FileDescriptorRequest_Close
	//	*FileDescriptorRequest_Read
	//	*FileDescriptorRequest_ReadAt
	//	*FileDescriptorRequest_Write
	//	*FileDescriptorRequest_WriteAt
	//	*FileDescriptorRequest_Seek
	//	*FileDescriptorRequest_Lock
	//	*FileDescriptorRequest_Unlock
	//	*FileDescriptorRequest_Truncate
	Request isFileDescriptorRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*FileDescriptorRequest) Descriptor deprecated

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

Deprecated: Use FileDescriptorRequest.ProtoReflect.Descriptor instead.

func (*FileDescriptorRequest) GetClose

func (x *FileDescriptorRequest) GetClose() *CloseRequest

func (*FileDescriptorRequest) GetLock

func (x *FileDescriptorRequest) GetLock() *LockRequest

func (*FileDescriptorRequest) GetOpen

func (x *FileDescriptorRequest) GetOpen() *OpenRequest

func (*FileDescriptorRequest) GetRead

func (x *FileDescriptorRequest) GetRead() *ReadRequest

func (*FileDescriptorRequest) GetReadAt

func (x *FileDescriptorRequest) GetReadAt() *ReadAtRequest

func (*FileDescriptorRequest) GetRequest

func (m *FileDescriptorRequest) GetRequest() isFileDescriptorRequest_Request

func (*FileDescriptorRequest) GetRequestId

func (x *FileDescriptorRequest) GetRequestId() int64

func (*FileDescriptorRequest) GetSeek

func (x *FileDescriptorRequest) GetSeek() *SeekRequest

func (*FileDescriptorRequest) GetTruncate

func (x *FileDescriptorRequest) GetTruncate() *TruncateRequest

func (*FileDescriptorRequest) GetUnlock

func (x *FileDescriptorRequest) GetUnlock() *UnlockRequest

func (*FileDescriptorRequest) GetWrite

func (x *FileDescriptorRequest) GetWrite() *WriteRequest

func (*FileDescriptorRequest) GetWriteAt

func (x *FileDescriptorRequest) GetWriteAt() *WriteAtRequest

func (*FileDescriptorRequest) ProtoMessage

func (*FileDescriptorRequest) ProtoMessage()

func (*FileDescriptorRequest) ProtoReflect

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

func (*FileDescriptorRequest) Reset

func (x *FileDescriptorRequest) Reset()

func (*FileDescriptorRequest) String

func (x *FileDescriptorRequest) String() string

type FileDescriptorRequest_Close

type FileDescriptorRequest_Close struct {
	Close *CloseRequest `protobuf:"bytes,3,opt,name=close,proto3,oneof"`
}

type FileDescriptorRequest_Lock

type FileDescriptorRequest_Lock struct {
	Lock *LockRequest `protobuf:"bytes,9,opt,name=lock,proto3,oneof"`
}

type FileDescriptorRequest_Open

type FileDescriptorRequest_Open struct {
	Open *OpenRequest `protobuf:"bytes,2,opt,name=open,proto3,oneof"`
}

type FileDescriptorRequest_Read

type FileDescriptorRequest_Read struct {
	Read *ReadRequest `protobuf:"bytes,4,opt,name=read,proto3,oneof"`
}

type FileDescriptorRequest_ReadAt

type FileDescriptorRequest_ReadAt struct {
	ReadAt *ReadAtRequest `protobuf:"bytes,5,opt,name=read_at,json=readAt,proto3,oneof"`
}

type FileDescriptorRequest_Seek

type FileDescriptorRequest_Seek struct {
	Seek *SeekRequest `protobuf:"bytes,8,opt,name=seek,proto3,oneof"`
}

type FileDescriptorRequest_Truncate

type FileDescriptorRequest_Truncate struct {
	Truncate *TruncateRequest `protobuf:"bytes,11,opt,name=truncate,proto3,oneof"`
}

type FileDescriptorRequest_Unlock

type FileDescriptorRequest_Unlock struct {
	Unlock *UnlockRequest `protobuf:"bytes,10,opt,name=unlock,proto3,oneof"`
}

type FileDescriptorRequest_Write

type FileDescriptorRequest_Write struct {
	Write *WriteRequest `protobuf:"bytes,6,opt,name=write,proto3,oneof"`
}

type FileDescriptorRequest_WriteAt

type FileDescriptorRequest_WriteAt struct {
	WriteAt *WriteAtRequest `protobuf:"bytes,7,opt,name=write_at,json=writeAt,proto3,oneof"`
}

type FileDescriptorResponse

type FileDescriptorResponse struct {
	RequestId int64          `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Status    *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// Types that are assignable to Response:
	//	*FileDescriptorResponse_Read
	//	*FileDescriptorResponse_Write
	//	*FileDescriptorResponse_Seek
	Response isFileDescriptorResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*FileDescriptorResponse) Descriptor deprecated

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

Deprecated: Use FileDescriptorResponse.ProtoReflect.Descriptor instead.

func (*FileDescriptorResponse) GetRead

func (x *FileDescriptorResponse) GetRead() *ReadResponse

func (*FileDescriptorResponse) GetRequestId

func (x *FileDescriptorResponse) GetRequestId() int64

func (*FileDescriptorResponse) GetResponse

func (m *FileDescriptorResponse) GetResponse() isFileDescriptorResponse_Response

func (*FileDescriptorResponse) GetSeek

func (x *FileDescriptorResponse) GetSeek() *SeekResponse

func (*FileDescriptorResponse) GetStatus

func (x *FileDescriptorResponse) GetStatus() *status.Status

func (*FileDescriptorResponse) GetWrite

func (x *FileDescriptorResponse) GetWrite() *WriteResponse

func (*FileDescriptorResponse) ProtoMessage

func (*FileDescriptorResponse) ProtoMessage()

func (*FileDescriptorResponse) ProtoReflect

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

func (*FileDescriptorResponse) Reset

func (x *FileDescriptorResponse) Reset()

func (*FileDescriptorResponse) String

func (x *FileDescriptorResponse) String() string

type FileDescriptorResponse_Read

type FileDescriptorResponse_Read struct {
	Read *ReadResponse `protobuf:"bytes,3,opt,name=read,proto3,oneof"`
}

type FileDescriptorResponse_Seek

type FileDescriptorResponse_Seek struct {
	Seek *SeekResponse `protobuf:"bytes,5,opt,name=seek,proto3,oneof"`
}

type FileDescriptorResponse_Write

type FileDescriptorResponse_Write struct {
	Write *WriteResponse `protobuf:"bytes,4,opt,name=write,proto3,oneof"`
}

type LockRequest

type LockRequest struct {
	// contains filtered or unexported fields
}

func (*LockRequest) Descriptor deprecated

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

Deprecated: Use LockRequest.ProtoReflect.Descriptor instead.

func (*LockRequest) ProtoMessage

func (*LockRequest) ProtoMessage()

func (*LockRequest) ProtoReflect

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

func (*LockRequest) Reset

func (x *LockRequest) Reset()

func (*LockRequest) String

func (x *LockRequest) String() string

type MkdirAllRequest

type MkdirAllRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*MkdirAllRequest) Descriptor deprecated

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

Deprecated: Use MkdirAllRequest.ProtoReflect.Descriptor instead.

func (*MkdirAllRequest) GetMode

func (x *MkdirAllRequest) GetMode() uint32

func (*MkdirAllRequest) GetPath

func (x *MkdirAllRequest) GetPath() string

func (*MkdirAllRequest) ProtoMessage

func (*MkdirAllRequest) ProtoMessage()

func (*MkdirAllRequest) ProtoReflect

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

func (*MkdirAllRequest) Reset

func (x *MkdirAllRequest) Reset()

func (*MkdirAllRequest) String

func (x *MkdirAllRequest) String() string

type OpenRequest

type OpenRequest struct {
	Path          string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	ForReading    bool   `protobuf:"varint,2,opt,name=for_reading,json=forReading,proto3" json:"for_reading,omitempty"`
	ForWriting    bool   `protobuf:"varint,3,opt,name=for_writing,json=forWriting,proto3" json:"for_writing,omitempty"`
	Append        bool   `protobuf:"varint,4,opt,name=append,proto3" json:"append,omitempty"`
	AllowCreation bool   `protobuf:"varint,5,opt,name=allow_creation,json=allowCreation,proto3" json:"allow_creation,omitempty"`
	Exclusive     bool   `protobuf:"varint,6,opt,name=exclusive,proto3" json:"exclusive,omitempty"`
	Sync          bool   `protobuf:"varint,7,opt,name=sync,proto3" json:"sync,omitempty"`
	Truncate      bool   `protobuf:"varint,8,opt,name=truncate,proto3" json:"truncate,omitempty"`
	CreateMode    uint32 `protobuf:"varint,9,opt,name=create_mode,json=createMode,proto3" json:"create_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenRequest) Descriptor deprecated

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

Deprecated: Use OpenRequest.ProtoReflect.Descriptor instead.

func (*OpenRequest) GetAllowCreation

func (x *OpenRequest) GetAllowCreation() bool

func (*OpenRequest) GetAppend

func (x *OpenRequest) GetAppend() bool

func (*OpenRequest) GetCreateMode

func (x *OpenRequest) GetCreateMode() uint32

func (*OpenRequest) GetExclusive

func (x *OpenRequest) GetExclusive() bool

func (*OpenRequest) GetForReading

func (x *OpenRequest) GetForReading() bool

func (*OpenRequest) GetForWriting

func (x *OpenRequest) GetForWriting() bool

func (*OpenRequest) GetPath

func (x *OpenRequest) GetPath() string

func (*OpenRequest) GetSync

func (x *OpenRequest) GetSync() bool

func (*OpenRequest) GetTruncate

func (x *OpenRequest) GetTruncate() bool

func (*OpenRequest) ProtoMessage

func (*OpenRequest) ProtoMessage()

func (*OpenRequest) ProtoReflect

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

func (*OpenRequest) Reset

func (x *OpenRequest) Reset()

func (*OpenRequest) String

func (x *OpenRequest) String() string

type ReadAtRequest

type ReadAtRequest struct {
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Size   int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAtRequest) Descriptor deprecated

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

Deprecated: Use ReadAtRequest.ProtoReflect.Descriptor instead.

func (*ReadAtRequest) GetOffset

func (x *ReadAtRequest) GetOffset() int64

func (*ReadAtRequest) GetSize

func (x *ReadAtRequest) GetSize() int64

func (*ReadAtRequest) ProtoMessage

func (*ReadAtRequest) ProtoMessage()

func (*ReadAtRequest) ProtoReflect

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

func (*ReadAtRequest) Reset

func (x *ReadAtRequest) Reset()

func (*ReadAtRequest) String

func (x *ReadAtRequest) String() string

type ReadDirRequest

type ReadDirRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDirRequest) Descriptor deprecated

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

Deprecated: Use ReadDirRequest.ProtoReflect.Descriptor instead.

func (*ReadDirRequest) GetPath

func (x *ReadDirRequest) GetPath() string

func (*ReadDirRequest) ProtoMessage

func (*ReadDirRequest) ProtoMessage()

func (*ReadDirRequest) ProtoReflect

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

func (*ReadDirRequest) Reset

func (x *ReadDirRequest) Reset()

func (*ReadDirRequest) String

func (x *ReadDirRequest) String() string

type ReadDirResponse

type ReadDirResponse struct {
	Entries map[string]*StatResponse `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReadDirResponse) Descriptor deprecated

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

Deprecated: Use ReadDirResponse.ProtoReflect.Descriptor instead.

func (*ReadDirResponse) GetEntries

func (x *ReadDirResponse) GetEntries() map[string]*StatResponse

func (*ReadDirResponse) ProtoMessage

func (*ReadDirResponse) ProtoMessage()

func (*ReadDirResponse) ProtoReflect

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

func (*ReadDirResponse) Reset

func (x *ReadDirResponse) Reset()

func (*ReadDirResponse) String

func (x *ReadDirResponse) String() string

type ReadRequest

type ReadRequest struct {
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRequest) Descriptor deprecated

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

Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.

func (*ReadRequest) GetSize

func (x *ReadRequest) GetSize() int64

func (*ReadRequest) ProtoMessage

func (*ReadRequest) ProtoMessage()

func (*ReadRequest) ProtoReflect

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

func (*ReadRequest) Reset

func (x *ReadRequest) Reset()

func (*ReadRequest) String

func (x *ReadRequest) String() string

type ReadResponse

type ReadResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Eof  bool   `protobuf:"varint,2,opt,name=eof,proto3" json:"eof,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadResponse) Descriptor deprecated

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

Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.

func (*ReadResponse) GetData

func (x *ReadResponse) GetData() []byte

func (*ReadResponse) GetEof

func (x *ReadResponse) GetEof() bool

func (*ReadResponse) ProtoMessage

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) ProtoReflect

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

func (*ReadResponse) Reset

func (x *ReadResponse) Reset()

func (*ReadResponse) String

func (x *ReadResponse) String() string

type ReadlinkRequest

type ReadlinkRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadlinkRequest) Descriptor deprecated

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

Deprecated: Use ReadlinkRequest.ProtoReflect.Descriptor instead.

func (*ReadlinkRequest) GetPath

func (x *ReadlinkRequest) GetPath() string

func (*ReadlinkRequest) ProtoMessage

func (*ReadlinkRequest) ProtoMessage()

func (*ReadlinkRequest) ProtoReflect

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

func (*ReadlinkRequest) Reset

func (x *ReadlinkRequest) Reset()

func (*ReadlinkRequest) String

func (x *ReadlinkRequest) String() string

type ReadlinkResponse

type ReadlinkResponse struct {
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadlinkResponse) Descriptor deprecated

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

Deprecated: Use ReadlinkResponse.ProtoReflect.Descriptor instead.

func (*ReadlinkResponse) GetTarget

func (x *ReadlinkResponse) GetTarget() string

func (*ReadlinkResponse) ProtoMessage

func (*ReadlinkResponse) ProtoMessage()

func (*ReadlinkResponse) ProtoReflect

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

func (*ReadlinkResponse) Reset

func (x *ReadlinkResponse) Reset()

func (*ReadlinkResponse) String

func (x *ReadlinkResponse) String() string

type RemoveRequest

type RemoveRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRequest) Descriptor deprecated

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

Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.

func (*RemoveRequest) GetPath

func (x *RemoveRequest) GetPath() string

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) ProtoReflect

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

func (*RemoveRequest) Reset

func (x *RemoveRequest) Reset()

func (*RemoveRequest) String

func (x *RemoveRequest) String() string

type RenameRequest

type RenameRequest struct {
	OldPath string `protobuf:"bytes,1,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
	NewPath string `protobuf:"bytes,2,opt,name=new_path,json=newPath,proto3" json:"new_path,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameRequest) Descriptor deprecated

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

Deprecated: Use RenameRequest.ProtoReflect.Descriptor instead.

func (*RenameRequest) GetNewPath

func (x *RenameRequest) GetNewPath() string

func (*RenameRequest) GetOldPath

func (x *RenameRequest) GetOldPath() string

func (*RenameRequest) ProtoMessage

func (*RenameRequest) ProtoMessage()

func (*RenameRequest) ProtoReflect

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

func (*RenameRequest) Reset

func (x *RenameRequest) Reset()

func (*RenameRequest) String

func (x *RenameRequest) String() string

type SeekRequest

type SeekRequest struct {
	Offset int64              `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Whence SeekRequest_Whence `protobuf:"varint,2,opt,name=whence,proto3,enum=com.github.Jille.billy_grpc.SeekRequest_Whence" json:"whence,omitempty"`
	// contains filtered or unexported fields
}

func (*SeekRequest) Descriptor deprecated

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

Deprecated: Use SeekRequest.ProtoReflect.Descriptor instead.

func (*SeekRequest) GetOffset

func (x *SeekRequest) GetOffset() int64

func (*SeekRequest) GetWhence

func (x *SeekRequest) GetWhence() SeekRequest_Whence

func (*SeekRequest) ProtoMessage

func (*SeekRequest) ProtoMessage()

func (*SeekRequest) ProtoReflect

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

func (*SeekRequest) Reset

func (x *SeekRequest) Reset()

func (*SeekRequest) String

func (x *SeekRequest) String() string

type SeekRequest_Whence

type SeekRequest_Whence int32
const (
	SeekRequest_SEEK_START   SeekRequest_Whence = 0
	SeekRequest_SEEK_CURRENT SeekRequest_Whence = 1
	SeekRequest_SEEK_END     SeekRequest_Whence = 2
)

func (SeekRequest_Whence) Descriptor

func (SeekRequest_Whence) Enum

func (SeekRequest_Whence) EnumDescriptor deprecated

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

Deprecated: Use SeekRequest_Whence.Descriptor instead.

func (SeekRequest_Whence) Number

func (SeekRequest_Whence) String

func (x SeekRequest_Whence) String() string

func (SeekRequest_Whence) Type

type SeekResponse

type SeekResponse struct {
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*SeekResponse) Descriptor deprecated

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

Deprecated: Use SeekResponse.ProtoReflect.Descriptor instead.

func (*SeekResponse) GetOffset

func (x *SeekResponse) GetOffset() int64

func (*SeekResponse) ProtoMessage

func (*SeekResponse) ProtoMessage()

func (*SeekResponse) ProtoReflect

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

func (*SeekResponse) Reset

func (x *SeekResponse) Reset()

func (*SeekResponse) String

func (x *SeekResponse) String() string

type StatRequest

type StatRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*StatRequest) Descriptor deprecated

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

Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.

func (*StatRequest) GetPath

func (x *StatRequest) GetPath() string

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 {
	Size  int64                  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	Mode  int32                  `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	Mtime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"`
	IsDir bool                   `protobuf:"varint,4,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*StatResponse) Descriptor deprecated

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

Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.

func (*StatResponse) GetIsDir

func (x *StatResponse) GetIsDir() bool

func (*StatResponse) GetMode

func (x *StatResponse) GetMode() int32

func (*StatResponse) GetMtime

func (x *StatResponse) GetMtime() *timestamppb.Timestamp

func (*StatResponse) GetSize

func (x *StatResponse) GetSize() int64

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 SymlinkRequest

type SymlinkRequest struct {
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Link   string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*SymlinkRequest) Descriptor deprecated

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

Deprecated: Use SymlinkRequest.ProtoReflect.Descriptor instead.

func (x *SymlinkRequest) GetLink() string

func (*SymlinkRequest) GetTarget

func (x *SymlinkRequest) GetTarget() string

func (*SymlinkRequest) ProtoMessage

func (*SymlinkRequest) ProtoMessage()

func (*SymlinkRequest) ProtoReflect

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

func (*SymlinkRequest) Reset

func (x *SymlinkRequest) Reset()

func (*SymlinkRequest) String

func (x *SymlinkRequest) String() string

type TruncateRequest

type TruncateRequest struct {
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*TruncateRequest) Descriptor deprecated

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

Deprecated: Use TruncateRequest.ProtoReflect.Descriptor instead.

func (*TruncateRequest) GetSize

func (x *TruncateRequest) GetSize() int64

func (*TruncateRequest) ProtoMessage

func (*TruncateRequest) ProtoMessage()

func (*TruncateRequest) ProtoReflect

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

func (*TruncateRequest) Reset

func (x *TruncateRequest) Reset()

func (*TruncateRequest) String

func (x *TruncateRequest) String() string

type UnimplementedBillyServiceServer

type UnimplementedBillyServiceServer struct {
}

UnimplementedBillyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBillyServiceServer) Chmod

func (UnimplementedBillyServiceServer) Chown

func (UnimplementedBillyServiceServer) Chtimes

func (UnimplementedBillyServiceServer) FileDescriptor

func (UnimplementedBillyServiceServer) Lchown

func (UnimplementedBillyServiceServer) Lstat

func (UnimplementedBillyServiceServer) MkdirAll

func (UnimplementedBillyServiceServer) ReadDir

func (UnimplementedBillyServiceServer) Remove

func (UnimplementedBillyServiceServer) Rename

func (UnimplementedBillyServiceServer) Stat

type UnlockRequest

type UnlockRequest struct {
	// contains filtered or unexported fields
}

func (*UnlockRequest) Descriptor deprecated

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

Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead.

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 UnsafeBillyServiceServer

type UnsafeBillyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBillyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BillyServiceServer will result in compilation errors.

type WriteAtRequest

type WriteAtRequest struct {
	Offset int64  `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Data   []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteAtRequest) Descriptor deprecated

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

Deprecated: Use WriteAtRequest.ProtoReflect.Descriptor instead.

func (*WriteAtRequest) GetData

func (x *WriteAtRequest) GetData() []byte

func (*WriteAtRequest) GetOffset

func (x *WriteAtRequest) GetOffset() int64

func (*WriteAtRequest) ProtoMessage

func (*WriteAtRequest) ProtoMessage()

func (*WriteAtRequest) ProtoReflect

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

func (*WriteAtRequest) Reset

func (x *WriteAtRequest) Reset()

func (*WriteAtRequest) String

func (x *WriteAtRequest) String() string

type WriteRequest

type WriteRequest struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRequest) Descriptor deprecated

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

Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.

func (*WriteRequest) GetData

func (x *WriteRequest) GetData() []byte

func (*WriteRequest) ProtoMessage

func (*WriteRequest) ProtoMessage()

func (*WriteRequest) ProtoReflect

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

func (*WriteRequest) Reset

func (x *WriteRequest) Reset()

func (*WriteRequest) String

func (x *WriteRequest) String() string

type WriteResponse

type WriteResponse struct {
	NumWritten int64 `protobuf:"varint,1,opt,name=num_written,json=numWritten,proto3" json:"num_written,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteResponse) Descriptor deprecated

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

Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.

func (*WriteResponse) GetNumWritten

func (x *WriteResponse) GetNumWritten() int64

func (*WriteResponse) ProtoMessage

func (*WriteResponse) ProtoMessage()

func (*WriteResponse) ProtoReflect

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

func (*WriteResponse) Reset

func (x *WriteResponse) Reset()

func (*WriteResponse) String

func (x *WriteResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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