Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents systemd D-Bus API client.
func (*Client) ListTimers ¶
ListTimers returns installed systemd timers
type Timer ¶
type Timer struct { Name string `json:"name"` Schedule string `json:"schedule"` LastTriggered time.Time `json:"last_triggered"` NextElapse time.Time `json:"next_elapse"` Result string `json:"result"` Active bool `json:"active"` LastExecutionTime uint64 `json:"last_execution_time"` }
Timer represents systemd timer
func (*Timer) ServiceName ¶
ServiceName returns service unit name
Click to show internal directories.
Click to hide internal directories.