proto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: BSD-2-Clause Imports: 10 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 File_fileio_proto protoreflect.FileDescriptor
View Source
var RemoteFileSystemService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "RemoteFileSystemService",
	HandlerType: (*RemoteFileSystemServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Open",
			Handler:    _RemoteFileSystemService_Open_Handler,
		},
		{
			MethodName: "KeepAlive",
			Handler:    _RemoteFileSystemService_KeepAlive_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _RemoteFileSystemService_Read_Handler,
		},
		{
			MethodName: "ReadAt",
			Handler:    _RemoteFileSystemService_ReadAt_Handler,
		},
		{
			MethodName: "Write",
			Handler:    _RemoteFileSystemService_Write_Handler,
		},
		{
			MethodName: "WriteAt",
			Handler:    _RemoteFileSystemService_WriteAt_Handler,
		},
		{
			MethodName: "Seek",
			Handler:    _RemoteFileSystemService_Seek_Handler,
		},
		{
			MethodName: "Ftruncate",
			Handler:    _RemoteFileSystemService_Ftruncate_Handler,
		},
		{
			MethodName: "Truncate",
			Handler:    _RemoteFileSystemService_Truncate_Handler,
		},
		{
			MethodName: "Fstat",
			Handler:    _RemoteFileSystemService_Fstat_Handler,
		},
		{
			MethodName: "Stat",
			Handler:    _RemoteFileSystemService_Stat_Handler,
		},
		{
			MethodName: "Fsync",
			Handler:    _RemoteFileSystemService_Fsync_Handler,
		},
		{
			MethodName: "Close",
			Handler:    _RemoteFileSystemService_Close_Handler,
		},
		{
			MethodName: "Rename",
			Handler:    _RemoteFileSystemService_Rename_Handler,
		},
		{
			MethodName: "Unlink",
			Handler:    _RemoteFileSystemService_Unlink_Handler,
		},
		{
			MethodName: "Mkdir",
			Handler:    _RemoteFileSystemService_Mkdir_Handler,
		},
		{
			MethodName: "Rmdir",
			Handler:    _RemoteFileSystemService_Rmdir_Handler,
		},
		{
			MethodName: "Readdir",
			Handler:    _RemoteFileSystemService_Readdir_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fileio.proto",
}

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

Functions

func RegisterRemoteFileSystemServiceServer

func RegisterRemoteFileSystemServiceServer(s grpc.ServiceRegistrar, srv RemoteFileSystemServiceServer)

Types

type CloseRequest

type CloseRequest struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseRequest) Descriptor deprecated

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

Deprecated: Use CloseRequest.ProtoReflect.Descriptor instead.

func (*CloseRequest) GetFileDescriptor

func (x *CloseRequest) GetFileDescriptor() int64

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 FstatRequest

type FstatRequest struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	// contains filtered or unexported fields
}

func (*FstatRequest) Descriptor deprecated

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

Deprecated: Use FstatRequest.ProtoReflect.Descriptor instead.

func (*FstatRequest) GetFileDescriptor

func (x *FstatRequest) GetFileDescriptor() int64

func (*FstatRequest) ProtoMessage

func (*FstatRequest) ProtoMessage()

func (*FstatRequest) ProtoReflect

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

func (*FstatRequest) Reset

func (x *FstatRequest) Reset()

func (*FstatRequest) String

func (x *FstatRequest) String() string

type FsyncRequest

type FsyncRequest struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	// contains filtered or unexported fields
}

func (*FsyncRequest) Descriptor deprecated

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

Deprecated: Use FsyncRequest.ProtoReflect.Descriptor instead.

func (*FsyncRequest) GetFileDescriptor

func (x *FsyncRequest) GetFileDescriptor() int64

func (*FsyncRequest) ProtoMessage

func (*FsyncRequest) ProtoMessage()

func (*FsyncRequest) ProtoReflect

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

func (*FsyncRequest) Reset

func (x *FsyncRequest) Reset()

func (*FsyncRequest) String

func (x *FsyncRequest) String() string

type FtruncateRequest

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

func (*FtruncateRequest) Descriptor deprecated

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

Deprecated: Use FtruncateRequest.ProtoReflect.Descriptor instead.

func (*FtruncateRequest) GetFileDescriptor

func (x *FtruncateRequest) GetFileDescriptor() int64

func (*FtruncateRequest) GetSize

func (x *FtruncateRequest) GetSize() int64

func (*FtruncateRequest) ProtoMessage

func (*FtruncateRequest) ProtoMessage()

func (*FtruncateRequest) ProtoReflect

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

func (*FtruncateRequest) Reset

func (x *FtruncateRequest) Reset()

func (*FtruncateRequest) String

func (x *FtruncateRequest) String() string

type KeepAliveRequest

type KeepAliveRequest struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	// contains filtered or unexported fields
}

func (*KeepAliveRequest) Descriptor deprecated

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

Deprecated: Use KeepAliveRequest.ProtoReflect.Descriptor instead.

func (*KeepAliveRequest) GetFileDescriptor

func (x *KeepAliveRequest) GetFileDescriptor() int64

func (*KeepAliveRequest) ProtoMessage

func (*KeepAliveRequest) ProtoMessage()

func (*KeepAliveRequest) ProtoReflect

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

func (*KeepAliveRequest) Reset

func (x *KeepAliveRequest) Reset()

func (*KeepAliveRequest) String

func (x *KeepAliveRequest) String() string

type MkdirRequest

type MkdirRequest 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 (*MkdirRequest) Descriptor deprecated

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

Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead.

func (*MkdirRequest) GetMode

func (x *MkdirRequest) GetMode() uint32

func (*MkdirRequest) GetPath

func (x *MkdirRequest) GetPath() string

func (*MkdirRequest) ProtoMessage

func (*MkdirRequest) ProtoMessage()

func (*MkdirRequest) ProtoReflect

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

func (*MkdirRequest) Reset

func (x *MkdirRequest) Reset()

func (*MkdirRequest) String

func (x *MkdirRequest) 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 OpenResponse

type OpenResponse struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenResponse) Descriptor deprecated

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

Deprecated: Use OpenResponse.ProtoReflect.Descriptor instead.

func (*OpenResponse) GetFileDescriptor

func (x *OpenResponse) GetFileDescriptor() int64

func (*OpenResponse) ProtoMessage

func (*OpenResponse) ProtoMessage()

func (*OpenResponse) ProtoReflect

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

func (*OpenResponse) Reset

func (x *OpenResponse) Reset()

func (*OpenResponse) String

func (x *OpenResponse) String() string

type ReadAtRequest

type ReadAtRequest struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	Offset         int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Size           int64 `protobuf:"varint,3,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) GetFileDescriptor

func (x *ReadAtRequest) GetFileDescriptor() int64

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 ReadRequest

type ReadRequest struct {
	FileDescriptor int64 `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	Size           int64 `protobuf:"varint,2,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) GetFileDescriptor

func (x *ReadRequest) GetFileDescriptor() int64

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 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 []*ReaddirResponse_DirEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// 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() []*ReaddirResponse_DirEntry

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 ReaddirResponse_DirEntry

type ReaddirResponse_DirEntry struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IsDir bool   `protobuf:"varint,2,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*ReaddirResponse_DirEntry) Descriptor deprecated

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

Deprecated: Use ReaddirResponse_DirEntry.ProtoReflect.Descriptor instead.

func (*ReaddirResponse_DirEntry) GetIsDir

func (x *ReaddirResponse_DirEntry) GetIsDir() bool

func (*ReaddirResponse_DirEntry) GetName

func (x *ReaddirResponse_DirEntry) GetName() string

func (*ReaddirResponse_DirEntry) ProtoMessage

func (*ReaddirResponse_DirEntry) ProtoMessage()

func (*ReaddirResponse_DirEntry) ProtoReflect

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

func (*ReaddirResponse_DirEntry) Reset

func (x *ReaddirResponse_DirEntry) Reset()

func (*ReaddirResponse_DirEntry) String

func (x *ReaddirResponse_DirEntry) String() string

type RemoteFileSystemServiceClient

type RemoteFileSystemServiceClient interface {
	Open(ctx context.Context, in *OpenRequest, opts ...grpc.CallOption) (*OpenResponse, error)
	KeepAlive(ctx context.Context, in *KeepAliveRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error)
	ReadAt(ctx context.Context, in *ReadAtRequest, opts ...grpc.CallOption) (*ReadResponse, error)
	Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error)
	WriteAt(ctx context.Context, in *WriteAtRequest, opts ...grpc.CallOption) (*WriteResponse, error)
	Seek(ctx context.Context, in *SeekRequest, opts ...grpc.CallOption) (*SeekResponse, error)
	Ftruncate(ctx context.Context, in *FtruncateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Truncate(ctx context.Context, in *TruncateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Fstat(ctx context.Context, in *FstatRequest, opts ...grpc.CallOption) (*StatResponse, error)
	Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error)
	Fsync(ctx context.Context, in *FsyncRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Close(ctx context.Context, in *CloseRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Rename(ctx context.Context, in *RenameRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Unlink(ctx context.Context, in *UnlinkRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Mkdir(ctx context.Context, in *MkdirRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Rmdir(ctx context.Context, in *RmdirRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Readdir(ctx context.Context, in *ReaddirRequest, opts ...grpc.CallOption) (*ReaddirResponse, error)
}

RemoteFileSystemServiceClient is the client API for RemoteFileSystemService 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 RemoteFileSystemServiceServer

RemoteFileSystemServiceServer is the server API for RemoteFileSystemService service. All implementations must embed UnimplementedRemoteFileSystemServiceServer for forward compatibility

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 RmdirRequest

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

func (*RmdirRequest) Descriptor deprecated

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

Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead.

func (*RmdirRequest) GetPath

func (x *RmdirRequest) GetPath() string

func (*RmdirRequest) ProtoMessage

func (*RmdirRequest) ProtoMessage()

func (*RmdirRequest) ProtoReflect

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

func (*RmdirRequest) Reset

func (x *RmdirRequest) Reset()

func (*RmdirRequest) String

func (x *RmdirRequest) String() string

type SeekRequest

type SeekRequest struct {
	FileDescriptor int64              `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	Offset         int64              `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Whence         SeekRequest_Whence `protobuf:"varint,3,opt,name=whence,proto3,enum=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) GetFileDescriptor

func (x *SeekRequest) GetFileDescriptor() int64

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 *timestamp.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() *timestamp.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 TruncateRequest

type TruncateRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Size int64  `protobuf:"varint,2,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) GetPath

func (x *TruncateRequest) GetPath() string

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 UnimplementedRemoteFileSystemServiceServer

type UnimplementedRemoteFileSystemServiceServer struct {
}

UnimplementedRemoteFileSystemServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRemoteFileSystemServiceServer) Close

func (UnimplementedRemoteFileSystemServiceServer) Fstat

func (UnimplementedRemoteFileSystemServiceServer) Fsync

func (UnimplementedRemoteFileSystemServiceServer) Ftruncate

func (UnimplementedRemoteFileSystemServiceServer) KeepAlive

func (UnimplementedRemoteFileSystemServiceServer) Mkdir

func (UnimplementedRemoteFileSystemServiceServer) Open

func (UnimplementedRemoteFileSystemServiceServer) Read

func (UnimplementedRemoteFileSystemServiceServer) ReadAt

func (UnimplementedRemoteFileSystemServiceServer) Readdir

func (UnimplementedRemoteFileSystemServiceServer) Rename

func (UnimplementedRemoteFileSystemServiceServer) Rmdir

func (UnimplementedRemoteFileSystemServiceServer) Seek

func (UnimplementedRemoteFileSystemServiceServer) Stat

func (UnimplementedRemoteFileSystemServiceServer) Truncate

func (UnimplementedRemoteFileSystemServiceServer) Write

func (UnimplementedRemoteFileSystemServiceServer) WriteAt

type UnlinkRequest

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

func (*UnlinkRequest) Descriptor deprecated

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

Deprecated: Use UnlinkRequest.ProtoReflect.Descriptor instead.

func (*UnlinkRequest) GetPath

func (x *UnlinkRequest) GetPath() string

func (*UnlinkRequest) ProtoMessage

func (*UnlinkRequest) ProtoMessage()

func (*UnlinkRequest) ProtoReflect

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

func (*UnlinkRequest) Reset

func (x *UnlinkRequest) Reset()

func (*UnlinkRequest) String

func (x *UnlinkRequest) String() string

type UnsafeRemoteFileSystemServiceServer

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

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

type WriteAtRequest

type WriteAtRequest struct {
	FileDescriptor int64  `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	Offset         int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Data           []byte `protobuf:"bytes,3,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) GetFileDescriptor

func (x *WriteAtRequest) GetFileDescriptor() int64

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 {
	FileDescriptor int64  `protobuf:"varint,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"`
	Data           []byte `protobuf:"bytes,2,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) GetFileDescriptor

func (x *WriteRequest) GetFileDescriptor() int64

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 {
	// contains filtered or unexported fields
}

func (*WriteResponse) Descriptor deprecated

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

Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.

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

Jump to

Keyboard shortcuts

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