summaryrefslogtreecommitdiffstats
path: root/pkg/container/executions_environment.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/container/executions_environment.go')
-rw-r--r--pkg/container/executions_environment.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/container/executions_environment.go b/pkg/container/executions_environment.go
new file mode 100644
index 0000000..e334107
--- /dev/null
+++ b/pkg/container/executions_environment.go
@@ -0,0 +1,18 @@
+package container
+
+import "context"
+
+type ExecutionsEnvironment interface {
+ Container
+ ToContainerPath(string) string
+ GetName() string
+ GetRoot() string
+ GetLXC() bool
+ GetActPath() string
+ GetPathVariableName() string
+ DefaultPathVariable() string
+ JoinPathVariable(...string) string
+ GetRunnerContext(ctx context.Context) map[string]interface{}
+ // On windows PATH and Path are the same key
+ IsEnvironmentCaseInsensitive() bool
+}