File: source.go

package info (click to toggle)
witr 0.2.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 736 kB
  • sloc: sh: 79; makefile: 10
file content (22 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package model

type SourceType string

const (
	SourceContainer      SourceType = "container"
	SourceSystemd        SourceType = "systemd"
	SourceLaunchd        SourceType = "launchd"
	SourceBsdRc          SourceType = "bsdrc"
	SourceSupervisor     SourceType = "supervisor"
	SourceCron           SourceType = "cron"
	SourceShell          SourceType = "shell"
	SourceWindowsService SourceType = "windows_service"
	SourceInit           SourceType = "init"
	SourceUnknown        SourceType = "unknown"
)

type Source struct {
	Type    SourceType
	Name    string
	Details map[string]string
}