Documentation ¶
Index ¶
- func RegisterRemoteExecServer(s *grpc.Server, srv RemoteExecServer)
- type ExecuteReply
- func (*ExecuteReply) Descriptor() ([]byte, []int)
- func (m *ExecuteReply) GetStatus() string
- func (*ExecuteReply) ProtoMessage()
- func (m *ExecuteReply) Reset()
- func (m *ExecuteReply) String() string
- func (m *ExecuteReply) XXX_DiscardUnknown()
- func (m *ExecuteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteReply) XXX_Merge(src proto.Message)
- func (m *ExecuteReply) XXX_Size() int
- func (m *ExecuteReply) XXX_Unmarshal(b []byte) error
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteRequest) GetCommand() string
- func (m *ExecuteRequest) GetControl() string
- func (m *ExecuteRequest) GetExtra() int32
- func (m *ExecuteRequest) GetId() int32
- func (*ExecuteRequest) ProtoMessage()
- func (m *ExecuteRequest) Reset()
- func (m *ExecuteRequest) String() string
- 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 RemoteExecClient
- type RemoteExecServer
- type UnimplementedRemoteExecServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRemoteExecServer ¶
func RegisterRemoteExecServer(s *grpc.Server, srv RemoteExecServer)
Types ¶
type ExecuteReply ¶
type ExecuteReply struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteReply) Descriptor ¶
func (*ExecuteReply) Descriptor() ([]byte, []int)
func (*ExecuteReply) GetStatus ¶
func (m *ExecuteReply) GetStatus() string
func (*ExecuteReply) ProtoMessage ¶
func (*ExecuteReply) ProtoMessage()
func (*ExecuteReply) Reset ¶
func (m *ExecuteReply) Reset()
func (*ExecuteReply) String ¶
func (m *ExecuteReply) String() string
func (*ExecuteReply) XXX_DiscardUnknown ¶
func (m *ExecuteReply) XXX_DiscardUnknown()
func (*ExecuteReply) XXX_Marshal ¶
func (m *ExecuteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteReply) XXX_Merge ¶
func (m *ExecuteReply) XXX_Merge(src proto.Message)
func (*ExecuteReply) XXX_Size ¶
func (m *ExecuteReply) XXX_Size() int
func (*ExecuteReply) XXX_Unmarshal ¶
func (m *ExecuteReply) XXX_Unmarshal(b []byte) error
type ExecuteRequest ¶
type ExecuteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Control string `protobuf:"bytes,2,opt,name=control,proto3" json:"control,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` Extra int32 `protobuf:"varint,4,opt,name=extra,proto3" json:"extra,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteRequest) Descriptor ¶
func (*ExecuteRequest) Descriptor() ([]byte, []int)
func (*ExecuteRequest) GetCommand ¶
func (m *ExecuteRequest) GetCommand() string
func (*ExecuteRequest) GetControl ¶
func (m *ExecuteRequest) GetControl() string
func (*ExecuteRequest) GetExtra ¶
func (m *ExecuteRequest) GetExtra() int32
func (*ExecuteRequest) GetId ¶
func (m *ExecuteRequest) GetId() int32
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) Reset ¶
func (m *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (m *ExecuteRequest) String() string
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 RemoteExecClient ¶
type RemoteExecClient interface {
Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteReply, error)
}
RemoteExecClient is the client API for RemoteExec service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRemoteExecClient ¶
func NewRemoteExecClient(cc *grpc.ClientConn) RemoteExecClient
type RemoteExecServer ¶
type RemoteExecServer interface {
Execute(context.Context, *ExecuteRequest) (*ExecuteReply, error)
}
RemoteExecServer is the server API for RemoteExec service.
type UnimplementedRemoteExecServer ¶
type UnimplementedRemoteExecServer struct { }
UnimplementedRemoteExecServer can be embedded to have forward compatible implementations.
func (*UnimplementedRemoteExecServer) Execute ¶
func (*UnimplementedRemoteExecServer) Execute(ctx context.Context, req *ExecuteRequest) (*ExecuteReply, error)
Click to show internal directories.
Click to hide internal directories.