github

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(token *string) (*github.Client, error)

GetClient returns a GitHub client. If a token is provided, it will be used for authentication.

Types

type ReleaseResolution added in v0.0.2

type ReleaseResolution struct {
	Version   string
	AssetName string
	AssetURL  string
}

ReleaseResolution is the selected release, asset, and normalized version to install.

func ResolveToolRelease added in v0.0.2

func ResolveToolRelease(ctx context.Context, token, owner, repo, version, osName, arch string, includePreRelease bool) (*ReleaseResolution, error)

ResolveToolRelease selects a release and matching asset for a tool install.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL