Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunScript ¶
func RunScript( ctx context.Context, device *device.Client, repo *packages.Repository, rpcClient **sl4f.Client, script string, ) error
RunScript runs a script on the device and returns the result. It's possible this script could reboot the device, so to help with connection management, this function optionally takes a pointer to an sl4f.Client. If specified, this client will be closed, and the pointer will be updated to a new sl4f.Client after the script completes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.