Documentation ¶
Index ¶
- func IsShell(block *document.CodeBlock) bool
- func IsSupported(lang string) bool
- func NewRunnerService(logger *zap.Logger) runnerv1.RunnerServiceServer
- func NewRunnerServiceHandler(logger *zap.Logger) runnerv1connect.RunnerServiceHandler
- func PrepareScriptFromCommands(cmds []string) string
- type Base
- type Executable
- type Go
- type Session
- type Shell
- type ShellRaw
- type ShellSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupported ¶ added in v0.2.4
func NewRunnerService ¶ added in v0.6.0
func NewRunnerService(logger *zap.Logger) runnerv1.RunnerServiceServer
func NewRunnerServiceHandler ¶ added in v0.6.0
func NewRunnerServiceHandler(logger *zap.Logger) runnerv1connect.RunnerServiceHandler
func PrepareScriptFromCommands ¶ added in v0.6.0
Types ¶
type Executable ¶
type Session ¶ added in v0.6.0
type Session struct { ID string Metadata map[string]string // contains filtered or unexported fields }
Session is an abstract entity separate from an execution. Currently, its main role is to keep track of environment variables.
type ShellSession ¶ added in v0.6.0
type ShellSession struct {
// contains filtered or unexported fields
}
func NewShellSession ¶ added in v0.6.0
func NewShellSession(command string) (*ShellSession, error)
func (*ShellSession) Close ¶ added in v0.6.0
func (s *ShellSession) Close() error
func (*ShellSession) Done ¶ added in v0.6.0
func (s *ShellSession) Done() <-chan struct{}
func (*ShellSession) Err ¶ added in v0.6.0
func (s *ShellSession) Err() error
func (*ShellSession) ID ¶ added in v0.6.0
func (s *ShellSession) ID() string
func (*ShellSession) Send ¶ added in v0.6.0
func (s *ShellSession) Send(data []byte) error
Click to show internal directories.
Click to hide internal directories.