Documentation ¶
Index ¶
- type AssetsFetcher
- func (af *AssetsFetcher) Download(ctx context.Context, releaseTag, downloadDir string) error
- func (af *AssetsFetcher) DownloadAsset(ctx context.Context, assetID int64, assetType, path string) error
- func (af *AssetsFetcher) GetAssets(ctx context.Context, releaseID int64) ([]*github.ReleaseAsset, error)
- func (af *AssetsFetcher) GetReleaseID(ctx context.Context, releaseTag string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetsFetcher ¶
func NewAssetsFetcher ¶
func NewAssetsFetcher( repositoryOwner, repository string, assetsNames []string, ) *AssetsFetcher
func (*AssetsFetcher) Download ¶
func (af *AssetsFetcher) Download(ctx context.Context, releaseTag, downloadDir string) error
func (*AssetsFetcher) DownloadAsset ¶
func (*AssetsFetcher) GetAssets ¶
func (af *AssetsFetcher) GetAssets(ctx context.Context, releaseID int64) ([]*github.ReleaseAsset, error)
func (*AssetsFetcher) GetReleaseID ¶
Click to show internal directories.
Click to hide internal directories.