Documentation ¶
Index ¶
- Constants
- type CmdFactory
- func (cmdf CmdFactory) MakeCatCmd(file string) (*exec.Cmd, error)
- func (cmdf CmdFactory) MakeCreateVenvCmd(fpath string) (*exec.Cmd, error)
- func (cmdf CmdFactory) MakeInstallCmd(command string, file string) (*exec.Cmd, error)
- func (cmdf CmdFactory) MakeListCmd(command string) (*exec.Cmd, error)
- func (cmdf CmdFactory) MakeShowCmd(command string, list []string) (*exec.Cmd, error)
- type ExecPath
- type ICmdFactory
- type IExecPath
- type IPipCleaner
- type Job
- type Pm
- type Strategy
Constants ¶
View Source
const Name = "pip"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdFactory ¶
type CmdFactory struct {
// contains filtered or unexported fields
}
func (CmdFactory) MakeCatCmd ¶
func (cmdf CmdFactory) MakeCatCmd(file string) (*exec.Cmd, error)
func (CmdFactory) MakeCreateVenvCmd ¶
func (cmdf CmdFactory) MakeCreateVenvCmd(fpath string) (*exec.Cmd, error)
func (CmdFactory) MakeInstallCmd ¶
func (CmdFactory) MakeListCmd ¶
func (cmdf CmdFactory) MakeListCmd(command string) (*exec.Cmd, error)
func (CmdFactory) MakeShowCmd ¶
type ICmdFactory ¶
type IPipCleaner ¶
type Job ¶
func NewJob ¶
func NewJob( file string, install bool, cmdFactory ICmdFactory, fileWriter writer.IFileWriter, pipCleaner IPipCleaner, ) *Job
Click to show internal directories.
Click to hide internal directories.