Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
Spec defines a platform as an os/arch pair.
func GetCurrentPlatformSpec ¶ added in v1.1.0
func GetCurrentPlatformSpec() (spec Spec)
GetCurrentPlatformSpec returns a platform.Spec for the platform on which this code is currently being executed
func (*Spec) IsCompatibleWith ¶
IsCompatibleWith returns true if the current spec is compatible with the spec specified as its argument. TTPs will often not care about the architecture and will therefore specify requirements like:
platforms: - os: windows
In such cases, we can assume that the TTP is compatible with all architectures.
Click to show internal directories.
Click to hide internal directories.