Documentation ¶
Index ¶
Constants ¶
View Source
const ( Shell = "/bin/sh" ShellSubcommandFlag = "-c" VirtualEnvBinaryFolder = "bin" DefaultPythonExecutable = "python3" )
View Source
const CtxUsePowershellForUv = "use_powershell_for_uv"
View Source
const PythonArrowTemplate = `` /* 1092-byte string literal not displayed */
View Source
const (
UvVersion = "0.5.0"
)
View Source
const WINDOWS = "windows"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CommandInstance ¶ added in v0.11.104
type CommandRunner ¶ added in v0.11.92
type CommandRunner struct{}
func (*CommandRunner) Run ¶ added in v0.11.92
func (l *CommandRunner) Run(ctx context.Context, repo *git.Repo, command *CommandInstance) error
func (*CommandRunner) RunAnyCommand ¶ added in v0.11.92
type LocalOperator ¶
type LocalOperator struct {
// contains filtered or unexported fields
}
func NewLocalOperator ¶
func NewLocalOperator(config *config.Config, envVariables map[string]string) *LocalOperator
func NewLocalOperatorWithUv ¶ added in v0.11.87
func NewLocalOperatorWithUv(config *config.Config, conn *connection.Manager, envVariables map[string]string) *LocalOperator
func (*LocalOperator) Run ¶
func (o *LocalOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type ModulePathFinder ¶
type ModulePathFinder struct {
PathSeparatorOverride int32
}
func (*ModulePathFinder) FindModulePath ¶
func (m *ModulePathFinder) FindModulePath(repo *git.Repo, executable *pipeline.ExecutableFile) (string, error)
func (*ModulePathFinder) FindRequirementsTxtInPath ¶
func (m *ModulePathFinder) FindRequirementsTxtInPath(path string, executable *pipeline.ExecutableFile) (string, error)
type NoRequirementsFoundError ¶
type NoRequirementsFoundError struct{}
func (*NoRequirementsFoundError) Error ¶
func (m *NoRequirementsFoundError) Error() string
type UvChecker ¶ added in v0.11.87
type UvChecker struct {
// contains filtered or unexported fields
}
UvChecker handles checking and installing the uv package manager.
type UvPythonRunner ¶ added in v0.11.92
type UvPythonRunner struct { Cmd cmd UvInstaller uvInstaller // contains filtered or unexported fields }
func (*UvPythonRunner) Run ¶ added in v0.11.92
func (u *UvPythonRunner) Run(ctx context.Context, execCtx *executionContext) error
func (*UvPythonRunner) RunIngestr ¶ added in v0.11.92
Click to show internal directories.
Click to hide internal directories.