interactive

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleStream

func HandleStream(ctx context.Context, interactive bool, iStream Stream, exitCount int, printWorkloadID bool) (int, error)

HandleStream pumps an attach stream, optionally putting the terminal in raw mode.

Types

type Stream

type Stream struct {
	Send      sendFunc
	Recv      recvFunc
	CloseSend closeFunc
}

Stream carries the send and recv half of an attach stream.

func NewStream

func NewStream(send sendFunc, recv recvFunc, closeSend closeFunc) Stream

NewStream serializes send and closeSend, which grpc forbids calling from several goroutines.

Jump to

Keyboard shortcuts

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