Documentation ¶
Index ¶
- type ID
- type Manager
- type Process
- type Service
- func (s *Service) Kill(id ID)
- func (s *Service) OnExit(ctx context.Context, id ID) (*rpc.Subscription, error)
- func (s *Service) OnStderr(ctx context.Context, id ID) (*rpc.Subscription, error)
- func (s *Service) OnStdout(ctx context.Context, id ID) (*rpc.Subscription, error)
- func (s *Service) Start(id ID, cmd string, envVars *map[string]string, rootdir string) (ID, error)
- func (s *Service) Stdin(id ID, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(logger *zap.SugaredLogger) *Manager
type Process ¶
type Process struct { Stdin *io.WriteCloser ID ID // contains filtered or unexported fields }
func (*Process) WriteStdin ¶
Click to show internal directories.
Click to hide internal directories.