python

package
v0.0.0-...-e311bc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PythonCli

type PythonCli struct {
	// contains filtered or unexported fields
}

func NewPythonCli

func NewPythonCli(commandRunner exec.CommandRunner) *PythonCli

func (*PythonCli) CheckInstalled

func (cli *PythonCli) CheckInstalled(ctx context.Context) error

func (*PythonCli) CreateVirtualEnv

func (cli *PythonCli) CreateVirtualEnv(ctx context.Context, workingDir, name string) error

func (*PythonCli) InstallRequirements

func (cli *PythonCli) InstallRequirements(ctx context.Context, workingDir, environment, requirementFile string) error

func (*PythonCli) InstallUrl

func (cli *PythonCli) InstallUrl() string

func (*PythonCli) Name

func (cli *PythonCli) Name() string

func (*PythonCli) Run

func (cli *PythonCli) Run(
	ctx context.Context,
	workingDir string,
	environment string,
	args ...string,
) (*exec.RunResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL