MCPcopy Create free account
hub / github.com/ByteYellow/AgentProvenance / daemonClient

Function daemonClient

internal/cli/root.go:70–75  ·  view source on GitHub ↗
(daemonURL string)

Source from the content-addressed store, hash-verified

68}
69
70func daemonClient(daemonURL string) (daemon.Client, bool) {
71 if daemonURL == "" {
72 return daemon.Client{}, false
73 }
74 return daemon.NewClient(daemonURL), true
75}
76
77func firstEnv(names ...string) string {
78 for _, name := range names {

Callers 15

execCmdFunction · 0.85
evidenceManifestFunction · 0.85
timelineManifestFunction · 0.85
snapshotCmdFunction · 0.85
sessionCmdFunction · 0.85
listSessionsFunction · 0.85
inspectSessionFunction · 0.85
graphCmdFunction · 0.85
telemetryCorrelationsFunction · 0.85
signalCmdFunction · 0.85
signalContextFunction · 0.85
schedulerCmdFunction · 0.85

Calls 1

NewClientFunction · 0.92

Tested by

no test coverage detected