Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStream ¶
type EventStream struct {
// contains filtered or unexported fields
}
func NewEventStream ¶
func NewEventStream() *EventStream
func (*EventStream) Close ¶
func (self *EventStream) Close()
func (*EventStream) Stream ¶
func (self *EventStream) Stream(unitchan <-chan map[string]*dbus.UnitStatus, eventchan chan *event.Event)
type ListenSocket ¶
func NewListenSocketFromListenConfig ¶
func NewListenSocketFromListenConfig(cfg string) (*ListenSocket, error)
func (*ListenSocket) String ¶
func (ls *ListenSocket) String(ip string) string
type SystemdManager ¶
type SystemdManager struct { Systemd *dbus.Conn Machine *machine.Machine UnitPrefix string // contains filtered or unexported fields }
func NewSystemdManager ¶
func NewSystemdManager(machine *machine.Machine, unitPrefix string) *SystemdManager
func (*SystemdManager) MarshalJSON ¶ added in v0.2.0
func (m *SystemdManager) MarshalJSON() ([]byte, error)
func (*SystemdManager) Publish ¶
func (m *SystemdManager) Publish(bus *event.EventBus, stopchan chan bool)
func (*SystemdManager) StartJob ¶
func (m *SystemdManager) StartJob(job *job.Job)
func (*SystemdManager) StopJob ¶
func (m *SystemdManager) StopJob(jobName string)
type SystemdService ¶
type SystemdService struct {
// contains filtered or unexported fields
}
func (*SystemdService) Name ¶
func (ss *SystemdService) Name() string
type SystemdSocket ¶
type SystemdSocket struct {
// contains filtered or unexported fields
}
func (*SystemdSocket) Name ¶
func (ss *SystemdSocket) Name() string
Click to show internal directories.
Click to hide internal directories.