Documentation
¶
Index ¶
- func ExportToDBus(proc *Process, bus string) error
- type DBusServer
- func (s *DBusServer) Close() error
- func (s *DBusServer) RequestCommand(sender dbus.Sender, otype byte, buffered bool) (input, output dbus.UnixFD, derr *dbus.Error)
- func (s *DBusServer) RequestOutput(sender dbus.Sender, otype byte) (output dbus.UnixFD, derr *dbus.Error)
- func (s *DBusServer) SendCommand(sender dbus.Sender, otype byte, command string) (output dbus.UnixFD, derr *dbus.Error)
- type Process
- func (p *Process) Cleanup() error
- func (p *Process) ConnectError(sink *os.File)
- func (p *Process) ConnectInput(source *os.File, buffered bool) error
- func (p *Process) ConnectOutput(sink *os.File)
- func (p *Process) RequestCommand(otype common.OutputType, buffered bool) (*os.File, *os.File, error)
- func (p *Process) RequestOutput(otype common.OutputType) (*os.File, error)
- func (p *Process) SendCommand(otype common.OutputType, command string) (*os.File, error)
- func (p *Process) Start() (err error)
- func (p *Process) Wait() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportToDBus ¶
Types ¶
type DBusServer ¶
type DBusServer struct {
// contains filtered or unexported fields
}
func (*DBusServer) Close ¶
func (s *DBusServer) Close() error
func (*DBusServer) RequestCommand ¶
func (*DBusServer) RequestOutput ¶
type Process ¶
type Process struct { OnCleanup map[interface{}]func() error Description string // contains filtered or unexported fields }
func StartProcess ¶
func (*Process) ConnectError ¶
func (*Process) ConnectOutput ¶
func (*Process) RequestCommand ¶
func (*Process) RequestOutput ¶
func (*Process) SendCommand ¶
Click to show internal directories.
Click to hide internal directories.