Documentation ¶
Index ¶
- type PythonCommand
- func (pc *PythonCommand) CommandName() string
- func (pc *PythonCommand) GetCmd() *exec.Cmd
- func (pc *PythonCommand) GetEnv() map[string]string
- func (pc *PythonCommand) GetErrWriter() io.WriteCloser
- func (pc *PythonCommand) GetStdWriter() io.WriteCloser
- func (pc *PythonCommand) Run() (err error)
- func (pc *PythonCommand) ServerDetails() (*config.ServerDetails, error)
- func (pc *PythonCommand) SetArgs(arguments []string) *PythonCommand
- func (pc *PythonCommand) SetCommandName(commandName string) *PythonCommand
- func (pc *PythonCommand) SetPypiRepoUrlWithCredentials() error
- func (pc *PythonCommand) SetRepo(repo string) *PythonCommand
- func (pc *PythonCommand) SetServerDetails(serverDetails *config.ServerDetails) *PythonCommand
- func (pc *PythonCommand) UpdateDepsChecksumInfoFunc(dependenciesMap map[string]entities.Dependency, srcPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PythonCommand ¶
type PythonCommand struct {
// contains filtered or unexported fields
}
func NewPythonCommand ¶ added in v2.12.3
func NewPythonCommand(pythonTool pythonutils.PythonTool) *PythonCommand
func (*PythonCommand) CommandName ¶ added in v2.12.3
func (pc *PythonCommand) CommandName() string
func (*PythonCommand) GetCmd ¶
func (pc *PythonCommand) GetCmd() *exec.Cmd
func (*PythonCommand) GetEnv ¶
func (pc *PythonCommand) GetEnv() map[string]string
func (*PythonCommand) GetErrWriter ¶
func (pc *PythonCommand) GetErrWriter() io.WriteCloser
func (*PythonCommand) GetStdWriter ¶
func (pc *PythonCommand) GetStdWriter() io.WriteCloser
func (*PythonCommand) Run ¶ added in v2.12.3
func (pc *PythonCommand) Run() (err error)
func (*PythonCommand) ServerDetails ¶ added in v2.12.3
func (pc *PythonCommand) ServerDetails() (*config.ServerDetails, error)
func (*PythonCommand) SetArgs ¶
func (pc *PythonCommand) SetArgs(arguments []string) *PythonCommand
func (*PythonCommand) SetCommandName ¶
func (pc *PythonCommand) SetCommandName(commandName string) *PythonCommand
func (*PythonCommand) SetPypiRepoUrlWithCredentials ¶ added in v2.12.3
func (pc *PythonCommand) SetPypiRepoUrlWithCredentials() error
func (*PythonCommand) SetRepo ¶
func (pc *PythonCommand) SetRepo(repo string) *PythonCommand
func (*PythonCommand) SetServerDetails ¶
func (pc *PythonCommand) SetServerDetails(serverDetails *config.ServerDetails) *PythonCommand
func (*PythonCommand) UpdateDepsChecksumInfoFunc ¶ added in v2.12.3
func (pc *PythonCommand) UpdateDepsChecksumInfoFunc(dependenciesMap map[string]entities.Dependency, srcPath string) error
Click to show internal directories.
Click to hide internal directories.