MCPcopy
hub / github.com/basecamp/once / Service

Interface Service

internal/service/service.go:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type Service interface {
10 IsInstalled(name string) bool
11 Install(ctx context.Context, name, execPath, namespace string) error
12 Remove(ctx context.Context, name string) error
13 ServiceName(name string) string
14}
15
16func New() (Service, error) {
17 switch runtime.GOOS {

Callers 13

runMethod · 0.65
runMethod · 0.65
runMethod · 0.65
TestRemoveApplicationFunction · 0.65
runMethod · 0.65
runMethod · 0.65
RemoveMethod · 0.65
RemoveMethod · 0.65
downloadBinaryMethod · 0.65
replaceBinaryMethod · 0.65
runMethod · 0.65

Implementers 2

Systemdinternal/service/systemd.go
Launchdinternal/service/launchd.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…