Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶ added in v0.5.57
type Filesystem struct {
Path string
TempDir string
Filesystem billy.Filesystem
// contains filtered or unexported fields
}
func NewFilesystemDownloader ¶ added in v0.5.57
func NewFilesystemDownloader(path string, tempDir string) *Filesystem
func (*Filesystem) Get ¶ added in v0.5.57
func (f *Filesystem) Get() (string, error)
func (*Filesystem) PackageURL ¶ added in v0.5.57
func (f *Filesystem) PackageURL() string
func (*Filesystem) SetLogger ¶ added in v0.5.57
func (f *Filesystem) SetLogger(logger *logrus.Logger)
type Git ¶
type Git struct {
URL string
Version string
FrameworkVersion string
TempDir string
Token string
Filesystem billy.Filesystem
// contains filtered or unexported fields
}
func NewGitDownloader ¶
func (*Git) PackageURL ¶
type Nuget ¶
type Nuget struct {
Name string
ID string
Version string
FrameworkVersion string
TempDir string
CacheDir string
Filesystem billy.Filesystem
// contains filtered or unexported fields
}
func NewNugetDownloader ¶
func (*Nuget) PackageURL ¶
type NugetItemCatalogEntry ¶
type NugetResponse ¶
type NugetResponse struct {
Items []NugetResponseItem "json:`items`"
PackageContent string "json:`packageContent`"
}
type NugetResponseItem ¶
type NugetResponseItem struct {
Count int "json:`count`"
Items []NugetResponsePageItems "json:`items`"
}
type NugetResponsePageItems ¶
type NugetResponsePageItems struct {
CatalogEntry NugetItemCatalogEntry "json:`catalogEntry`"
}
Click to show internal directories.
Click to hide internal directories.