Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PkgNotFound = errors.New("Pkg not found on the index server")
)
Functions ¶
func GetIndexURLs ¶
func GetIndexURLs(iconf IndexUrlsConf) ([]string, error)
func ParsePythonWheelDist ¶
func ParsePythonWheelDist(rootDir string) (string, []lockfile.PackageDetails, error)
https://packaging.python.org/en/latest/specifications/binary-distribution-format/
Types ¶
type IndexUrlsConf ¶
type PypiPackageManager ¶
type PypiPackageManager struct {
// contains filtered or unexported fields
}
func NewPrivatePypiPackageManager ¶
func NewPrivatePypiPackageManager(indexUrls []string) *PypiPackageManager
func NewPypiPackageManager ¶
func NewPypiPackageManager(indexUrls []string) *PypiPackageManager
func (*PypiPackageManager) DownloadAndGetPackageInfo ¶
func (s *PypiPackageManager) DownloadAndGetPackageInfo(directory, packageName, version string) (map[string]interface{}, string, error)
Click to show internal directories.
Click to hide internal directories.