Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PooledFactory ¶
type PooledFactory struct {
// contains filtered or unexported fields
}
PooledFactory is a factory that holds between min and max hot instances.
func NewPooledFactory ¶
func NewPooledFactory(size int) *PooledFactory
NewPooledFactory creates a PooledFactory instance with the specified min and max hot spares
func (*PooledFactory) GetInstance ¶
func (pf *PooledFactory) GetInstance() *Session
GetInstance returns an instance of Session
func (*PooledFactory) Initialized ¶
func (pf *PooledFactory) Initialized() bool
Initialized returns true when all instances in the pool are ready after initial create. This always returns true once the initial processes are booted
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session powershell process object
func (*Session) IsReady ¶
IsReady returns true if the session is fully booted and available for use.
func (*Session) RunWebsocketProxy ¶
RunWebsocketProxy pipes input and output channels from/to the websocket
Click to show internal directories.
Click to hide internal directories.