36b3af2e3d
PR Check / Code Quality: Format (push) Failing after 1s
PR Check / Code Quality: Lint (darwin) (push) Failing after 0s
PR Check / Code Quality: Lint (freebsd) (push) Failing after 1s
PR Check / Code Quality: Lint (windows) (push) Failing after 1s
PR Check / Code Quality: Lint (linux) (push) Failing after 1s
PR Check / Security: Vulnerability Scan (push) Failing after 0s
Update Documentation / update-docs (push) Failing after 2s
PR Check / Code Quality: Vendor (push) Failing after 1s
PR Check / Code Quality: Coverage (push) Failing after 0s
PR Check / Tests: Unit (macos-latest) (push) Has been cancelled
PR Check / Tests: Unit (ubuntu-24.04) (push) Has been cancelled
PR Check / Tests: Unit (ubuntu-24.04-arm) (push) Has been cancelled
PR Check / Tests: Unit (windows-latest) (push) Has been cancelled
26 lines
682 B
Go
26 lines
682 B
Go
package model
|
|
|
|
type SourceType string
|
|
|
|
const (
|
|
SourceContainer SourceType = "container"
|
|
SourceSystemd SourceType = "systemd"
|
|
SourceLaunchd SourceType = "launchd"
|
|
SourceBsdRc SourceType = "bsdrc"
|
|
SourceSupervisor SourceType = "supervisor"
|
|
SourceCron SourceType = "cron"
|
|
SourceSSH SourceType = "ssh"
|
|
SourceShell SourceType = "shell"
|
|
SourceWindowsService SourceType = "windows_service"
|
|
SourceInit SourceType = "init"
|
|
SourceUnknown SourceType = "unknown"
|
|
)
|
|
|
|
type Source struct {
|
|
Type SourceType
|
|
Name string
|
|
Description string
|
|
UnitFile string
|
|
Details map[string]string
|
|
}
|