python

package
v2.36.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipCommand added in v2.22.0

type PipCommand struct {
	PythonCommand
}

func NewPipCommand added in v2.22.0

func NewPipCommand() *PipCommand

func (*PipCommand) CommandName added in v2.22.0

func (pc *PipCommand) CommandName() string

func (*PipCommand) GetCmd added in v2.22.0

func (pc *PipCommand) GetCmd() *exec.Cmd

func (*PipCommand) GetEnv added in v2.22.0

func (pc *PipCommand) GetEnv() map[string]string

func (*PipCommand) GetErrWriter added in v2.22.0

func (pc *PipCommand) GetErrWriter() io.WriteCloser

func (*PipCommand) GetStdWriter added in v2.22.0

func (pc *PipCommand) GetStdWriter() io.WriteCloser

func (*PipCommand) Run added in v2.22.0

func (pc *PipCommand) Run() (err error)

func (*PipCommand) ServerDetails added in v2.22.0

func (pc *PipCommand) ServerDetails() (*config.ServerDetails, error)

func (*PipCommand) SetArgs added in v2.22.0

func (pc *PipCommand) SetArgs(arguments []string) *PipCommand

func (*PipCommand) SetCommandName added in v2.22.0

func (pc *PipCommand) SetCommandName(commandName string) *PipCommand

func (*PipCommand) SetRepo added in v2.22.0

func (pc *PipCommand) SetRepo(repo string) *PipCommand

func (*PipCommand) SetServerDetails added in v2.22.0

func (pc *PipCommand) SetServerDetails(serverDetails *config.ServerDetails) *PipCommand

func (*PipCommand) UpdateDepsChecksumInfoFunc added in v2.22.0

func (pc *PipCommand) UpdateDepsChecksumInfoFunc(dependenciesMap map[string]entities.Dependency, srcPath string) error

type PipenvCommand added in v2.22.0

type PipenvCommand struct {
	PythonCommand
}

func NewPipenvCommand added in v2.22.0

func NewPipenvCommand() *PipenvCommand

func (*PipenvCommand) CommandName added in v2.22.0

func (pc *PipenvCommand) CommandName() string

func (*PipenvCommand) GetCmd added in v2.22.0

func (pc *PipenvCommand) GetCmd() *exec.Cmd

func (*PipenvCommand) GetEnv added in v2.22.0

func (pc *PipenvCommand) GetEnv() map[string]string

func (*PipenvCommand) GetErrWriter added in v2.22.0

func (pc *PipenvCommand) GetErrWriter() io.WriteCloser

func (*PipenvCommand) GetStdWriter added in v2.22.0

func (pc *PipenvCommand) GetStdWriter() io.WriteCloser

func (*PipenvCommand) Run added in v2.22.0

func (pc *PipenvCommand) Run() (err error)

func (*PipenvCommand) ServerDetails added in v2.22.0

func (pc *PipenvCommand) ServerDetails() (*config.ServerDetails, error)

func (*PipenvCommand) SetArgs added in v2.22.0

func (pc *PipenvCommand) SetArgs(arguments []string) *PipenvCommand

func (*PipenvCommand) SetCommandName added in v2.22.0

func (pc *PipenvCommand) SetCommandName(commandName string) *PipenvCommand

func (*PipenvCommand) SetRepo added in v2.22.0

func (pc *PipenvCommand) SetRepo(repo string) *PipenvCommand

func (*PipenvCommand) SetServerDetails added in v2.22.0

func (pc *PipenvCommand) SetServerDetails(serverDetails *config.ServerDetails) *PipenvCommand

func (*PipenvCommand) UpdateDepsChecksumInfoFunc added in v2.22.0

func (pc *PipenvCommand) UpdateDepsChecksumInfoFunc(dependenciesMap map[string]entities.Dependency, srcPath string) error

type PoetryCommand added in v2.22.0

type PoetryCommand struct {
	PythonCommand
	// contains filtered or unexported fields
}

func NewPoetryCommand added in v2.22.0

func NewPoetryCommand() *PoetryCommand

func (*PoetryCommand) CommandName added in v2.22.0

func (pc *PoetryCommand) CommandName() string

func (*PoetryCommand) GetCmd added in v2.22.0

func (pc *PoetryCommand) GetCmd() *exec.Cmd

func (*PoetryCommand) GetEnv added in v2.22.0

func (pc *PoetryCommand) GetEnv() map[string]string

func (*PoetryCommand) GetErrWriter added in v2.22.0

func (pc *PoetryCommand) GetErrWriter() io.WriteCloser

func (*PoetryCommand) GetStdWriter added in v2.22.0

func (pc *PoetryCommand) GetStdWriter() io.WriteCloser

func (*PoetryCommand) Run added in v2.22.0

func (pc *PoetryCommand) Run() (err error)

func (*PoetryCommand) ServerDetails added in v2.22.0

func (pc *PoetryCommand) ServerDetails() (*config.ServerDetails, error)

func (*PoetryCommand) SetArgs added in v2.22.0

func (pc *PoetryCommand) SetArgs(arguments []string) *PoetryCommand

func (*PoetryCommand) SetCommandName added in v2.22.0

func (pc *PoetryCommand) SetCommandName(commandName string) *PoetryCommand

func (*PoetryCommand) SetPypiRepoUrlWithCredentials added in v2.22.0

func (pc *PoetryCommand) SetPypiRepoUrlWithCredentials() error

func (*PoetryCommand) SetRepo added in v2.22.0

func (pc *PoetryCommand) SetRepo(repo string) *PoetryCommand

func (*PoetryCommand) SetServerDetails added in v2.22.0

func (pc *PoetryCommand) SetServerDetails(serverDetails *config.ServerDetails) *PoetryCommand

func (*PoetryCommand) UpdateDepsChecksumInfoFunc added in v2.22.0

func (pc *PoetryCommand) UpdateDepsChecksumInfoFunc(dependenciesMap map[string]entities.Dependency, srcPath string) error

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) 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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