Documentation
¶
Overview ¶
Package runtimetarget defines the closed platform target contract shared by runtime supervision, host compatibility checks, and persisted registry data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.New("runtime target is unsupported")
Functions ¶
Types ¶
type Target ¶
type Target uint8
Target identifies one supported runtime operating-system and architecture pair. The zero value and values outside the declared constants are invalid.
func Supported ¶
func Supported() []Target
Supported returns the complete canonical target set in lexical order.
func (Target) MarshalJSON ¶
func (*Target) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.