Pulse/cmd
rcourtman 59067411a9 Add unit tests for pulse-agent utility functions (unified agent)
53 test cases covering 4 functions:
- gatherTags: environment/flag tag merging (18 cases)
- parseLogLevel: log level parsing (30 cases)
- defaultLogLevel: default value resolution (10 cases)
- multiValue: flag.Value interface for repeatable flags (6 cases)

Key difference from pulse-host-agent: parseLogLevel in unified agent delegates
directly to zerolog.ParseLevel without range validation, so trace/fatal/panic
levels are accepted (unlike pulse-host-agent which restricts to debug-error).

First test file for cmd/pulse-agent package.
2025-11-30 08:34:09 +00:00
..
hashpw Add hashpw utility for generating password hashes 2025-11-06 16:46:56 +00:00
pulse Rebuild agent token bindings on API token config reload 2025-11-29 14:09:30 +00:00
pulse-agent Add unit tests for pulse-agent utility functions (unified agent) 2025-11-30 08:34:09 +00:00
pulse-docker-agent Add unit tests for parseLogLevel and splitStringList (dockeragent) 2025-11-30 06:50:09 +00:00
pulse-host-agent Add unit tests for pulse-host-agent utility functions 2025-11-30 08:17:18 +00:00
pulse-sensor-proxy Add unit tests for sanitizeNodeLabel (pulse-sensor-proxy/metrics.go) 2025-11-30 04:50:51 +00:00