Documentation
¶
Overview ¶
internal/clab/executor.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunClabCommand ¶
func RunClabCommand(ctx context.Context, username string, args ...string) (stdout string, stderr string, err error)
RunClabCommand executes a clab command directly as the user running the API server.
func SanitizePath ¶
SanitizePath prevents path traversal. Returns the cleaned path if valid, otherwise an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.