Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipCommand ¶
type PipCommand struct {
// contains filtered or unexported fields
}
func (*PipCommand) SetArgs ¶
func (pc *PipCommand) SetArgs(arguments []string) *PipCommand
func (*PipCommand) SetRepo ¶
func (pc *PipCommand) SetRepo(repo string) *PipCommand
func (*PipCommand) SetServerDetails ¶
func (pc *PipCommand) SetServerDetails(serverDetails *config.ServerDetails) *PipCommand
type PipCommandInterface ¶
type PipCommandInterface interface { SetServerDetails(rtDetails *config.ServerDetails) *PipCommand SetRepo(repo string) *PipCommand SetArgs(arguments []string) *PipCommand ServerDetails() (*config.ServerDetails, error) CommandName() string Run() error }
type PipInstallCommand ¶
type PipInstallCommand struct { *PipCommand // contains filtered or unexported fields }
func NewPipInstallCommand ¶
func NewPipInstallCommand() *PipInstallCommand
func (*PipInstallCommand) CommandName ¶
func (pic *PipInstallCommand) CommandName() string
func (*PipInstallCommand) Run ¶
func (pic *PipInstallCommand) Run() error
func (*PipInstallCommand) ServerDetails ¶
func (pic *PipInstallCommand) ServerDetails() (*config.ServerDetails, error)
type PipNativeCommand ¶ added in v2.5.0
type PipNativeCommand struct { *PipCommand // contains filtered or unexported fields }
func NewPipNativeCommand ¶ added in v2.5.0
func NewPipNativeCommand(cmdName string) *PipNativeCommand
NewPipNativeCommand represents any pip command which is not "install".
func (*PipNativeCommand) CommandName ¶ added in v2.5.0
func (pnc *PipNativeCommand) CommandName() string
func (*PipNativeCommand) Run ¶ added in v2.5.0
func (pnc *PipNativeCommand) Run() error
func (*PipNativeCommand) ServerDetails ¶ added in v2.5.0
func (pnc *PipNativeCommand) ServerDetails() (*config.ServerDetails, error)
Click to show internal directories.
Click to hide internal directories.