MCPcopy
hub / github.com/google/mtail / ProgramPath

TypeAlias ProgramPath

internal/mtail/options.go:27–27  ·  view source on GitHub ↗

ProgramPath sets the path to find mtail programs in the Server.

Source from the content-addressed store, hash-verified

25
26// ProgramPath sets the path to find mtail programs in the Server.
27type ProgramPath string
28
29func (opt ProgramPath) apply(m *Server) error {
30 m.programPath = filepath.Clean(string(opt))

Callers 15

TestLogTruncationFunction · 0.92
TestLogRotationByRenameFunction · 0.92
TestExampleProgramsFunction · 0.92
BenchmarkProgramFunction · 0.92
TestBasicTailFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected