Documentation
¶
Overview ¶
Package platform declares the platform set wake supports and refuses the rest.
ADR-0021 fixes that set at darwin and linux on amd64 and arm64 — exactly what CI's build matrix builds and .goreleaser.yaml publishes — and puts the refusal at process startup, before any file is touched. The comparison lives here rather than in cmd/wake or internal/cli so the entry path stays a call and a printed error (ADR-0001).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Arch ¶
func Arch() []string
Arch returns the architectures wake supports, in announcement order.
Nothing refuses on GOARCH — ADR-0021 makes the startup check one GOOS comparison, because a binary for the wrong architecture does not run at all. Arch exists so the announced set has a single source: matrix_test.go asserts CI's build matrix and .goreleaser.yaml against it.
func Check ¶
Check reports whether goos is a supported operating system, returning a refusal that names both the rejected platform and the supported set.
func Description ¶
func Description() string
Description names the whole supported set in one human-readable phrase.
Types ¶
This section is empty.