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 ¶ added in v0.55.0
func NewAssetsFetcher ¶
func NewAssetsFetcher( repositoryOwner, repository string, assetsNames []string, ) *AssetsFetcher
func (*AssetsFetcher) Download ¶ added in v0.55.0
func (af *AssetsFetcher) Download(ctx context.Context, releaseTag, downloadDir string) error
func (*AssetsFetcher) DownloadAsset ¶ added in v0.55.0
func (*AssetsFetcher) GetAssets ¶ added in v0.55.0
func (af *AssetsFetcher) GetAssets(ctx context.Context, releaseID int64) ([]*github.ReleaseAsset, error)
func (*AssetsFetcher) GetReleaseID ¶ added in v0.55.0
Click to show internal directories.
Click to hide internal directories.