Documentation
¶
Overview ¶
Package server implements the ExecService gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecServer ¶
type ExecServer struct {
pb.UnimplementedExecServiceServer
}
ExecServer implements the ExecService gRPC service. It runs shell commands and streams their output.
func (*ExecServer) RunCommand ¶
func (s *ExecServer) RunCommand(req *pb.StartCommandRequest, stream pb.ExecService_RunCommandServer) error
RunCommand executes a shell command and streams output events until the command exits. The command_line is interpreted by sh -c. Stdout and stderr are merged into the output stream.
Click to show internal directories.
Click to hide internal directories.