mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-31 18:30:58 +00:00
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/857 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Reviewed-by: Gusted <gusted@noreply.code.forgejo.org> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
18 lines
426 B
Go
18 lines
426 B
Go
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]any
|
|
// On windows PATH and Path are the same key
|
|
IsEnvironmentCaseInsensitive() bool
|
|
}
|