Documentation ¶
Index ¶
Constants ¶
View Source
const LatestTag = "latest"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Architecture ¶
type Architecture string
const ( ArchX86 Architecture = "x86" ArchAMD64 Architecture = "amd64" ArchARM Architecture = "arm" ArchARM64 Architecture = "arm64" ArchPPC64LE Architecture = "ppc64le" ArchS390X Architecture = "s390x" )
func CurrentArchitecture ¶
func CurrentArchitecture() Architecture
func (Architecture) Matches ¶
func (a Architecture) Matches(name string) bool
type Asset ¶
type Asset struct { FileName Architecture OperatingSystem Release Checksums }
type FileName ¶
func NewFileName ¶
type OperatingSystem ¶
type OperatingSystem string
const ( OSDarwin OperatingSystem = "darwin" OSLinuxMusl OperatingSystem = "linux-musl" OSLinuxGnu OperatingSystem = "linux-gnu" OSWindows OperatingSystem = "windows" )
func CurrentOS ¶
func CurrentOS() OperatingSystem
func (OperatingSystem) Matches ¶
func (os OperatingSystem) Matches(name string) bool
type Release ¶
type Release struct { Tag string Repository }
type Repository ¶
Click to show internal directories.
Click to hide internal directories.