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) (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 ListenerList
- type ListenerNode
- type Process
- func (p *Process) Cleanup() error
- func (p *Process) ConnectError(sink *os.File)
- func (p *Process) ConnectInput(source *os.File) error
- func (p *Process) ConnectOutput(sink *os.File)
- func (p *Process) RequestCommand(otype common.OutputType) (*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
- type Provider
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 ListenerList ¶
type ListenerList struct {
// contains filtered or unexported fields
}
func NewListenerList ¶
func NewListenerList() *ListenerList
func (*ListenerList) Append ¶
func (l *ListenerList) Append() *ListenerNode
func (*ListenerList) Remove ¶
func (l *ListenerList) Remove(node *ListenerNode) bool
func (*ListenerList) Traverse ¶
func (l *ListenerList) Traverse() chan *ListenerNode
type ListenerNode ¶
type ListenerNode struct {
// contains filtered or unexported fields
}
func (*ListenerNode) Read ¶
func (n *ListenerNode) Read() chan []byte
func (*ListenerNode) Remove ¶
func (n *ListenerNode) Remove() bool
func (*ListenerNode) Write ¶
func (n *ListenerNode) Write(data []byte)
type Process ¶
type Process struct { 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.