Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandFunc ¶
func (CommandFunc) Run ¶
func (c CommandFunc) Run()
type EnvFunc ¶
func NewEnvFunc ¶
type FDReaderStub ¶
func (FDReaderStub) Fd ¶
func (r FDReaderStub) Fd() uintptr
type FDWriterStub ¶
func (FDWriterStub) Fd ¶
func (s FDWriterStub) Fd() uintptr
type LockedBuffer ¶
type LockedBuffer struct {
// contains filtered or unexported fields
}
func NewLockedBuffer ¶
func NewLockedBuffer() *LockedBuffer
func (*LockedBuffer) Len ¶
func (b *LockedBuffer) Len() int
func (*LockedBuffer) String ¶
func (b *LockedBuffer) String() string
type ParseOptionsFunc ¶
type ProcInout ¶
func NewProcInout ¶
func NewProcInout() *ProcInout
type ProcInoutSpy ¶
type ProcInoutSpy struct {
Stdin io.Reader
Stdout *LockedBuffer
Stderr *LockedBuffer
Env map[string]string
}
func SpyProcInout ¶
func SpyProcInout() *ProcInoutSpy
func (*ProcInoutSpy) New ¶
func (s *ProcInoutSpy) New() *ProcInout
Click to show internal directories.
Click to hide internal directories.