Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedMapType = errors.New("unexpected map type for stdio streaming server")
Functions ¶
This section is empty.
Types ¶
type ClientInputStream ¶
type ClientInputStream struct {
// contains filtered or unexported fields
}
func NewClientInputStream ¶
func NewClientInputStream(client api.InputStreamingPluginClient, streamID string, stdin io.Reader) (ClientInputStream, error)
func (ClientInputStream) Close ¶
func (s ClientInputStream) Close()
func (ClientInputStream) Copy ¶
func (s ClientInputStream) Copy() error
type ClientOutputStream ¶
type ClientOutputStream struct {
// contains filtered or unexported fields
}
func NewClientOutputStream ¶
func NewClientOutputStream(client api.OutputStreamingPluginClient, streamID string, stdout, stderr io.Writer) (ClientOutputStream, error)
func (ClientOutputStream) Copy ¶
func (s ClientOutputStream) Copy() error
type InputStreamingPluginServer ¶
type InputStreamingPluginServer struct {
api.UnsafeInputStreamingPluginServer
// contains filtered or unexported fields
}
func (*InputStreamingPluginServer) NewServerInputStream ¶
func (s *InputStreamingPluginServer) NewServerInputStream(streamID string) (ServerInputStream, error)
func (*InputStreamingPluginServer) Reset ¶
func (s *InputStreamingPluginServer) Reset()
func (*InputStreamingPluginServer) StreamInput ¶
func (s *InputStreamingPluginServer) StreamInput(srv api.InputStreamingPlugin_StreamInputServer) error
type InputStreamingServerInstance ¶
type InputStreamingServerInstance struct {
// contains filtered or unexported fields
}
func (*InputStreamingServerInstance) Close ¶
func (s *InputStreamingServerInstance) Close()
type OutputStreamingPluginServer ¶
type OutputStreamingPluginServer struct {
api.UnsafeOutputStreamingPluginServer
// contains filtered or unexported fields
}
func (*OutputStreamingPluginServer) NewServerOutputStream ¶
func (s *OutputStreamingPluginServer) NewServerOutputStream(streamID string) (ServerOutputStream, error)
func (*OutputStreamingPluginServer) Reset ¶
func (s *OutputStreamingPluginServer) Reset()
func (*OutputStreamingPluginServer) StreamOutput ¶
func (s *OutputStreamingPluginServer) StreamOutput(request *api.StreamOutputRequest, srv api.OutputStreamingPlugin_StreamOutputServer) error
type OutputStreamingServerInstance ¶
type OutputStreamingServerInstance struct {
// contains filtered or unexported fields
}
type ServerInputStream ¶
func (ServerInputStream) Close ¶
func (s ServerInputStream) Close()
func (ServerInputStream) Copy ¶
func (s ServerInputStream) Copy() error
type ServerOutputStream ¶
type ServerOutputStream struct {
Stdout io.WriteCloser
Stderr io.WriteCloser
// contains filtered or unexported fields
}
func (ServerOutputStream) Close ¶
func (s ServerOutputStream) Close()
func (ServerOutputStream) Copy ¶
func (s ServerOutputStream) Copy() error
Click to show internal directories.
Click to hide internal directories.