Documentation
¶
Index ¶
- type MockPythonInspector
- func (m *MockPythonInspector) GetPythonInterpreter() interpreters.PythonInterpreter
- func (m *MockPythonInspector) InspectPython() (*config.Python, error)
- func (m *MockPythonInspector) RequiresPython(cfg *config.Config) (bool, error)
- func (m *MockPythonInspector) ScanRequirements(base util.AbsolutePath) ([]string, []string, string, error)
- type MockRInspector
- type PythonInspector
- type PythonInspectorFactory
- type RInspector
- type RInspectorFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPythonInspector ¶
func NewMockPythonInspector ¶
func NewMockPythonInspector() *MockPythonInspector
func (*MockPythonInspector) GetPythonInterpreter ¶ added in v1.10.0
func (m *MockPythonInspector) GetPythonInterpreter() interpreters.PythonInterpreter
func (*MockPythonInspector) InspectPython ¶
func (m *MockPythonInspector) InspectPython() (*config.Python, error)
func (*MockPythonInspector) RequiresPython ¶ added in v1.10.0
func (m *MockPythonInspector) RequiresPython(cfg *config.Config) (bool, error)
func (*MockPythonInspector) ScanRequirements ¶
func (m *MockPythonInspector) ScanRequirements(base util.AbsolutePath) ([]string, []string, string, error)
type MockRInspector ¶
func NewMockRInspector ¶
func NewMockRInspector() *MockRInspector
type PythonInspector ¶
type PythonInspector interface {
InspectPython() (*config.Python, error)
RequiresPython(*config.Config) (bool, error)
ScanRequirements(base util.AbsolutePath) ([]string, []string, string, error)
GetPythonInterpreter() interpreters.PythonInterpreter
}
func NewPythonInspector ¶
func NewPythonInspector(base util.AbsolutePath, pythonExecutable util.Path, log logging.Logger, pythonInterpreterFactoryOverride interpreters.PythonInterpreterFactory, cmdExecutorOverride executor.Executor) (PythonInspector, error)
type PythonInspectorFactory ¶ added in v1.8.0
type PythonInspectorFactory func(base util.AbsolutePath, pythonPath util.Path, log logging.Logger, pythonInterpreterFactoryOverride interpreters.PythonInterpreterFactory, cmdExecutorOverride executor.Executor) (PythonInspector, error)
type RInspector ¶
func NewRInspector ¶
func NewRInspector(base util.AbsolutePath, rExecutable util.Path, log logging.Logger, rInterpreterFactoryOverride interpreters.RInterpreterFactory, cmdExecutorOverride executor.Executor) (RInspector, error)
type RInspectorFactory ¶ added in v1.8.0
type RInspectorFactory func(base util.AbsolutePath, rExecutable util.Path, log logging.Logger, rInterpreterFactory interpreters.RInterpreterFactory, cmdExecutorOverride executor.Executor) (RInspector, error)
Click to show internal directories.
Click to hide internal directories.