Documentation ¶
Index ¶
- type GithubRegistry
- func (reg *GithubRegistry) DownloadReleaseBinary(packageName string, version string, dstPath string) error
- func (reg *GithubRegistry) GetDownloadURL(repoURI string, packageName string, version string) string
- func (reg *GithubRegistry) GetLatestRelease() (string, error)
- func (reg *GithubRegistry) GetPackageName(os string, arch string) (string, error)
- type RepoRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubRegistry ¶
type GithubRegistry struct {
// contains filtered or unexported fields
}
func NewGithubRegistry ¶
func NewGithubRegistry(ctx context.Context) *GithubRegistry
func (*GithubRegistry) DownloadReleaseBinary ¶
func (reg *GithubRegistry) DownloadReleaseBinary( packageName string, version string, dstPath string, ) error
func (*GithubRegistry) GetDownloadURL ¶
func (reg *GithubRegistry) GetDownloadURL(repoURI string, packageName string, version string) string
func (*GithubRegistry) GetLatestRelease ¶
func (reg *GithubRegistry) GetLatestRelease() (string, error)
func (*GithubRegistry) GetPackageName ¶
func (reg *GithubRegistry) GetPackageName(os string, arch string) (string, error)
Click to show internal directories.
Click to hide internal directories.