first commit

This commit is contained in:
2024-10-28 23:04:48 +01:00
commit 1ee55157f1
911 changed files with 325331 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package containerengine
import (
"os"
"strings"
"testing"
)
type ContainterClientOption func(*ContainerClient)
func WithTestCommandLogger(t *testing.T) ContainterClientOption {
return func(cc *ContainerClient) {
cc.logger = t
cc.logOptions = logOptions{
logCommands: strings.ToLower(os.Getenv("TEST_LOG_CONTAINER_COMMANDS")) == "true",
}
}
}