stdio

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

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

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

type OutputStreamingServerInstance

type OutputStreamingServerInstance struct {
	// contains filtered or unexported fields
}

type ServerInputStream

type ServerInputStream struct {
	Stdin io.Reader
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL