Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory connects to external stack using socket server.
func NewSocketServer ¶
NewSocketServer returns Factory attached to a given socket listener. tout specifies for how long factory should serve for incoming relay connection
func (*Factory) SpawnWorker ¶
func (*Factory) SpawnWorkerWithTimeout ¶
func (f *Factory) SpawnWorkerWithTimeout(ctx context.Context, cmd *exec.Cmd) (worker.BaseProcess, error)
SpawnWorkerWithTimeout creates Process and connects it to appropriate relay or return an error
Click to show internal directories.
Click to hide internal directories.