Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPDownloader ¶ added in v1.6.1
func NewHTTPDownloader ¶ added in v1.6.1
func NewHTTPDownloader(httpClient *http.Client) HTTPDownloader
type PackageDownloader ¶
type PackageDownloader interface {
GetReadCloser(ctx context.Context, pkg *config.Package, assetName string, logE *logrus.Entry) (io.ReadCloser, error)
}
func NewPackageDownloader ¶
func NewPackageDownloader(gh github.RepositoryService, rt *runtime.Runtime, httpDownloader HTTPDownloader) PackageDownloader
type RegistryDownloader ¶
type RegistryDownloader interface {
GetGitHubContentFile(ctx context.Context, repoOwner, repoName, ref, path string, logE *logrus.Entry) ([]byte, error)
}
func NewRegistryDownloader ¶
func NewRegistryDownloader(gh github.RepositoryService, httpDownloader HTTPDownloader) RegistryDownloader
Click to show internal directories.
Click to hide internal directories.