Documentation ¶
Index ¶
- type ChecksumDownloader
- type Checksums
- type ConfigReader
- type DownloadGitHubReleaseParam
- type FindResult
- type GitHubContentFile
- type GitHubContentFileDownloader
- type GitHubContentFileParam
- type GitHubReleaseDownloader
- type PackageDownloader
- type PackageInstaller
- type ParamInstallPackage
- type ParamInstallPackages
- type RegistryInstaller
- type RepositoriesService
- type WhichController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChecksumDownloader ¶
type ConfigReader ¶
type FindResult ¶ added in v1.20.0
type GitHubContentFile ¶
type GitHubContentFile struct { ReadCloser io.ReadCloser String string }
type GitHubContentFileDownloader ¶
type GitHubContentFileDownloader interface {
DownloadGitHubContentFile(ctx context.Context, logE *logrus.Entry, param *GitHubContentFileParam) (*GitHubContentFile, error)
}
type GitHubContentFileParam ¶
type GitHubReleaseDownloader ¶
type GitHubReleaseDownloader interface {
DownloadGitHubRelease(ctx context.Context, logE *logrus.Entry, param *DownloadGitHubReleaseParam) (io.ReadCloser, int64, error)
}
type PackageDownloader ¶
type PackageInstaller ¶
type ParamInstallPackage ¶ added in v1.20.0
type ParamInstallPackages ¶ added in v1.19.0
type RegistryInstaller ¶
type RepositoriesService ¶
type RepositoriesService interface { GetArchiveLink(ctx context.Context, owner, repo string, archiveformat github.ArchiveFormat, opts *github.RepositoryContentGetOptions, followRedirects bool) (*url.URL, *github.Response, error) GetReleaseByTag(ctx context.Context, owner, repoName, version string) (*github.RepositoryRelease, *github.Response, error) DownloadReleaseAsset(ctx context.Context, owner, repoName string, assetID int64, httpClient *http.Client) (io.ReadCloser, string, error) GetContents(ctx context.Context, repoOwner, repoName, path string, opt *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error) }
Click to show internal directories.
Click to hide internal directories.