triggers

package
v0.0.0-...-fb66a68 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJob

type CronJob struct {
	CronExpression string
	Command        string
}

type CronParser

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

func NewCronParser

func NewCronParser(commandPrefix string) *CronParser

func (*CronParser) SearchForJob

func (parser *CronParser) SearchForJob(job *taskrunner.Job) ([]*CronJob, error)

type UdevRule

type UdevRule struct {
	IdVendor      string
	IdProduct     string
	Run           string
	FileDefinedIn string
}

func NewUdevRule

func NewUdevRule(idVendor, idProduct, run, fileDefinedIn string) *UdevRule

type UdevRulesDAL

type UdevRulesDAL struct {
	BaseDir string // /etc/udev/rules.d
}

func NewUdevRulesDAL

func NewUdevRulesDAL(baseDir string) *UdevRulesDAL

func (*UdevRulesDAL) GetRules

func (u *UdevRulesDAL) GetRules(job *taskrunner.Job) ([]*UdevRule, error)

Jump to

Keyboard shortcuts

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