systemd

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceGenerator

type ServiceGenerator struct {
	// contains filtered or unexported fields
}

func NewServiceGenerator

func NewServiceGenerator() *ServiceGenerator

func (*ServiceGenerator) GenerateService

func (g *ServiceGenerator) GenerateService(t *task.Task) error

func (*ServiceGenerator) RemoveService

func (g *ServiceGenerator) RemoveService(taskName string) error

type Systemd

type Systemd struct {
	// contains filtered or unexported fields
}

func NewSystemd

func NewSystemd(tasks *task.Manager, executor *executor.Executor) *Systemd

func (*Systemd) GetExecutor

func (s *Systemd) GetExecutor() *executor.Executor

func (*Systemd) Start

func (s *Systemd) Start() error

func (*Systemd) StartTask

func (s *Systemd) StartTask(t *task.Task) error

func (*Systemd) Stop

func (s *Systemd) Stop()

func (*Systemd) StopTask

func (s *Systemd) StopTask(taskName string)

type TaskRunner

type TaskRunner struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL