runnerv2client

package
v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	runnerv2.RunnerServiceClient
	// contains filtered or unexported fields
}

func New

func New(target string, logger *zap.Logger, opts ...grpc.DialOption) (*Client, error)

func (*Client) Close added in v3.9.3

func (c *Client) Close() error

func (*Client) ExecuteProgram added in v3.9.3

func (c *Client) ExecuteProgram(
	ctx context.Context,
	cfg *runnerv2.ProgramConfig,
	opts ExecuteProgramOptions,
) error

type ExecuteProgramOptions added in v3.9.3

type ExecuteProgramOptions struct {
	InputData        []byte
	SessionID        string
	Stdin            io.ReadCloser
	Stdout           io.Writer
	Stderr           io.Writer
	StoreStdoutInEnv bool
	Winsize          *runnerv2.Winsize
}

Jump to

Keyboard shortcuts

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