Documentation
¶
Index ¶
- Variables
- func RegisterRemoteRPCServer(s *grpc.Server, srv RemoteRPCServer)
- type Chunk
- func (*Chunk) Descriptor() ([]byte, []int)
- func (m *Chunk) Marshal() (dAtA []byte, err error)
- func (m *Chunk) MarshalTo(dAtA []byte) (int, error)
- func (m *Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chunk) ProtoMessage()
- func (m *Chunk) Reset()
- func (m *Chunk) String() string
- func (m *Chunk) Unmarshal(dAtA []byte) error
- func (m *Chunk) XSize() (n int)
- func (m *Chunk) XXX_DiscardUnknown()
- func (m *Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chunk) XXX_Merge(src proto.Message)
- func (m *Chunk) XXX_Size() int
- func (m *Chunk) XXX_Unmarshal(b []byte) error
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteRequest) Marshal() (dAtA []byte, err error)
- func (m *ExecuteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecuteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecuteRequest) ProtoMessage()
- func (m *ExecuteRequest) Reset()
- func (m *ExecuteRequest) String() string
- func (m *ExecuteRequest) Unmarshal(dAtA []byte) error
- func (m *ExecuteRequest) XSize() (n int)
- func (m *ExecuteRequest) XXX_DiscardUnknown()
- func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteRequest) XXX_Merge(src proto.Message)
- func (m *ExecuteRequest) XXX_Size() int
- func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error
- type ExecuteResponse
- func (*ExecuteResponse) Descriptor() ([]byte, []int)
- func (m *ExecuteResponse) Marshal() (dAtA []byte, err error)
- func (m *ExecuteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecuteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecuteResponse) ProtoMessage()
- func (m *ExecuteResponse) Reset()
- func (m *ExecuteResponse) String() string
- func (m *ExecuteResponse) Unmarshal(dAtA []byte) error
- func (m *ExecuteResponse) XSize() (n int)
- func (m *ExecuteResponse) XXX_DiscardUnknown()
- func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteResponse) XXX_Merge(src proto.Message)
- func (m *ExecuteResponse) XXX_Size() int
- func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error
- type FileStat
- func (*FileStat) Descriptor() ([]byte, []int)
- func (m *FileStat) Marshal() (dAtA []byte, err error)
- func (m *FileStat) MarshalTo(dAtA []byte) (int, error)
- func (m *FileStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileStat) ProtoMessage()
- func (m *FileStat) Reset()
- func (m *FileStat) String() string
- func (m *FileStat) Unmarshal(dAtA []byte) error
- func (m *FileStat) XSize() (n int)
- func (m *FileStat) XXX_DiscardUnknown()
- func (m *FileStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileStat) XXX_Merge(src proto.Message)
- func (m *FileStat) XXX_Size() int
- func (m *FileStat) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) Marshal() (dAtA []byte, err error)
- func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) Unmarshal(dAtA []byte) error
- func (m *GetRequest) XSize() (n int)
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) Marshal() (dAtA []byte, err error)
- func (m *GetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) Unmarshal(dAtA []byte) error
- func (m *GetResponse) XSize() (n int)
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type PutRequest
- func (*PutRequest) Descriptor() ([]byte, []int)
- func (m *PutRequest) Marshal() (dAtA []byte, err error)
- func (m *PutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PutRequest) ProtoMessage()
- func (m *PutRequest) Reset()
- func (m *PutRequest) String() string
- func (m *PutRequest) Unmarshal(dAtA []byte) error
- func (m *PutRequest) XSize() (n int)
- func (m *PutRequest) XXX_DiscardUnknown()
- func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutRequest) XXX_Merge(src proto.Message)
- func (m *PutRequest) XXX_Size() int
- func (m *PutRequest) XXX_Unmarshal(b []byte) error
- type PutResponse
- func (*PutResponse) Descriptor() ([]byte, []int)
- func (m *PutResponse) Marshal() (dAtA []byte, err error)
- func (m *PutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PutResponse) ProtoMessage()
- func (m *PutResponse) Reset()
- func (m *PutResponse) String() string
- func (m *PutResponse) Unmarshal(dAtA []byte) error
- func (m *PutResponse) XSize() (n int)
- func (m *PutResponse) XXX_DiscardUnknown()
- func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutResponse) XXX_Merge(src proto.Message)
- func (m *PutResponse) XXX_Size() int
- func (m *PutResponse) XXX_Unmarshal(b []byte) error
- type RemoteRPCClient
- type RemoteRPCServer
- type RemoteRPC_ExecuteClient
- type RemoteRPC_ExecuteServer
- type RemoteRPC_GetClient
- type RemoteRPC_GetServer
- type RemoteRPC_PutClient
- type RemoteRPC_PutServer
- type StatRequest
- func (*StatRequest) Descriptor() ([]byte, []int)
- func (m *StatRequest) Marshal() (dAtA []byte, err error)
- func (m *StatRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatRequest) ProtoMessage()
- func (m *StatRequest) Reset()
- func (m *StatRequest) String() string
- func (m *StatRequest) Unmarshal(dAtA []byte) error
- func (m *StatRequest) XSize() (n int)
- func (m *StatRequest) XXX_DiscardUnknown()
- func (m *StatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatRequest) XXX_Merge(src proto.Message)
- func (m *StatRequest) XXX_Size() int
- func (m *StatRequest) XXX_Unmarshal(b []byte) error
- type StatResponse
- func (*StatResponse) Descriptor() ([]byte, []int)
- func (m *StatResponse) Marshal() (dAtA []byte, err error)
- func (m *StatResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatResponse) ProtoMessage()
- func (m *StatResponse) Reset()
- func (m *StatResponse) String() string
- func (m *StatResponse) Unmarshal(dAtA []byte) error
- func (m *StatResponse) XSize() (n int)
- func (m *StatResponse) XXX_DiscardUnknown()
- func (m *StatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatResponse) XXX_Merge(src proto.Message)
- func (m *StatResponse) XXX_Size() int
- func (m *StatResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedRemoteRPCServer
- func (*UnimplementedRemoteRPCServer) Execute(srv RemoteRPC_ExecuteServer) error
- func (*UnimplementedRemoteRPCServer) Get(req *GetRequest, srv RemoteRPC_GetServer) error
- func (*UnimplementedRemoteRPCServer) Put(srv RemoteRPC_PutServer) error
- func (*UnimplementedRemoteRPCServer) Stat(ctx context.Context, req *StatRequest) (*StatResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterRemoteRPCServer ¶
func RegisterRemoteRPCServer(s *grpc.Server, srv RemoteRPCServer)
Types ¶
type Chunk ¶
type Chunk struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Length int64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` }
func (*Chunk) Descriptor ¶
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) XXX_DiscardUnknown ¶
func (m *Chunk) XXX_DiscardUnknown()
func (*Chunk) XXX_Marshal ¶
func (*Chunk) XXX_Unmarshal ¶
type ExecuteRequest ¶
type ExecuteRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Envs map[string]string `` /* 149-byte string literal not displayed */ Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Root string `protobuf:"bytes,5,opt,name=root,proto3" json:"root,omitempty"` }
func (*ExecuteRequest) Descriptor ¶
func (*ExecuteRequest) Descriptor() ([]byte, []int)
func (*ExecuteRequest) Marshal ¶
func (m *ExecuteRequest) Marshal() (dAtA []byte, err error)
func (*ExecuteRequest) MarshalToSizedBuffer ¶
func (m *ExecuteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) Reset ¶
func (m *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (m *ExecuteRequest) String() string
func (*ExecuteRequest) Unmarshal ¶
func (m *ExecuteRequest) Unmarshal(dAtA []byte) error
func (*ExecuteRequest) XSize ¶
func (m *ExecuteRequest) XSize() (n int)
func (*ExecuteRequest) XXX_DiscardUnknown ¶
func (m *ExecuteRequest) XXX_DiscardUnknown()
func (*ExecuteRequest) XXX_Marshal ¶
func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteRequest) XXX_Merge ¶
func (m *ExecuteRequest) XXX_Merge(src proto.Message)
func (*ExecuteRequest) XXX_Size ¶
func (m *ExecuteRequest) XXX_Size() int
func (*ExecuteRequest) XXX_Unmarshal ¶
func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error
type ExecuteResponse ¶
type ExecuteResponse struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` }
func (*ExecuteResponse) Descriptor ¶
func (*ExecuteResponse) Descriptor() ([]byte, []int)
func (*ExecuteResponse) Marshal ¶
func (m *ExecuteResponse) Marshal() (dAtA []byte, err error)
func (*ExecuteResponse) MarshalToSizedBuffer ¶
func (m *ExecuteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) Reset ¶
func (m *ExecuteResponse) Reset()
func (*ExecuteResponse) String ¶
func (m *ExecuteResponse) String() string
func (*ExecuteResponse) Unmarshal ¶
func (m *ExecuteResponse) Unmarshal(dAtA []byte) error
func (*ExecuteResponse) XSize ¶
func (m *ExecuteResponse) XSize() (n int)
func (*ExecuteResponse) XXX_DiscardUnknown ¶
func (m *ExecuteResponse) XXX_DiscardUnknown()
func (*ExecuteResponse) XXX_Marshal ¶
func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteResponse) XXX_Merge ¶
func (m *ExecuteResponse) XXX_Merge(src proto.Message)
func (*ExecuteResponse) XXX_Size ¶
func (m *ExecuteResponse) XXX_Size() int
func (*ExecuteResponse) XXX_Unmarshal ¶
func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error
type FileStat ¶
type FileStat struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` IsDir bool `protobuf:"varint,2,opt,name=isDir,proto3" json:"isDir,omitempty"` Perm uint32 `protobuf:"varint,3,opt,name=perm,proto3" json:"perm,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` ModTime int64 `protobuf:"varint,5,opt,name=modTime,proto3" json:"modTime,omitempty"` }
func (*FileStat) Descriptor ¶
func (*FileStat) MarshalToSizedBuffer ¶
func (*FileStat) ProtoMessage ¶
func (*FileStat) ProtoMessage()
func (*FileStat) XXX_DiscardUnknown ¶
func (m *FileStat) XXX_DiscardUnknown()
func (*FileStat) XXX_Marshal ¶
func (*FileStat) XXX_Unmarshal ¶
type GetRequest ¶
type GetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CacheSize int64 `protobuf:"varint,2,opt,name=cacheSize,proto3" json:"cacheSize,omitempty"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) Marshal ¶
func (m *GetRequest) Marshal() (dAtA []byte, err error)
func (*GetRequest) MarshalToSizedBuffer ¶
func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) Unmarshal ¶
func (m *GetRequest) Unmarshal(dAtA []byte) error
func (*GetRequest) XSize ¶
func (m *GetRequest) XSize() (n int)
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct { Stat *FileStat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"` }
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) Marshal ¶
func (m *GetResponse) Marshal() (dAtA []byte, err error)
func (*GetResponse) MarshalToSizedBuffer ¶
func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) Unmarshal ¶
func (m *GetResponse) Unmarshal(dAtA []byte) error
func (*GetResponse) XSize ¶
func (m *GetResponse) XSize() (n int)
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type PutRequest ¶
type PutRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stat *FileStat `protobuf:"bytes,2,opt,name=stat,proto3" json:"stat,omitempty"` Chunk *Chunk `protobuf:"bytes,3,opt,name=chunk,proto3" json:"chunk,omitempty"` }
func (*PutRequest) Descriptor ¶
func (*PutRequest) Descriptor() ([]byte, []int)
func (*PutRequest) Marshal ¶
func (m *PutRequest) Marshal() (dAtA []byte, err error)
func (*PutRequest) MarshalToSizedBuffer ¶
func (m *PutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PutRequest) ProtoMessage ¶
func (*PutRequest) ProtoMessage()
func (*PutRequest) Reset ¶
func (m *PutRequest) Reset()
func (*PutRequest) String ¶
func (m *PutRequest) String() string
func (*PutRequest) Unmarshal ¶
func (m *PutRequest) Unmarshal(dAtA []byte) error
func (*PutRequest) XSize ¶
func (m *PutRequest) XSize() (n int)
func (*PutRequest) XXX_DiscardUnknown ¶
func (m *PutRequest) XXX_DiscardUnknown()
func (*PutRequest) XXX_Marshal ¶
func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutRequest) XXX_Merge ¶
func (m *PutRequest) XXX_Merge(src proto.Message)
func (*PutRequest) XXX_Size ¶
func (m *PutRequest) XXX_Size() int
func (*PutRequest) XXX_Unmarshal ¶
func (m *PutRequest) XXX_Unmarshal(b []byte) error
type PutResponse ¶
type PutResponse struct { }
func (*PutResponse) Descriptor ¶
func (*PutResponse) Descriptor() ([]byte, []int)
func (*PutResponse) Marshal ¶
func (m *PutResponse) Marshal() (dAtA []byte, err error)
func (*PutResponse) MarshalToSizedBuffer ¶
func (m *PutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PutResponse) ProtoMessage ¶
func (*PutResponse) ProtoMessage()
func (*PutResponse) Reset ¶
func (m *PutResponse) Reset()
func (*PutResponse) String ¶
func (m *PutResponse) String() string
func (*PutResponse) Unmarshal ¶
func (m *PutResponse) Unmarshal(dAtA []byte) error
func (*PutResponse) XSize ¶
func (m *PutResponse) XSize() (n int)
func (*PutResponse) XXX_DiscardUnknown ¶
func (m *PutResponse) XXX_DiscardUnknown()
func (*PutResponse) XXX_Marshal ¶
func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutResponse) XXX_Merge ¶
func (m *PutResponse) XXX_Merge(src proto.Message)
func (*PutResponse) XXX_Size ¶
func (m *PutResponse) XXX_Size() int
func (*PutResponse) XXX_Unmarshal ¶
func (m *PutResponse) XXX_Unmarshal(b []byte) error
type RemoteRPCClient ¶
type RemoteRPCClient interface { Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (RemoteRPC_GetClient, error) Put(ctx context.Context, opts ...grpc.CallOption) (RemoteRPC_PutClient, error) Execute(ctx context.Context, opts ...grpc.CallOption) (RemoteRPC_ExecuteClient, error) }
RemoteRPCClient is the client API for RemoteRPC service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRemoteRPCClient ¶
func NewRemoteRPCClient(cc *grpc.ClientConn) RemoteRPCClient
type RemoteRPCServer ¶
type RemoteRPCServer interface { Stat(context.Context, *StatRequest) (*StatResponse, error) Get(*GetRequest, RemoteRPC_GetServer) error Put(RemoteRPC_PutServer) error Execute(RemoteRPC_ExecuteServer) error }
RemoteRPCServer is the server API for RemoteRPC service.
type RemoteRPC_ExecuteClient ¶
type RemoteRPC_ExecuteClient interface { Send(*ExecuteRequest) error Recv() (*ExecuteResponse, error) grpc.ClientStream }
type RemoteRPC_ExecuteServer ¶
type RemoteRPC_ExecuteServer interface { Send(*ExecuteResponse) error Recv() (*ExecuteRequest, error) grpc.ServerStream }
type RemoteRPC_GetClient ¶
type RemoteRPC_GetClient interface { Recv() (*GetResponse, error) grpc.ClientStream }
type RemoteRPC_GetServer ¶
type RemoteRPC_GetServer interface { Send(*GetResponse) error grpc.ServerStream }
type RemoteRPC_PutClient ¶
type RemoteRPC_PutClient interface { Send(*PutRequest) error CloseAndRecv() (*PutResponse, error) grpc.ClientStream }
type RemoteRPC_PutServer ¶
type RemoteRPC_PutServer interface { SendAndClose(*PutResponse) error Recv() (*PutRequest, error) grpc.ServerStream }
type StatRequest ¶
type StatRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (*StatRequest) Descriptor ¶
func (*StatRequest) Descriptor() ([]byte, []int)
func (*StatRequest) Marshal ¶
func (m *StatRequest) Marshal() (dAtA []byte, err error)
func (*StatRequest) MarshalToSizedBuffer ¶
func (m *StatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatRequest) ProtoMessage ¶
func (*StatRequest) ProtoMessage()
func (*StatRequest) Reset ¶
func (m *StatRequest) Reset()
func (*StatRequest) String ¶
func (m *StatRequest) String() string
func (*StatRequest) Unmarshal ¶
func (m *StatRequest) Unmarshal(dAtA []byte) error
func (*StatRequest) XSize ¶
func (m *StatRequest) XSize() (n int)
func (*StatRequest) XXX_DiscardUnknown ¶
func (m *StatRequest) XXX_DiscardUnknown()
func (*StatRequest) XXX_Marshal ¶
func (m *StatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatRequest) XXX_Merge ¶
func (m *StatRequest) XXX_Merge(src proto.Message)
func (*StatRequest) XXX_Size ¶
func (m *StatRequest) XXX_Size() int
func (*StatRequest) XXX_Unmarshal ¶
func (m *StatRequest) XXX_Unmarshal(b []byte) error
type StatResponse ¶
type StatResponse struct {
Stat *FileStat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
}
func (*StatResponse) Descriptor ¶
func (*StatResponse) Descriptor() ([]byte, []int)
func (*StatResponse) Marshal ¶
func (m *StatResponse) Marshal() (dAtA []byte, err error)
func (*StatResponse) MarshalToSizedBuffer ¶
func (m *StatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatResponse) ProtoMessage ¶
func (*StatResponse) ProtoMessage()
func (*StatResponse) Reset ¶
func (m *StatResponse) Reset()
func (*StatResponse) String ¶
func (m *StatResponse) String() string
func (*StatResponse) Unmarshal ¶
func (m *StatResponse) Unmarshal(dAtA []byte) error
func (*StatResponse) XSize ¶
func (m *StatResponse) XSize() (n int)
func (*StatResponse) XXX_DiscardUnknown ¶
func (m *StatResponse) XXX_DiscardUnknown()
func (*StatResponse) XXX_Marshal ¶
func (m *StatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatResponse) XXX_Merge ¶
func (m *StatResponse) XXX_Merge(src proto.Message)
func (*StatResponse) XXX_Size ¶
func (m *StatResponse) XXX_Size() int
func (*StatResponse) XXX_Unmarshal ¶
func (m *StatResponse) XXX_Unmarshal(b []byte) error
type UnimplementedRemoteRPCServer ¶
type UnimplementedRemoteRPCServer struct { }
UnimplementedRemoteRPCServer can be embedded to have forward compatible implementations.
func (*UnimplementedRemoteRPCServer) Execute ¶
func (*UnimplementedRemoteRPCServer) Execute(srv RemoteRPC_ExecuteServer) error
func (*UnimplementedRemoteRPCServer) Get ¶
func (*UnimplementedRemoteRPCServer) Get(req *GetRequest, srv RemoteRPC_GetServer) error
func (*UnimplementedRemoteRPCServer) Put ¶
func (*UnimplementedRemoteRPCServer) Put(srv RemoteRPC_PutServer) error
func (*UnimplementedRemoteRPCServer) Stat ¶
func (*UnimplementedRemoteRPCServer) Stat(ctx context.Context, req *StatRequest) (*StatResponse, error)
Click to show internal directories.
Click to hide internal directories.