Documentation ¶
Overview ¶
Package baserpc defines gRPC services common to tests.
Index ¶
- Variables
- func RegisterFaillogServiceServer(s *grpc.Server, srv FaillogServiceServer)
- func RegisterFileSystemServer(s *grpc.Server, srv FileSystemServer)
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)
- func (m *CreateResponse) GetPath() string
- func (*CreateResponse) ProtoMessage()
- func (m *CreateResponse) Reset()
- func (m *CreateResponse) String() string
- func (m *CreateResponse) XXX_DiscardUnknown()
- func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponse) XXX_Merge(src proto.Message)
- func (m *CreateResponse) XXX_Size() int
- func (m *CreateResponse) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetErrno() uint32
- func (x *Error) GetLink() *LinkError
- func (x *Error) GetMsg() string
- func (x *Error) GetPath() *PathError
- func (x *Error) GetSyscall() *SyscallError
- func (m *Error) GetType() isError_Type
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type Error_Errno
- type Error_Link
- type Error_Msg
- type Error_Path
- type Error_Syscall
- type FaillogServiceClient
- type FaillogServiceServer
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetMode() uint64
- func (x *FileInfo) GetModified() *timestamp.Timestamp
- func (x *FileInfo) GetName() string
- func (x *FileInfo) GetSize() uint64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FileSystemClient
- type FileSystemServer
- type LinkError
- func (*LinkError) Descriptor() ([]byte, []int)deprecated
- func (x *LinkError) GetError() *Error
- func (x *LinkError) GetNew() string
- func (x *LinkError) GetOld() string
- func (x *LinkError) GetOp() string
- func (*LinkError) ProtoMessage()
- func (x *LinkError) ProtoReflect() protoreflect.Message
- func (x *LinkError) Reset()
- func (x *LinkError) String() string
- type PathError
- func (*PathError) Descriptor() ([]byte, []int)deprecated
- func (x *PathError) GetError() *Error
- func (x *PathError) GetOp() string
- func (x *PathError) GetPath() string
- func (*PathError) ProtoMessage()
- func (x *PathError) ProtoReflect() protoreflect.Message
- func (x *PathError) Reset()
- func (x *PathError) String() string
- type ReadDirRequest
- type ReadDirResponse
- func (*ReadDirResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadDirResponse) GetError() *Error
- func (x *ReadDirResponse) GetFiles() []*FileInfo
- func (*ReadDirResponse) ProtoMessage()
- func (x *ReadDirResponse) ProtoReflect() protoreflect.Message
- func (x *ReadDirResponse) Reset()
- func (x *ReadDirResponse) String() string
- type ReadFileRequest
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileResponse) GetContent() []byte
- func (x *ReadFileResponse) GetError() *Error
- func (*ReadFileResponse) ProtoMessage()
- func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
- func (x *ReadFileResponse) Reset()
- func (x *ReadFileResponse) String() string
- type RemoveRequest
- type RemoveResponse
- type StatRequest
- type StatResponse
- func (*StatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatResponse) GetError() *Error
- func (x *StatResponse) GetInfo() *FileInfo
- func (*StatResponse) ProtoMessage()
- func (x *StatResponse) ProtoReflect() protoreflect.Message
- func (x *StatResponse) Reset()
- func (x *StatResponse) String() string
- type SyscallError
- func (*SyscallError) Descriptor() ([]byte, []int)deprecated
- func (x *SyscallError) GetError() *Error
- func (x *SyscallError) GetSyscall() string
- func (*SyscallError) ProtoMessage()
- func (x *SyscallError) ProtoReflect() protoreflect.Message
- func (x *SyscallError) Reset()
- func (x *SyscallError) String() string
- type TempDirRequest
- func (*TempDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TempDirRequest) GetDir() string
- func (x *TempDirRequest) GetPattern() string
- func (*TempDirRequest) ProtoMessage()
- func (x *TempDirRequest) ProtoReflect() protoreflect.Message
- func (x *TempDirRequest) Reset()
- func (x *TempDirRequest) String() string
- type TempDirResponse
- func (*TempDirResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TempDirResponse) GetError() *Error
- func (x *TempDirResponse) GetName() string
- func (*TempDirResponse) ProtoMessage()
- func (x *TempDirResponse) ProtoReflect() protoreflect.Message
- func (x *TempDirResponse) Reset()
- func (x *TempDirResponse) String() string
- type UnimplementedFaillogServiceServer
- type UnimplementedFileSystemServer
- func (*UnimplementedFileSystemServer) ReadDir(context.Context, *ReadDirRequest) (*ReadDirResponse, error)
- func (*UnimplementedFileSystemServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (*UnimplementedFileSystemServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
- func (*UnimplementedFileSystemServer) RemoveAll(context.Context, *RemoveRequest) (*RemoveResponse, error)
- func (*UnimplementedFileSystemServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
- func (*UnimplementedFileSystemServer) TempDir(context.Context, *TempDirRequest) (*TempDirResponse, error)
- func (*UnimplementedFileSystemServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetContent() []byte
- func (x *WriteFileRequest) GetMode() uint32
- func (x *WriteFileRequest) GetName() string
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
- type WriteFileResponse
Constants ¶
This section is empty.
Variables ¶
var File_file_system_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFaillogServiceServer ¶
func RegisterFaillogServiceServer(s *grpc.Server, srv FaillogServiceServer)
func RegisterFileSystemServer ¶
func RegisterFileSystemServer(s *grpc.Server, srv FileSystemServer)
Types ¶
type CreateResponse ¶
type CreateResponse struct { // The path for the temporary faillog directory will be return as a string Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateResponse) Descriptor ¶
func (*CreateResponse) Descriptor() ([]byte, []int)
func (*CreateResponse) GetPath ¶
func (m *CreateResponse) GetPath() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (m *CreateResponse) String() string
func (*CreateResponse) XXX_DiscardUnknown ¶
func (m *CreateResponse) XXX_DiscardUnknown()
func (*CreateResponse) XXX_Marshal ¶
func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResponse) XXX_Merge ¶
func (m *CreateResponse) XXX_Merge(src proto.Message)
func (*CreateResponse) XXX_Size ¶
func (m *CreateResponse) XXX_Size() int
func (*CreateResponse) XXX_Unmarshal ¶
func (m *CreateResponse) XXX_Unmarshal(b []byte) error
type Error ¶
type Error struct { // Types that are assignable to Type: // *Error_Errno // *Error_Link // *Error_Path // *Error_Syscall // *Error_Msg Type isError_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetSyscall ¶
func (x *Error) GetSyscall() *SyscallError
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Error_Errno ¶
type Error_Errno struct {
Errno uint32 `protobuf:"varint,1,opt,name=errno,proto3,oneof"` // syscall.Errno
}
type Error_Link ¶
type Error_Link struct {
Link *LinkError `protobuf:"bytes,2,opt,name=link,proto3,oneof"` // os.LinkError
}
type Error_Msg ¶
type Error_Msg struct {
Msg string `protobuf:"bytes,5,opt,name=msg,proto3,oneof"` // other errors
}
type Error_Path ¶
type Error_Path struct {
Path *PathError `protobuf:"bytes,3,opt,name=path,proto3,oneof"` // os.PathError
}
type Error_Syscall ¶
type Error_Syscall struct {
Syscall *SyscallError `protobuf:"bytes,4,opt,name=syscall,proto3,oneof"` // os.SyscallError
}
type FaillogServiceClient ¶
type FaillogServiceClient interface { // Create creates a faillog in target machine. Create(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CreateResponse, error) // Remove remove a previous created faillog in target machine. Remove(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
FaillogServiceClient is the client API for FaillogService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFaillogServiceClient ¶
func NewFaillogServiceClient(cc *grpc.ClientConn) FaillogServiceClient
type FaillogServiceServer ¶
type FaillogServiceServer interface { // Create creates a faillog in target machine. Create(context.Context, *empty.Empty) (*CreateResponse, error) // Remove remove a previous created faillog in target machine. Remove(context.Context, *empty.Empty) (*empty.Empty, error) }
FaillogServiceServer is the server API for FaillogService service.
type FileInfo ¶
type FileInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Mode uint64 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` Modified *timestamp.Timestamp `protobuf:"bytes,4,opt,name=modified,proto3" json:"modified,omitempty"` // contains filtered or unexported fields }
FileInfo contains attributes of a file.
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetModified ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FileSystemClient ¶
type FileSystemClient interface { // ReadDir returns the content of a directory. ReadDir(ctx context.Context, in *ReadDirRequest, opts ...grpc.CallOption) (*ReadDirResponse, error) // Stat returns information of a file. Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) // ReadFile reads the content of a file. ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error) // WriteFile writes the content of a file. WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error) // Remove removes the named file or (empty) directory. Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) // RemoveAll removes the path and any children it contains. RemoveAll(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) // TempDir creates a temporary directory. TempDir(ctx context.Context, in *TempDirRequest, opts ...grpc.CallOption) (*TempDirResponse, error) }
FileSystemClient is the client API for FileSystem service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFileSystemClient ¶
func NewFileSystemClient(cc grpc.ClientConnInterface) FileSystemClient
type FileSystemServer ¶
type FileSystemServer interface { // ReadDir returns the content of a directory. ReadDir(context.Context, *ReadDirRequest) (*ReadDirResponse, error) // Stat returns information of a file. Stat(context.Context, *StatRequest) (*StatResponse, error) // ReadFile reads the content of a file. ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) // WriteFile writes the content of a file. WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error) // Remove removes the named file or (empty) directory. Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) // RemoveAll removes the path and any children it contains. RemoveAll(context.Context, *RemoveRequest) (*RemoveResponse, error) // TempDir creates a temporary directory. TempDir(context.Context, *TempDirRequest) (*TempDirResponse, error) }
FileSystemServer is the server API for FileSystem service.
type LinkError ¶
type LinkError struct { Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` Old string `protobuf:"bytes,2,opt,name=old,proto3" json:"old,omitempty"` New string `protobuf:"bytes,3,opt,name=new,proto3" json:"new,omitempty"` Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*LinkError) Descriptor
deprecated
func (*LinkError) ProtoMessage ¶
func (*LinkError) ProtoMessage()
func (*LinkError) ProtoReflect ¶
func (x *LinkError) ProtoReflect() protoreflect.Message
type PathError ¶
type PathError struct { Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*PathError) Descriptor
deprecated
func (*PathError) ProtoMessage ¶
func (*PathError) ProtoMessage()
func (*PathError) ProtoReflect ¶
func (x *PathError) ProtoReflect() protoreflect.Message
type ReadDirRequest ¶
type ReadDirRequest struct { // Path to the directory to read the content of. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // contains filtered or unexported fields }
func (*ReadDirRequest) Descriptor
deprecated
func (*ReadDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadDirRequest.ProtoReflect.Descriptor instead.
func (*ReadDirRequest) GetDir ¶
func (x *ReadDirRequest) GetDir() 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 { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // List of files under the directory, sorted by filename. Files []*FileInfo `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*ReadDirResponse) Descriptor
deprecated
func (*ReadDirResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadDirResponse.ProtoReflect.Descriptor instead.
func (*ReadDirResponse) GetError ¶
func (x *ReadDirResponse) GetError() *Error
func (*ReadDirResponse) GetFiles ¶
func (x *ReadDirResponse) GetFiles() []*FileInfo
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 ReadFileRequest ¶
type ReadFileRequest struct { // File path to the file to be read. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ReadFileRequest) Descriptor
deprecated
func (*ReadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
func (*ReadFileRequest) GetName ¶
func (x *ReadFileRequest) GetName() string
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) ProtoReflect ¶
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
func (*ReadFileRequest) Reset ¶
func (x *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (x *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ReadFileResponse) Descriptor
deprecated
func (*ReadFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
func (*ReadFileResponse) GetContent ¶
func (x *ReadFileResponse) GetContent() []byte
func (*ReadFileResponse) GetError ¶
func (x *ReadFileResponse) GetError() *Error
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) ProtoReflect ¶
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
func (*ReadFileResponse) Reset ¶
func (x *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (x *ReadFileResponse) String() string
type RemoveRequest ¶
type RemoveRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Path to be removed. // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetName ¶
func (x *RemoveRequest) GetName() 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 RemoveResponse ¶
type RemoveResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) GetError ¶
func (x *RemoveResponse) GetError() *Error
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
type StatRequest ¶
type StatRequest struct { // File path to the file to get file information. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StatRequest) Descriptor
deprecated
func (*StatRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.
func (*StatRequest) GetName ¶
func (x *StatRequest) GetName() 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 { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Info *FileInfo `protobuf:"bytes,2,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) GetError ¶
func (x *StatResponse) GetError() *Error
func (*StatResponse) GetInfo ¶
func (x *StatResponse) GetInfo() *FileInfo
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 SyscallError ¶
type SyscallError struct { Syscall string `protobuf:"bytes,1,opt,name=syscall,proto3" json:"syscall,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SyscallError) Descriptor
deprecated
func (*SyscallError) Descriptor() ([]byte, []int)
Deprecated: Use SyscallError.ProtoReflect.Descriptor instead.
func (*SyscallError) GetError ¶
func (x *SyscallError) GetError() *Error
func (*SyscallError) GetSyscall ¶
func (x *SyscallError) GetSyscall() string
func (*SyscallError) ProtoMessage ¶
func (*SyscallError) ProtoMessage()
func (*SyscallError) ProtoReflect ¶
func (x *SyscallError) ProtoReflect() protoreflect.Message
func (*SyscallError) Reset ¶
func (x *SyscallError) Reset()
func (*SyscallError) String ¶
func (x *SyscallError) String() string
type TempDirRequest ¶
type TempDirRequest struct { // If dir is the empty string, the default directory for temporary files is used. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // If pattern includes a "*", the random string replaces the last "*". Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` // contains filtered or unexported fields }
func (*TempDirRequest) Descriptor
deprecated
func (*TempDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use TempDirRequest.ProtoReflect.Descriptor instead.
func (*TempDirRequest) GetDir ¶
func (x *TempDirRequest) GetDir() string
func (*TempDirRequest) GetPattern ¶
func (x *TempDirRequest) GetPattern() string
func (*TempDirRequest) ProtoMessage ¶
func (*TempDirRequest) ProtoMessage()
func (*TempDirRequest) ProtoReflect ¶
func (x *TempDirRequest) ProtoReflect() protoreflect.Message
func (*TempDirRequest) Reset ¶
func (x *TempDirRequest) Reset()
func (*TempDirRequest) String ¶
func (x *TempDirRequest) String() string
type TempDirResponse ¶
type TempDirResponse struct { // The name of the new directory. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*TempDirResponse) Descriptor
deprecated
func (*TempDirResponse) Descriptor() ([]byte, []int)
Deprecated: Use TempDirResponse.ProtoReflect.Descriptor instead.
func (*TempDirResponse) GetError ¶
func (x *TempDirResponse) GetError() *Error
func (*TempDirResponse) GetName ¶
func (x *TempDirResponse) GetName() string
func (*TempDirResponse) ProtoMessage ¶
func (*TempDirResponse) ProtoMessage()
func (*TempDirResponse) ProtoReflect ¶
func (x *TempDirResponse) ProtoReflect() protoreflect.Message
func (*TempDirResponse) Reset ¶
func (x *TempDirResponse) Reset()
func (*TempDirResponse) String ¶
func (x *TempDirResponse) String() string
type UnimplementedFaillogServiceServer ¶
type UnimplementedFaillogServiceServer struct { }
UnimplementedFaillogServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFaillogServiceServer) Create ¶
func (*UnimplementedFaillogServiceServer) Create(ctx context.Context, req *empty.Empty) (*CreateResponse, error)
type UnimplementedFileSystemServer ¶
type UnimplementedFileSystemServer struct { }
UnimplementedFileSystemServer can be embedded to have forward compatible implementations.
func (*UnimplementedFileSystemServer) ReadDir ¶
func (*UnimplementedFileSystemServer) ReadDir(context.Context, *ReadDirRequest) (*ReadDirResponse, error)
func (*UnimplementedFileSystemServer) ReadFile ¶
func (*UnimplementedFileSystemServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (*UnimplementedFileSystemServer) Remove ¶
func (*UnimplementedFileSystemServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
func (*UnimplementedFileSystemServer) RemoveAll ¶
func (*UnimplementedFileSystemServer) RemoveAll(context.Context, *RemoveRequest) (*RemoveResponse, error)
func (*UnimplementedFileSystemServer) Stat ¶
func (*UnimplementedFileSystemServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
func (*UnimplementedFileSystemServer) TempDir ¶
func (*UnimplementedFileSystemServer) TempDir(context.Context, *TempDirRequest) (*TempDirResponse, error)
func (*UnimplementedFileSystemServer) WriteFile ¶
func (*UnimplementedFileSystemServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
type WriteFileRequest ¶
type WriteFileRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // File path to the file to be written. Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetContent ¶
func (x *WriteFileRequest) GetContent() []byte
func (*WriteFileRequest) GetMode ¶
func (x *WriteFileRequest) GetMode() uint32
func (*WriteFileRequest) GetName ¶
func (x *WriteFileRequest) GetName() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileResponse ¶
type WriteFileResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*WriteFileResponse) Descriptor
deprecated
func (*WriteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
func (*WriteFileResponse) GetError ¶
func (x *WriteFileResponse) GetError() *Error
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) ProtoReflect ¶
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
func (*WriteFileResponse) Reset ¶
func (x *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (x *WriteFileResponse) String() string