mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
feat: "exec" command to start processes inside remote containers (#139)
This commit is contained in:
1 parent
1c3f210848
commit
abea3e229e
19 files changed
+1773
-133
No files matched your search
@@ -26,6 +26,7 @@ type fileInfo struct {
|
||||
// Uncloud API does not currently expose exec functionality to run commands inside containers.
|
||||
// Instead this helper function uses "docker cp" inside the ucind container to copy the file from the target container
|
||||
// to a temporary location (also inside the ucind container), and then inspect its content and permissions.
|
||||
// TODO: update when exec functionality is implemented
|
||||
func readFileInfoInContainer(t *testing.T, machine *ucind.Machine, containerName, filePath string) (fileInfo, error) {
|
||||
t.Helper()
|
||||
ctx := context.Background()
|
||||
|
||||
Reference in new issue
Block a user