mirror of
https://github.com/taigrr/systemctl.git
synced 2026-03-09 00:14:38 -07:00
Initial commit
This commit is contained in:
54
systemctl.go
Normal file
54
systemctl.go
Normal file
@@ -0,0 +1,54 @@
|
||||
package systemctl
|
||||
|
||||
// TODO
|
||||
func IsFailed(unit string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func IsActive(unit string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Status(unit string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Restart(unit string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Start(unit string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Stop(unit string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Enable(unit string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func Disable(unit string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func IsEnabled(unit string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// TODO
|
||||
func DaemonReload(unit string) error {
|
||||
return nil
|
||||
}
|
||||
func Show(unit string, property string) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
Reference in New Issue
Block a user