Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Expected Behavior
It would be desirable to customize the monitor command instead of hard‑coding it as just MONITOR, since different cloud‑providers support different commands.
Current Behavior
func newMonitorCmd(ctx context.Context, ch chan string) *MonitorCmd { return &MonitorCmd{ baseCmd: baseCmd{ ctx: ctx, args: []interface{}{"monitor"}, }, ch: ch, status: monitorStatusIdle, mu: sync.Mutex{}, } }
It appears the command args are fixed to MONITOR, with no option to customize the monitor command.
Possible Solution
Expose setter for MonitorCmd args. My target command could be MONITOR followed by a node IP or ID, or an entirely different command. Direct configuration of the full command is required, instead of merely appending extra parameters.
Steps to Reproduce
Context (Environment)
Detailed Description
Possible Implementation
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Expected Behavior
It would be desirable to customize the monitor command instead of hard‑coding it as just
MONITOR, since different cloud‑providers support different commands.Current Behavior
func newMonitorCmd(ctx context.Context, ch chan string) *MonitorCmd { return &MonitorCmd{ baseCmd: baseCmd{ ctx: ctx, args: []interface{}{"monitor"}, }, ch: ch, status: monitorStatusIdle, mu: sync.Mutex{}, } }It appears the command args are fixed to
MONITOR, with no option to customize the monitor command.Possible Solution
Expose setter for
MonitorCmdargs. My target command could beMONITORfollowed by a node IP or ID, or an entirely different command. Direct configuration of the full command is required, instead of merely appending extra parameters.Steps to Reproduce
Context (Environment)
Detailed Description
Possible Implementation