Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCommand ¶
ValidateCommand checks if a command is safe and accessible
Types ¶
type ExecOptions ¶
type ExecOptions struct {
Command []string // Command and arguments to run
Environment map[string]string // Plaintext environment (for backward compat + display)
SecureEnvironment map[string]*secure.SecureBuffer // Secure environment (preferred for execution)
AllowOverride bool // Allow existing env vars to override dsops values
PrintVars bool // Print resolved variables (names only, values masked)
WorkingDir string // Working directory for the command
Timeout int // Timeout in seconds (0 for no timeout)
}
ExecOptions configures command execution
Click to show internal directories.
Click to hide internal directories.